/* ============================================================
   Agent.Ia — Stylesheet
   Aesthetic: Clean premium éditoriale. Blanc cassé, serif display,
   accent vert néon, micro-interactions partout.
   ============================================================ */

:root {
  --bg: #f4f5fa;
  --bg-deep: #eaecf4;
  --bg-card: #ffffff;
  --fg: #0d1b3d;
  --fg-muted: rgba(13, 27, 61, 0.62);
  --fg-faint: rgba(13, 27, 61, 0.34);
  --line: rgba(13, 27, 61, 0.10);
  --line-strong: rgba(13, 27, 61, 0.18);
  --accent: #2563EB;
  --accent-deep: #1d4fcc;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --serif: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
  --sans: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", "IBM Plex Mono", monospace;
  --shadow-sm: 0 2px 8px -2px rgba(13, 27, 61, 0.08);
  --shadow-md: 0 12px 32px -8px rgba(13, 27, 61, 0.12);
  --shadow-lg: 0 24px 60px -16px rgba(13, 27, 61, 0.18);
  --radius: 16px;
}

[data-theme="dark"] {
  --bg: #0a1228;
  --bg-deep: #060b1a;
  --bg-card: #111a36;
  --fg: #f4f5fa;
  --fg-muted: rgba(244, 245, 250, 0.66);
  --fg-faint: rgba(244, 245, 250, 0.34);
  --line: rgba(244, 245, 250, 0.10);
  --line-strong: rgba(244, 245, 250, 0.20);
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Custom cursor zone — subtle */
body {
  cursor: default;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.mono { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.04em; text-transform: uppercase; }

.display {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--fg);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-block;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 60ch;
  text-wrap: pretty;
  margin-top: 1.2rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.app { position: relative; }

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 64px);
  position: relative;
}

.section-header { margin-bottom: clamp(40px, 6vw, 80px); max-width: 800px; }
.section-header .display { margin-top: 0.6rem; }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.nav-scrolled { border-bottom-color: var(--line); }

.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.4rem; }
.nav-logo {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--fg);
  position: relative;
  overflow: hidden;
}
.nav-logo::before {
  content: ""; position: absolute; inset: 5px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(2px);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.7); opacity: 0.6; }
  50% { transform: scale(1); opacity: 1; }
}

.nav-links { display: flex; gap: 28px; }
.nav-link {
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.nav-toggle:hover { background: var(--fg); color: var(--bg); }

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

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  font-weight: 500;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(37, 99, 235, 0.45);
  background: var(--accent-deep);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--fg);
}
.btn-ghost:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px clamp(20px, 4vw, 64px) 60px;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-left { z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: color-mix(in oklab, var(--bg) 60%, transparent);
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 28px 0 24px;
  text-wrap: balance;
}
.hero-h1 em { font-style: normal; color: var(--accent); font-weight: 600; }
.hero-h1 em::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.18em;
  background: var(--accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: highlight 1.2s 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes highlight { to { transform: scaleX(1); } }

.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 56ch;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-stat { padding-right: 16px; border-right: 1px solid var(--line); padding-left: 0; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 6px;
}

.hero-right {
  position: relative;
  height: 100%;
  min-height: 600px;
}
.hero-3d-mount {
  position: absolute;
  inset: 0;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-right { min-height: 380px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .hero-stat:nth-child(2) { border-right: none; }
}

/* ============================================================
   DEMO SECTION
   ============================================================ */

.section-demo { background: linear-gradient(180deg, transparent, var(--bg-deep) 30%, var(--bg-deep) 70%, transparent); }

.demo-stage {
  position: relative;
  perspective: 1800px;
}
.demo-window {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transform: rotateX(2deg) rotateY(-1deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.demo-stage:hover .demo-window { transform: rotateX(0deg) rotateY(0deg); }

.demo-titlebar {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.demo-traffic { display: flex; gap: 6px; }
.demo-traffic span { width: 12px; height: 12px; border-radius: 50%; }
.demo-url { color: var(--fg-muted); font-size: 0.75rem; }
.demo-spacer { flex: 1; }

.demo-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 560px;
  position: relative;
}
.demo-bg {
  position: relative;
  padding: 48px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.demo-bg-blob {
  position: absolute; inset: 0;
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
}
.demo-bg-text { position: relative; z-index: 1; }
.demo-bg-eyebrow { color: var(--fg-muted); }
.demo-bg-h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-top: 12px;
  letter-spacing: -0.02em;
}
.demo-bg-h1:nth-of-type(2) {  opacity: 0.4; }
.demo-bg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.demo-bg-card {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--bg-deep), color-mix(in oklab, var(--bg-deep) 70%, var(--fg) 5%));
  border: 1px solid var(--line);
  border-radius: 8px;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, color-mix(in oklab, var(--fg) 4%, transparent) 8px, color-mix(in oklab, var(--fg) 4%, transparent) 9px);
}

.demo-bot-wrap { padding: 20px; height: 100%; }

.demo-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px;
  padding: 0 8px;
}
.demo-ctrl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.82rem;
  transition: all 0.2s;
}
.demo-ctrl:hover { background: var(--fg); color: var(--bg); }
.demo-tag { color: var(--accent); font-size: 0.72rem; }

@media (max-width: 900px) {
  .demo-body { grid-template-columns: 1fr; }
  .demo-bg { display: none; }
}



/* ============================================================
   SOPHIE CHATBOT
   ============================================================ */
.sbot { display: flex; flex-direction: column; }
.sbot-frame {
  display: flex; flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px -10px rgba(10,10,10,0.12);
}
[data-theme="dark"] .sbot-frame { background: #fff; }

.sbot-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  color: #fff;
  position: relative;
}
.sbot-h-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.sbot-h-avatar img { width: 80%; height: 80%; object-fit: contain; }
.sbot-h-title {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.sbot-h-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.85);
  transition: background 0.15s, color 0.15s;
}
.sbot-h-icon:hover { background: rgba(255,255,255,0.15); color: #fff; }

.sbot-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  background: #fff;
}
.sbot-scroll::-webkit-scrollbar { width: 6px; }
.sbot-scroll::-webkit-scrollbar-thumb { background: #e2e4ea; border-radius: 3px; }

.sbot-intro {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  padding: 8px 0 18px;
  text-align: center;
}
.sbot-intro-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e4ea;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  margin-bottom: 6px;
}
.sbot-intro-avatar img { width: 70%; height: 70%; object-fit: contain; }
.sbot-intro-name { font-weight: 700; font-size: 1.18rem; color: #15171c; letter-spacing: -0.01em; }
.sbot-intro-sub { font-size: 0.92rem; color: #6b7280; }

.sbot-msg {
  display: flex;
  animation: sbot-slide 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  max-width: 88%;
}
@keyframes sbot-slide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.sbot-msg-user { align-self: flex-end; justify-content: flex-end; }
.sbot-msg-bot { align-self: flex-start; }

.sbot-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.94rem;
  line-height: 1.5;
  background: #f0f1f4;
  color: #15171c;
}
.sbot-msg-user .sbot-bubble {
  background: #2F6FED;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.sbot-msg-bot .sbot-bubble {
  border-bottom-left-radius: 4px;
}
.sbot-text { white-space: pre-wrap; }

.sbot-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.sbot-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #b6bac3;
  animation: sbot-dot 1.2s ease-in-out infinite;
}
.sbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.sbot-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes sbot-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.sbot-suggestions {
  padding: 4px 18px 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.sbot-chip {
  padding: 7px 12px;
  font-size: 0.78rem;
  border: 1px solid #e2e4ea;
  border-radius: 100px;
  color: #4b5563;
  background: #fff;
  transition: all 0.2s;
}
.sbot-chip:hover { background: #2F6FED; color: #fff; border-color: #2F6FED; }

.sbot-input-row {
  display: flex; gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid #e8eaef;
  background: #fff;
}
.sbot-input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid #e2e4ea;
  border-radius: 100px;
  background: #fff;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s;
  color: #15171c;
}
.sbot-input:focus { border-color: #2F6FED; }
.sbot-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.15s, opacity 0.15s;
}
.sbot-send:hover:not(:disabled) { transform: scale(1.05); }
.sbot-send:disabled { opacity: 0.3; cursor: not-allowed; }

/* Cards inside chat */
.sbot-card {
  margin-top: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e4ea;
  border-radius: 10px;
  color: #15171c;
}
.sbot-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sbot-card-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7280; }
.sbot-card-id { font-family: var(--mono); font-size: 0.86rem; margin-top: 2px; font-weight: 600; }
.sbot-card-badge { padding: 4px 10px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid; border-radius: 100px; }
.sbot-card-eta { margin-top: 12px; font-size: 0.86rem; color: #6b7280;  }
.sbot-timeline { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.sbot-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: #e2e4ea; }
.sbot-tl-step { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.sbot-tl-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; z-index: 1; }
.sbot-tl-step-name { font-size: 0.84rem; font-weight: 500; }
.sbot-tl-meta { font-family: var(--mono); font-size: 0.65rem; color: #6b7280; margin-top: 2px; letter-spacing: 0.05em; }
.sbot-card-foot { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e2e4ea; font-size: 0.74rem; color: #6b7280; }
.sbot-card-mono { font-family: var(--mono); }
.sbot-steps { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.sbot-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; }
.sbot-step-n { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.sbot-addr-fields { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sbot-addr-field { padding: 8px 12px; border: 1px solid #e2e4ea; border-radius: 6px; background: #fff; font-size: 0.82rem; outline: none; }
.sbot-mini-btn { padding: 6px 12px; font-size: 0.78rem; border: 1px solid #e2e4ea; border-radius: 100px; transition: all 0.2s; background: #fff; color: #15171c; }
.sbot-mini-btn:hover { background: #2F6FED; color: #fff; border-color: #2F6FED; }
.sbot-cta { display: inline-block; margin-top: 10px; padding: 8px 14px; font-size: 0.82rem; color: #fff; border-radius: 100px; font-weight: 500; }

.sbot-bubble.sbot-bubble-mode { box-shadow: var(--shadow-lg); border-radius: 18px; animation: sbot-bubble-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes sbot-bubble-in { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: none; } }

/* Demo solo (full chat, no fake shop) */
.demo-stage-solo .demo-window-solo { background: #fff; }
.demo-body-solo { display: block !important; min-height: 0 !important; padding: 28px; background: #f5f7fb; }
.demo-bot-wrap-solo { max-width: 460px; margin: 0 auto; height: 620px; padding: 0; }

/* Floating bubble — always-visible "Sophie" pill */
.sbot-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px;
  background: #fff;
  color: #15171c;
  border: 1px solid #e2e4ea;
  border-radius: 100px;
  box-shadow: 0 12px 30px -8px rgba(10,10,10,0.18);
  z-index: 150;
  transition: transform 0.2s ease;
  font-size: 0.92rem;
  font-weight: 500;
}
.sbot-fab:hover { transform: translateY(-2px); }
.sbot-fab-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e4ea;
  display: grid; place-items: center;
  overflow: hidden;
}
.sbot-fab-avatar img { width: 80%; height: 80%; object-fit: contain; }
.sbot-fab-status { display: inline-flex; align-items: center; gap: 6px; }
.sbot-fab-dot { width: 8px; height: 8px; border-radius: 50%; background: #2F6FED; box-shadow: 0 0 10px #2F6FED; }
.sbot-fab-label-main { font-weight: 700; line-height: 1; }
.sbot-fab-label-sub { font-size: 0.72rem; color: #6b7280; line-height: 1; margin-top: 3px; }
.sbot-fab-text { display: flex; flex-direction: column; }
@media (max-width: 600px) { .sbot-fab-text { display: none; } .sbot-fab { padding: 8px; } }

/* ============================================================
   ROI SECTION
   ============================================================ */

.roi-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}
@media (max-width: 800px) {
  .roi-grid { grid-template-columns: 1fr; }
  .roi-vs { transform: rotate(90deg); margin: 8px auto; }
}

.roi-card {
  padding: 36px 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.roi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.roi-card-human { background: var(--bg-deep); }
.roi-card-ai { border-width: 2px; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent); }

.roi-card-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.roi-card-amount {
  font-family: var(--serif);
  display: flex; align-items: baseline; gap: 4px;
  line-height: 1;
}
.roi-currency { font-size: 1.6rem; opacity: 0.7; }
.roi-num { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
.roi-card-sub {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

.roi-list {
  list-style: none;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.roi-list li {
  display: flex; justify-content: space-between;
  font-size: 0.92rem;
  color: var(--fg-muted);
}
.roi-list .mono { color: var(--fg); font-weight: 500; }

.roi-vs {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.roi-vs-line { width: 1px; flex: 1; background: var(--line); min-height: 30px; }
.roi-vs-circle {
  width: 56px; height: 56px;
  border: 1.5px solid;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  
  font-size: 1.3rem;
  background: var(--bg);
}

.roi-savings {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  padding: 36px;
  border: 1.5px solid;
  border-radius: var(--radius);
  margin-top: 24px;
}
@media (max-width: 800px) { .roi-savings { grid-template-columns: 1fr; } }
.roi-savings-amount { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.roi-savings-mult {
  font-family: var(--mono);
  font-size: 0.82rem;
  padding: 4px 10px;
  background: var(--accent);
  color: #0a0a0a;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.roi-slider-label { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 12px; }
.roi-slider-label .mono { color: var(--fg); }

.roi-range {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 4px; outline: none;
}
.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--fg);
  border: 3px solid var(--accent);
  cursor: grab;
  transition: transform 0.15s;
}
.roi-range::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.roi-range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--fg);
  border: 3px solid var(--accent);
  cursor: grab;
}
.roi-slider-ticks {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.roi-sources {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* ============================================================
   TECH SECTION
   ============================================================ */

.tech-pipeline {
  margin: 32px 0 56px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--fg);
  overflow: hidden;
}
.rag-svg { width: 100%; height: auto; min-height: 220px; }
.rag-box-label { font-family: var(--sans); font-size: 14px; fill: currentColor; font-weight: 500; }
.rag-box-sub { font-family: var(--mono); font-size: 11px; fill: currentColor; opacity: 0.55; letter-spacing: 0.05em; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .tech-grid { grid-template-columns: 1fr; } }

.tech-card {
  padding: 32px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s;
  overflow: hidden;
}
.tech-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tech-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--fg); }
.tech-card:hover::before { transform: scaleX(1); }

.tech-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tech-n { font-size: 0.74rem; color: var(--fg-muted); }
.tech-badge {
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  border: 1px solid;
  border-radius: 100px;
}
.tech-card-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.tech-card-body {
  font-size: 0.92rem;
  color: var(--fg-muted);
  margin-bottom: 18px;
  text-wrap: pretty;
}
.tech-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tech-bullets li {
  display: flex; gap: 10px;
  font-size: 0.86rem;
  color: var(--fg);
}
.tech-tick { font-family: var(--mono); font-weight: 700; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.section-about { background: linear-gradient(180deg, transparent, var(--bg-deep) 30%, var(--bg-deep) 70%, transparent); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-top: 24px;
  text-wrap: pretty;
  max-width: 60ch;
}
.about-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.about-card {
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  transform: rotate(1deg);
  transition: transform 0.4s ease;
}
.about-card:hover { transform: rotate(0); }

.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.about-portrait-bg { position: absolute; inset: 0; }
.about-portrait::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 12px, color-mix(in oklab, var(--fg) 4%, transparent) 12px, color-mix(in oklab, var(--fg) 4%, transparent) 13px);
}
.about-portrait-initials {
  font-family: var(--serif);
  font-size: 6rem;
  
  color: var(--fg);
  z-index: 2;
  position: relative;
}
.about-credentials { display: flex; flex-direction: column; gap: 16px; }
.about-cred {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.about-cred:last-child { border-bottom: none; padding-bottom: 0; }
.about-cred-label { color: var(--fg-muted); font-size: 0.66rem; }
.about-cred-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-top: 4px;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  padding: 36px 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card-featured {
  border-width: 2px;
  background: var(--bg);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent), var(--shadow-md);
  transform: scale(1.03);
}
.price-card-featured:hover { transform: scale(1.03) translateY(-6px); }
@media (max-width: 900px) { .price-card-featured { transform: none; } }

.price-featured-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  border-radius: 100px;
}

.price-tag { color: var(--fg-muted); margin-bottom: 14px; }
.price-amount {
  font-family: var(--serif);
  display: flex; align-items: baseline; gap: 4px;
  line-height: 1;
}
.price-currency { font-size: 1.6rem; opacity: 0.7; }
.price-amount .display { font-size: clamp(2.6rem, 5.5vw, 4rem); }
.price-unit {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 6px;
}
.price-desc { color: var(--fg-muted); margin: 16px 0; font-size: 0.94rem; flex-shrink: 0; }
.price-list {
  list-style: none;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}
.price-list li {
  display: flex; gap: 10px;
  font-size: 0.88rem;
}
.price-list li span:first-child { font-family: var(--mono); font-weight: 700; }

/* ============================================================
   BOOKING
   ============================================================ */

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Booking trial badge */
.booking-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-top: 20px;
  border: 1.5px solid;
  border-radius: 100px;
  font-size: 0.92rem;
  background: var(--bg);
}
.booking-trial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.booking-promises {
  list-style: none;
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.booking-promises li {
  display: flex; gap: 14px; align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.96rem;
}
.booking-promises li:last-child { border-bottom: none; }

.booking-direct {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.booking-direct .mono { color: var(--fg-muted); }
.booking-email {
  font-family: var(--serif);
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
  width: max-content;
}
.booking-email::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.booking-email:hover::after { transform: scaleX(1); }

.booking-form {
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.form-input {
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--fg); }
.form-textarea { resize: vertical; min-height: 80px; }

.date-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}
@media (max-width: 700px) { .date-grid { grid-template-columns: repeat(4, 1fr); } }

.date-pill {
  padding: 8px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  text-align: center;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.date-pill:hover { border-color: var(--fg); }
.date-pill-day { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; }
.date-pill-num { font-family: var(--serif); font-size: 1.4rem; line-height: 1; margin: 4px 0; }
.date-pill-mon { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; }
.date-pill-sel .date-pill-day, .date-pill-sel .date-pill-mon { opacity: 1; }

.time-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.time-pill {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 0.78rem;
  transition: all 0.2s;
}
.time-pill:hover { border-color: var(--fg); }

.form-fineprint {
  font-size: 0.74rem;
  color: var(--fg-muted);
  text-align: center;
  margin-top: -4px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 56px clamp(20px, 4vw, 64px) 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-tagline { color: var(--fg-muted); font-size: 0.92rem; max-width: 36ch; }
.footer-col-title { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 12px; }
.footer-col a { display: block; padding: 4px 0; font-size: 0.92rem; color: var(--fg-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   FX & CURSOR
   ============================================================ */

.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}
.cursor-glow.cursor-glow-visible { opacity: 1; }

/* Magnetic card tilt */
[data-tilt] { will-change: transform; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-in { opacity: 1; transform: none; }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks-panel { z-index: 999; }


/* === HOW IT WORKS === */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-card { padding: 36px 32px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); transition: transform 0.4s, box-shadow 0.4s, border-color 0.3s; }
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--fg); }
.how-n { font-family: var(--serif); font-size: 3.2rem;  line-height: 1; margin-bottom: 18px; letter-spacing: -0.02em; }
.how-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 12px; letter-spacing: -0.01em; }
.how-body { color: var(--fg-muted); font-size: 0.95rem; text-wrap: pretty; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { font-style: normal; color: var(--accent); font-weight: 600; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 22px 4px; text-align: left; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); transition: opacity 0.2s; }
.faq-q:hover { opacity: 0.7; }
.faq-q-icon { font-family: var(--mono); font-size: 1.4rem; flex-shrink: 0; margin-left: 16px; transition: transform 0.3s, color 0.3s; }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.faq-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; }
.faq-open .faq-a { padding: 0 4px 24px; }
.faq-a { padding: 0 4px 0; color: var(--fg-muted); font-size: 0.98rem; max-width: 70ch; line-height: 1.6; }

/* === LEGAL MODAL === */
.legal-modal { position: fixed; inset: 0; background: color-mix(in oklab, var(--fg) 50%, transparent); backdrop-filter: blur(8px); z-index: 500; display: grid; place-items: center; padding: 20px; animation: legalIn 0.25s ease; }
@keyframes legalIn { from { opacity: 0; } to { opacity: 1; } }
.legal-modal-inner { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 14px; padding: 40px; max-width: 540px; width: 100%; position: relative; box-shadow: var(--shadow-lg); }
.legal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; font-size: 1.4rem; display: grid; place-items: center; transition: background 0.2s; }
.legal-close:hover { background: var(--line); }
.legal-body { list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--fg-muted); font-size: 0.95rem; }
.legal-body li { padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.legal-body li:last-child { border-bottom: none; }

/* === SOPHIE CHATBOT (Agent.Ia design) === */
.sbot { display: flex; flex-direction: column; }
.sbot-frame {
  display: flex; flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px -12px rgba(15,26,58,0.18);
  border: 1px solid #E8ECF5;
}
.sbot-header {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(110deg, #0F1A3A 0%, #1A3580 60%, #2563EB 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sbot-header::after {
  content: ""; position: absolute; right: -40px; top: -20px;
  width: 200px; height: 140px;
  background: radial-gradient(circle, rgba(37,99,235,0.5), transparent 60%);
  pointer-events: none;
}
.sbot-h-avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.sbot-h-avatar img { width: 70%; height: 70%; object-fit: contain; }
.sbot-h-title-wrap { flex: 1; min-width: 0; z-index: 1; }
.sbot-h-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: #fff; }
.sbot-h-sub { font-size: 0.78rem; color: rgba(255,255,255,0.85); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.sbot-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 8px #22C55E; }
.sbot-h-close { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.12); color: #fff; z-index: 1; }
.sbot-h-close:hover { background: rgba(255,255,255,0.2); }

.sbot-scroll { flex: 1; overflow-y: auto; padding: 22px 18px 12px; display: flex; flex-direction: column; gap: 14px; background: #F6F8FC; }
.sbot-scroll::-webkit-scrollbar { width: 6px; }
.sbot-scroll::-webkit-scrollbar-thumb { background: #DCE2ED; border-radius: 3px; }

.sbot-msg { display: flex; gap: 10px; align-items: flex-start; max-width: 92%; animation: sbotIn 0.35s cubic-bezier(0.2,0.8,0.2,1) both; }
@keyframes sbotIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sbot-msg-bot { align-self: flex-start; }
.sbot-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.sbot-msg-avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #E8ECF5; display: grid; place-items: center; flex-shrink: 0; }
.sbot-msg-avatar img { width: 65%; height: 65%; object-fit: contain; }
.sbot-bubble { padding: 14px 16px; border-radius: 16px; font-size: 0.94rem; line-height: 1.5; background: #fff; color: #0F1A3A; box-shadow: 0 2px 8px rgba(15,26,58,0.04); }
.sbot-msg-bot .sbot-bubble { border-top-left-radius: 4px; }
.sbot-msg-user .sbot-bubble { background: #2563EB; color: #fff; border-top-right-radius: 4px; }
.sbot-text { white-space: pre-wrap; }
.sbot-text strong { font-weight: 700; }

.sbot-typing { padding: 16px; display: inline-flex; gap: 4px; }
.sbot-typing span { width: 6px; height: 6px; border-radius: 50%; background: #B6BAC3; animation: sbotDot 1.2s infinite; }
.sbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.sbot-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes sbotDot { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

.sbot-qa-list { display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 4px 46px; }
.sbot-qa-btn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid transparent; border-radius: 14px; box-shadow: 0 2px 8px rgba(15,26,58,0.04); transition: transform 0.15s, box-shadow 0.15s; text-align: left; width: 100%; }
.sbot-qa-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,26,58,0.08); border-color: #E8ECF5; }
.sbot-qa-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.sbot-qa-label { flex: 1; font-weight: 600; font-size: 0.92rem; }
.sbot-qa-arrow { color: #B6BAC3; font-size: 1.4rem; line-height: 1; }

.sbot-input-row { display: flex; gap: 10px; padding: 14px 16px 8px; background: #fff; border-top: 1px solid #EEF1F7; }
.sbot-input { flex: 1; padding: 12px 16px; border: 1px solid #E8ECF5; border-radius: 100px; background: #F6F8FC; font-size: 0.94rem; outline: none; color: #0F1A3A; }
.sbot-input:focus { border-color: #2563EB; background: #fff; }
.sbot-send { width: 42px; height: 42px; border-radius: 50%; background: #2563EB; display: grid; place-items: center; transition: transform 0.15s; }
.sbot-send:hover:not(:disabled) { transform: scale(1.05); }
.sbot-send:disabled { opacity: 0.3; cursor: not-allowed; }
.sbot-foot { padding: 6px 16px 14px; background: #fff; text-align: center; font-size: 0.74rem; color: #6B7280; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sbot-foot img { width: 14px; height: 14px; object-fit: contain; }
.sbot-foot strong { color: #0F1A3A; font-weight: 600; }

/* Cards in chat */
.sbot-card { margin-top: 12px; padding: 14px; background: #F6F8FC; border: 1px solid #E8ECF5; border-radius: 12px; }
.sbot-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sbot-card-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; }
.sbot-card-id { font-family: var(--mono); font-size: 0.86rem; margin-top: 2px; font-weight: 600; color: #0F1A3A; }
.sbot-card-badge { padding: 4px 10px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid #2563EB; color: #2563EB; border-radius: 100px; }
.sbot-card-eta { margin-top: 12px; font-size: 0.86rem; color: #6B7280;  }
.sbot-timeline { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.sbot-tl-step { display: flex; gap: 14px; align-items: flex-start; }
.sbot-tl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.sbot-tl-step-name { font-size: 0.84rem; font-weight: 500; color: #0F1A3A; }
.sbot-tl-meta { font-family: var(--mono); font-size: 0.65rem; color: #6B7280; margin-top: 2px; }
.sbot-steps { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.sbot-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: #0F1A3A; }
.sbot-step-n { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; background: #2563EB; }

.demo-stage-solo .demo-window-solo { background: #fff; }
.demo-body-solo { display: block !important; min-height: 0 !important; padding: 32px; background: #F6F8FC; }
.demo-bot-wrap-solo { max-width: 480px; margin: 0 auto; height: 720px; padding: 0; }


/* === DA CLEAN — white surface cards on light blue bg === */
.section-roi .roi-card,
.tech-card,
.about-card,
.price-card,
.how-card,
.booking-card,
.demo-frame,
.faq-item {
  background: var(--bg-card);
  border-color: var(--line);
}
.tech-card, .price-card, .how-card, .about-card {
  box-shadow: var(--shadow-sm);
}
.tech-card:hover, .price-card:hover, .how-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

/* Subtle dotted texture behind hero */
.hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.06), transparent 35%),
    radial-gradient(circle at 88% 82%, rgba(13, 27, 61, 0.04), transparent 40%),
    var(--bg);
}

/* Nav logo : disque navy + dot blue */
.nav-logo { background: var(--fg); }
.nav-logo::before { background: var(--accent); filter: none; }

/* Hero eyebrow chip — clean badge */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow-dot { background: var(--accent); }

/* Eyebrow numbering : accent blue */
.eyebrow { color: var(--accent); font-weight: 500; }

/* H1 hero — clean modern, no italic */
.hero-h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

/* Stats : accent on numbers */
.hero-stat-num { color: var(--fg); font-weight: 600; }

/* Sections : alterner blanc/light pour rythme */
.section-roi, .section-pricing, .section-faq {
  background: var(--bg-card);
}

/* FAQ icon coloré */
.faq-q-icon { color: var(--accent); font-weight: 600; }

/* Footer clean */
.footer { background: var(--fg); color: var(--bg); }
.footer a:hover { color: var(--accent); }

/* Selection highlight */
::selection { background: var(--accent); color: #fff; }


/* === ABOUT PORTRAIT — vraie photo === */
.about-portrait { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--bg-deep); }
.about-portrait-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2,0.8,0.2,1); }
.about-portrait:hover .about-portrait-img { transform: scale(1.04); }

/* === LEGAL SECTION (visible en bas, pas seulement modal) === */
.legal-section {
  background: var(--fg);
  color: var(--bg);
  padding: 64px clamp(20px, 4vw, 64px);
}
.legal-section-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .legal-section-inner { grid-template-columns: 1fr 1fr; } }
.legal-col-title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; margin-bottom: 12px; }
.legal-col p, .legal-col a { color: rgba(244,245,250,0.78); font-size: 0.88rem; line-height: 1.6; display: block; margin-bottom: 4px; }
.legal-col a:hover { color: var(--accent); }


/* === CHATBOT SOPHIE — design fidèle mockup === */
.sbot { font-family: var(--sans); }
.sbot-frame {
  width: 100%; height: 100%;
  background: #eef0f8;
  border-radius: 18px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(13, 27, 61, 0.18);
  border: 1px solid rgba(13, 27, 61, 0.08);
}

/* Header */
.sbot-header {
  background: linear-gradient(135deg, #0d1b3d 0%, #1a3a8c 100%);
  color: #fff;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.sbot-h-avatar {
  width: 44px; height: 44px;
  background: #fff; border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sbot-h-avatar img { width: 26px; height: 26px; object-fit: contain; }
.sbot-h-title-wrap { flex: 1; min-width: 0; }
.sbot-h-title { font-weight: 600; font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbot-h-sub { font-size: 0.78rem; opacity: 0.85; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.sbot-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #2dd47e; box-shadow: 0 0 0 0 rgba(45, 212, 126, 0.6); animation: sbotPulse 2s infinite; }
@keyframes sbotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(45, 212, 126, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(45, 212, 126, 0); } }
.sbot-h-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.12); display: grid; place-items: center;
  color: #fff; transition: background 0.2s;
}
.sbot-h-close:hover { background: rgba(255,255,255,0.22); }

/* Scroll body */
.sbot-scroll {
  flex: 1; overflow-y: auto;
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 14px;
  background: #eef0f8;
}
.sbot-scroll::-webkit-scrollbar { width: 6px; }
.sbot-scroll::-webkit-scrollbar-thumb { background: rgba(13, 27, 61, 0.15); border-radius: 3px; }

/* Messages */
.sbot-msg { display: flex; gap: 10px; align-items: flex-start; }
.sbot-msg-user { flex-direction: row-reverse; }
.sbot-msg-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(13, 27, 61, 0.08);
  box-shadow: 0 2px 6px -1px rgba(13, 27, 61, 0.08);
}
.sbot-msg-avatar img { width: 20px; height: 20px; object-fit: contain; }
.sbot-bubble {
  background: #fff; padding: 14px 16px; border-radius: 14px;
  max-width: 78%; font-size: 0.92rem; line-height: 1.5;
  color: #0d1b3d;
  box-shadow: 0 2px 8px -2px rgba(13, 27, 61, 0.06);
}
.sbot-msg-user .sbot-bubble { background: #2563EB; color: #fff; box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.3); }
.sbot-text { white-space: pre-wrap; }

/* Quick actions */
.sbot-qa-list { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 0 46px; }
.sbot-msg + .sbot-qa-list { margin-top: -4px; }
.sbot-qa-btn {
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 13px 14px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 2px 8px -2px rgba(13, 27, 61, 0.06);
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.sbot-qa-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(13, 27, 61, 0.12); border-color: rgba(37, 99, 235, 0.2); }
.sbot-qa-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sbot-qa-label { flex: 1; font-weight: 500; font-size: 0.92rem; }
.sbot-qa-arrow { color: rgba(13, 27, 61, 0.4); font-size: 1.2rem; }

/* Typing dots */
.sbot-typing { display: flex; gap: 4px; padding: 16px; }
.sbot-typing span { width: 7px; height: 7px; background: #2563EB; border-radius: 50%; animation: sbotTyping 1.2s infinite; }
.sbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.sbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes sbotTyping { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Input row */
.sbot-input-row {
  display: flex; gap: 8px; align-items: center;
  padding: 12px;
  background: #eef0f8;
}
.sbot-input {
  flex: 1; background: #fff;
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  border-radius: 12px;
  padding: 12px 14px; font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}
.sbot-input:focus { border-color: #2563EB; }
.sbot-send {
  width: 44px; height: 44px; border-radius: 50%;
  background: #2563EB; color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.sbot-send:disabled { background: rgba(37, 99, 235, 0.4); cursor: not-allowed; }
.sbot-send:not(:disabled):hover { background: #1d4fcc; transform: scale(1.05); }

/* Footer */
.sbot-foot {
  text-align: center; padding: 10px 16px 14px;
  font-size: 0.78rem; color: rgba(13, 27, 61, 0.55);
  background: #eef0f8;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sbot-foot img { width: 14px; height: 14px; }
.sbot-foot strong { font-weight: 600; color: #0d1b3d; }

/* Bot cards (tracking, stock, return) */
.sbot-card {
  margin-top: 10px; padding: 12px; border-radius: 12px;
  background: #f7f9ff; border: 1px solid rgba(37, 99, 235, 0.15);
  font-size: 0.86rem;
}
.sbot-card-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sbot-card-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(13, 27, 61, 0.5); }
.sbot-card-id { font-weight: 600; }
.sbot-card-badge { font-size: 0.72rem; padding: 4px 10px; border-radius: 100px; border: 1px solid #2563EB; color: #2563EB; }
.sbot-card-eta { margin-top: 8px; font-size: 0.85rem; }
.sbot-timeline { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.sbot-tl-step { display: flex; gap: 10px; align-items: flex-start; }
.sbot-tl-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.sbot-tl-step-name { font-weight: 500; }
.sbot-tl-meta { font-size: 0.78rem; color: rgba(13, 27, 61, 0.55); }
.sbot-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sbot-steps li { display: flex; gap: 10px; align-items: flex-start; }
.sbot-step-n { width: 22px; height: 22px; border-radius: 50%; background: #2563EB; color: #fff; display: grid; place-items: center; font-size: 0.72rem; font-weight: 600; flex-shrink: 0; }


/* === SECTION TEST CHATBOT === */
.section-test { padding-top: 60px; padding-bottom: 60px; }
.test-card {
  max-width: 900px; margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 40px;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.test-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.06), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(13, 27, 61, 0.04), transparent 50%);
  pointer-events: none;
}
.test-card > * { position: relative; }
.test-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid rgba(37, 99, 235, 0.25);
  padding: 10px 20px; border-radius: 100px;
  font-size: 0.95rem; color: var(--fg);
  box-shadow: 0 4px 16px -4px rgba(37, 99, 235, 0.18);
  margin-bottom: 28px;
}
.test-pill-dot { width: 10px; height: 10px; border-radius: 50%; }
.test-pill-sub { color: var(--fg-muted); font-weight: 400; }
.test-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.test-lede { margin: 0 auto 32px; }
.test-arrow {
  display: inline-block;
  font-family: var(--mono); font-size: 0.85rem;
  color: var(--accent); font-weight: 500;
  padding: 12px 22px; border-radius: 100px;
  background: var(--accent-soft);
  animation: testArrowBounce 2s infinite;
}
@keyframes testArrowBounce { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }


/* === BOOKING — slot taken + confirmation === */
.slot-taken { opacity: 0.4; cursor: not-allowed; pointer-events: none; text-decoration: line-through; }
.slot-taken-x { font-size: 0.7rem; font-weight: 500; }
.booking-error {
  padding: 12px 14px; border-radius: 10px;
  background: rgba(229, 72, 77, 0.10);
  border: 1px solid rgba(229, 72, 77, 0.35);
  color: #b3232a; font-size: 0.88rem;
  margin-bottom: 8px;
}
.booking-confirmed {
  text-align: center;
  padding: 56px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.booking-confirm-icon {
  width: 64px; height: 64px; border-radius: 50%;
  color: #fff; font-size: 2rem;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.4);
}
