/* ===========================
   ROOT TOKENS
=========================== */
:root {
  --bg-0: #050811;
  --bg-1: #080C1A;
  --bg-2: #0D1424;
  --card: rgba(255, 255, 255, 0.025);
  --card-hi: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.07);
  --border-hi: rgba(255, 255, 255, 0.14);
  --text-1: #F1F5F9;
  --text-2: #94A3B8;
  --text-3: #5B6478;
  --blue: #3B82F6;
  --blue-bright: #60A5FA;
  --violet: #8B5CF6;
  --violet-bright: #A78BFA;
  --cyan: #22D3EE;
  --green: #10B981;
  --green-bright: #34D399;
  --grad: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 55%, #22D3EE 100%);
  --grad-soft: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.18));
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

::selection { background: rgba(139, 92, 246, 0.4); color: #fff; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ===========================
   BACKGROUND ATMOSPHERE
=========================== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}
.orb-1 { width: 600px; height: 600px; background: #1E40AF; top: -200px; left: -200px; animation: drift1 28s ease-in-out infinite; }
.orb-2 { width: 700px; height: 700px; background: #6D28D9; bottom: -300px; right: -200px; animation: drift2 32s ease-in-out infinite; }
.orb-3 { width: 500px; height: 500px; background: #0891B2; top: 40%; left: 50%; opacity: 0.15; animation: drift3 36s ease-in-out infinite; }

@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(120px,80px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-100px,-60px)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-180px,80px) scale(1.15)} }

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* [OPT] Section padding adapté selon le contenu au lieu de 110px uniforme */
section { position: relative; padding: 90px 0; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--blue-bright);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: 'Sora', sans-serif;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-bright);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin: 16px 0 14px;
  background: linear-gradient(180deg, #F1F5F9 0%, #94A3B8 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  color: var(--text-2);
  font-size: 17px;
  max-width: 620px;
  line-height: 1.6;
}

.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.btn-green {
  background: linear-gradient(135deg, #059669, #10B981);
  color: white;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(16, 185, 129, 0.5);
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5, 8, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 7px;
  background: var(--bg-0);
}
.logo-mark::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 4px 4px 4px 1px;
  background: var(--grad);
}
.logo span { background: linear-gradient(90deg, #F1F5F9, #94A3B8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-1); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width 0.3s;
  border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text-1);
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 16px; right: 16px;
  background: rgba(8, 12, 26, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  z-index: 110;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.25s;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  color: var(--text-2);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border: none; }

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: block; }
}

/* ===========================
   HERO
=========================== */
.hero {
  padding: 150px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge { margin-bottom: 20px; }

.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* [OPT] Lisibilité du paragraphe principal du Hero */
.hero-sub {
  font-size: 18px;
  color: #A6B1C5;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 14px;
}
.hero-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 28px;
  padding: 8px 14px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 100px;
}
.hero-lang svg { width: 16px; height: 16px; color: var(--cyan); }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* [OPT] Ligne de confiance du Hero — espacement et lisibilité corrigés */
.hero-trust {
  margin-top: 22px;
  margin-bottom: 46px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  line-height: 1.4;
  color: #7F8BA3;
  font-size: 13px;
}
.hero-trust .item {
  display: flex; align-items: center; gap: 7px;
}
.hero-trust svg { width: 15px; height: 15px; color: var(--green-bright); flex-shrink: 0; }

@media (max-width: 600px) {
  .hero-trust {
    gap: 10px 16px;
  }
}

/* Hero visual */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.browser-mock {
  background: linear-gradient(180deg, rgba(15,22,40,0.95), rgba(8,12,26,0.95));
  border: 1px solid var(--border-hi);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 100px rgba(59, 130, 246, 0.2);
  position: relative;
  z-index: 2;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.04);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-3);
  font-family: 'Sora', sans-serif;
  border: 1px solid var(--border);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-content {
  padding: 20px;
  min-height: 420px;
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 50%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.06), transparent 50%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.site-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-1);
}
.site-nav { display: flex; gap: 14px; }
.site-nav span {
  width: 32px; height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
.site-nav span:nth-child(1) { width: 40px; background: rgba(59,130,246,0.4); }

.site-hero {
  text-align: center;
  padding: 18px 0;
}
.site-hero .line-1 {
  height: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border-radius: 4px;
  margin: 0 auto 8px;
  width: 70%;
}
.site-hero .line-2 {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  margin: 0 auto 4px;
  width: 50%;
}
.site-hero .line-3 {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  margin: 0 auto;
  width: 40%;
}
.site-hero .btn-mock {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  background: var(--grad);
  border-radius: 6px;
  font-size: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}

/* Chat widget inside browser */
.chat-widget {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: 16px;
  background: linear-gradient(180deg, rgba(15,22,40,0.98), rgba(10,15,30,0.98));
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  max-height: 260px;
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.chat-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.chat-avatar::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 8px; height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  border: 2px solid var(--bg-1);
}
.chat-info { flex: 1; min-width: 0; }
.chat-info .name { font-size: 12px; font-weight: 600; font-family: 'Sora', sans-serif; }
.chat-info .status { font-size: 10px; color: var(--green-bright); display: flex; align-items: center; gap: 4px; }

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 170px;
  overflow: hidden;
}

.msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  animation: msgIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  word-break: break-word;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg.assistant {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
}
.msg.visitor {
  align-self: flex-end;
  background: var(--grad);
  color: white;
  border-bottom-right-radius: 3px;
}

.typing {
  display: inline-flex;
  gap: 3px;
  padding: 10px 12px;
}
.typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-3);
  animation: typingDot 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Lead card overlay */
.lead-card-overlay {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: linear-gradient(180deg, rgba(15,22,40,0.98), rgba(8,12,26,0.98));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 14px 16px;
  width: 240px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 30px rgba(16, 185, 129, 0.2);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
}
.lead-card-overlay.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.lead-card-overlay .head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.lead-card-overlay .badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-bright);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.lead-card-overlay .pulse {
  width: 8px; height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-bright);
  animation: pulse-dot 1.5s infinite;
}
.lead-card-overlay .name {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  margin-bottom: 8px;
}
.lead-card-overlay .row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 3px 0;
  color: var(--text-2);
}
.lead-card-overlay .row span:last-child { color: var(--text-1); font-weight: 500; }

/* Flow indicator */
.flow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-3);
  font-family: 'Sora', sans-serif;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.flow-step .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--blue-bright);
  font-weight: 600;
}
.flow-arrow { color: var(--text-3); }
.flow-step:last-child .num {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--green-bright);
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 120px 0 64px; }
  .lead-card-overlay {
    bottom: -20px; left: auto; right: -10px;
    width: 200px;
  }
}
@media (max-width: 480px) {
  .hero { padding: 110px 0 56px; }
  .hero-trust { gap: 8px 14px; }
}

/* ===========================
   PROBLEM SECTION
=========================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.problem-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.problem-card:hover::before { opacity: 1; }
.problem-card:hover {
  border-color: rgba(239, 68, 68, 0.25);
  transform: translateY(-4px);
}
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: #FCA5A5;
}
.problem-icon svg { width: 22px; height: 22px; }
.problem-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-1);
}
.problem-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.transition-line {
  text-align: center;
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius);
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-1);
}

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

/* ===========================
   INTERACTIVE DEMO
=========================== */
.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.demo-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.06), transparent 50%);
  pointer-events: none;
}

.demo-chat {
  background: rgba(8, 12, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  height: 540px;
  position: relative;
  z-index: 1;
}

.demo-chat-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-chat-head .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.demo-chat-head .avatar::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 10px; height: 10px;
  background: var(--green-bright);
  border-radius: 50%;
  border: 2px solid var(--bg-1);
}
.demo-chat-head .avatar svg { width: 18px; height: 18px; color: white; z-index: 1; }
.demo-chat-head .info .name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.demo-chat-head .info .status {
  font-size: 11.5px;
  color: var(--green-bright);
}

.demo-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.demo-chat-body::-webkit-scrollbar { width: 4px; }
.demo-chat-body::-webkit-scrollbar-track { background: transparent; }
.demo-chat-body::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 2px; }

.dmsg {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  animation: msgSlide 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  word-break: break-word;
}
@keyframes msgSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dmsg.assistant {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.dmsg.visitor {
  align-self: flex-end;
  background: var(--grad);
  color: white;
  border-bottom-right-radius: 4px;
}

.quick-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  align-self: flex-start;
}
.choice-btn {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-bright);
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 12.5px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.choice-btn:hover {
  background: rgba(59, 130, 246, 0.18);
  transform: translateY(-1px);
}

.chat-input-area {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-1);
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--blue); }
.chat-input::placeholder { color: var(--text-3); }
.chat-send {
  background: var(--grad);
  border: none;
  border-radius: 10px;
  padding: 0 14px;
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s;
}
.chat-send:hover { transform: scale(1.05); }
.chat-send svg { width: 16px; height: 16px; }

.demo-reset {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
  transition: all 0.2s;
}
.demo-reset:hover { color: var(--text-1); border-color: var(--border-hi); }
.demo-reset svg { width: 12px; height: 12px; }

/* Lead card on right */
.demo-result {
  position: relative;
  z-index: 1;
}

.lead-card {
  background: linear-gradient(180deg, rgba(15,22,40,0.95), rgba(10,15,30,0.95));
  border: 1px solid var(--border-hi);
  border-radius: 18px;
  padding: 22px;
  height: 540px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.lead-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.lead-card.active {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.15);
}

.lead-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  color: var(--text-3);
}
.lead-empty svg { width: 56px; height: 56px; opacity: 0.4; }
.lead-empty .empty-text {
  font-size: 14px;
  max-width: 220px;
}
.lead-empty .empty-pulse {
  display: flex;
  gap: 4px;
}
.lead-empty .empty-pulse span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  animation: typingDot 1.2s infinite;
}
.lead-empty .empty-pulse span:nth-child(2) { animation-delay: 0.2s; }
.lead-empty .empty-pulse span:nth-child(3) { animation-delay: 0.4s; }

.lead-content { display: none; flex-direction: column; height: 100%; }
.lead-content.show { display: flex; }

.lead-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-bright);
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.lead-badge .dot {
  width: 6px; height: 6px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-bright);
  animation: pulse-dot 1.5s infinite;
}
.lead-time {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'Sora', sans-serif;
}

.lead-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.lead-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #22D3EE);
  display: grid;
  place-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}
.lead-profile .pname {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}
.lead-profile .pmeta {
  font-size: 11.5px;
  color: var(--text-3);
}

.lead-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}
.lead-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 13px;
  opacity: 0.4;
  transition: all 0.4s;
}
.lead-field.filled {
  opacity: 1;
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.15);
  animation: fieldFill 0.5s ease;
}
@keyframes fieldFill {
  0% { background: rgba(16, 185, 129, 0.25); transform: scale(1.02); }
  100% { background: rgba(16, 185, 129, 0.04); transform: scale(1); }
}
.lead-field .label {
  color: var(--text-3);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Sora', sans-serif;
}
.lead-field .value {
  color: var(--text-1);
  font-weight: 600;
  font-size: 13px;
  text-align: right;
}
.lead-field.filled .value { color: var(--green-bright); }

.lead-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.lead-actions button {
  flex: 1;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.lead-actions button:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-1);
}
.lead-actions button.primary {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--green-bright);
}
.lead-actions button.primary:hover {
  background: rgba(16, 185, 129, 0.2);
}
.lead-actions svg { width: 12px; height: 12px; }

@media (max-width: 920px) {
  .demo-wrapper { grid-template-columns: 1fr; }
  .demo-chat, .lead-card { height: 480px; }
}
@media (max-width: 480px) {
  .demo-chat, .lead-card { height: 440px; }
  .demo-wrapper { padding: 16px; }
}

/* ===========================
   BENEFITS
=========================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.benefit-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  background: var(--card-hi);
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-viz {
  height: 70px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

/* Custom mini visualizations */
.viz-clock {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  position: relative;
  display: grid;
  place-items: center;
}
.viz-clock::before {
  content: '';
  position: absolute;
  width: 2px; height: 14px;
  background: var(--blue-bright);
  top: 8px;
  border-radius: 1px;
  transform-origin: bottom;
  animation: clockHand 4s linear infinite;
}
.viz-clock::after {
  content: '';
  position: absolute;
  width: 2px; height: 10px;
  background: var(--violet-bright);
  transform: rotate(90deg);
  transform-origin: bottom center;
  bottom: 50%;
  border-radius: 1px;
}
@keyframes clockHand {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.viz-clock-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.3), transparent 70%);
}

.viz-repeat {
  display: flex;
  gap: 4px;
  align-items: center;
}
.viz-repeat .bar {
  width: 8px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
  border-radius: 2px;
  animation: barPulse 1.6s ease-in-out infinite;
}
.viz-repeat .bar:nth-child(1) { height: 30px; animation-delay: 0s; }
.viz-repeat .bar:nth-child(2) { height: 45px; animation-delay: 0.2s; }
.viz-repeat .bar:nth-child(3) { height: 38px; animation-delay: 0.4s; opacity: 0.5; }
.viz-repeat .bar:nth-child(4) { height: 50px; animation-delay: 0.6s; opacity: 0.3; }
.viz-repeat .bar:nth-child(5) { height: 28px; animation-delay: 0.8s; opacity: 0.2; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.7); }
}

.viz-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
.viz-list .lrow {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.viz-list .lrow::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 70%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: 3px;
  animation: listFill 2s ease-in-out infinite;
}
.viz-list .lrow:nth-child(2)::after { width: 90%; animation-delay: 0.2s; }
.viz-list .lrow:nth-child(3)::after { width: 55%; animation-delay: 0.4s; }
@keyframes listFill {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
}

.viz-filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.viz-filter .fdot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.3;
}
.viz-filter .fdot.active {
  background: var(--green-bright);
  opacity: 1;
  box-shadow: 0 0 8px var(--green-bright);
  animation: filterLight 1.5s ease-in-out infinite;
}
.viz-filter .fdot:nth-child(2).active { animation-delay: 0.2s; }
.viz-filter .fdot:nth-child(3).active { animation-delay: 0.4s; }
@keyframes filterLight {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.viz-chart {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 50px;
}
.viz-chart .cbar {
  width: 12px;
  background: linear-gradient(180deg, var(--violet-bright), var(--violet));
  border-radius: 2px 2px 0 0;
  animation: chartGrow 2s ease-in-out infinite;
  transform-origin: bottom;
}
.viz-chart .cbar:nth-child(1) { height: 60%; animation-delay: 0s; }
.viz-chart .cbar:nth-child(2) { height: 85%; animation-delay: 0.2s; }
.viz-chart .cbar:nth-child(3) { height: 40%; animation-delay: 0.4s; }
.viz-chart .cbar:nth-child(4) { height: 95%; animation-delay: 0.6s; background: linear-gradient(180deg, var(--green-bright), var(--green)); }
@keyframes chartGrow {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.85); }
}

.benefit-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

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

/* ===========================
   HOW IT WORKS
=========================== */
.timeline {
  --timeline-progress: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  isolation: isolate;
}
.timeline-track {
  position: absolute;
  top: 34px; left: 7%; right: 7%; height: 2px;
  background: rgba(108, 130, 180, 0.24);
  overflow: hidden;
}
.timeline-track-fill {
  display: block; width: calc(var(--timeline-progress) * 100%); height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan), var(--green));
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.7);
  transition: width 120ms linear;
}

.t-step {
  position: relative; z-index: 1; padding: 8px 14px 16px;
  border: 1px solid transparent; border-radius: 16px;
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}
.t-marker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--text-3); transition: color 300ms ease; }
.t-marker svg { width: 21px; height: 21px; opacity: 0.55; transition: transform 300ms ease, opacity 300ms ease; }
.t-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border-hi);
  display: grid;
  place-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  background-clip: padding-box;
}
.t-step .t-num { color: var(--text-3); box-shadow: none; transition: color 300ms ease, border-color 300ms ease, box-shadow 300ms ease, background 300ms ease; }
.t-step.is-active { transform: translateY(-4px); border-color: rgba(100, 140, 220, 0.22); background: linear-gradient(145deg, rgba(59,130,246,.06), rgba(139,92,246,.035)); }
.t-step.is-active .t-num { color: var(--blue-bright); border-color: rgba(93, 159, 255, .5); background: linear-gradient(145deg, rgba(27, 58, 116, .9), rgba(30, 20, 70, .85)); box-shadow: 0 0 26px rgba(59, 130, 246, .24); }
.t-step.is-active .t-marker { color: var(--cyan); }
.t-step.is-active .t-marker svg { opacity: 1; transform: scale(1.08); }

.t-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.3; color: var(--text-2); transition: color 300ms ease;
}
.t-step p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55; opacity: .62; transform: translateY(5px); transition: opacity 300ms ease, transform 300ms ease;
}
.t-step.is-active h3 { color: var(--text-1); }
.t-step.is-active p { opacity: 1; transform: translateY(0); }
.t-preview { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; padding: 7px 9px; max-width: 100%; border: 1px solid rgba(118, 150, 214, .22); border-radius: 8px; background: rgba(5, 11, 26, .56); color: var(--text-2); font: 600 10.5px 'Sora', sans-serif; opacity: .45; transform: translateY(5px); transition: opacity 300ms ease, transform 300ms ease, border-color 300ms ease; }
.t-preview strong { color: var(--text-1); font-weight: 700; }
.preview-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); }
.whatsapp-preview { color: #a7f3d0; }
.t-step.is-active .t-preview { opacity: 1; transform: translateY(0); border-color: rgba(59, 130, 246, .35); }
}

.timeline-note {
  margin-top: 40px;
  text-align: center;
  padding: 18px 26px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: inline-block;
  width: 100%;
  font-size: 14px;
  color: var(--blue-bright);
  font-family: 'Sora', sans-serif;
  font-weight: 500;
}

/* [OPT] Réduction de l'espace entre Fonctionnement et Avant/Après */
#fonctionnement { padding-bottom: 60px; }
#avant-apres { padding-top: 60px; }

@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; gap: 14px; padding-left: 4px; }
  .timeline-track { top: 28px; bottom: 28px; left: 32px; right: auto; width: 2px; height: auto; }
  .timeline-track-fill { width: 100%; height: calc(var(--timeline-progress) * 100%); background: linear-gradient(180deg, var(--blue), var(--violet), var(--cyan), var(--green)); transition: height 120ms linear; }
  .t-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 4px 8px 18px 0; }
  .t-marker { grid-column: 1; margin: 0; flex-direction: column; gap: 8px; align-items: center; }
  .t-marker svg { width: 17px; height: 17px; }
  .t-content { grid-column: 2; min-width: 0; }
  .t-step h3 { margin-top: 3px; }
  #fonctionnement { padding-bottom: 42px; }
  #avant-apres { padding-top: 42px; }
}

/* Sector cards stay calm until their section enters, then react only on intent. */
#secteurs .sector-card { transition: transform 340ms cubic-bezier(.2,.8,.2,1), border-color 340ms ease, background 340ms ease, box-shadow 340ms ease; }
#secteurs .sector-card .benefit-viz svg { transition: transform 340ms ease, color 340ms ease; }
#secteurs .sector-card:hover { transform: translateY(-5px); border-color: rgba(91, 153, 255, .38); background: linear-gradient(145deg, rgba(59,130,246,.11), rgba(139,92,246,.06)); box-shadow: 0 16px 34px rgba(4, 10, 25, .32), 0 0 26px rgba(59,130,246,.09); }
#secteurs .sector-card:hover .benefit-viz svg { transform: scale(1.07) rotate(-2deg); color: var(--cyan); }

/* ===========================
   BEFORE / AFTER
=========================== */
.compare-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}
.compare-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.compare-card.before {
  background: linear-gradient(180deg, rgba(60, 60, 70, 0.1), rgba(40, 40, 50, 0.05));
  border-color: rgba(255, 255, 255, 0.05);
}
.compare-card.after {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.1);
}
.compare-card.after::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.compare-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  margin-bottom: 22px;
}
.compare-card.before .compare-label {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-2);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.compare-card.after .compare-label {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-bright);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
}
.compare-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px; height: 18px;
}
.compare-card.before .compare-list li svg { color: #94A3B8; }
.compare-card.after .compare-list li svg { color: var(--green-bright); }
.compare-card.after .compare-list li { color: var(--text-1); }

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

/* ===========================
   DASHBOARD DEMO
=========================== */
.dashboard {
  background: linear-gradient(180deg, rgba(15,22,40,0.8), rgba(8,12,26,0.8));
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.dashboard::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.dash-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-title .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green-bright);
  animation: pulse-dot 1.5s infinite;
}
.dash-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(234, 179, 8, 0.1);
  color: #FBBF24;
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 100px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.dash-stat {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.dash-stat .label {
  font-size: 11.5px;
  color: var(--text-3);
  font-family: 'Sora', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.dash-stat .value {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 28px;
  background: linear-gradient(180deg, #F1F5F9, #94A3B8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dash-stat .delta {
  font-size: 11px;
  color: var(--green-bright);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 14px;
}

.dash-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.dash-card h4 {
  font-size: 13px;
  font-family: 'Sora', sans-serif;
  margin-bottom: 16px;
  color: var(--text-2);
  font-weight: 500;
}

.bar-chart { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-row .lbl { font-size: 12px; color: var(--text-2); width: 70px; flex-shrink: 0; }
.bar-row .track {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  min-width: 0;
}
.bar-row .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 0;
  position: relative;
}
.bar-row .fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.bar-row .val {
  font-size: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--text-1);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.donut {
  width: 110px; height: 110px;
  position: relative;
}
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle {
  fill: none;
  stroke-width: 10;
}
.donut .bg-ring { stroke: rgba(255,255,255,0.06); }
.donut .progress {
  stroke: url(#donutGrad);
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.8s ease;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  flex-direction: column;
}
.donut-center .pct {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.donut-label {
  font-size: 11.5px;
  color: var(--text-2);
  text-align: center;
  line-height: 1.4;
}

.qlist { display: flex; flex-direction: column; gap: 8px; }
.qitem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-2);
}
.qitem .qicon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.15);
  color: #FBBF24;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
}

.dash-disclaimer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-3);
  font-style: italic;
}

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

/* ===========================
   PRICING
=========================== */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}
.price-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.price-card.featured {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(59, 130, 246, 0.04));
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.15);
}
.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan));
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--grad);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}
.price-badge[hidden] {
  display: none;
}

.price-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
}
.pricing-plan-identity { display: flex; align-items: center; gap: 12px; }
.pricing-plan-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #d8ccff; background: linear-gradient(135deg, rgba(139,92,246,.26), rgba(34,211,238,.12)); border: 1px solid rgba(139,92,246,.35); font-size: 20px; font-family: 'Sora', sans-serif; }
.pricing-best-for { font-size: 12px; color: var(--text-3); margin-top: -4px; }
.included-credits { margin: 14px 0 4px; padding: 11px 12px; border-radius: 10px; background: rgba(16,185,129,.09); border: 1px solid rgba(16,185,129,.2); color: #bbf7d0; font-size: 13px; }
.included-credits strong { font-family: 'Sora', sans-serif; font-size: 16px; color: #ecfdf5; }
.included-credits span { color: var(--text-3); }
.price-desc {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 22px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.price-amount .num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 42px;
  background: linear-gradient(180deg, #F1F5F9, #94A3B8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-amount .unit {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}
.price-monthly {
  font-size: 13.5px;
  color: var(--blue-bright);
  margin-bottom: 6px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}
.price-monthly .num {
  font-size: 18px;
}

.price-card.featured .price-monthly { color: var(--violet-bright); }

.price-fees {
  font-size: 11.5px;
  color: var(--text-3);
  padding: 10px 12px;
  background: rgba(255,255,255,0.025);
  border-radius: 8px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  line-height: 1.5;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.45;
}
.price-features li svg {
  width: 16px; height: 16px;
  color: var(--green-bright);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-card.featured .price-features li svg { color: var(--violet-bright); }

.price-note {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.enterprise-line {
  margin: 22px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.55;
}
.enterprise-line strong {
  color: var(--text-1);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
}

/* ===========================
   PRICING CONFIGURATOR
=========================== */
.pricing-slider-wrap {
  margin: 18px 0 6px;
  width: 100%;
  min-width: 0;
}
.pricing-slider {
  width: 100%;
  display: block;
  box-sizing: border-box;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan));
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}
.pricing-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
  cursor: grab;
  transition: box-shadow 0.2s;
}
.pricing-slider::-webkit-slider-thumb:active { cursor: grabbing; }
.pricing-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
  cursor: grab;
}
.pricing-slider:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}
.pricing-milestone-prices,
.pricing-milestones {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}
.pricing-milestone-prices {
  margin-bottom: 10px;
}
.pricing-milestone-price {
  min-width: 0;
  overflow: hidden;
  color: var(--text-2);
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pricing-milestone-price.selected {
  color: var(--text-1);
}
.pricing-milestones {
  margin-top: 14px;
}
.pricing-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: center;
}
.pricing-milestone .milestone-name {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pricing-milestone .milestone-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 9px; color: var(--text-2); font-size: 13px; }
.pricing-milestone.selected .milestone-icon { color: #e9d5ff; border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.16); }
.pricing-milestone.selected .milestone-name {
  color: var(--text-1);
}
.pricing-milestone:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
  border-radius: 4px;
}
.pricing-hint {
  font-size: 12px;
  color: var(--text-3);
  margin: 8px 0 16px;
  line-height: 1.5;
}
.pricing-features-head {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-1);
  margin-bottom: 10px;
}
.price-features li {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.price-features li.active {
  color: var(--text-1);
}
.price-features li .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-features li.active .feature-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-bright);
}

/* Optional top-ups complement included monthly credits. */
.agent-credits {
  max-width: 560px;
  margin: 34px auto 0;
  padding: 20px 24px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
}
.agent-credits-head h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 2px;
}
.agent-credits-head p {
  font-size: 12.5px;
  color: var(--text-2);
  margin: 0;
}
.agent-credits-desc {
  font-size: 13px;
  color: var(--text-2);
  margin: 12px 0 18px;
  line-height: 1.55;
}
.agent-credits-packs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.credit-pack {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.credit-pack:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.credit-pack.selected {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.12);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}
.credit-pack-amount {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--text-1);
}
.credit-pack-label {
  font-size: 11px;
  color: var(--text-3);
}
@media (max-width: 520px) {
  .price-card { padding: 24px 18px; }
  .agent-credits-packs { grid-template-columns: repeat(2, 1fr); }
  .pricing-milestone .milestone-name { font-size: 9.5px; }
  .pricing-milestone-price { font-size: 10px; }
}

/* ===========================
   TRUST SECTION
=========================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  transition: all 0.3s;
}
.trust-card:hover {
  background: var(--card-hi);
  border-color: var(--border-hi);
}
.trust-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--blue-bright);
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-card h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}
.trust-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

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

/* ===========================
   TESTIMONIAL PLACEHOLDER
=========================== */
.testimonial-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.testimonial-placeholder {
  background: var(--card);
  border: 1px dashed var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-placeholder::before {
  content: '"';
  position: absolute;
  top: -20px; left: 20px;
  font-family: 'Sora', sans-serif;
  font-size: 140px;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.08);
  line-height: 1;
}
.placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  background: rgba(234, 179, 8, 0.1);
  color: #FBBF24;
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 100px;
  font-size: 11.5px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  margin-bottom: 14px;
  width: fit-content;
}
.testimonial-placeholder p {
  font-size: 16px;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.6;
}

.pilot-card {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.pilot-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
  filter: blur(40px);
}
.pilot-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
}
.pilot-card p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 22px;
  line-height: 1.55;
  position: relative;
}

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

/* ===========================
   FAQ
=========================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(59, 130, 246, 0.3); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-1);
}
.faq-q .chev {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: grid; place-items: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-q .chev svg { width: 14px; height: 14px; transition: transform 0.3s; }
.faq-item.open .faq-q .chev {
  background: var(--grad);
  color: white;
}
.faq-item.open .faq-q .chev svg { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ===========================
   FINAL CTA
=========================== */
.final-cta {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.3), transparent 50%);
}
.final-cta-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  margin-bottom: 18px;
  background: linear-gradient(180deg, #F1F5F9, #94A3B8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-cta p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 32px;
}
.final-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.final-cta-trust {
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta-trust .item { display: flex; align-items: center; gap: 6px; }
.final-cta-trust svg { width: 14px; height: 14px; color: var(--green-bright); }

/* ===========================
   CONTACT FORM
=========================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text-2);
  font-size: 15.5px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.contact-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-point {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.contact-point .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: grid; place-items: center;
  color: var(--green-bright);
  flex-shrink: 0;
}
.contact-point .icon svg { width: 18px; height: 18px; }
.contact-point .label { font-size: 12px; color: var(--text-3); }
.contact-point .val { font-size: 14px; font-weight: 600; font-family: 'Sora', sans-serif; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  /* [OPT] overflow: hidden retiré pour permettre l'affichage des dropdowns par-dessus */
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }

/* [OPT] Labels plus lisibles */
.form-field label {
  font-size: 13px;
  color: #A6B1C5;
  font-weight: 500;
  font-family: 'Sora', sans-serif;
}
.form-field label .req { color: var(--blue-bright); }

/* [OPT] Uniformisation des champs — même hauteur, bordures, focus */
.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-1);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  min-height: 48px;
  width: 100%;
}
.form-field textarea {
  resize: vertical;
  min-height: 90px;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  background: rgba(59, 130, 246, 0.04);
}

/* [OPT] Placeholders plus discrets */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #566176;
}

.form-field .error {
  color: #FCA5A5;
  font-size: 12px;
  display: none;
}
.form-field.error input,
.form-field.error textarea {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.04);
}
.form-field.error .error { display: block; }

/* ===========================
   [OPT] CUSTOM SELECT — Composant select dark premium
   Remplace les <select> natifs pour éviter le fond blanc
=========================== */
.custom-select {
  position: relative;
  z-index: 1;
}
.custom-select.open {
  z-index: 80;
}

.select-trigger {
  width: 100%;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-1);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: left;
}
.select-trigger:hover {
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, 0.05);
}
.select-trigger.open {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  background: rgba(59, 130, 246, 0.04);
}
.form-field.error .select-trigger {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.04);
}

.select-value {
  flex: 1;
  text-align: left;
  color: var(--text-1);
  font-size: 14px;
  word-break: break-word;
  line-height: 1.4;
}
.select-value.placeholder {
  color: #566176;
}

.select-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-2);
  transition: transform 0.2s;
}
.select-trigger.open .select-arrow {
  transform: rotate(180deg);
}

.select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0D1424;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.4);
  padding: 6px;
  z-index: 80;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  max-height: 280px;
  overflow-y: auto;
}
.select-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.select-option {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #D1D9E6;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
  outline: none;
}
.select-option:hover,
.select-option.focused {
  background: rgba(59, 130, 246, 0.15);
  color: #FFFFFF;
}
.select-option.selected {
  background: #2563EB;
  color: #FFFFFF;
}
.select-option .check {
  margin-left: auto;
  opacity: 0;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.select-option.selected .check {
  opacity: 1;
}

/* [OPT] Responsive du custom select sur mobile */
@media (max-width: 480px) {
  .select-option {
    padding: 13px 14px;
    font-size: 13.5px;
  }
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 14px;
}
.form-success.show { display: flex; animation: msgSlide 0.5s ease; }
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--green-bright);
  display: grid; place-items: center;
  color: var(--green-bright);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}
.success-icon svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 19px; margin-bottom: 4px; }
.form-success p { color: var(--text-2); font-size: 14px; max-width: 320px; }

@media (max-width: 800px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-form { padding: 24px 20px; }
}

/* ===========================
   FOOTER
=========================== */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 26, 0.5));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-2);
  max-width: 280px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer-brand .tagline {
  font-size: 12px;
  color: var(--text-3);
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col h4 {
  font-size: 13px;
  font-family: 'Sora', sans-serif;
  margin-bottom: 16px;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-3);
}
.footer-bottom .legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ===========================
   MOBILE STICKY CTA
=========================== */
.mobile-cta-fixed {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 90;
  display: none;
}
.mobile-cta-fixed .btn {
  width: 100%;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}
@media (max-width: 920px) {
  .mobile-cta-fixed { display: block; }
  /* [OPT] Espace inférieur accru pour éviter que le CTA masque le footer */
  body { padding-bottom: 100px; }
}
body.pricing-in-view .mobile-cta-fixed,
body:has(#tarifs:target) .mobile-cta-fixed {
  display: none;
}

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .orb { animation: none; }
}
