/* ============================================================
   AUTOMATIT — Style Sheet
   Design System: Dark theme, Indigo/Violet gradient
   Fonts: Sora (headings) + DM Sans (body)
   ============================================================ */

/* ── 1. CSS VARIABLES ── */
:root {
  --color-primary:       #6366F1;
  --color-primary-dark:  #4F46E5;
  --color-primary-end:   #7C3AED;
  --color-primary-rgb:   99, 102, 241;

  /* Backgrounds */
  --color-bg:            #ffffff;
  --color-bg-surface:    #f5f5f7;
  --color-bg-card:       #ffffff;
  --color-bg-card-hover: #f0f0f8;

  /* Text */
  --color-text:          #0F0F1A;
  --color-text-secondary:#555555;
  --color-text-muted:    #6B7280;

  /* Borders */
  --color-border:        #e5e7eb;
  --color-border-light:  #f0f0f5;

  /* Accents */
  --color-success:       #10B981;
  --color-warning:       #F59E0B;
  --color-error:         #EF4444;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  20px;

  /* Spacing */
  --max-width:    1200px;
  --section-py:   120px;
  --container-px: 24px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition:      0.2s ease;
  --transition-slow: 0.35s ease;
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-width: 0;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* ── 3. UTILITIES ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-primary-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 51px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── 4. ANIMATIONS ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes float-3d {
  0%, 100% {
    transform: perspective(1100px) rotateX(10deg) rotateY(-18deg) rotateZ(2deg) translateY(0px);
  }
  50% {
    transform: perspective(1100px) rotateX(10deg) rotateY(-18deg) rotateZ(2deg) translateY(-14px);
  }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(3%, -2%) scale(1.05); }
  66%       { transform: translate(-2%, 3%) scale(0.97); }
}

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-end));
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--color-primary-rgb), 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-secondary);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
  background: rgba(var(--color-primary-rgb), 0.06);
}

.btn-outline-primary {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-secondary);
}
.btn-outline-primary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
}

.btn-sm  { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg  { padding: 15px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Hero ticker (Automate · Accelerate · Advance) ── */
.hero-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 20px;
  background: #ffffff;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  z-index: 99;
  margin-top: 120px;
}
.hero-ticker span:not(.ticker-dot) {
  background: linear-gradient(90deg, #6366f1 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ticker-dot {
  background: linear-gradient(90deg, #6366f1, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
  line-height: 1;
}

/* ── 6. NAVBAR ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 14px 80px;
  pointer-events: none;
}

#navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
  pointer-events: all;
  transition: background var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}

.nav-container {
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 58px;
}

.nav-logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-lang-mobile { display: none; }
.nav-mobile-btns { display: none; }

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.lang-switcher:hover {
  opacity: 1;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.lang-btn.active {
  background: rgba(0,0,0,0.08);
  color: var(--color-text);
}

.lang-btn:not(.active):hover {
  color: var(--color-text);
}

/* Logo PNG icons */
.nav-logo-icon-img {
  height: 38px;
  width: 38px;
  display: block;
  flex-shrink: 0;
  filter: brightness(1.3);
}

.footer-logo-icon-img {
  height: 32px;
  width: 32px;
  display: block;
  flex-shrink: 0;
  filter: brightness(1.3) drop-shadow(0 0 4px rgba(99,102,241,0.35));
}

/* Wordmark text images */
.nav-logo-text-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(1.4);
}

.footer-logo-text-img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(1.4);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(0,0,0,0.65);
  border-radius: 0;
  position: relative;
  transition: color var(--transition);
  background: none !important;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: #6366F1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.61,1,.88,1);
}
.nav-links a:hover {
  color: #0F0F1A;
  background: none;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.burger:hover { background: rgba(0,0,0,0.06); }
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; width: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. HERO ── */
.hero-section {
  position: relative;
  min-height: 835px;
  overflow: hidden;
  background: #FFFDF8;
  isolation: isolate;
}

.hero-section::before,
.hero-section::after {
  content: "MATIT";
  position: absolute;
  right: -80px;
  bottom: -180px;
  font-size: 500px;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.05);
  text-shadow:
    0 0 80px rgba(255,255,255,1),
    0 0 40px rgba(255,255,255,0.8),
    0 0 20px rgba(255,255,255,0.6);
  mix-blend-mode: multiply;
  letter-spacing: -10px;
  transform:
    perspective(600px)
    rotateX(32deg)
    rotateY(10deg)
    rotateZ(-26deg);
  pointer-events: none;
  z-index: -1;
}

.hero-section::before {
  content: "AUTO";
  right: -1350px;
  bottom: -200px;
  color: #EDF4FB;
  transform-origin: left bottom;
  transform:
    perspective(1600px)
    rotateX(51deg)
    rotateY(6deg)
    rotateZ(-66deg);
}

.hero-section::after {
  content: "MATIT";
  left: auto;
  right: -1300px;
  bottom: 100px;
  font-size: 500px;
  letter-spacing: -10px;
  color: #EDF4FB;
  transform-origin: left bottom;
  transform:
    perspective(1600px)
    rotateX(53deg)
    rotateY(4deg)
    rotateZ(-58deg);
}

/* Anneaux décoratifs d'arrière-plan */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-orb { display: none; }
.hero-grid-pattern { display: none; }

.hero-orb-1, .hero-orb-2, .hero-orb-3 { display: none; }

.hero-courbe {
  position: absolute;
  left: -310px;
  bottom: -25px;
  width: 760px;
  transform: perspective(1300px) rotateX(54deg) rotateZ(58deg);
  transform-origin: center center;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
  background: rgba(225, 225, 232, 0.55);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    5px 3px 0 rgba(200,200,215,0.95),
    10px 6px 0 rgba(195,195,210,0.85),
    15px 9px 0 rgba(190,190,208,0.75),
    20px 12px 0 rgba(185,185,205,0.60),
    25px 15px 0 rgba(182,182,202,0.45),
    30px 18px 0 rgba(178,178,198,0.30),
    35px 21px 0 rgba(175,175,195,0.18);
}

.hero-courbe-img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 38%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 38%, black 100%);
}

/* Zone texte gauche */
.hero-text-zone {
  position: relative;
  z-index: 10;
  padding: 160px 0 120px 135px;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 520px;
}

/* Badge Cal.com style */
.hero-badge-cal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s;
}
.hero-badge-cal:hover { border-color: #D1D5DB; }
.hero-badge-new {
  background: #111111;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 100px;
  line-height: 1.5;
}
.hero-badge-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  line-height: 1;
}
.hero-badge-arr {
  font-size: 0.82rem;
  color: #9CA3AF;
  line-height: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: #1a1a1a;
  border: none;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.badge-pulse {
  display: flex;
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}
.badge-pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.7;
  animation: badge-ping 1.6s cubic-bezier(0,0,0.2,1) infinite;
}
.badge-pulse::after {
  content: '';
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}
@keyframes badge-ping {
  75%, 100% { transform: scale(2.4); opacity: 0; }
}

.hero-slogan {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
  text-align: center;
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #111111;
  text-align: left;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #6B7280;
  line-height: 1.75;
  max-width: 480px;
  text-align: left;
  margin: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: nowrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
.hero-proof strong { color: var(--color-text); }

.proof-avatars {
  display: flex;
}
.proof-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}
.proof-avatar:first-child { margin-left: 0; }

/* Dashboard Mockup */
.hero-visual {
  animation: float 6s ease-in-out infinite;
}

/* Dashboard — élément décoratif flottant hors du flux */
.hero-dashboard-float {
  position: absolute;
  left: 33.5%;
  bottom: -10px;
  width: 780px;
  max-width: none;
  z-index: 1;
  pointer-events: none;
}

.hero-mac-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  transform: perspective(1600px) rotateX(52deg) rotateY(3deg) rotateZ(-46deg) scale(1.02);
  transform-origin: center center;
  box-shadow:
    /* Épaisseur carte — tranche verticale */
    -4px 4px 0 rgba(200,200,215,0.95),
    -5px 5px 0 rgba(195,195,210,0.85),
    -4px 6px 0 rgba(190,190,208,0.75),
    -4px 7px 0 rgba(185,185,205,0.60),
    -6px 8px 0 rgba(182,182,202,0.45),
    -8px 9px 0 rgba(178,178,198,0.30),
    -10px 10px 0 rgba(175,175,195,0.18),
    /* Ombre portée profonde */
    -12px 16px 32px rgba(0,0,0,0.14),
    -20px 28px 60px rgba(0,0,0,0.10),
    0 60px 120px rgba(0,0,0,0.08);
  animation: none;
}

.hero-dp-outer {
  position: relative;
  flex-shrink: 0;
}

.hero-dp-outer .dp-window {
  width: 680px;
}

/* ── Mac + Phone devices scene ── */
.devices-scene {
  position: relative;
  display: inline-block;
}

.mac-device {
  position: relative;
  z-index: 2;
  transform: perspective(1400px) rotateX(31deg) rotateY(-20deg) rotateZ(-24deg) scale(1.04);
  transform-origin: center top;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.22)) drop-shadow(0 20px 30px rgba(99,102,241,0.18));
}

/* Cancel dp-window's own 3D transform inside the mac frame */
.mac-device .dp-window {
  transform: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 680px !important;
}

.mac-screen-bezel {
  background: linear-gradient(180deg, #2c2c30 0%, #1e1e22 100%);
  border-radius: 16px 16px 0 0;
  padding: 14px 14px 0;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.7);
}

.mac-screen-bezel::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: #3a3a40;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.6);
}

.mac-keyboard-bar {
  height: 30px;
  background: linear-gradient(180deg, #252528 0%, #1c1c1f 100%);
  border-radius: 0 0 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.5);
}

.mac-notch-bar {
  width: 80px;
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
}

/* Phone device */
.phone-device {
  position: absolute;
  right: -130px;
  bottom: -60px;
  width: 220px;
  background: #1c1c1e;
  border-radius: 38px;
  padding: 16px 10px 12px;
  box-shadow:
    0 50px 120px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.07),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  animation: float 6s ease-in-out infinite;
  animation-delay: -3s;
  z-index: 10;
}

.phone-island {
  width: 64px;
  height: 16px;
  background: #000;
  border-radius: 12px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: #f0f2f8;
  border-radius: 26px;
  padding: 14px 12px 10px;
  overflow: hidden;
}

.ph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ph-logo { display: flex; align-items: center; gap: 5px; }
.ph-logo span {
  font-family: 'Sora', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.06em;
}
.ph-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.48rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Sora', sans-serif;
}

.ph-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.ph-stat {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 8px 10px;
}
.ph-stat-accent {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-color: transparent;
}
.ph-stat-label {
  font-size: 0.48rem;
  color: rgba(0,0,0,0.45);
  margin-bottom: 3px;
  line-height: 1.3;
}
.ph-stat-accent .ph-stat-label { color: rgba(255,255,255,0.7); }
.ph-stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
  margin-bottom: 2px;
}
.ph-stat-accent .ph-stat-value { color: #fff; }
.ph-stat-delta { font-size: 0.43rem; color: rgba(0,0,0,0.35); }
.ph-stat-accent .ph-stat-delta { color: rgba(255,255,255,0.65); }

.ph-automations {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 10px;
}
.ph-auto-title {
  font-size: 0.47rem;
  font-weight: 700;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}
.ph-auto-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f4;
}
.ph-auto-item:last-child { border-bottom: none; }
.ph-auto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  box-shadow: 0 0 4px rgba(52,211,153,0.6);
}
.ph-auto-name {
  font-size: 0.58rem;
  color: rgba(0,0,0,0.72);
  font-weight: 500;
  flex: 1;
}
.ph-auto-badge {
  font-size: 0.44rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 100px;
  padding: 1px 6px;
}

.ph-bottomnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.ph-nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
}
.ph-nav-dot-active {
  width: 16px;
  background: #4f46e5;
  border-radius: 3px;
}

.dashboard-mockup {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.mockup-bar-title {
  margin-left: 4px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-family: 'Sora', sans-serif;
  font-weight: 500;
}

.mockup-body {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 140px;
  flex-shrink: 0;
  background: var(--color-bg-surface);
  border-right: 1px solid var(--color-border);
  padding: 16px 0;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition), background var(--transition);
}
.sb-item.sb-active {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.1);
  border-right: 2px solid var(--color-primary);
}

.mockup-main {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-stat-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.msc-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.msc-label {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

.msc-delta {
  font-size: 0.62rem;
  font-weight: 600;
}
.msc-delta.up      { color: var(--color-success); }
.msc-delta.neutral { color: var(--color-text-muted); }

.mockup-flows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mf-header {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.mf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.mf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mf-running .mf-dot { background: var(--color-primary); box-shadow: 0 0 6px rgba(var(--color-primary-rgb),0.6); }
.mf-success .mf-dot { background: var(--color-success); }

.mf-name { flex: 1; color: var(--color-text-secondary); }
.mf-status { font-size: 0.68rem; font-weight: 600; color: var(--color-text-muted); }
.mf-running .mf-status { color: var(--color-primary); }
.mf-success .mf-status { color: var(--color-success); }

/* ── 8. LOGOS ── */
.logos-section {
  padding: 44px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  background: #ffffff;
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.logos-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.logos-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.logo-chip {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.logo-chip:hover {
  color: var(--color-text);
  border-color: rgba(var(--color-primary-rgb), 0.4);
}

/* ── 9. FEATURES ── */
.features-section {
  padding: var(--section-py) 0;
  position: relative;
  background: #ffffff;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--color-primary-rgb), 0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 24px rgba(var(--color-primary-rgb), 0.07);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition);
}
.feature-card:hover .feature-icon-wrap {
  background: rgba(var(--color-primary-rgb), 0.15);
  border-color: rgba(var(--color-primary-rgb), 0.35);
}

.feature-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── 10. HOW IT WORKS ── */
.how-section {
  padding: var(--section-py) 0;
  background: #ffffff;
  color: #1a1a1a;
  position: relative;
  overflow: clip;
  margin-top: -280px;
}

.how-section::before { display: none; }
.how-section::after  { display: none; }

.how-section .container {
  position: relative;
  z-index: 1;
}

.how-section .section-label {
  color: var(--color-primary);
}

.how-section h2 {
  color: #1a1a1a;
}

.how-section .section-desc {
  color: #555;
}

.steps-wrapper {
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.step {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e8e8ed;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow), transform var(--transition-slow);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.step:hover .step-card {
  border-color: rgba(var(--color-primary-rgb), 0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 0 30px rgba(99,102,241,0.08);
  transform: translateY(-5px);
}

.step-card--config,
.step-card--test {
  border-color: rgba(var(--color-primary-rgb), 0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 24px rgba(99,102,241,0.08);
  transform: translateY(14px);
  z-index: 2;
}

.step-card--audit,
.step-card--deploy {
  opacity: 1;
}

.step-badge {
  display: none;
}

.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 12px;
  /* Swap with: background-image: url('images/step-X.webp'); background-size: cover; height: 180px; */
}

.step-text {
  padding: 12px 18px 22px;
}

.step-num-inline {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  display: block;
  margin: 18px 18px 0;
}

.step-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  border-radius: 50%;
  color: var(--color-primary);
  margin: 0 auto 16px;
}

.step-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ── 11. STATS ── */
.stats-section {
  padding: 72px 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-big {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ── 12. PRICING ── */
.pricing-section {
  padding: var(--section-py) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}

.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow);
}
.pricing-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.pricing-popular {
  border-color: rgba(var(--color-primary-rgb), 0.5);
  box-shadow: 0 0 0 1px rgba(var(--color-primary-rgb), 0.2), 0 20px 60px rgba(0,0,0,0.5), var(--shadow-glow);
  background: linear-gradient(160deg, var(--color-bg-card) 0%, rgba(79,70,229,0.06) 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-end));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
}

.price-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text);
}
.price-custom {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.price-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 6px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.plan-features li svg {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-popular .plan-features li svg { color: var(--color-primary); }

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.855rem;
  color: var(--color-text-muted);
}
.pricing-note svg { color: var(--color-success); }

/* ── 13. TESTIMONIALS ── */
.testimonials-section {
  padding: var(--section-py) 0;
  background: #f5f5f7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color var(--transition-slow), transform var(--transition-slow), box-shadow var(--transition-slow);
}
.testimonial-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.t-stars {
  color: var(--color-warning);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 0.97rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.t-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.t-info strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}
.t-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── 14. FAQ ── */
.faq-section {
  padding: var(--section-py) 0;
  background: #ffffff;
  scroll-margin-top: 70px;
}

.faq-section .section-label { color: var(--color-primary); }
.faq-section h2 { color: #0F0F1A; }
.faq-section .section-desc { color: #4B5563; }
.faq-section .section-header { margin-bottom: 20px; }

.faq-list {
  max-width: 760px;
  margin: 16px auto 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.faq-item {
  background: #F4F4F4;
  border: none;
  border-radius: 100px;
  overflow: hidden;
  transition: background var(--transition-slow), border-radius var(--transition-slow);
}
.faq-item.open {
  background: #EDF4FB;
  border-radius: 20px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 15px 24px;
  font-size: 0.97rem;
  font-weight: 600;
  color: #111827;
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-primary); }
.faq-item.open .faq-question { color: var(--color-primary); }

.faq-icon {
  flex-shrink: 0;
  color: var(--color-text-muted);
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-item.open .faq-icon { color: var(--color-primary); }

.icon-plus, .icon-minus {
  position: absolute;
  top: 0; left: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.icon-minus { opacity: 0; transform: rotate(-90deg); }
.faq-item.open .icon-plus  { opacity: 0; transform: rotate(90deg); }
.faq-item.open .icon-minus { opacity: 1; transform: rotate(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  padding: 0 24px;
  font-size: 0.92rem;
  color: #4B5563;
  line-height: 1.7;
}

/* ── 15. DASHBOARD PREVIEW ── */
.dashboard-preview-section {
  padding: 120px 0 100px;
  background: #f8f9fc;
  position: relative;
  overflow: hidden; /* keep section clipped but let visual bleed via margin */
}

/* Grid dots background */
.dp-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 40%, transparent 100%);
}

/* Glow blobs */
.dp-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.dp-glow-1 {
  width: 600px; height: 500px;
  top: -100px; right: -80px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.3) 0%, transparent 70%);
}
.dp-glow-2 {
  width: 400px; height: 400px;
  bottom: 0; right: 20%;
  background: radial-gradient(ellipse, rgba(109,40,217,0.2) 0%, transparent 70%);
}

/* Dashboard section header */
.dashboard-preview-section .container { position: relative; z-index: 1; }
.dashboard-preview-section .section-label { color: var(--color-primary); }
.dashboard-preview-section h2 { color: #0F0F1A; }
.dashboard-preview-section .section-desc { color: #6B7280; }

/* Full-width dashboard wrapper */
.dp-fullwidth-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  margin-top: 20px;
}
.dp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}

.dp-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.08),
    0 80px 160px rgba(0,0,0,0.6),
    0 0 120px rgba(99,102,241,0.35),
    0 0 240px rgba(109,40,217,0.2);
  margin-bottom: 0;
  position: relative;
  /* Fixed dramatic angle — exactly like the reference image, never changes */
  transform: perspective(900px) rotateX(22deg) rotateY(-18deg) rotateZ(3deg);
  transform-origin: center top;
  will-change: transform;
}

.dp-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f5f5f7;
  border-bottom: 1px solid #e5e7eb;
}
.dp-dots { display: flex; gap: 6px; }
.dp-dot { width: 11px; height: 11px; border-radius: 50%; }
.dp-dot-red    { background: #FF5F57; }
.dp-dot-yellow { background: #FEBC2E; }
.dp-dot-green  { background: #28C840; }
.dp-title-text {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(0,0,0,0.35);
  font-family: 'DM Sans', sans-serif;
}

/* App layout with sidebar */
.dp-app-layout {
  display: flex;
  min-height: 0;
}

.dp-sidebar {
  width: 160px;
  background: #f8f9fc;
  border-right: 1px solid #e8eaed;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 14px;
  gap: 0;
  flex-shrink: 0;
}

.dp-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px 6px;
}
.dp-sidebar-logo img { display: block; }
.dp-sidebar-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.05em;
}

.dp-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.dp-nav-item {
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,0.45);
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.dp-nav-item:hover { background: rgba(99,102,241,0.07); color: rgba(0,0,0,0.7); }
.dp-nav-active { background: rgba(99,102,241,0.12) !important; color: #4f46e5 !important; }

.dp-sidebar-avatar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  margin-top: 10px;
  border-top: 1px solid #e8eaed;
  padding-top: 14px;
}
.dp-sidebar-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Sora', sans-serif;
  flex-shrink: 0;
}
.dp-sidebar-avatar-name {
  font-size: 0.68rem;
  color: rgba(0,0,0,0.5);
  font-family: 'DM Sans', sans-serif;
}

.dp-body { padding: 16px 20px 20px; flex: 1; min-width: 0; background: #f0f2f8; }

.dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dp-brand { display: flex; align-items: center; gap: 10px; }
.dp-logo-icon {
  width: 36px; height: 36px;
  background: rgba(99,102,241,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.dp-brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}
.dp-brand-sub { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.dp-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #fff;
  font-family: 'Sora', sans-serif;
}

/* Header search + actions */
.dp-header-search {
  display: flex; align-items: center; gap: 6px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 5px 10px;
  flex: 1; max-width: 200px;
  cursor: text;
}
.dp-header-search-text {
  font-size: 0.68rem;
  color: rgba(0,0,0,0.3);
}
.dp-header-actions {
  display: flex; align-items: center; gap: 6px;
}
.dp-header-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer;
}
.dp-header-badge {
  position: absolute;
  top: 3px; right: 3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6366f1;
  font-size: 0.42rem;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.dp-header-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; color: #fff;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
}

.dp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.dp-stat {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 14px 16px;
}
.dp-stat-accent {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-color: transparent;
}
.dp-stat-label { font-size: 0.68rem; color: rgba(0,0,0,0.45); margin-bottom: 6px; }
.dp-stat-accent .dp-stat-label { color: rgba(255,255,255,0.7); }
.dp-stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
  margin-bottom: 4px;
}
.dp-stat-accent .dp-stat-value { color: #ffffff; }
.dp-stat-delta { font-size: 0.65rem; }
.dp-delta-up   { color: #059669; }
.dp-stat-accent .dp-delta-up { color: rgba(255,255,255,0.8); }
.dp-delta-neutral { color: rgba(0,0,0,0.3); }
.dp-stat-accent .dp-delta-neutral { color: rgba(255,255,255,0.6); }

.dp-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
}
.dp-left { display: flex; flex-direction: column; gap: 12px; }

.dp-card {
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 16px;
}
.dp-card-full { height: 100%; }
.dp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dp-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0,0,0,0.75);
  margin-bottom: 14px;
}
.dp-card-header .dp-card-title { margin-bottom: 0; }
.dp-view-all { font-size: 0.68rem; color: #6366f1; cursor: pointer; }

.dp-agents { display: flex; flex-direction: column; gap: 10px; }
.dp-agent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dp-agent-info { display: flex; align-items: center; gap: 0; flex: 1; min-width: 0; }
.dp-agent-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(52,211,153,0.6);
}
.dp-agent-name { font-size: 0.75rem; color: rgba(0,0,0,0.8); font-weight: 500; }
.dp-agent-meta { font-size: 0.65rem; color: rgba(0,0,0,0.38); margin-top: 2px; }
.dp-badge {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(52,211,153,0.12);
  color: #34d399;
  border: 1px solid rgba(52,211,153,0.25);
}

.dp-channels { display: flex; flex-direction: column; gap: 8px; }
.dp-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f5f6fa;
}
.dp-channel-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dp-ch-wa  { background: rgba(37,211,102,0.15); color: #25d366; }
.dp-ch-em  { background: rgba(99,102,241,0.15); color: #818cf8; }
.dp-ch-sms { background: rgba(59,130,246,0.15); color: #60a5fa; }
.dp-ch-name { font-size: 0.75rem; color: rgba(0,0,0,0.8); font-weight: 500; }
.dp-ch-meta { font-size: 0.62rem; color: rgba(0,0,0,0.38); }
.dp-ch-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  margin-left: auto;
  flex-shrink: 0;
}

.dp-convos { display: flex; flex-direction: column; }
.dp-convo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f4;
}
.dp-convo:last-child { border-bottom: none; }
.dp-convo-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dp-convo-name { font-size: 0.72rem; font-weight: 600; color: rgba(0,0,0,0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-convo-msg  { font-size: 0.65rem; color: rgba(0,0,0,0.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-convo-time { font-size: 0.62rem; color: rgba(0,0,0,0.28); white-space: nowrap; flex-shrink: 0; }

/* ── Real dashboard additions ── */
.dp-sidebar-slim { width: 44px !important; min-width: 44px !important; padding: 14px 8px !important; align-items: center; }
.dp-sidebar-slim .dp-sidebar-logo { padding: 0 0 12px; justify-content: center; }
.dp-sidebar-slim .dp-sidebar-logo-text { display: none; }
.dp-sidebar-slim .dp-sidebar-nav { align-items: center; }
.dp-nav-icon-only { justify-content: center !important; padding: 8px !important; min-width: 0 !important; }
.dp-sidebar-slim .dp-sidebar-avatar { padding: 12px 0 0; }
.dp-sidebar-slim .dp-sidebar-avatar-circle { width: 28px; height: 28px; font-size: 0.55rem; }
.dp-sidebar-slim .dp-sidebar-avatar-name { display: none; }

.dp-av-a  { background: linear-gradient(135deg,#7c3aed,#818cf8); }
.dp-av-g  { background: linear-gradient(135deg,#16a34a,#4ade80); }
.dp-av-f  { background: linear-gradient(135deg,#0ea5e9,#38bdf8); }
.dp-av-ff { background: linear-gradient(135deg,#0ea5e9,#6366f1); }

.dp-header-real { display: flex; align-items: center; justify-content: space-between; background: transparent; margin-bottom: 8px; padding: 0; }
.dp-header-title-group { display: flex; flex-direction: column; }
.dp-page-title { font-size: 1rem; font-weight: 700; color: rgba(0,0,0,0.88); line-height: 1; }
.dp-page-date { font-size: 0.65rem; color: rgba(0,0,0,0.4); display: flex; align-items: center; gap: 4px; }

.dp-greeting { margin-bottom: 12px; }
.dp-greeting-title { font-size: 0.88rem; font-weight: 600; color: rgba(0,0,0,0.8); }
.dp-greeting-sub { font-size: 0.65rem; color: rgba(0,0,0,0.35); margin-top: 2px; }

/* Stat card top row */
.dp-stat-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; min-height: 22px; }
.dp-stat-ico { font-size: 1.2rem; line-height: 1; }
.dp-stat-svg-ico { flex-shrink: 0; }
.dp-stat-bdg { font-size: 0.58rem; padding: 2px 6px; border-radius: 20px; background: rgba(34,197,94,0.12); color: #16a34a; font-weight: 600; white-space: nowrap; }

/* Agent icon square */
.dp-agent-ico { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.9rem; }
.dp-ico-red  { background: rgba(239,68,68,0.1); }
.dp-ico-gray { background: rgba(107,114,128,0.1); }

/* Badge variants */
.dp-badge-cfg { background: rgba(249,115,22,0.1) !important; color: #ea580c !important; }
.dp-badge-count { font-size: 0.62rem; padding: 2px 8px; border-radius: 20px; background: rgba(34,197,94,0.1); color: #16a34a; font-weight: 600; white-space: nowrap; }
.dp-badge-blue-count { background: rgba(99,102,241,0.1) !important; color: #4f46e5 !important; }

.dp-agent-connect { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(99,102,241,0.25); border-radius: 20px; cursor: pointer; margin-top: 6px; background: rgba(99,102,241,0.03); }
.dp-agent-connect span { font-size: 0.65rem; color: #6366f1; }

/* Activity */
.dp-convo-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; color: #fff; flex-shrink: 0; background: #6366f1; }
.dp-convo-date { font-size: 0.6rem; color: rgba(0,0,0,0.3); white-space: nowrap; flex-shrink: 0; }
.dp-ch-badge { font-size: 0.58rem; padding: 2px 7px; border-radius: 20px; background: rgba(99,102,241,0.1); color: #4f46e5; white-space: nowrap; flex-shrink: 0; font-weight: 500; }

/* Canaux connectés */
.dp-card-channels-row { margin-top: 10px; }
.dp-channels-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dp-channel-card { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f8f9fc; border-radius: 10px; border: 1px solid rgba(0,0,0,0.07); flex: 1; max-width: 280px; }
.dp-channel-card .dp-ch-name { font-size: 0.75rem; font-weight: 600; color: rgba(0,0,0,0.8); }
.dp-channel-card .dp-ch-meta { font-size: 0.62rem; color: rgba(0,0,0,0.4); display: flex; align-items: center; gap: 4px; }
.dp-channel-card .dp-ch-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; flex-shrink: 0; }

.dp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── 15b. STATS STRIP ── */
.stats-strip {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 48px 0;
}
.stats-strip-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  text-align: center;
}
.stat-strip-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #0F0F1A;
  line-height: 1;
}
.stat-strip-lbl {
  font-size: 0.82rem;
  color: #6B7280;
  max-width: 140px;
  line-height: 1.4;
}
.stat-strip-divider {
  width: 1px;
  height: 52px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}

/* ── TOOLS TICKER ── */
.tools-ticker-wrap { display: none; }
.tools-ticker-wrap-hidden {
  background: #ffffff;
  overflow: hidden;
  padding: 14px 0;
}
.tools-ticker-track {
  overflow: hidden;
  white-space: nowrap;
}
.tools-ticker-row {
  display: inline-flex;
  gap: 12px;
  animation: tools-scroll 35s linear infinite;
}
@keyframes tools-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
.tools-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: #f5f5f7;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1d1d1f;
  white-space: nowrap;
  flex-shrink: 0;
}
.tools-chip img { border-radius: 3px; }

/* ── 15c. USE CASES ── */
.usecases-section {
  padding: var(--section-py) 0;
  background: #ffffff;
  position: relative;
  z-index: 3;
}
.usecases-section .section-label {
  color: #9ca3af;
}
.usecases-section .section-label::before {
  background: var(--color-primary);
}
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.usecase-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.usecase-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 0 30px rgba(99,102,241,0.06);
}
.usecase-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.usecase-icon {
  width: 40px;
  height: 40px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366F1;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.usecase-card:hover .usecase-icon {
  background: rgba(99,102,241,0.18);
  border-color: rgba(99,102,241,0.4);
}
.usecase-sector {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F0F1A;
  letter-spacing: -0.01em;
}
.usecase-problem {
  font-size: 0.88rem;
  color: #6B7280;
  line-height: 1.6;
  font-style: italic;
  border-left: 2px solid rgba(0,0,0,0.1);
  padding-left: 12px;
}
.usecase-solution {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.usecase-arrow {
  color: #6366F1;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
  flex-shrink: 0;
}
.usecase-solution p {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
  flex: 1;
}
.usecase-result {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-top: auto;
}
.usecase-result span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10B981;
  letter-spacing: 0.01em;
}
.usecases-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.usecases-cta p {
  font-size: 0.95rem;
  color: #86868b;
}

/* ── USECASES EXPLORER (Apple-style) ── */
.usecases-explorer {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 0;
  background: #EDF4FB;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 64px;
  min-height: 720px;
  position: relative;
}
.uc-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  z-index: 10;
  transition: background 0.18s;
}
.uc-close:hover { background: rgba(0,0,0,0.14); }

/* ── Left: accordion ── */
.uc-list {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #EDF4FB;
  border-right: none;
  justify-content: center;
}
.uc-item { border: none; }
.uc-item:first-child { border: none; }

.uc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
  background: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 13px 18px;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.uc-trigger:hover { background: #f5f8ff; }
.uc-item--active {
  width: 100%;
}
.uc-item--active .uc-trigger {
  width: 100%;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  box-shadow: none;
}

.uc-icon-wrap {
  display: none;
}
.uc-icon-wrap::before,
.uc-icon-wrap::after {
  content: '';
  position: absolute;
  background: #6b7280;
  border-radius: 2px;
  transition: background 0.2s, transform 0.25s, opacity 0.25s;
}
.uc-icon-wrap::before { width: 11px; height: 1.5px; }
.uc-icon-wrap::after  { width: 1.5px; height: 11px; }

.uc-item--active .uc-icon-wrap { border-color: #374151; }
.uc-item--active .uc-icon-wrap::before,
.uc-item--active .uc-icon-wrap::after { background: #374151; }
.uc-item--active .uc-icon-wrap::after { transform: rotate(0deg); opacity: 1; }

.uc-sector-name {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  font-family: 'DM Sans', sans-serif;
}

.uc-desc {
  display: none;
  background: #ffffff;
  border-radius: 0 0 16px 16px;
  padding: 10px 20px 20px 58px;
}
.uc-item--active .uc-desc { display: block; }

.uc-quote {
  font-size: 13px;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.55;
  border-left: 2px solid #c8c8d0;
  padding-left: 10px;
}
.uc-fix {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 12px;
}
.uc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.uc-chips span {
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
  background: rgba(16,185,129,0.08);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── Right: visual panel ── */
.uc-panel {
  position: relative;
  background: #EDF4FB;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 44px;
  min-height: 700px;
}
@keyframes ucCardIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ucCardOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.9); }
}
@keyframes ucCardExitLeft {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(-50px) scale(0.88); }
}
@keyframes ucCardExitRight {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(50px) scale(0.88); }
}
@keyframes ucCardFromRight {
  from { opacity: 0; transform: translateX(60px) scale(0.82); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes ucCardFromLeft {
  from { opacity: 0; transform: translateX(-60px) scale(0.82); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes ucMacOut {
  0%   { opacity: 1; transform: scale(1); }
  60%  { opacity: 0.3; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.09); }
}
@keyframes ucMacIn {
  0%   { opacity: 0; transform: scale(0.78); }
  60%  { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
.uc-screen {
  display: none;
  width: 100%;
  max-width: 420px;
}
.uc-screen--active { display: block; }
.uc-screen--active:not(.uc-screen--macclean):not(.uc-screen--from-right) {
  animation: ucCardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.uc-screen--active.uc-screen--from-right {
  animation: ucCardFromRight 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.uc-screen--active.uc-screen--from-left {
  animation: ucCardFromLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.uc-screen--macclean { max-width: 100%; }
.uc-screen--mac-in {
  animation: ucMacIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.uc-screen--mac-out {
  display: block !important;
  animation: ucMacOut 0.5s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  pointer-events: none;
}
.uc-screen--exit {
  display: block !important;
  animation: ucCardOut 0.22s ease-in forwards;
  pointer-events: none;
}
.uc-screen--exit-left {
  display: block !important;
  animation: ucCardExitLeft 0.28s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  pointer-events: none;
}
.uc-screen--exit-right {
  display: block !important;
  animation: ucCardExitRight 0.28s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  pointer-events: none;
}
.uc-mac-img {
  width: 100%;
  display: block;
}

/* Mockup window */
.ucm-window {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(99,102,241,0.14), 0 2px 8px rgba(0,0,0,0.06);
}
.ucm-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}
.ucm-avatar { font-size: 17px; }
.ucm-title {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: #1d1d1f;
  font-family: 'DM Sans', sans-serif;
}
.ucm-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 0 2px rgba(52,199,89,0.25);
}

/* Chat */
.ucm-chat {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ucm-bubble {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 12.5px;
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
}
.ucm-bubble--in {
  background: #F0F0F5;
  color: #1d1d1f;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.ucm-bubble--out {
  background: #6366F1;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ucm-bubble--out strong { color: #fff; }

/* Calendar */
.ucm-calendar {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ucm-cal-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ucm-cal-day {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  width: 26px;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}
.ucm-slot {
  flex: 1;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}
.ucm-slot--booked { background: rgba(99,102,241,0.09); color: #4f46e5; }
.ucm-slot--free   { background: #f3f4f6; color: #9ca3af; }
.ucm-slot--new    { background: rgba(52,199,89,0.12); color: #15803d; }

/* Reservations dashboard */
.ucm-resalist {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ucm-resa {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #f9f9f9;
  font-family: 'DM Sans', sans-serif;
}
.ucm-resa--new { background: rgba(52,199,89,0.08); }
.ucm-resa-time { font-size: 11.5px; font-weight: 700; color: #1d1d1f; width: 38px; flex-shrink: 0; }
.ucm-resa-name { font-size: 12px; color: #374151; flex: 1; }
.ucm-resa-pax  { font-size: 11px; color: #9ca3af; width: 44px; text-align: right; }
.ucm-resa-src  { font-size: 10.5px; font-weight: 600; color: #6366F1; background: rgba(99,102,241,0.08); padding: 2px 8px; border-radius: 100px; }

/* Badge */
.ucm-badge {
  margin: 0 16px 16px;
  padding: 9px 14px;
  background: rgba(99,102,241,0.06);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #6366F1;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
}

/* Responsive explorer */
@media (max-width: 0px) {
  .usecases-explorer {
    grid-template-columns: 1fr;
  }
  .uc-list { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
  .uc-panel { min-height: 380px; padding: 32px 24px; }
}
@media (max-width: 0px) {
  .usecases-explorer { border-radius: 14px; }
  .uc-list { padding: 24px 20px; }
  .uc-panel { padding: 24px 16px; min-height: 340px; }
  .ucm-bubble { font-size: 12px; }
}

/* ── 16. FOOTER ── */
.footer-floor {
  display: none;
}

.footer {
  margin: 0;
  border-radius: 24px 24px 0 0;
  padding: 40px 0 20px;
  background: #FFFDF8;
  border: 1px solid rgba(0,0,0,0.07);
  border-bottom: none;
  overflow: hidden;
  position: relative;
}

.footer::before {
  display: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border-light);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo span {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-link:hover {
  color: var(--color-primary);
  border-color: rgba(var(--color-primary-rgb), 0.4);
  background: rgba(var(--color-primary-rgb), 0.07);
}

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-text); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── 17. RESPONSIVE ── */

/* Tablet */
/* ── LARGE SCREENS (1440px+) ── */
@media (min-width: 99999px) {
  :root {
    --section-py:    115px;
    --max-width:     1360px;
    --container-px:  40px;
  }

  .hero-title       { font-size: clamp(32px, 2.8vw, 46px); }
  .section-header h2 { font-size: clamp(44px, 3.2vw, 62px); }
  .hero-subtitle    { font-size: 1.2rem; max-width: 560px; }

  .hero-section     { max-height: 960px; }
  .hero-left        { padding: 0 40px 0 max(80px, 7vw); }
  .hero-mac-img     { width: 156%; }

  /* How it works — cartes moins hautes */
  .step-card        { height: 380px; }

  /* Dashboard — split layout intact on large screens */
  .dp-split-container { gap: 80px; }

  /* Features — cartes égales et bien proportionnées */
  .features-grid {
    gap: 24px;
    align-items: stretch;
  }
  .feature-card {
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
  }
  .feature-card p { flex: 1; }
}

/* ── EXTRA LARGE SCREENS (1920px+) ── */
@media (min-width: 99999px) {
  :root {
    --section-py:    200px;
    --max-width:     1680px;
    --container-px:  60px;
  }

  body              { font-size: 19px; }
  .hero-title       { font-size: clamp(36px, 3.2vw, 56px); }
  .section-header h2 { font-size: clamp(56px, 3vw, 76px); }
  .hero-subtitle    { font-size: 1.25rem; max-width: 620px; }
  .section-header p { font-size: 1.1rem; }

  .hero-section     { max-height: 1000px; }
  .hero-left        { padding: 0 64px 0 max(100px, 8vw); }
  .hero-mac-img     { width: 165%; top: 12%; }

  /* Cards & grids breathe more */
  .features-grid    { gap: 28px; }
  .steps-grid       { gap: 32px; }
  .faq-list         { max-width: 900px; }

  /* Dashboard — limiter davantage sur très grand écran */
  .dp-window        { max-width: 1200px; }
}

/* ── 32" ET TRÈS GRANDS ÉCRANS (2400px+) ── */
@media (min-width: 99999px) {
  .hero-section          { min-height: 100vh !important; max-height: none; }
  .hero-title            { font-size: 64px; }
  .hero-content          { max-width: 900px; }
  .hero-subtitle         { font-size: 1.3rem; max-width: 800px; }
  .hero-text-zone        { padding: 140px 0 120px max(120px, 8vw); }
  .hero-dashboard-float  { width: 1200px; left: 34%; bottom: -10px; }
  .hero-mac-img          { width: 148%; }
}

/* ── TABLET ── */
@media (max-width: 0px) {
  :root { --section-py: 80px; }

  .hero-section         { min-height: auto; }
  .hero-text-zone       { padding: 120px max(40px, 5vw) 380px; }
  .hero-content         { align-items: flex-start; max-width: 520px; margin: 0; }
  .hero-title           { text-align: left; }
  .hero-subtitle        { text-align: left; margin: 0; }
  .hero-cta             { justify-content: flex-start; }
  .hero-badge-cal       { align-self: flex-start; }
  .hero-dashboard-float {
    position: absolute;
    width: 520px;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
  }
  .hero-dp-outer .dp-window { width: 580px; }
  .phone-device { right: -80px; bottom: -40px; width: 170px; }
  .phone-island { width: 48px; height: 13px; }
  .ph-stat-value { font-size: 0.8rem; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps-line { display: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card:last-child { grid-column: span 2; max-width: 480px; margin: 0 auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

/* ── NAVBAR COLLAPSE (zoom ou écran étroit) ── */
@media (max-width: 0px) {
  header { padding: 12px 16px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-actions { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    flex-direction: column;
    gap: 0;
    padding: 12px 12px 20px;
    z-index: 199;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  }
  .nav-links.open a {
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: 10px;
    color: rgba(0,0,0,0.75);
    background: none;
  }
  .nav-lang-mobile { margin-top: 8px; display: flex !important; justify-content: center; }
  .nav-lang-mobile .lang-switcher { display: flex; }
  .nav-mobile-btns {
    display: flex !important;
    gap: 12px;
    padding: 16px 0 4px;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 8px;
  }
  .nav-mobile-btn-login,
  .nav-mobile-btn-signup {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 100px !important;
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
  }
  .nav-mobile-btn-login { background: #ffffff !important; color: #6366F1 !important; }
  .nav-mobile-btn-signup { background: linear-gradient(135deg,#4F46E5,#7C3AED) !important; color: #fff !important; }
}

/* Mobile */
@media (max-width: 0px) {
  :root { --section-py: 60px; --container-px: 20px; }

  html, body { overflow-x: hidden; max-width: 100vw; }
  body { font-size: 15px; }

  /* ── Hero ── */
  .hero-section { min-height: 100svh; overflow: hidden; }
  .hero-text-zone { padding: 100px 24px 60px; }
  .hero-content { align-items: center; max-width: 100%; }
  .hero-title { font-size: 30px; text-align: center; line-height: 1.25; }
  .hero-subtitle { text-align: center; font-size: 0.95rem; margin: 0 auto; max-width: 320px; }
  .hero-cta { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
  .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-badge-cal { align-self: center; }
  .hero-reassurance { text-align: center; }
  .hero-dashboard-float { display: none; }
  .hero-dp-outer { display: none; }
  .hero-bg { opacity: 0.5; }

  /* ── Proof bar ── */
  .proof-bar { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* ── Section headers ── */
  .section-header h2 { font-size: 1.7rem; }
  .section-desc { font-size: 0.9rem; }

  /* ── Use cases ── */
  .usecases-explorer { grid-template-columns: 1fr; border-radius: 14px; }
  .uc-list { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); max-height: 220px; overflow-y: auto; }
  .uc-panel { min-height: 300px; padding: 24px 20px; }

  /* ── Features ── */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  /* ── Stats strip ── */
  .stats-strip-grid { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .stat-strip-divider { display: none; }
  .stat-strip-item { flex: 0 0 42%; text-align: center; }

  /* ── Steps ── */
  .steps-grid { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .steps-line { display: none; }
  .step { height: auto; }
  .step-card { position: relative; top: auto; height: auto; transform: none !important; opacity: 1 !important; padding: 28px 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
  .steps-wrapper { min-height: auto; padding-bottom: 0; }

  /* ── Dashboard preview ── */
  .dashboard-preview-section { padding: 60px 0; overflow: hidden; }
  .dp-fullwidth-wrap { padding: 0; margin-top: 24px; }
  .dp-mobile-wrap { width: 100%; max-width: 340px; height: 212px; overflow: hidden; margin: 0 auto; border-radius: 16px; }
  .dp-window { width: 960px; height: 600px; transform: scale(0.354) !important; transform-origin: top left; border-radius: 16px; }
  .dp-cta { margin-top: 28px; flex-direction: column; align-items: center; }
  .dp-cta .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* ── Integrations ── */
  .integrations-section { display: block !important; padding: 60px 0; min-height: auto; overflow-x: hidden; }
  .integrations-section .section-header { text-align: center; }
  .marquee-wrapper { overflow: hidden; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* ── Pricing ── */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card:last-child { grid-column: auto; max-width: none; }

  /* ── FAQ ── */
  .faq-section { scroll-margin-top: 80px; }

  /* ── Testimonials ── */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* ── CTA ── */
  .cta-card { padding: 40px 24px; border-radius: 24px; }
  .cta-btns { flex-direction: column; align-items: center; gap: 12px; }
  .cta-btns .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 10px; }
}

/* ── 32 POUCES (viewport réel ≥ 2400px) ── */
@media (min-width: 2400px) {
  .hero-title { font-size: 38px; }
  .hero-text-zone { padding-top: 200px; }
  :root { --section-py: 80px; }
  .hero-section { min-height: 780px; }
  .nav-container { height: 30px; padding: 0 16px; }
  #navbar { padding: 4px 16px; }
  .lang-btn { font-size: 0.5rem; padding: 2px 5px; }
  .lang-switcher { border-radius: 4px; }
  .nav-logo-icon-img { width: 20px; height: 20px; }
  .nav-logo-text-img { height: 14px; }
  .nav-links a { font-size: 11px; }
  .btn-sm { font-size: 11px; padding: 5px 12px; }
}

/* ── SAAS ADDITIONS ── */

/* Hero reassurance */
.hero-reassurance {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: -8px;
}

/* Integrations */
.integrations-section {
  padding: 360px 0 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #EFE6D8;
  position: relative;
  overflow: hidden;
  margin-top: -260px;
  z-index: 1;
}

/* ── Fog overlay — collines organiques peintes ── */
.integrations-fog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 380px;
  pointer-events: none;
  z-index: 2;
}
.integrations-fog svg {
  display: block;
  width: 100%;
  height: 100%;
}

.integrations-fog-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 380px;
  pointer-events: none;
  z-index: 2;
}
.integrations-fog-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}

.integrations-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 120px;
}

.integrations-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.integrations-img {
  width: 100%;
  max-width: 560px;
  display: block;
}

.integrations-section .section-header {
  text-align: left;
  align-items: flex-start;
}

.integrations-section .section-label {
  color: #8a7055;
}

.integrations-section h2 {
  color: #2D2416;
}

.integrations-section .section-desc {
  color: #6B5B45;
  text-align: left;
}

.marquee-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-row {
  display: flex;
  gap: 12px;
  width: max-content;
}

.marquee-left {
  animation: none;
}
.marquee-right {
  animation: none;
}

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-slow  { animation: none !important; }
.marquee-medium { animation: none !important; }

.marquee-track:hover .marquee-left,
.marquee-track:hover .marquee-right {
  animation-play-state: paused;
}

.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
}
.integration-chip:hover {
  border-color: rgba(var(--color-primary-rgb), 0.4);
  color: #111827;
  background: #fff;
  box-shadow: 0 2px 8px rgba(79,70,229,0.1);
}
.integration-chip-more {
  background: rgba(var(--color-primary-rgb), 0.06);
  border-color: rgba(var(--color-primary-rgb), 0.2);
  color: var(--color-primary);
  font-weight: 600;
}

/* Pricing new card styles */
.pricing-card-featured {
  border-color: rgba(var(--color-primary-rgb), 0.5);
  box-shadow: 0 0 0 1px rgba(var(--color-primary-rgb), 0.2), 0 20px 60px rgba(0,0,0,0.5), var(--shadow-glow);
  background: linear-gradient(160deg, var(--color-bg-card) 0%, rgba(79,70,229,0.06) 100%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-end));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
}

.price-amount {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text);
}

.price-period {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
  padding-bottom: 8px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.check {
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}
.pricing-note a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-note a:hover {
  color: var(--color-primary-end);
}

/* ── 18. PROFILE MENU ── */
#profileMenu {
  display: none;
  position: relative;
  align-items: center;
}
#profileMenu.visible {
  display: flex;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-end));
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(var(--color-primary-rgb), 0.4);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.profile-avatar:hover {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.25);
  transform: scale(1.05);
}

.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  padding: 8px;
  z-index: 300;
}
.profile-dropdown.open {
  display: block;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 12px;
}
.profile-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.profile-email {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.profile-divider {
  height: 1px;
  background: var(--color-border);
  margin: 4px 0;
}

.profile-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: #374151;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.profile-item:hover {
  background: rgba(0,0,0,0.05);
  color: #1a1a2e;
}
.profile-logout {
  color: #EF4444;
}
.profile-logout:hover {
  background: rgba(239,68,68,0.08);
  color: #EF4444;
}

/* ── CONTACT MODAL ── */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-modal-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  animation: modal-in 0.22s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #86868b;
  cursor: pointer;
  padding: 4px 8px;
}
.contact-modal-close:hover { color: #000; }

.contact-modal-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 6px;
}

.contact-modal-sub {
  font-size: 0.9rem;
  color: #86868b;
  margin: 0 0 24px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.contact-field { display: flex; flex-direction: column; gap: 6px; }

.contact-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a2e;
  letter-spacing: 0.02em;
}

.contact-field input,
.contact-field textarea {
  padding: 11px 14px;
  border: 1.5px solid #e0e0e8;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #0a0a0a;
  background: #fafafa;
  transition: border-color 0.2s;
  resize: none;
  outline: none;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #6366f1;
  background: #fff;
}

#contact-submit { margin-top: 8px; width: 100%; justify-content: center; }
#contact-submit:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 99999;
  width: calc(100% - 48px);
  max-width: 680px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
#cookie-banner.cookie-banner--show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
#cookie-banner.cookie-banner--hide {
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}
.cookie-text { flex: 1; }
.cookie-text strong {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F0F1A;
  display: block;
  margin-bottom: 4px;
}
.cookie-text p {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn--outline {
  background: transparent;
  border: 1.5px solid #D1D5DB;
  color: #6B7280;
}
.cookie-btn--primary {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: #ffffff;
}

html.is-mobile #cookie-banner {
  bottom: 12px;
  width: calc(100% - 24px);
  border-radius: 12px;
}
html.is-mobile .cookie-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
}
html.is-mobile .cookie-text strong { font-size: 0.82rem; }
html.is-mobile .cookie-text p { font-size: 0.75rem; }
html.is-mobile .cookie-actions { width: 100%; justify-content: flex-end; gap: 8px; }
html.is-mobile .cookie-btn { font-size: 0.78rem; padding: 7px 14px; }

/* ================================================================
   MOBILE — appliqué via classe .is-mobile (JS détecte < 900px)
   Ne jamais modifier les blocs desktop/tablet au-dessus.
   ================================================================ */

html.is-mobile,
html.is-mobile body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── Navbar ── */
html.is-mobile header { padding: 12px 16px; }
html.is-mobile .nav-actions { display: none !important; }
html.is-mobile .nav-lang-mobile { display: flex !important; justify-content: center; margin-top: 8px; }
html.is-mobile .nav-lang-mobile .lang-switcher { display: flex !important; }
html.is-mobile .burger { display: flex !important; margin-left: auto; }
html.is-mobile .nav-container { gap: 0; justify-content: space-between; }
html.is-mobile .nav-logo-icon-img { width: 28px; height: 28px; }
html.is-mobile .nav-logo-text-img { height: 16px; }
html.is-mobile .nav-links {
  display: none;
  position: fixed;
  top: 68px; left: 12px; right: 12px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  flex-direction: column;
  gap: 0;
  padding: 12px 12px 20px;
  z-index: 299;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
html.is-mobile .nav-links.open { display: flex; }
html.is-mobile .nav-links a { padding: 13px 16px; font-size: 1rem; border-radius: 8px; color: #0F0F1A; }
html.is-mobile .nav-mobile-btns {
  display: flex !important;
  gap: 12px; padding: 16px 0 4px;
  width: 100%; border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 8px;
}
html.is-mobile .nav-mobile-btn-login,
html.is-mobile .nav-mobile-btn-signup {
  flex: 1; text-align: center; padding: 12px 16px;
  border-radius: 100px; font-family: 'Sora', sans-serif;
  font-size: 0.95rem; font-weight: 600;
}
html.is-mobile .nav-mobile-btn-login { background: #fff !important; color: #6366F1 !important; border: none; }
html.is-mobile .nav-mobile-btn-signup {
  background: linear-gradient(135deg, #4F46E5, #7C3AED) !important;
  color: #fff !important;
  border-radius: 100px !important;
  padding: 7px 18px !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 15px rgba(99,102,241,0.25);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* ── Variables ── */
html.is-mobile { --section-py: 60px; --container-px: 20px; }
html.is-mobile body { font-size: 15px; }

/* ── Hero ── */
html.is-mobile .hero-section { min-height: 105svh; height: 105svh; overflow: hidden; }
html.is-mobile .hero-text-zone { padding: 90px 24px 60px; }
html.is-mobile .hero-content { align-items: center; max-width: 100%; }
html.is-mobile .hero-title { font-size: 30px; text-align: center; line-height: 1.25; }
html.is-mobile .hero-subtitle { text-align: center; font-size: 0.95rem; margin: 0 auto; max-width: 320px; }
html.is-mobile .hero-cta { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
html.is-mobile .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
html.is-mobile .hero-badge-cal { align-self: center; }
html.is-mobile .hero-dp-outer { display: none !important; }

/* Éléments décoratifs hero — valeurs desktop × 0.265 (390/1470) */
html.is-mobile .hero-courbe {
  left: -120px;
  bottom: -7px;
  width: 201px;
  transform: perspective(344px) rotateX(54deg) rotateZ(58deg);
}

html.is-mobile .hero-dashboard-float {
  left: 18%;
  right: auto;
  top: auto;
  bottom: -3px;
  width: 270px;
}

html.is-mobile .hero-mac-img {
  transform: perspective(554px) rotateX(52deg) rotateY(3deg) rotateZ(-46deg) scale(1.02);
}

/* AUTO — desktop × 0.346 */
html.is-mobile .hero-section::before {
  font-size: 173px;
  right: -500px;
  left: auto;
  bottom: -69px;
  letter-spacing: -3px;
  transform: perspective(554px) rotateX(51deg) rotateY(6deg) rotateZ(-66deg);
  transform-origin: left bottom;
}

/* MATIT — desktop × 0.346 */
html.is-mobile .hero-section::after {
  font-size: 173px;
  right: -480px;
  bottom: 35px;
  letter-spacing: -3px;
  transform: perspective(554px) rotateX(53deg) rotateY(4deg) rotateZ(-58deg);
  transform-origin: left bottom;
}


/* ── Section headers ── */
html.is-mobile .section-header h2 { font-size: 1.7rem; }
html.is-mobile .section-label { font-size: 10px; }

/* ── Use cases ── */
html.is-mobile .usecases-section .container { padding-left: 0; padding-right: 0; }
html.is-mobile .usecases-explorer { display: flex !important; flex-direction: column !important; border-radius: 0; margin-left: 0; margin-right: 0; min-height: 620px; height: 620px; overflow: hidden; }
html.is-mobile .uc-panel { order: -1; flex: 1; min-height: 200px; padding: 16px 20px; border-bottom: none; overflow: hidden; }
html.is-mobile .uc-list {
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 0 20px;
  align-items: center;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  box-sizing: border-box;
}
html.is-mobile .uc-list::-webkit-scrollbar { display: none; }
html.is-mobile .uc-item { flex-shrink: 0; width: auto !important; }
html.is-mobile .uc-item--active { width: auto !important; }
html.is-mobile .uc-item--active .uc-trigger {
  border-radius: 50px !important;
  width: auto !important;
}
html.is-mobile .uc-desc { display: none !important; }
html.is-mobile .uc-trigger { white-space: nowrap; height: 44px; display: inline-flex; align-items: center; }

/* ── Features ── */
html.is-mobile .features-grid { grid-template-columns: 1fr; gap: 16px; }

/* ── Stats strip ── */
html.is-mobile .stats-strip-grid { flex-wrap: wrap; gap: 24px; justify-content: center; }
html.is-mobile .stat-strip-divider { display: none; }
html.is-mobile .stat-strip-item { flex: 0 0 42%; text-align: center; }

/* ── Steps ── */
html.is-mobile .steps-grid { grid-template-columns: 1fr; gap: 16px; align-items: start; }
html.is-mobile .steps-line { display: none; }
html.is-mobile .step { height: auto; }
html.is-mobile .step-card { position: relative; top: auto; height: auto; transform: none !important; opacity: 1 !important; padding: 28px 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
html.is-mobile .steps-wrapper { min-height: auto; padding-bottom: 0; }

/* ── Integrations ── */
html.is-mobile .integrations-section { display: block !important; padding: 260px 0 460px; overflow-x: hidden; }
html.is-mobile .integrations-layout { display: flex !important; flex-direction: column; gap: 0; margin-top: 140px; }
html.is-mobile .integrations-visual { order: 2; margin-top: 40px; }
html.is-mobile .integrations-section .section-header { order: 1; text-align: center; margin-bottom: 16px; }
html.is-mobile .integrations-img { max-width: 320px; }
html.is-mobile .marquee-wrapper { overflow: hidden; }

/* ── Dashboard preview ── */
html.is-mobile .dp-fullwidth-wrap { padding: 0; margin-top: 24px; }
html.is-mobile .dp-mobile-wrap { width: 100%; max-width: 340px; height: 212px; overflow: hidden; margin: 0 auto; border-radius: 16px; }
html.is-mobile .dp-window { width: 960px; height: 600px; transform: scale(0.354) !important; transform-origin: top left; }

/* ── Stats ── */
html.is-mobile .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Pricing ── */
html.is-mobile .pricing-grid { grid-template-columns: 1fr; }
html.is-mobile .pricing-card:last-child { grid-column: auto; max-width: none; }

/* ── CTA ── */
html.is-mobile .cta-card { padding: 40px 24px; }
html.is-mobile .cta-btns { flex-direction: column; align-items: center; gap: 12px; }
html.is-mobile .cta-btns .btn { width: 100%; max-width: 280px; justify-content: center; }

/* ── Footer ── */
html.is-mobile .footer-grid { grid-template-columns: 1fr; gap: 28px; }
html.is-mobile .footer-brand { grid-column: auto; }
html.is-mobile .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }



/* ── Modal contact mobile ── */
html.is-mobile .contact-modal-overlay { align-items: flex-end; padding: 0; }
html.is-mobile .contact-modal-box {
  border-radius: 20px 20px 0 0;
  padding: 32px 24px 40px;
  max-height: 92svh;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
}

/* ── Mobile usecases : flèches de navigation ── */
.uc-mob-prev, .uc-mob-next { display: none; }

html.is-mobile .uc-mob-prev,
html.is-mobile .uc-mob-next {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 1.6rem;
  color: #1a1a2e;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Quand un secteur est actif : cacher les autres chips, montrer la carte contenu */
html.is-mobile .uc-explorer--open .uc-item { display: none; }
html.is-mobile .uc-explorer--open .uc-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 12px 8px !important;
  gap: 8px !important;
  position: relative !important;
}
html.is-mobile .uc-explorer--open .uc-mob-prev,
html.is-mobile .uc-explorer--open .uc-mob-next {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
  position: static !important;
}
html.is-mobile .uc-explorer--open .uc-mob-prev { order: 1 !important; }
html.is-mobile .uc-explorer--open .uc-mob-next { order: 3 !important; }
html.is-mobile .uc-explorer--open .uc-item.uc-mob-active {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  width: 0 !important;
  height: auto !important;
  order: 2 !important;
  align-self: stretch !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}
html.is-mobile .uc-explorer--open .uc-item.uc-mob-active .uc-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: auto !important;
  width: 100% !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 14px 16px 8px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}
html.is-mobile .uc-explorer--open .uc-item.uc-mob-active .uc-desc {
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 16px 16px !important;
}
html.is-mobile .uc-mob-prev,
html.is-mobile .uc-mob-next { flex-shrink: 0; height: 40px; width: 40px; }

/* ── Mobile : réduction fenêtre chat ── */
html.is-mobile .ucm-window { transform: scale(0.58) translateY(120px); transform-origin: top center; }
@media (min-width: 600px) { html.is-mobile .ucm-window { transform: scale(0.78) translateY(80px); } }
