/* ============================================
   DynaForms Website — v2 Modern
   ============================================ */

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

:root {
  --dark: #2a3347;
  --dark-alt: #232b3e;
  --accent: #16a085;
  --accent-hover: #1abc9c;
  --accent-10: rgba(22, 160, 133, 0.10);
  --accent-20: rgba(22, 160, 133, 0.20);
  --accent-30: rgba(22, 160, 133, 0.30);
  --white: #ffffff;
  --bg: #f6f8fa;
  --bg-alt: #eef1f5;
  --bg-soft: #f0f3f8;
  --text: #24292e;
  --text-2: #586069;
  --text-3: #6a737d;
  --border: #e1e4e8;
  --shadow: rgba(36, 41, 46, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 12px; }

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  gap: 8px;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(22, 160, 133, 0.25); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 0;
  transition: all 0.3s;
}
.header.scrolled,
.header.header-solid {
  background: rgba(42, 51, 71, 0.96);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 1px 16px rgba(0,0,0,0.12);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 30px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 9px 22px; font-size: 0.85rem; }

/* ===================================
   HERO
   =================================== */
.hero {
  background: var(--dark);
  padding: 140px 0 80px;
  overflow: clip;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(22,160,133,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 520px; }
.hero h1 { color: #fff; margin-bottom: 20px; font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.hero h1 .accent { color: var(--accent); }
.hero-text { color: rgba(255,255,255,0.65); font-size: 1.1rem; line-height: 1.7; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 12px; margin-bottom: 40px; }
.hero-proof { display: flex; align-items: center; gap: 0; }
.hero-proof-item { text-align: center; padding: 0 20px; }
.hero-proof-item .num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.hero-proof-item .txt { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.hero-proof-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.hero-proof-item:first-child { padding-left: 0; }
.hero-visual {
  position: relative;
  min-height: 420px;
}
/* --- Mock UI Components (Hero) --- */
.mock-card {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  font-size: 13px;
  color: #24292e;
  overflow: hidden;
}
.mock-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f6f8fa;
  border-bottom: 1px solid #e1e4e8;
}
.mock-card-header-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(22,160,133,0.12);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.mock-card-title {
  font-weight: 600;
  font-size: 12px;
  color: #24292e;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.mock-badge-success { background: #d4edda; color: #1e7320; }
.mock-card-body { padding: 14px; }

/* Progress bar */
.mock-progress-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.mock-progress-label { font-size: 11px; color: #6a737d; font-weight: 500; }
.mock-progress-pct { font-size: 11px; font-weight: 700; color: #16a085; }
.mock-progress-track {
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}
.mock-progress-fill {
  height: 100%;
  background: #16a085;
  border-radius: 3px;
  transition: width 0.3s;
}

/* Form items list */
.mock-form-items { display: flex; flex-direction: column; gap: 0; }
.mock-form-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}
.mock-form-item:last-child { border-bottom: none; }
.mock-form-item svg { flex-shrink: 0; }
.mock-form-item span:first-of-type { flex: 1; }
.mock-item-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.mock-item-badge.received { background: #d4edda; color: #1e7320; }
.mock-item-badge.waiting { background: #fef3cd; color: #e98900; }

/* Main card positioning */
.mock-main {
  width: 380px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}

/* Floating elements */
.mock-float {
  position: absolute;
  z-index: 3;
  animation: float-in 0.8s ease both;
}

/* Notification */
.mock-notif {
  top: -10px;
  right: -20px;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  max-width: 280px;
  z-index: 4;
}
.mock-notif-dot {
  width: 8px; height: 8px;
  background: #27ae60;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-notif-text strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #24292e;
}
.mock-notif-text span {
  font-size: 10px;
  color: #6a737d;
}
.mock-notif-time {
  font-size: 9px;
  color: #adb5bd;
  white-space: nowrap;
}

/* PEPS chat bubble */
.mock-peps {
  bottom: 20px;
  left: -30px;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  width: 280px;
}
.mock-peps-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.mock-peps-avatar {
  width: 26px; height: 26px;
  background: #3498db;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}
.mock-peps-name {
  font-size: 12px;
  font-weight: 600;
  color: #24292e;
}
.mock-peps-time {
  font-size: 10px;
  color: #6a737d;
  margin-left: auto;
}
.mock-peps-bubble {
  background: rgba(52, 152, 219, 0.06);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.5;
  color: #586069;
}

/* Stat badge */
.mock-stat-badge {
  bottom: -10px;
  right: 40px;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 20px;
  padding: 8px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.mock-stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #27ae60;
}
.mock-stat-txt {
  font-size: 11px;
  color: #586069;
  font-weight: 500;
}

/* IA analysis badge */
.mock-ia-badge {
  top: 170px;
  left: -30px;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  padding: 9px 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.mock-ia-icon {
  flex-shrink: 0;
  color: #9b59b6;
  background: rgba(155, 89, 182, 0.12);
  border-radius: 6px;
  padding: 4px;
  width: 22px;
  height: 22px;
}
.mock-ia-text { display: flex; flex-direction: column; line-height: 1.2; }
.mock-ia-text strong {
  font-size: 11px;
  font-weight: 700;
  color: #9b59b6;
  letter-spacing: 0.02em;
}
.mock-ia-text span {
  font-size: 10px;
  color: #6a737d;
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.mock-notif  { animation-delay: 0.3s; }
.mock-peps   { animation-delay: 0.6s; }
.mock-stat-badge { animation-delay: 0.9s; }
.mock-ia-badge { animation-delay: 1.2s; }

/* ===================================
   INTÉGRATIONS
   =================================== */
.section-integrations {
  padding: 100px 0;
  background: var(--white);
}
.integrations-header { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.integrations-header h2 { margin-bottom: 14px; }
.integrations-header .subtitle { margin: 0 auto; }
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.integration-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.integration-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 45, 70, 0.08);
  border-color: var(--integration-color, var(--accent));
}
.integration-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--integration-color, var(--accent)) 12%, transparent);
  color: var(--integration-color, var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}
.integration-icon.has-logo {
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 10px;
}
.integration-icon img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.integration-icon svg { width: 28px; height: 28px; }
.integration-body { flex: 1; min-width: 0; }
.integration-body h4 {
  font-size: 0.95rem;
  margin: 0 0 4px 0;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.integration-category {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--integration-color, var(--accent));
  background: color-mix(in srgb, var(--integration-color, var(--accent)) 12%, transparent);
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.6;
  vertical-align: middle;
}
.integration-card p { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; margin: 0; }

/* Intégrations sur-mesure : full width à part */
.integration-custom {
  grid-column: 1 / -1;
  margin-top: 14px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
  border: 1px solid transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
}
.integration-custom:hover {
  transform: none;
  box-shadow: 0 16px 40px rgba(30, 45, 70, 0.25);
  border-color: var(--accent);
}
.integration-custom .integration-custom-text h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.integration-custom .integration-custom-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  max-width: 560px;
}
.integration-custom .integration-custom-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.integration-custom .integration-custom-icon svg { width: 28px; height: 28px; }
.integration-custom .integration-custom-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.integration-custom .integration-custom-cta:hover {
  background: var(--accent-hover);
}
.integration-custom .integration-custom-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ===================================
   CAS D'USAGE
   =================================== */
.section-usecases {
  padding: 90px 0;
  background: var(--bg-soft);
}
.usecases-header { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.usecases-header h2 { margin-bottom: 14px; }
.usecases-header .subtitle { margin: 0 auto; }
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.usecase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--u-color, var(--accent));
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.usecase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 45, 70, 0.08);
}
.usecase-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--u-color, var(--accent)) 14%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.usecase-card > * { position: relative; z-index: 1; }
.usecase-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.usecase-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--u-color, var(--accent)) 14%, transparent);
  color: var(--u-color, var(--accent));
  margin: 0;
}
.usecase-icon svg { width: 18px; height: 18px; }
.usecase-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--u-color, var(--accent));
  background: color-mix(in srgb, var(--u-color, var(--accent)) 12%, transparent);
  padding: 3px 8px;
  border-radius: 999px;
  margin: 0;
  line-height: 1.4;
}
.usecase-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--text);
}
.usecase-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* ===================================
   PILLARS (6 fonctionnalités)
   =================================== */
.section-pillars {
  padding: 100px 0;
  background: var(--bg);
}
.pillars-header { text-align: center; margin-bottom: 48px; max-width: 680px; margin-left: auto; margin-right: auto; }
.pillars-header h2 { margin-bottom: 0; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--p-color, var(--accent));
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle at center, var(--p-color, var(--accent)) 0%, transparent 70%);
  opacity: 0.14;
  pointer-events: none;
}
.pillar-card > * { position: relative; z-index: 1; }
.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 45, 70, 0.08);
}
.pillar-card[data-pillar="1"] { --p-color: #16a085; --p-tint: rgba(22,160,133,0.12); }
.pillar-card[data-pillar="2"] { --p-color: #f39c12; --p-tint: rgba(243,156,18,0.14); }
.pillar-card[data-pillar="3"] { --p-color: #d35400; --p-tint: rgba(211,84,0,0.10); }
.pillar-card[data-pillar="4"] { --p-color: #3498db; --p-tint: rgba(52,152,219,0.12); }
.pillar-card[data-pillar="5"] { --p-color: #9b59b6; --p-tint: rgba(155,89,182,0.12); }
.pillar-card[data-pillar="6"] { --p-color: #27ae60; --p-tint: rgba(39,174,96,0.12); }
.pillar-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.pillar-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--p-tint);
  color: var(--p-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 600;
  margin: 0;
}
.pillar-accent {
  color: var(--p-color, var(--accent));
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* ===================================
   BIG NUMBERS (production) — dark band
   =================================== */
.section-bignums { padding: 0; background: var(--dark); color: var(--white); }
.bignums-inner { padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.bignums-lead { text-align: center; max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,0.7); }
.bignums-lead .label { color: var(--accent); }
.bignums-lead h2 { color: var(--white); }
.bignums-lead p { font-size: 0.95rem; }
.bignums-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.bignum {
  text-align: center;
  padding: 16px 10px;
}
.bignum .num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.bignum .txt {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================================
   BEFORE / AFTER (visual)
   =================================== */
.section-before-after {
  padding: 100px 0;
}
.ba-header { text-align: center; margin-bottom: 48px; }
.ba-header .subtitle { margin: 0 auto; }

.ba-visual-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: center;
}
.ba-side { position: relative; }
.ba-side-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ba-side-label-before { color: #b91c1c; }
.ba-side-label-after { color: var(--accent); }

.ba-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 36px;
}

/* Arrow center */
.ba-arrow-center {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}

/* === Mock email stack (Before) === */
.mock-email-stack {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  overflow: hidden;
}
.mock-email {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}
.mock-email:last-child { border-bottom: none; }
.mock-email-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-email-dot.unread { background: #ef4444; }
.mock-email-content { flex: 1; min-width: 0; }
.mock-email-subject {
  font-weight: 600;
  color: #24292e;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-email-preview {
  font-size: 10px;
  color: #6a737d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-email-date {
  font-size: 10px;
  color: #adb5bd;
  white-space: nowrap;
  flex-shrink: 0;
}

/* === Floating badges (Before & After) === */
.ba-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  position: absolute;
}
.ba-float-1 { top: -8px; right: -8px; }
.ba-float-2 { bottom: 30px; left: -12px; }
.ba-float-3 { bottom: -8px; right: 20px; }

.ba-badge-red    { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.ba-badge-orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.ba-badge-gray   { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; }
.ba-badge-green  { background: #d4edda; color: #1e7320; border: 1px solid #b7d9b1; }
.ba-badge-teal   { background: #e0f5f1; color: #16a085; border: 1px solid #b2e4d9; }
.ba-badge-blue   { background: rgba(52,152,219,0.1); color: #2980b9; border: 1px solid rgba(52,152,219,0.25); }

/* Mock card in BA section */
.mock-ba-card {
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.mock-badge-complete { background: #d4edda; color: #1e7320; }

/* BA section extras */
.ba-side-hint {
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: #9ca3af;
}
.ba-logo {
  height: 28px;
  display: inline-block;
  vertical-align: middle;
}

/* ===================================
   STEPS (visual)
   =================================== */
/* ===================================
   PLANOT (cross-promo édition notariale)
   =================================== */
.section-planot {
  --planot: #e89b3f;
  --planot-hover: #f4b260;
  --planot-10: rgba(232, 155, 63, 0.10);
  --planot-20: rgba(232, 155, 63, 0.20);
  --planot-dark: #b37324;
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fff5eb 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-planot .label { color: var(--planot-dark); }
.planot-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.planot-logo {
  height: 52px;
  width: auto;
  display: block;
  margin: 0 auto 18px;
}
.planot-subrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4px;
}
.planot-subrow .label { margin-bottom: 0; line-height: 1; }
.planot-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--planot-dark);
  background: var(--planot-10);
  border: 1px solid var(--planot-20);
  padding: 4px 10px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
  line-height: 1.1;
}
.planot-lead {
  color: var(--text-2);
  font-size: 1rem;
  margin-top: 14px;
  line-height: 1.6;
}
.planot-lead a {
  color: var(--planot-dark);
  border-bottom: 1px dotted var(--planot-20);
  font-weight: 600;
}
.planot-lead a:hover { color: var(--planot); border-bottom-color: var(--planot); }
.planot-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.planot-demo-content .label { color: var(--planot-dark); margin-bottom: 10px; }
.planot-demo-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.25;
}
.planot-demo-content p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.planot-demo-content .feature-spot-tags .feature-spot-tag {
  background: var(--planot-10);
  color: var(--planot-dark);
  border: 1px solid var(--planot-20);
}
.planot-demo-visual {
  max-width: 460px;
  width: 100%;
  justify-self: center;
}
.mock-planot {
  position: relative;
}
.mock-form-assignee {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 4px 24px;
  font-size: 11px;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
}
.mock-form-assignee-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3498db 0%, #2e86c1 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-form-assignee-text strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .planot-demo { grid-template-columns: 1fr; gap: 28px; }
  .planot-demo-visual { max-width: 440px; margin: 0 auto; }
}

.planot-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-2);
  margin-top: 28px;
  padding: 14px 22px;
  background: #ffffff;
  border: 1px solid var(--planot-20);
  border-radius: 999px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 16px rgba(232, 155, 63, 0.06);
}
.planot-footer-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--planot-dark);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--planot-10);
  border: 1px solid var(--planot-20);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.planot-footer-note a:hover {
  color: #fff;
  background: var(--planot);
  border-color: var(--planot);
}
.planot-footer-note a svg { flex-shrink: 0; }

.section-steps {
  padding: 100px 0;
  background: var(--white);
}
.steps-header { text-align: center; margin-bottom: 48px; }
.steps-header .subtitle { margin: 0 auto; }
.steps-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step-connector {
  display: flex;
  align-items: center;
  height: 220px;
  flex-shrink: 0;
  opacity: 0.5;
  margin: 0 8px;
}
.step-v {
  text-align: center;
  flex: 1;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-v-mock {
  height: 220px;
  display: grid;
  place-items: center;
  width: 100%;
  flex-shrink: 0;
}
.step-v-num {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 14px 0 10px;
  box-shadow: 0 3px 10px rgba(22,160,133,0.25);
}
.step-v h3 { font-size: 0.9rem; margin-bottom: 6px; }
.step-v p { font-size: 0.8rem; color: var(--text-2); line-height: 1.5; }

/* Step mock cards */
.step-v-mock-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  text-align: left;
  font-size: 11px;
}
.step-v-mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #f6f8fa;
  border-bottom: 1px solid #e1e4e8;
  font-weight: 600;
  font-size: 10px;
  color: #24292e;
}
.step-v-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.step-v-header-badge {
  margin-left: auto;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  background: #d4edda;
  color: #1e7320;
}
.step-v-mock-body {
  padding: 10px;
}

/* Fields skeleton */
.step-v-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
}
.step-v-field.indent { padding-left: 16px; }
.step-v-field-icon {
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.step-v-field-icon.blue { background: #0056b3; }
.step-v-field-icon.green { background: #16a085; }
.step-v-field-icon.purple { background: #8b5cf6; }
.step-v-field-line {
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
}
.step-v-field-line.w40 { width: 40%; }
.step-v-field-line.w50 { width: 50%; }
.step-v-field-line.w60 { width: 60%; }
.step-v-field-line.w70 { width: 70%; }
.step-v-field-badge {
  font-size: 7px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
  white-space: nowrap;
}
.step-v-field-badge.orange { background: #fef3cd; color: #e98900; }

/* Step 2: send */
.step-v-send-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 8px;
}
.step-v-avatar {
  width: 24px; height: 24px;
  background: #3498db;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700;
  flex-shrink: 0;
}
.step-v-send-name { font-weight: 600; font-size: 10px; color: #24292e; }
.step-v-send-email { font-size: 9px; color: #6a737d; }
.step-v-send-badge {
  margin-left: auto;
  font-size: 8px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: #d4edda; color: #1e7320;
}
.step-v-link-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(22,160,133,0.06);
  border: 1px dashed rgba(22,160,133,0.3);
  border-radius: 4px;
  font-size: 9px;
  color: #16a085;
  font-weight: 500;
  margin-bottom: 6px;
}
.step-v-nocompte {
  font-size: 8px;
  color: #6a737d;
  text-align: center;
  font-style: italic;
}

/* Step 3: client fills */
.done-field svg { flex-shrink: 0; }
.step-v-upload-zone {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px dashed #d1d5da;
  border-radius: 4px;
  color: #6a737d;
  font-size: 9px;
  width: 100%;
  justify-content: center;
}
.step-v-relance-auto {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 8px;
  color: #f39c12;
  font-weight: 600;
}

/* Step 4: tree */
.step-v-tree { margin-top: 6px; }
.step-v-tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
}
.step-v-tree-item.indent { padding-left: 14px; }

/* Steps nav (hidden on desktop) */
.carousel-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}
.carousel-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: all 0.2s;
}
.carousel-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Responsive steps */
@media (max-width: 900px) {
  .steps-visual {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    scrollbar-width: none;
  }
  .steps-visual::-webkit-scrollbar { display: none; }
  .step-v {
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 0 24px;
    box-sizing: border-box;
  }
  .step-connector { display: none; }
  .step-v-mock { height: auto; min-height: 180px; }
  .carousel-nav { display: flex; }
}

/* ===================================
   INTERACTIVE DEMO FORM
   =================================== */
.demo-form {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  box-shadow: 0 8px 40px var(--shadow);
  overflow: hidden;
  font-size: 13px;
}
.demo-form-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f6f8fa;
  border-bottom: 1px solid #e1e4e8;
  font-weight: 600;
  font-size: 12px;
  color: #24292e;
}
.demo-form-header-icon {
  width: 28px; height: 28px;
  background: rgba(22,160,133,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.demo-form-progress {
  margin-left: auto;
  width: 80px; height: 5px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}
.demo-form-progress-fill {
  height: 100%;
  width: 40%;
  background: #16a085;
  border-radius: 3px;
  transition: width 0.5s ease;
}
.demo-form-body {
  padding: 20px;
}

/* Fields */
.demo-field {
  margin-bottom: 16px;
}
.demo-field-label {
  font-size: 12px;
  font-weight: 600;
  color: #24292e;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-required {
  color: #c0392b;
  font-weight: 700;
}
.demo-field-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.demo-field-badge.sensitive { background: #fef3cd; color: #e98900; }
.demo-field-badge.conditional { background: #ede9fe; color: #7c3aed; }
.demo-field-badge.repeatable { background: #dbeafe; color: #2563eb; }

/* Stepper */
.demo-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}
.demo-stepper-btn {
  width: 32px; height: 32px;
  background: #f6f8fa;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #24292e;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-stepper-btn:hover { background: #e9ecef; }
.demo-stepper-btn:active { background: #dee2e6; }
.demo-stepper-value {
  width: 36px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #24292e;
  border-left: 1px solid #e1e4e8;
  border-right: 1px solid #e1e4e8;
  line-height: 32px;
}

/* Repeated child sections */
.demo-child-section {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  animation: demo-child-in 0.3s ease both;
}
.demo-child-bar {
  width: 3px;
  background: #3b82f6;
  border-radius: 3px;
  flex-shrink: 0;
  margin-right: 12px;
}
.demo-child-content {
  flex: 1;
}
.demo-child-title {
  font-size: 10px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 6px;
  padding: 3px 8px;
  background: #eff6ff;
  border-radius: 4px;
  display: inline-block;
}
@keyframes demo-child-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes demo-child-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

.demo-input {
  padding: 8px 12px;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  font-size: 12px;
}
.demo-input.filled { color: #24292e; background: #fff; }
.demo-input.empty { color: #adb5bd; background: #fafbfc; }

.demo-upload {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 11px;
}
.demo-upload.done {
  background: #d4edda;
  border: 1px solid #b7d9b1;
  color: #1e7320;
  font-weight: 500;
}
.demo-upload.pending {
  background: #fafbfc;
  border: 1px dashed #d1d5da;
  color: #6a737d;
  justify-content: center;
  cursor: default;
}

/* Radio buttons */
.demo-radios {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  font-size: 12px;
  color: #586069;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.demo-radio:hover {
  border-color: #16a085;
  background: rgba(22,160,133,0.03);
}
.demo-radio.selected {
  border-color: #16a085;
  background: rgba(22,160,133,0.06);
  color: #24292e;
  font-weight: 500;
}
.demo-radio-circle {
  width: 14px; height: 14px;
  border: 2px solid #d1d5da;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all 0.15s;
}
.demo-radio.selected .demo-radio-circle {
  border-color: #16a085;
}
.demo-radio.selected .demo-radio-circle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 6px; height: 6px;
  background: #16a085;
  border-radius: 50%;
}

/* Conditional section */
.demo-conditional {
  display: flex;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-bottom: 0;
}
.demo-conditional.visible {
  max-height: 300px;
  opacity: 1;
  margin-bottom: 16px;
}
.demo-conditional-bar {
  width: 3px;
  background: #8b5cf6;
  border-radius: 3px;
  flex-shrink: 0;
  margin-right: 12px;
}
.demo-conditional-content {
  flex: 1;
}
.demo-conditional-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 12px;
  padding: 4px 8px;
  background: #f5f3ff;
  border-radius: 4px;
}

/* Hint */
.demo-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #16a085;
  font-weight: 600;
  padding: 8px 12px;
  background: rgba(22,160,133,0.06);
  border: 1px solid rgba(22,160,133,0.2);
  border-radius: 6px;
  transition: opacity 0.3s;
  animation: hint-pulse 2s ease-in-out infinite;
}
.demo-hint.hidden { opacity: 0; pointer-events: none; animation: none; }
@keyframes hint-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,160,133,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(22,160,133,0); }
}

/* ===================================
   MOCK PEPS CONVERSATION
   =================================== */
.mock-peps-conv {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  box-shadow: 0 8px 40px var(--shadow);
  overflow: hidden;
  font-size: 13px;
}
.mock-peps-conv-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f6f8fa;
  border-bottom: 1px solid #e1e4e8;
  font-weight: 600;
  font-size: 11px;
  color: #24292e;
}
.mock-peps-conv-header span:first-of-type { flex: 1; }
.mock-peps-conv-tab {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  cursor: default;
  color: #586069;
  background: #e9ecef;
}
.mock-peps-conv-tab.active {
  background: #d35400;
  color: #fff;
}

/* Messages */
.mock-peps-msg {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.mock-peps-msg:last-child { border-bottom: none; }
.mock-peps-msg-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mock-peps-msg-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.mock-peps-msg-avatar.pro { background: #2980b9; }
.mock-peps-msg-avatar.client { background: #16a085; }
.mock-peps-msg-name {
  font-weight: 600;
  font-size: 11px;
  color: #24292e;
}
.mock-peps-msg-date {
  font-size: 10px;
  color: #6a737d;
}
.mock-peps-msg-via {
  font-size: 8px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
  background: #e9ecef;
  color: #586069;
}
.mock-peps-msg-body {
  padding-left: 34px;
}
.mock-peps-msg-text {
  font-size: 11px;
  line-height: 1.6;
  color: #586069;
  background: rgba(52, 152, 219, 0.06);
  border-radius: 4px;
  padding: 6px 10px;
}

/* Attachment */
.mock-peps-msg-attachment {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  font-size: 10px;
  color: #24292e;
  font-weight: 500;
}

/* Internal message */
.mock-peps-msg.internal {
  background: #fffbeb;
}
.mock-peps-msg-internal-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 8px;
  background: #fef3cd;
  color: #92400e;
}
.mock-peps-msg-text.internal-text {
  background: rgba(245, 158, 11, 0.08);
}
.mock-peps-msg-internal-note {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding-left: 34px;
  font-size: 9px;
  color: #d97706;
  font-style: italic;
}

/* ===================================
   MOCK DOCUMENT TREE + CONTEXT MENU
   =================================== */
.mock-tree-wrap {
  position: relative;
}
.mock-tree {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  box-shadow: 0 8px 40px var(--shadow);
  overflow: hidden;
  font-size: 12px;
}
.mock-tree-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f6f8fa;
  border-bottom: 1px solid #e1e4e8;
  font-weight: 600;
  font-size: 11px;
  color: #24292e;
}
.mock-tree-count {
  margin-left: auto;
  font-size: 9px;
  font-weight: 500;
  color: #6a737d;
}
.mock-tree-folder {
  border-bottom: 1px solid #f0f0f0;
}
.mock-tree-folder:last-child { border-bottom: none; }
.mock-tree-folder-name {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-weight: 600;
  font-size: 11px;
  color: #50577d;
}
.mock-tree-files {
  padding-left: 20px;
}
.mock-tree-file {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11px;
  color: #586069;
  border-radius: 4px;
  margin: 1px 8px 1px 0;
}
.mock-tree-file.selected {
  background: #3c91bc;
  color: #fff;
  border-radius: 5px;
}
.mock-tree-filename {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-tree-tag {
  font-size: 7px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mock-tree-tag.form { background: rgba(22,160,133,0.12); color: #16a085; }
.mock-tree-tag.signed { background: rgba(8,94,126,0.12); color: #085e7e; }
.mock-tree-tag.ia { background: rgba(243,156,18,0.12); color: #d68910; }

/* Context menu */
.mock-ctx-menu {
  position: absolute;
  bottom: 30px;
  right: -12px;
  background: #fff;
  border: 1px solid #d1d5da;
  border-radius: 6px;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.15);
  padding: 4px 0;
  width: 220px;
  z-index: 5;
}
.mock-ctx-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 11px;
  color: #24292e;
  cursor: default;
}
.mock-ctx-item:hover {
  background: #e8eff7;
}
.mock-ctx-separator {
  height: 1px;
  background: #e1e4e8;
  margin: 3px 0;
}

/* ===================================
   MOCK CLIENT FLOW (3 screens)
   =================================== */
.mock-client-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mock-screen {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
}
.mock-screen-bar {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: #f6f8fa;
  border-bottom: 1px solid #e1e4e8;
}
.mock-screen-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d1d5da;
}
.mock-screen-body {
  padding: 16px;
}
.mock-screen-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fafbfc;
  border-top: 1px solid #e1e4e8;
  font-size: 10px;
  font-weight: 600;
  color: #586069;
}
.mock-screen-num {
  width: 20px; height: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Screen 1: Email */
.mock-email-notif { text-align: center; }
.mock-email-notif-icon { margin-bottom: 8px; }
.mock-email-notif-from {
  font-size: 9px;
  font-weight: 600;
  color: #6a737d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.mock-email-notif-subject {
  font-size: 13px;
  font-weight: 700;
  color: #24292e;
  margin-bottom: 6px;
}
.mock-email-notif-body {
  font-size: 10px;
  color: #586069;
  line-height: 1.5;
  margin-bottom: 12px;
}
.mock-email-notif-btn {
  display: inline-block;
  padding: 7px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

/* Screen 2: Code */
.mock-code-entry { text-align: center; }
.mock-code-lock { margin-bottom: 8px; }
.mock-code-title {
  font-size: 13px;
  font-weight: 700;
  color: #24292e;
  margin-bottom: 2px;
}
.mock-code-subtitle {
  font-size: 10px;
  color: #6a737d;
  margin-bottom: 12px;
}
.mock-code-digits {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.mock-code-digits span {
  width: 30px; height: 36px;
  border: 1.5px solid #e1e4e8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #24292e;
  background: #fafbfc;
}
.mock-code-digits span.filled {
  border-color: var(--accent);
  background: rgba(22,160,133,0.04);
}
.mock-code-btn {
  display: inline-block;
  padding: 7px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

/* Screen 3: Form */
.mock-client-form-progress {
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}
.mock-client-form-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.mock-client-form-title {
  font-size: 12px;
  font-weight: 700;
  color: #24292e;
  margin-bottom: 10px;
}
.mock-client-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 11px;
  color: #586069;
}
.mock-client-field svg { flex-shrink: 0; }
.mock-client-field span:first-of-type { min-width: 80px; }
.mock-client-val {
  font-weight: 500;
  color: #24292e;
}
.mock-client-file {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  background: #d4edda;
  color: #1e7320;
  border-radius: 8px;
}
.mock-client-upload {
  font-size: 9px;
  font-weight: 500;
  padding: 3px 10px;
  border: 1px dashed #d1d5da;
  border-radius: 4px;
  color: #6a737d;
}
.mock-client-save {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 9px;
  color: #27ae60;
  font-weight: 500;
}

/* Client flow nav (hidden on desktop) */

@media (max-width: 768px) {
  .mock-client-flow {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
  }
  .mock-client-flow::-webkit-scrollbar { display: none; }
  .feature-spot-visual {
    overflow: hidden;
    max-width: 100%;
  }
  .mock-screen {
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
    box-sizing: border-box;
  }
}

/* ===================================
   FEATURE SPOTLIGHTS (alternating)
   =================================== */
.feature-spot {
  padding: 100px 0;
}
.feature-spot:nth-child(even) {
  background: var(--bg);
}
.feature-spot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-spot.reverse .feature-spot-grid {
  direction: rtl;
}
.feature-spot.reverse .feature-spot-grid > * {
  direction: ltr;
}
.feature-spot-content { max-width: 480px; }
.feature-spot-content h2 { margin-bottom: 16px; font-size: 1.8rem; }
.feature-spot-content p { color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.feature-spot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.feature-spot-tag {
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent-10);
  color: var(--accent);
  border-radius: 20px;
}
.feature-spot-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px var(--shadow);
}

/* ===================================
   STATS BAND (dark interrupt)
   =================================== */
.stats-band {
  padding: 80px 0;
  background: var(--dark);
}
.stats-band .container { text-align: center; }
.stats-band h2 { color: #fff; margin-bottom: 48px; font-size: 1.8rem; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.stat-item .num {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .txt { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.savings-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.saving-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  min-width: 200px;
}
.saving-card .role { color: #fff; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.saving-card .rate { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-bottom: 10px; }
.saving-card .amount { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.stats-band-lead {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  max-width: 640px;
  margin: -32px auto 40px;
}
.stats-time-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}
.stats-time-item { text-align: center; }
.stats-time-item .num {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stats-time-item.highlight .num { color: var(--accent); }
.stats-time-item .txt {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.stats-time-item .calc {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  font-style: italic;
}
.stats-band-note {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  font-style: italic;
  margin-top: 32px;
}

/* ===================================
   SECURITY
   =================================== */
.section-security {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-alt) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-security::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,160,133,0.12) 0%, rgba(22,160,133,0) 70%);
  pointer-events: none;
}
.section-security::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,152,219,0.08) 0%, rgba(52,152,219,0) 70%);
  pointer-events: none;
}
.section-security > .container { position: relative; z-index: 1; }
.section-security h2 { color: #fff; }
.section-security .subtitle { color: rgba(255,255,255,0.7); }
.section-security .label { color: var(--accent); }
.security-header { text-align: center; margin-bottom: 48px; }
.security-header h2 { margin-bottom: 12px; }
.security-header .subtitle { margin: 0 auto; }
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.security-card {
  text-align: left;
  padding: 28px 24px 26px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--sec-color, var(--accent));
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.security-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  border-top-color: var(--sec-color, var(--accent));
}
.security-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sec-color, var(--accent)) 30%, transparent) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.security-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.security-card .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: color-mix(in srgb, var(--sec-color, var(--accent)) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--sec-color, var(--accent)) 35%, transparent);
  color: var(--sec-color, var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0;
}
.security-card .icon svg { width: 22px; height: 22px; color: inherit; }
.security-card h3 {
  font-size: 0.95rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}
.security-card p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ===================================
   PRICING
   =================================== */
.section-pricing {
  padding: 100px 0;
}
.pricing-header { text-align: center; margin-bottom: 48px; }
.pricing-header .subtitle { margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.pricing-card.pop {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(22,160,133,0.12);
  transform: scale(1.04);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: var(--accent); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 20px; white-space: nowrap;
}
.pricing-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.pricing-price .amount { font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.pricing-price .period { font-size: 0.9rem; color: var(--text-3); }
.pricing-annual { font-size: 0.8rem; color: var(--text-3); margin-bottom: 24px; }
.pricing-list { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-list li {
  padding: 7px 0; font-size: 0.85rem; color: var(--text-2);
  display: flex; align-items: flex-start; gap: 10px;
}
.pricing-list li::before {
  content: '';
  flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px;
  background: var(--accent); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}
.pricing-list li strong { color: var(--text); font-weight: 600; }
.pricing-card .btn { width: 100%; }
.pricing-footer { margin-top: 24px; text-align: center; }
.pricing-footer p { font-size: 0.8rem; color: var(--text-3); margin-bottom: 4px; }

/* Bandeau illimité */
.pricing-unlimited-banner {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(22,160,133,0.06) 0%, rgba(22,160,133,0.02) 100%);
  border: 1px solid rgba(22,160,133,0.15);
  border-radius: 12px;
  padding: 24px 32px;
  text-align: center;
}
.pricing-unlimited-banner h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.pricing-unlimited-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.pricing-unlimited-items span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
}
.pricing-unlimited-items span svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Services */
.pricing-services {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.pricing-service-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pricing-service-item.pricing-service-included {
  background: rgba(22,160,133,0.05);
  border-color: rgba(22,160,133,0.15);
}
.pricing-service-item strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.pricing-service-item span {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.4;
}
.pricing-service-item em {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}

/* ===================================
   SUPPORT
   =================================== */
.section-support {
  padding: 100px 0;
  background: var(--bg-soft);
}
.support-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.support-text .subtitle { margin-bottom: 28px; }
.support-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.support-point {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--sup-color, var(--accent));
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.support-point:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 45, 70, 0.06);
}
.support-point::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sup-color, var(--accent)) 14%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.support-point > * { position: relative; z-index: 1; }
.support-point-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.support-point-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--sup-color, var(--accent)) 14%, transparent);
  color: var(--sup-color, var(--accent));
}
.support-point-icon svg { width: 16px; height: 16px; }
.support-point h3 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-3);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}
.support-point .accent-line {
  color: var(--sup-color, var(--accent));
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}
.support-point h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}
.support-point p {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* Mock support conversation */
.mock-support-conv {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  box-shadow: 0 8px 40px var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-support-msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mock-support-name { font-size: 11px; font-weight: 600; color: #24292e; }
.mock-support-date { font-size: 10px; color: #6a737d; }
.mock-support-team-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 8px;
  background: rgba(22,160,133,0.1);
  color: #16a085;
}
.mock-support-bubble {
  margin-left: 34px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.6;
  color: #586069;
}
.mock-support-bubble.user-bubble {
  background: #f6f8fa;
  border: 1px solid #e1e4e8;
}
.mock-support-bubble.team-bubble {
  background: rgba(22,160,133,0.06);
  border: 1px solid rgba(22,160,133,0.15);
}
.mock-support-deployed {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 34px;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 600;
  color: #27ae60;
}

@media (max-width: 1024px) {
  .support-content { grid-template-columns: 1fr; gap: 40px; }
}

/* ===================================
   FAQ
   =================================== */
.section-faq {
  padding: 100px 0;
  background: var(--bg-soft);
}
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 { margin-bottom: 0; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(22, 160, 133, 0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--text-2);
  transition: transform 0.25s ease, color 0.2s;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===================================
   CTA FINAL
   =================================== */
.section-cta {
  padding: 80px 0;
  background: var(--dark);
  text-align: center;
}
.section-cta h2 { color: #fff; margin-bottom: 12px; }
.section-cta .accent { color: var(--accent); }
.section-cta p { color: rgba(255,255,255,0.55); font-size: 1.05rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form {
  max-width: 560px;
  margin: 32px auto 0;
  text-align: left;
}
.contact-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 16px;
  margin-bottom: 16px;
  background: rgba(22, 160, 133, 0.14);
  border: 1px solid rgba(22, 160, 133, 0.4);
  border-radius: 999px;
  color: #1abc9c;
  font-size: 0.85rem;
  font-weight: 500;
  animation: badgeIn 0.3s ease;
}
.contact-form-badge[hidden] { display: none; }
.contact-form-badge strong { color: #fff; font-weight: 700; }
.contact-form-badge-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-form-badge-clear:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
@keyframes badgeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-form-field {
  display: flex;
  flex-direction: column;
}
.contact-form-field.full {
  margin-bottom: 16px;
}
.contact-form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.contact-form-field input,
.contact-form-field textarea {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.contact-form-field textarea {
  resize: vertical;
  min-height: 80px;
}
.contact-form-submit {
  width: 100%;
  margin-top: 4px;
  padding: 14px;
}
.contact-form-feedback {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  min-height: 20px;
}
.contact-form-feedback.success { color: var(--accent); }
.contact-form-feedback.error { color: #ef4444; }

@media (max-width: 480px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

/* ===================================
   FOOTER
   =================================== */
/* ===================================
   LEGAL PAGES
   =================================== */
.legal-page {
  padding: 140px 0 100px;
  background: var(--bg);
}
.legal-page .container { max-width: 780px; }
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 32px;
  color: var(--text);
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text);
}
.legal-page p {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-page .legal-lead {
  font-size: 1.05rem;
  color: var(--text);
  padding: 16px 20px;
  background: var(--accent-10);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  margin-bottom: 32px;
}
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page a:hover { color: var(--accent-hover); }
.legal-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  margin: 8px 0 16px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.legal-dl dt {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}
.legal-dl dd {
  color: var(--text-2);
  font-size: 0.9rem;
}
.legal-dl em { color: #b94a48; font-style: italic; }
.legal-list {
  padding-left: 22px;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-list li { margin-bottom: 4px; }
.legal-updated {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 0.85rem;
}
@media (max-width: 600px) {
  .legal-page { padding: 100px 0 60px; }
  .legal-dl { grid-template-columns: 1fr; gap: 4px; }
  .legal-dl dt { margin-top: 10px; }
}

.footer {
  background: var(--dark-alt);
  padding: 36px 0;
}
.footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer .logo img { height: 24px; }
.footer-tagline {
  color: rgba(255,255,255,0.38);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* ===================================
   ANIMATIONS
   =================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===================================
   RESPONSIVE
   =================================== */
/* ===================================
   RESPONSIVE — Tablet (1024px)
   =================================== */
@media (max-width: 1024px) {
  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero-visual { max-width: 440px; min-height: auto; }
  .mock-main { width: 100%; position: relative; right: auto; top: auto; }
  .mock-notif { position: relative; top: auto; right: auto; margin-top: 12px; max-width: 100%; }
  .mock-peps { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .mock-stat-badge { position: relative; bottom: auto; right: auto; display: inline-flex; margin-top: 12px; }

  /* Before/After */
  .ba-visual-grid { grid-template-columns: 1fr; gap: 24px; }
  .ba-arrow-center svg { transform: rotate(90deg); }
  .ba-scene { min-height: auto; }
  .ba-float-badge { font-size: 9px; padding: 5px 10px; }
  .ba-float-1 { right: 0; }
  .ba-float-2 { left: 0; }
  .mock-ba-card { max-width: 100%; }

  /* Features */
  .feature-spot-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-spot.reverse .feature-spot-grid { direction: ltr; }
  .feature-spot-visual { max-width: 500px; }
  .feature-spot { padding: 60px 0; }

  /* Security */
  .security-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pillars */
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }

  /* Integrations */
  .integrations-grid { grid-template-columns: 1fr; }
  .integration-callout { grid-template-columns: auto 1fr; }
  .integration-callout-btn { grid-column: 1 / -1; justify-self: start; }

  /* Usecases */
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card.pop { transform: none; }

  /* Support */
  .support-content { grid-template-columns: 1fr; gap: 40px; }

  /* Context menu */
  .mock-ctx-menu { right: 0; bottom: 10px; }
}

/* ===================================
   RESPONSIVE — Mobile (768px)
   =================================== */
@media (max-width: 768px) {
  /* Global mobile */
  h2 { font-size: 1.3rem !important; }
  .subtitle { font-size: 0.85rem !important; }

  /* Nav */
  .nav { display: none; }
  .header .btn { display: none; }

  /* Hero */
  .hero { padding: 110px 0 50px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-text { font-size: 0.95rem; }
  .hero-buttons { flex-direction: row; justify-content: space-between; }
  .hero-buttons .btn { padding: 10px 14px; font-size: 0.72rem; white-space: nowrap; flex: 1; }
  .hero-proof { flex-direction: row; gap: 0; justify-content: space-between; width: 100%; }
  .hero-proof-item { padding: 0; flex: 1; }
  .hero-proof-item .num { font-size: 1rem; }
  .hero-proof-item .txt { font-size: 0.65rem; }
  .hero-proof-sep { height: 24px; margin: 0 4px; }

  /* Big numbers (prod) */
  .bignums-inner { padding: 40px 0; }
  .bignums-lead { margin-bottom: 24px; }
  .bignums-row { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .bignum { padding: 10px 4px; }
  .bignum .num { font-size: 1.3rem; }
  .bignum .txt { font-size: 0.7rem; }

  /* Before/After */
  .section-before-after { padding: 60px 0; }
  .mock-email-stack { max-width: 100%; }
  .ba-scene {
    display: flex; flex-direction: column; align-items: center;
    min-height: auto;
  }
  .ba-scene .ba-float-badge {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
  }
  .ba-scene::after {
    content: '';
    display: block;
  }
  /* Wrap badges in a flex row */
  .ba-before .ba-scene,
  .ba-after .ba-scene {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
  .ba-before .mock-email-stack,
  .ba-after .mock-ba-card {
    width: 100%;
    margin-bottom: 12px;
  }
  .ba-float-badge { margin: 0; }

  /* Empêcher les débordements des mocks */
  .hero-visual { overflow: hidden; }
  .mock-notif { right: 0; }
  .mock-peps { left: 0; }
  .mock-ctx-menu { right: 0; }

  /* Steps */
  .section-steps { padding: 60px 0; }

  /* Features */
  .feature-spot-content p { font-size: 0.85rem; }
  .feature-spot-tags { gap: 6px; }
  .feature-spot-tag { font-size: 0.6rem; }
  .feature-spot-content .btn { width: 100%; font-size: 0.8rem; padding: 10px; }

  /* Stats */
  .stats-band { padding: 60px 0; }
  .stats-band-lead { font-size: 0.8rem; margin: -20px auto 28px; }
  .stats-row { grid-template-columns: 1fr; gap: 16px; }
  .stat-item .num { font-size: 1.8rem; }
  .stat-item .txt { font-size: 0.75rem; }
  .stats-time-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    margin-bottom: 28px;
  }
  .stats-time-item .num { font-size: 1.4rem; }
  .stats-time-item .txt { font-size: 0.78rem; }
  .stats-time-item .calc { font-size: 0.68rem; }
  .stats-band-note { font-size: 0.7rem; margin-top: 20px; }
  .savings-row { flex-direction: column; align-items: stretch; gap: 0; }
  .saving-card {
    width: 100%;
    max-width: 100%;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .saving-card:first-child { border-radius: 8px 8px 0 0; }
  .saving-card:last-child { border-radius: 0 0 8px 8px; border-bottom: none; }
  .saving-card .role { font-size: 0.8rem; min-width: 70px; margin-bottom: 0; }
  .saving-card .rate { font-size: 0.7rem; margin-bottom: 0; flex: 1; }
  .saving-card .amount { font-size: 1rem; margin-left: auto; }

  /* Security */
  .section-security { padding: 60px 0; }
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .security-card { padding: 20px 16px; }
  .security-card-top { gap: 10px; margin-bottom: 10px; }
  .security-card .icon { width: 36px; height: 36px; }
  .security-card .icon svg { width: 18px; height: 18px; }
  .security-card h3 { font-size: 0.9rem; }
  .security-card p { font-size: 0.78rem; }

  /* Pricing */
  .section-pricing { padding: 60px 0; }
  .pricing-grid {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    max-width: 100%;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-card {
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
    box-sizing: border-box;
    margin-top: 16px;
  }
  .pricing-card { padding: 24px 20px; }
  .pricing-card h3 { font-size: 1rem; }
  .pricing-price .amount { font-size: 1.8rem; }
  .pricing-price .period { font-size: 0.8rem; }
  .pricing-annual { font-size: 0.75rem; margin-bottom: 16px; }
  .pricing-list li { font-size: 0.8rem; padding: 5px 0; }
  .pricing-list li::before { width: 14px; height: 14px; background-size: 8px; }
  .pricing-card .btn { padding: 10px; font-size: 0.8rem; }
  .pricing-footer p { font-size: 0.7rem; }
  .pricing-unlimited-banner { padding: 16px 18px; }
  .pricing-unlimited-items { gap: 6px 14px; }
  .pricing-unlimited-items span { font-size: 0.75rem; }
  .pricing-services { grid-template-columns: 1fr; }
  .pricing-service-item { padding: 12px 14px; }

  /* Support */
  .section-support { padding: 60px 0; }
  .support-points { grid-template-columns: 1fr; gap: 10px; }
  .support-point { padding: 16px 14px; }
  .support-point h3 { font-size: 0.7rem; }
  .support-point h4 { font-size: 0.88rem; }
  .support-point .accent-line { font-size: 0.92rem; }
  .support-point p { font-size: 0.78rem; }

  /* Client flow screens */
  .mock-screen-body { padding: 10px; }
  .mock-screen-bar { padding: 5px 10px; }
  .mock-screen-dot { width: 5px; height: 5px; }
  .mock-screen-label { padding: 6px 10px; font-size: 9px; }
  .mock-screen-num { width: 16px; height: 16px; font-size: 7px; }
  .mock-email-notif-icon svg { width: 14px; height: 14px; }
  .mock-email-notif-from { font-size: 8px; margin-bottom: 2px; }
  .mock-email-notif-subject { font-size: 11px; margin-bottom: 4px; }
  .mock-email-notif-body { font-size: 9px; margin-bottom: 8px; }
  .mock-email-notif-btn { font-size: 9px; padding: 5px 14px; }
  .mock-code-lock svg { width: 16px; height: 16px; }
  .mock-code-title { font-size: 11px; }
  .mock-code-subtitle { font-size: 9px; margin-bottom: 8px; }
  .mock-code-digits span { width: 24px; height: 28px; font-size: 12px; }
  .mock-code-digits { margin-bottom: 8px; }
  .mock-code-btn { font-size: 9px; padding: 5px 20px; }
  .mock-client-form-title { font-size: 10px; margin-bottom: 6px; }
  .mock-client-field { font-size: 10px; padding: 4px 0; }
  .mock-client-save { font-size: 8px; }

  /* FAQ */
  .section-faq { padding: 60px 0; }
  .faq-header { margin-bottom: 28px; }
  .faq-item summary { padding: 16px 18px; font-size: 0.9rem; }
  .faq-body { padding: 0 18px 18px; font-size: 0.85rem; }

  /* CTA */
  .section-cta { padding: 60px 0; }
  .section-cta .cta-buttons { flex-direction: column; align-items: center; }

  /* Big numbers (prod) */
  .bignums-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bignum .num { font-size: 1.6rem; }
  .bignum .txt { font-size: 0.72rem; }

  /* Pillars */
  .section-pillars { padding: 60px 0; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillars-header { margin-bottom: 32px; }
  .pillar-card { padding: 24px 22px 22px; border-radius: var(--radius); }
  .pillar-card h3 { font-size: 1rem; }
  .pillar-card p { font-size: 0.85rem; }
  .pillar-tag { font-size: 0.65rem; padding: 3px 8px; }

  /* Integrations */
  .section-integrations { padding: 60px 0; }
  .integrations-header { margin-bottom: 32px; }
  .integration-callout { padding: 18px 20px; gap: 16px; }
  .integration-callout-text h3 { font-size: 0.95rem; }
  .integration-callout-text p { font-size: 0.8rem; }

  /* Usecases */
  .section-usecases { padding: 60px 0; }
  .usecases-grid { grid-template-columns: 1fr; gap: 12px; }
  .usecases-header { margin-bottom: 32px; }
  .usecase-card { padding: 22px 20px; border-radius: var(--radius); }
  .usecase-card h3 { font-size: 0.95rem; }
  .usecase-card p { font-size: 0.8rem; }

  /* Footer */
  .footer .container { flex-direction: column; text-align: center; }
}

/* ===================================
   RESPONSIVE — Small mobile (480px)
   =================================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero */
  .hero h1 { font-size: 1.5rem; }
  .hero-proof-item .num { font-size: 0.9rem; }
  .hero-proof-item .txt { font-size: 0.6rem; }

  /* Before/After */

  /* Steps */
  .step-v-mock { height: auto; min-height: 160px; }
  .step-connector { height: auto; }

  /* Demo form */
  .demo-form-body { padding: 14px; }
  .demo-radios { gap: 5px; }

  /* Contact form */
  .contact-form-row { grid-template-columns: 1fr; }

  /* PEPS conv */
  .mock-peps-conv { font-size: 11px; }
  .mock-peps-msg { padding: 10px; }
  .mock-peps-msg-body { padding-left: 0; margin-top: 6px; }

  /* Document tree */
  .mock-ctx-menu { width: 190px; position: relative; right: auto; bottom: auto; margin-top: 8px; }
  .mock-tree-files { padding-left: 12px; }

  /* Support */
  .mock-support-bubble { margin-left: 0; margin-top: 6px; }
  .mock-support-deployed { margin-left: 0; }
}

/* ===================================
   404 Page
   =================================== */
.section-404 {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-alt) 100%);
  color: #fff;
  padding: 180px 24px 100px;
  position: relative;
  overflow: hidden;
}
.section-404::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,160,133,0.12) 0%, rgba(22,160,133,0) 70%);
  pointer-events: none;
}
.section-404::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,152,219,0.08) 0%, rgba(52,152,219,0) 70%);
  pointer-events: none;
}
.section-404 .container { position: relative; z-index: 1; text-align: center; max-width: 640px; }
.error-code {
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.error-code .digit { color: #fff; }
.error-code .omega { color: var(--accent); font-style: italic; margin-right: 0.12em; }
.error-title {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
  font-weight: 700;
}
.error-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-hint {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.error-hint a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px dotted rgba(22, 160, 133, 0.5);
}
.error-hint a:hover { color: var(--accent-hover); border-bottom-color: var(--accent); }
