/* ===================================================
   RESET & DESIGN TOKENS — White + Blue Accent (Stripe/Linear)
   =================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #F8F9FA;
  --bg-alt: #F8F9FA;
  --bg-subtle: #F3F4F6;
  --accent: #3B76F6;
  --accent-hover: #2E5FD6;
  --accent-light: #EBF2FE;
  --navy: #0A1A3C;
  --navy-hover: #152A50;
  --text-heading: #0A1A3C;
  --text-body: #6B7280;
  --text-muted: #9CA3AF;
  --text-faint: #D1D5DB;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --success: #16A34A;
  --danger: #DC2626;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.05);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1280px;
  --gutter: 24px;
  --nav-h: 72px;
  --radius: 8px;
  --radius-md-legacy: 12px; /* MEP-18 : valeur locale preservee — canonique est --radius-md:8px dans design-tokens.css */
  --radius-lg: 16px;
  --radius-full: 9999px;
}

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  font-feature-settings: 'kern' 1;
}

/* -- Typographie financiere -- */
.stat__number, .process-card__number, .process-card__duration,
.hero__social-text, .hero__micro, .case-study__quote,
h1, h2, h3 {
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===================================================
   CUSTOM SCROLLBAR
   =================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.2); }

/* ===================================================
   ACCESSIBILITY & POLISH
   =================================================== */
::selection { background: rgba(59,118,246,.15); color: var(--text-heading); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  font-weight: 600;
  font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

img[loading="lazy"] { opacity: 0; transition: opacity .4s ease; }
img[loading="lazy"].loaded { opacity: 1; }

@media print {
  .top-bar, .main-nav, .footer, .cta-final { display: none !important; }
  body { color: #000; }
  .hero { min-height: auto !important; padding: 40px 20px !important; }
  .hero__overlay { background: rgba(0,0,0,.3) !important; }
}

/* ===================================================
   UTILITIES
   =================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.text-center { text-align: center; }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 1px 1px rgba(0,0,0,.04);
}
.btn--primary:hover {
  background: var(--navy-hover);
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.06);
  transform: translateY(-1px);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 8px;
}
.btn--outline-white:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
  border-radius: 8px;
}
.btn--outline:hover { border-color: var(--accent); }

.btn--sm {
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 8px;
}

.btn--accent {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 1px 1px rgba(0,0,0,.04);
}
.btn--accent:hover {
  background: var(--navy-hover);
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.06);
}

/* Animated underline link */
.link-arrow {
  font-weight: 500;
  color: var(--accent);
  font-size: 15px;
  position: relative;
  text-decoration: none;
  padding-bottom: 2px;
}
.link-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s cubic-bezier(.4,0,.2,1);
}
.link-arrow:hover::after { width: 100%; }

/* ===================================================
   SCROLL REVEAL — defini dans base/animations.css (MEP-23 : doublon supprime)
   =================================================== */

/* ===================================================
   HERO ENTRANCE
   =================================================== */
@keyframes cineFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow { animation: cineFade 0.5s ease-out 0.1s both; }
.hero__title { animation: cineFade 0.6s ease-out 0.2s both; }
.hero__subtitle { animation: cineFade 0.6s ease-out 0.3s both; }
.hero__ctas { animation: cineFade 0.5s ease-out 0.4s both; }
.hero__social-proof { animation: cineFade 0.5s ease-out 0.5s both; }
.hero__micro { animation: cineFade 0.4s ease-out 0.6s both; }

/* ===================================================
   TOP BAR — navy
   =================================================== */
.top-bar {
  background: var(--navy);
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
  font-size: 14px;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.top-bar__left { display: flex; gap: 16px; }
.top-bar__link {
  color: rgba(255,255,255,.5);
  font-weight: 400;
  transition: color 0.15s;
}
.top-bar__link:hover { color: #fff; }
.top-bar__link--active { color: #fff; font-weight: 500; }
@media (max-width: 900px) { .top-bar { display: none; } }

/* ===================================================
   MAIN NAV — white, border-bottom grey
   =================================================== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.main-nav.scrolled {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-sm);
}

.main-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.main-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.main-nav__links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  color: #6B7280;
}
.main-nav__links a {
  transition: color 0.2s ease;
  position: relative;
}
.main-nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.main-nav__links a:hover { color: var(--text-heading); }
.main-nav__links a:hover::after { width: 100%; }

.main-nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav__login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.15s;
}
.main-nav__login:hover { color: var(--text-heading); }
.main-nav__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu panel */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-overlay.active { display: block; opacity: 1; }
.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  z-index: 201;
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.mobile-panel.active { transform: translateX(0); }
.mobile-panel a {
  font-size: 16px;
  color: var(--text-body);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.mobile-panel a:hover { color: var(--text-heading); }
.mobile-panel a:last-child { border-bottom: none; }
.mobile-panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-panel-close:hover { background: var(--bg-alt); }
body.mobile-open { overflow: hidden; }

@media (max-width: 900px) {
  .main-nav__links, .main-nav__login { display: none; }
  .nav-toggle { display: block; }
}

/* ===================================================
   S1 — HERO
   =================================================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(10,26,60,0.4) 100%),
    linear-gradient(180deg, rgba(10,26,60,0.65) 0%, rgba(10,26,60,0.45) 35%, rgba(10,26,60,0.35) 55%, rgba(10,26,60,0.75) 100%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(to bottom, transparent 0%, rgba(248,249,250,0.05) 20%, rgba(248,249,250,0.15) 40%, rgba(248,249,250,0.35) 55%, rgba(248,249,250,0.6) 70%, rgba(248,249,250,0.85) 85%, #F8F9FA 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 48px 40px;
  width: 100%;
}
.hero__content {
  position: relative;
}
.hero__eyebrow {
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.55;
  font-weight: 400;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__visual {
  position: relative;
}
.hero__visual-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.2), 0 24px 64px rgba(0,0,0,.15);
}
.hero__visual-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.hero__avatars {
  display: flex;
}
.hero__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -12px;
  overflow: hidden;
  background: var(--text-body);
}
.hero__avatar:first-child { margin-left: 0; }
.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__social-text {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
}
.hero__micro {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
.hero__micro span { margin: 0 10px; }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 100px 32px 32px; }
  .hero__content { text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__social-proof { justify-content: center; }
  .hero__micro { text-align: center; }
  .hero__visual-frame { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .hero { min-height: 100svh; }
  .hero__inner { padding: 90px 24px 24px; gap: 28px; }
  .hero__title { font-size: clamp(32px, 7vw, 44px); }
  .hero__subtitle { font-size: 16px; }
  .hero__ctas { gap: 10px; }
  .hero__social-proof { gap: 10px; }
  .hero__avatar { width: 36px; height: 36px; }
  .hero__social-text { font-size: 13px; }
  .hero__logos { margin-top: 20px; padding-top: 16px; }
  .hero__logos-track img { height: 16px; }
  .hero__logos-track { gap: 32px; }
  .process-card { padding: 32px; }
  .collab-cursor--hero1, .collab-cursor--hero2 { display: none; }
}
@media (max-width: 480px) {
  .hero__inner { padding: 80px 16px 20px; gap: 24px; }
  .hero__title { font-size: clamp(28px, 8vw, 36px); }
  .hero__subtitle { font-size: 15px; }
  .hero__eyebrow { font-size: 11px; padding: 5px 12px; margin-bottom: 16px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { text-align: center; }
  .hero__micro { font-size: 11px; }
  .hero__micro span { margin: 0 6px; }
  .hero-chip { display: none; }
}

/* ===================================================
   S2 — INTEGRATIONS (bento colorful cards)
   =================================================== */
.integ {
  padding: 100px 0;
  background: var(--bg-alt);
}

.integ__header {
  text-align: center;
  margin-bottom: 40px;
}
.integ__header h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.integ__header p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.integ__bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
}

/* Cell base */
.integ__cell {
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.integ.is-visible .integ__cell { opacity: 1; transform: translateY(0); }
.integ.is-visible .integ__cell:nth-child(1) { transition-delay: 0s; }
.integ.is-visible .integ__cell:nth-child(2) { transition-delay: 0.08s; }
.integ.is-visible .integ__cell:nth-child(3) { transition-delay: 0.16s; }
.integ.is-visible .integ__cell:nth-child(4) { transition-delay: 0.24s; }

/* Card 1 — Hero stat with background image (large, spans 2) */
.integ__cell--hero {
  grid-column: span 2;
  background: var(--navy);
  padding: 36px;
  min-height: 220px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.integ__cell--hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.integ__cell--hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.integ__cell--hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,60,.75) 0%, rgba(10,26,60,.3) 40%, transparent 100%);
  z-index: 1;
}
.integ__cell--hero .eyebrow {
  color: var(--accent);
  background: var(--bg);
  margin-bottom: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  width: fit-content;
  position: relative;
  z-index: 2;
}
.integ__cell--hero-bottom {
  margin-top: auto;
  position: relative;
  z-index: 2;
}
.integ__cell--hero-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum' 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.integ__cell--hero-label {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  max-width: 340px;
}

/* Card 2 — Stat accent light blue */
.integ__cell--accent {
  background: var(--accent-light);
  min-height: 220px;
  justify-content: space-between;
}
.integ__cell--accent-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
}
.integ__cell--accent-number {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum' 1;
  margin-top: auto;
  margin-bottom: 6px;
}
.integ__cell--accent-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

/* Card 3 — Navy compact stat */
.integ__cell--dark {
  background: var(--navy-hover);
  color: #fff;
  min-height: 220px;
  justify-content: space-between;
}
.integ__cell--dark-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,.4);
}
.integ__cell--dark-bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.integ__cell--dark-text {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.integ__cell--dark-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum' 1;
  flex-shrink: 0;
}

/* Card 4 — Logos marquee (spans full row) */
.integ__cell--logos {
  grid-column: 1 / -1;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 24px 0;
  overflow: hidden;
}
.integ__cell-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 0 32px;
}
.integ__logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.integ__logos-track {
  display: flex;
  gap: 10px;
  animation: integScroll 35s linear infinite;
  width: max-content;
}
@keyframes integScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .integ__logos-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0 32px; }
}
.integ__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}
.integ__logo:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(59,118,246,.1);
}

/* Responsive */
@media (max-width: 900px) {
  .integ__bento { grid-template-columns: repeat(2, 1fr); }
  .integ__cell--hero { grid-column: span 2; }
  .integ__cell--logos { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .integ { padding: 64px 0; }
  .integ__bento { grid-template-columns: 1fr; gap: 12px; }
  .integ__cell--hero, .integ__cell--logos { grid-column: span 1; }
  .integ__logo { width: 72px; height: 72px; font-size: 11px; border-radius: 12px; }
}

/* ===================================================
   S2b — SOLUTIONS (accordion + visual)
   =================================================== */
.solutions-quick {
  padding: 96px 0;
  background: var(--bg);
}
.solutions-quick__header {
  margin-bottom: 56px;
  max-width: 580px;
}
.solutions-quick__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.solutions-quick__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 16px;
}
.solutions-quick__subtitle {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Split layout: visual left, accordion right */
.sol-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* RIGHT wrapper: header + accordion */
.sol-right {
  display: flex;
  flex-direction: column;
}

/* Accordion items */
.sol-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sol-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.sol-item:last-child { border-bottom: 1px solid var(--border); }

.sol-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sol-item__left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sol-item__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.sol-item.is-active .sol-item__icon {
  background: var(--accent-light);
  color: var(--accent);
}
.sol-item__icon svg { width: 18px; height: 18px; }
.sol-item__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.sol-item:not(.is-active) .sol-item__name {
  color: var(--text-muted);
}
.sol-item__kpi {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  background: rgba(22,163,74,0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.sol-item.is-active .sol-item__kpi { opacity: 1; }

/* Expandable body */
.sol-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}
.sol-item.is-active .sol-item__body {
  max-height: 200px;
  opacity: 1;
}
.sol-item__desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  padding: 14px 0 6px 54px;
  max-width: 400px;
}
.sol-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding-left: 54px;
  margin-top: 8px;
  padding-top: 2px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: gap 0.2s, border-color 0.2s;
}
.sol-item__link:hover {
  gap: 9px;
  border-bottom-color: var(--accent);
}

/* RIGHT: visual panel */
.sol-visual {
  position: sticky;
  top: 120px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-visual__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sol-visual__img.is-active { opacity: 1; }
.sol-visual__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Tablet */
@media (max-width: 1024px) {
  .sol-split { grid-template-columns: 1fr; gap: 40px; }
  .sol-visual { position: static; min-height: 320px; }
}
/* Mobile */
@media (max-width: 600px) {
  .solutions-quick { padding: 64px 0; }
  .solutions-quick__header { margin-bottom: 36px; }
  .sol-item__name { font-size: 16px; }
  .sol-item__desc { font-size: 14px; padding-left: 0; }
  .sol-item__link { padding-left: 0; }
  .sol-item__icon { width: 36px; height: 36px; }
  .sol-visual { min-height: 260px; }
}

/* ===================================================
   S2b-bis — NOS OUTILS DE PILOTAGE (sticky left + scrolling cards)
   Niveau de finesse : Stripe / Linear / Vercel
   =================================================== */

/* --- Layout principal : sidebar sticky + cartes --- */
.process__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}

/* --- Sidebar gauche (sticky au scroll) --- */
.process__left {
  position: sticky;
  top: 120px;
  padding-top: 8px;
}
.process__left .eyebrow {
  margin-bottom: 20px;
}
.process__left h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.process__left > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* --- Navigation verticale (01–04) --- */
.process-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border-light);
}
.process-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  margin-left: -1px;
  border-left: 2px solid transparent;
}
.process-nav__item:hover .process-nav__label {
  color: var(--text-body);
}
.process-nav__item.is-active {
  border-left-color: var(--accent);
}
.process-nav__num {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  font-feature-settings: 'tnum' 1;
  min-width: 16px;
  transition: color 0.2s;
}
.process-nav__item.is-active .process-nav__num {
  color: var(--accent);
  font-weight: 600;
}
.process-nav__label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.process-nav__item.is-active .process-nav__label {
  color: var(--navy);
  font-weight: 600;
}

/* --- Cartes à droite --- */
.process__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process__right > .process-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: box-shadow 0.35s cubic-bezier(.4,0,.2,1),
              border-color 0.35s cubic-bezier(.4,0,.2,1),
              transform 0.35s cubic-bezier(.4,0,.2,1);
  /* Reset S3 cascade styles */
  opacity: 1;
  transform: translateY(0);
  margin: 0;
  min-height: auto;
  flex-direction: row;
  justify-content: initial;
  position: relative;
  z-index: auto;
  padding: 0;
  text-align: left;
}
.process__right > .process-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.05), 0 1px 4px rgba(0,0,0,.03);
  border-color: var(--border);
  transform: translateY(-1px);
}

/* Contenu texte (partie gauche) */
.process__right .process-card__content {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  justify-content: center;
}
.process__right .process-card__content .process-card__duration {
  margin-bottom: 20px;
}

.process__right .process-card__duration {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  width: fit-content;
  font-feature-settings: 'tnum' 1;
  letter-spacing: 0.01em;
}

.process__right .process-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.process__right .process-card__desc {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.45;
  max-width: 340px;
}

.process__right .process-card__content .btn {
  margin-top: 20px;
  align-self: flex-start;
}

/* Image (partie droite) */
.process__right .process-card__image {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}
.process__right .process-card__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.process__right > .process-card:hover .process-card__image img {
  transform: scale(1.015);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .process__layout {
    grid-template-columns: 300px 1fr;
    gap: 36px;
  }
}
@media (max-width: 900px) {
  .process__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process__left {
    position: static;
    padding-top: 0;
  }
  .process__left > p:not(.eyebrow) {
    max-width: none;
  }
  .process-nav {
    flex-direction: row;
    gap: 6px;
    flex-wrap: wrap;
  }
  .process-nav__item::before { display: none; }
  .process-nav__item {
    padding: 7px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: #fff;
  }
  .process-nav__item.is-active {
    border-color: var(--accent);
    background: var(--accent-light);
  }
}
@media (max-width: 640px) {
  .process__right > .process-card {
    grid-template-columns: 1fr;
  }
  .process__right .process-card__image {
    min-height: 180px;
  }
  .process__right .process-card__content {
    padding: 20px 18px;
  }
}

/* ===================================================
   S3 — MÉTHODE (cascade cards style SaleUnion)
   =================================================== */
.method {
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}
@media (max-width: 768px) { .method { padding: 64px 0; } }

/* Header — large headline left, CTA right-aligned bottom */
.method__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 40px;
}
.method__header-text {
  max-width: 720px;
}
.method__header h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

/* CTA with avatar */
.btn-demo-charles {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 20px 6px 6px;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.btn-demo-charles:hover {
  background: var(--navy-hover);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transform: translateY(-1px);
}
.btn-demo-charles__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* Cascade — 4 cards overlapping diagonally */
.method__cascade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.method-card {
  border-radius: 20px;
  padding: 28px 48px 28px 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  margin-right: -24px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  opacity: 0;
  transform: translate(80px, 60px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1),
              transform 0.7s cubic-bezier(.22,1,.36,1),
              z-index 0s,
              box-shadow 0.3s ease;
}
.method-card.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.method-card:hover {
  z-index: 10 !important;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
}

/* First card visible by default */
.method__cascade > .method-card:nth-child(1) {
  z-index: 4;
  margin-top: 0;
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.method__cascade > .method-card:nth-child(2) { z-index: 3; margin-top: 48px; }
.method__cascade > .method-card:nth-child(3) { z-index: 2; margin-top: 96px; }
.method__cascade > .method-card:nth-child(4) { z-index: 1; margin-top: 144px; margin-right: 0; padding-right: 24px; }

/* Color variants */
.method-card--navy {
  background: var(--navy);
}
.method-card--navy .method-card__num { color: rgba(255,255,255,.4); }
.method-card--navy .method-card__title { color: #fff; }
.method-card--navy .method-card__stat { color: #fff; }
.method-card--navy .method-card__desc { color: rgba(255,255,255,.5); }

.method-card--accent-light {
  background: var(--accent-light);
}
.method-card--accent-light .method-card__num { color: var(--accent); }
.method-card--accent-light .method-card__title { color: var(--navy); }
.method-card--accent-light .method-card__stat { color: var(--navy); }
.method-card--accent-light .method-card__desc { color: var(--text-body); }

.method-card--subtle {
  background: var(--bg-subtle);
}
.method-card--subtle .method-card__num { color: var(--text-muted); }
.method-card--subtle .method-card__title { color: var(--navy); }
.method-card--subtle .method-card__stat { color: var(--navy); }
.method-card--subtle .method-card__desc { color: var(--text-body); }

.method-card--dark {
  background: var(--navy-hover);
}
.method-card--dark .method-card__num { color: var(--accent); }
.method-card--dark .method-card__title { color: #fff; }
.method-card--dark .method-card__stat { color: var(--accent); }
.method-card--dark .method-card__desc { color: rgba(255,255,255,.5); }

/* Card inner */
.method-card__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.method-card__num {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-feature-settings: 'tnum' 1;
}
.method-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.method-card__bottom {
  margin-top: auto;
}
.method-card__stat {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum' 1;
  margin-bottom: 8px;
}
.method-card__desc {
  font-size: 12.5px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .method__cascade { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .method-card { margin-right: 0; margin-top: 0 !important; min-height: 240px; }
}
@media (max-width: 600px) {
  .method__header { flex-direction: column; align-items: flex-start; }
  .method__cascade { grid-template-columns: 1fr; }
  .method-card { min-height: 200px; }
}

/* ===================================================
   S4 — VALUE PROP SPLIT
   =================================================== */
.value-prop {
  background: var(--bg-alt);
  padding: 120px 0;
  position: relative;
}
@media (max-width: 768px) { .value-prop { padding: 80px 0; } }

.value-prop__inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .value-prop__inner { grid-template-columns: 1fr; gap: 48px; }
}

.value-prop h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 36px;
}
.value-prop__bullets {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}
.value-prop__bullet {
  display: flex;
  gap: 20px;
}
.value-prop__bullet-line {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.value-prop__bullet-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.value-prop__bullet-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}
.value-prop__image-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 12px 48px rgba(0,0,0,.06);
}
.value-prop__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================================
   S5 — MIGRATION DE VALEUR (barres animées)
   =================================================== */
.migration {
  padding: 100px 0;
  background: var(--bg);
}
@media (max-width: 768px) { .migration { padding: 64px 0; } }

.migration__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* LEFT — Big stat + headline */
.migration__left .eyebrow { margin-bottom: 24px; }

.migration__big-stat {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}
.migration__big-number {
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum' 1;
}
.migration__big-unit {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}
.migration__big-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.migration__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.migration__desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 440px;
}

/* RIGHT — Period label + Bars (SaleUnion-inspired pill bars) */
.migration__period-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.migration__period-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.migration__period-text--future {
  color: var(--navy);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.migration.is-shifted .migration__period-text--future {
  opacity: 1;
}
.migration__period-arrow {
  font-size: 11px;
  color: var(--text-faint);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.migration.is-shifted .migration__period-arrow {
  opacity: 1;
  transform: translateX(0);
}

.migration__bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.migration__bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.migration__bar-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.migration__bar-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  font-feature-settings: 'tnum' 1;
}

.migration__bar-track-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.migration__bar-track {
  flex: 1;
  height: 40px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(10,26,60,.06);
}
.migration__bar-fill {
  height: 100%;
  border-radius: 12px;
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}

.migration__bar-fill--decline {
  background: #142e5e;
}
.migration__bar-fill--stable {
  background: #142e5e;
}
.migration__bar-fill--growth {
  background: #142e5e;
}
.migration__bar-fill--boom {
  background: #142e5e;
}

/* Delta badges — aligned with Marcassin DS */
.migration__bar-delta {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  border: 0.5px solid rgba(0,0,0,.1);
  white-space: nowrap;
  font-feature-settings: 'tnum' 1;
  color: rgba(4,16,4,.8);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.5s cubic-bezier(.22,1,.36,1),
              transform 0.5s cubic-bezier(.22,1,.36,1);
  flex-shrink: 0;
}
.migration.is-shifted .migration__bar-delta {
  opacity: 1;
  transform: translateX(0);
}
.migration__bar-delta--down {
  background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.2)), #ff7a7a;
}
.migration__bar-delta--neutral {
  background: #fcfcfc;
}
.migration__bar-delta--up {
  background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.2)), #a4ffae;
}

/* Stagger delta appearance */
.migration__bar-group:nth-child(1) .migration__bar-delta { transition-delay: 0s; }
.migration__bar-group:nth-child(2) .migration__bar-delta { transition-delay: 0.1s; }
.migration__bar-group:nth-child(3) .migration__bar-delta { transition-delay: 0.2s; }
.migration__bar-group:nth-child(4) .migration__bar-delta { transition-delay: 0.3s; }

.migration__bar-note {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 6px;
  display: block;
}

.migration__source {
  font-size: 10.5px;
  color: var(--text-faint);
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 900px) {
  .migration__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ===================================================
   S6 — CONVICTION (card with image + editorial)
   =================================================== */
.conviction {
  padding: 100px 0;
  background: var(--bg);
}
@media (max-width: 768px) { .conviction { padding: 64px 0; } }

/* Card wrapper */
.conviction__card {
  background: var(--bg-subtle);
  border-radius: 16px;
  overflow: hidden;
}

/* Image block */
.conviction__image-block {
  position: relative;
  overflow: hidden;
}
.conviction__image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* Overlay — gradient right half only */
.conviction__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 0%, transparent 30%, rgba(10,26,60,.5) 50%, rgba(10,26,60,.7) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  padding: 44px;
}

/* Quote + author — top right */
.conviction__overlay-content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.conviction__quote {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 500;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.conviction__author {
  margin-top: 20px;
}
.conviction__author-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.conviction__author-role {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 1px;
}

/* Stats — bottom right */
.conviction__stats {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  gap: 40px;
  align-self: end;
}
.conviction__stat-number {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum' 1;
  margin-bottom: 6px;
}
.conviction__stat-label {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
  max-width: 150px;
  display: block;
}

/* Bottom — editorial split, inside the card */
.conviction__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  padding: 44px 44px 48px;
}
.conviction__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.conviction__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.conviction__body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}
.conviction__body .btn-demo-charles {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .conviction__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 28px 36px;
  }
  .conviction__image { height: 380px; }
  .conviction__overlay { padding: 28px; }
  .conviction__overlay { grid-template-columns: 1fr; }
  .conviction__overlay-content { grid-column: 1; }
  .conviction__stats { grid-column: 1; }
}
@media (max-width: 600px) {
  .conviction__image { height: 280px; }
  .conviction__stats { flex-direction: column; gap: 16px; }
  .conviction__bottom { padding: 24px 20px 28px; }
}

/* ===================================================
   S7 — CONTACT FORM (Halden card style)
   =================================================== */
.contact-section {
  padding: 100px 0;
  background: var(--bg);
}
@media (max-width: 768px) { .contact-section { padding: 64px 0; } }

.contact-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 100%;
}

/* Left */
.contact-card__left {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-width: 0;
}
.contact-card__left-top {
  flex: 1;
}
.contact-card__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.contact-card__desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 380px;
}
.contact-card__left-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.contact-card__trust-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.contact-card__logos {
  overflow: hidden;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.contact-card__logos-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: contactLogoScroll 20s linear infinite;
  will-change: transform;
}
@keyframes contactLogoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.contact-card__logos-track img {
  height: 16px;
  width: auto;
  opacity: 0.35;
  filter: grayscale(1);
  object-fit: contain;
  flex-shrink: 0;
}

/* Right — Form */
.contact-card__form {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--border-light);
  min-width: 0;
}
.contact-card__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-card__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-card__input {
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy);
  background: var(--bg-subtle);
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  transition: box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.contact-card__input::placeholder {
  color: var(--text-muted);
}
.contact-card__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent);
}
.contact-card__textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-card__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}
.contact-card__field {
  min-width: 0;
}
.contact-card__form > .btn {
  align-self: center;
  margin-top: 4px;
}
.contact-card__separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}
.contact-card__separator-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.contact-card__separator-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-card__form {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
}
@media (max-width: 600px) {
  .contact-card__left { padding: 32px 24px; }
  .contact-card__form { padding: 32px 24px; }
}

/* ===================================================
   S5-old — PRODUCTS (image-bg cards) — legacy
   =================================================== */
.products {
  padding: 120px 0;
  background: #fff;
}
@media (max-width: 768px) { .products { padding: 80px 0; } }

.products__header {
  text-align: center;
  margin-bottom: 64px;
}
.products__header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.products__header h2 strong {
  font-weight: 700;
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .products__grid { grid-template-columns: 1fr; } }

.product-card {
  border-radius: var(--radius-md-legacy); /* MEP-18 */
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1), box-shadow 0.5s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.product-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.product-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-card__bg img {
  transform: scale(1.08);
}
.product-card__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(10,26,60,0.92) 0%,
    rgba(10,26,60,0.6) 40%,
    rgba(10,26,60,0.08) 100%
  );
}
.product-card__content {
  position: relative;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-card__content {
  transform: translateY(0);
}
.product-card__content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.product-card__content p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ===================================================
   S6 — CASE STUDY QUOTE
   =================================================== */
.case-study {
  padding: 120px 0;
  background: var(--bg-alt);
}
@media (max-width: 768px) { .case-study { padding: 80px 0; } }

.case-study__card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md-legacy); /* MEP-18 */
  padding: 80px 64px;
  background: #fff;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
@media (max-width: 900px) { .case-study__card { padding: 40px 24px; } }

.case-study__mark {
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  font-family: 'Georgia', serif;
  font-weight: 400;
  position: absolute;
  top: 0;
  left: 40px;
  display: block;
}
.case-study__quote {
  font-size: clamp(22px, 2.5vw, 28px);
  font-style: normal;
  font-weight: 300;
  color: var(--text-heading);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.case-study__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.case-study__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.case-study__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-study__meta { text-align: left; }
.case-study__name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-heading);
}
.case-study__role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================================================
   S7 — STATS — navy background, centered text, no dividers
   =================================================== */
.stats {
  background: var(--navy);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 28px 24px !important; }
}

.stat {
  padding: 40px;
}
.stat__number {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================================================
   S8 — AVANT / APRES
   =================================================== */
.compare {
  padding: 120px 0;
  background: #fff;
}
@media (max-width: 768px) { .compare { padding: 80px 0; } }

.compare h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-align: left;
  margin-bottom: 64px;
}
.compare__wrapper {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md-legacy); /* MEP-18 */
  overflow: hidden;
  position: relative;
}
.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) { .compare__grid { grid-template-columns: 1fr; } }

.compare__col { padding: 36px 32px; }
.compare__col--without { background: var(--bg-alt); }
.compare__col--with {
  background: #fff;
  position: relative;
}

.compare__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.compare__col--without .compare__col-title { color: var(--text-muted); }
.compare__col--with .compare__col-title { color: var(--text-heading); }

.compare__col-title .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.compare__col--without .dot { background: var(--text-muted); }
.compare__col--with .dot { background: var(--success); }

.compare__item {
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.compare__item:last-child { border-bottom: none; }
.compare__col--without .compare__item { color: var(--text-muted); }
.compare__col--with .compare__item { color: var(--text-heading); }
.compare__item-dash { flex-shrink: 0; margin-top: 1px; opacity: 0.5; }

/* ===================================================
   S9 — REASSURANCE
   =================================================== */
.reassurance {
  background: var(--bg-alt);
  padding: 64px 0;
  text-align: center;
}
@media (max-width: 768px) { .reassurance { padding: 48px 0; }  }

.reassurance__text {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  max-width: 720px;
  margin: 0 auto 56px;
}
.reassurance__text br + br { display: none; }
.reassurance__badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.reassurance__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-body);
  padding: 8px 18px;
  background: #fff;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}
.reassurance__badge:hover { border-color: #D1D5DB; }
.reassurance__badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reassurance__badge-icon svg { width: 12px; height: 12px; }

/* ===================================================
   S10 — CTA FINAL (image bg + overlay navy)
   =================================================== */
.cta-final {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--gutter);
  overflow: hidden;
}
@media (max-width: 900px) { .cta-final { padding: 80px var(--gutter); min-height: auto; } }

.cta-final__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-final__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10,26,60,0.82) 0%,
    rgba(10,26,60,0.7) 40%,
    rgba(10,26,60,0.88) 100%
  );
}
.cta-final__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}
.cta-final__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.cta-final__form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-final__input {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  width: 220px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cta-final__input::placeholder { color: rgba(255,255,255,.4); }
.cta-final__input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(59,118,246,.15);
}
.cta-final__input.error {
  border-color: var(--danger);
}
.cta-final__feedback {
  display: none;
  color: var(--success);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.cta-final__feedback.show {
  display: block;
}
.cta-final__micro {
  color: rgba(255,255,255,.35);
  font-size: 13px;
}
.cta-final__micro span { margin: 0 10px; }

/* ===================================================
   FOOTER — navy, editorial, statement-led
   =================================================== */
.footer {
  background: var(--navy);
  padding: 0;
}

/* Statement — large headline + CTA */
.footer__statement {
  padding: 80px 0 72px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.footer__headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* CTA light variant */
.btn-demo-charles--light {
  background: #fff;
  color: var(--navy);
  flex-shrink: 0;
}
.btn-demo-charles--light:hover {
  background: rgba(255,255,255,.9);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* Nav columns */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color 0.2s;
}
.footer__col a:hover {
  color: #fff;
}

/* Bottom bar — logo left, social right */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,.25);
}

/* Social — inline icons */
.footer__social {
  display: flex;
  gap: 6px;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: rgba(255,255,255,.35);
  transition: color 0.2s, background 0.2s;
}
.footer__social a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

@media (max-width: 900px) {
  .footer__statement { flex-direction: column; align-items: flex-start; padding: 56px 0; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__nav { grid-template-columns: 1fr; }
  .footer__bottom-left { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===================================================
   MEGA MENU
   =================================================== */
.mega-menu {
  display: none;
  position: fixed;
  top: var(--mega-top, 108px);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 99;
  box-shadow: 0 8px 32px rgba(0,0,0,.06), 0 1px 0 var(--border);
  animation: megaFadeIn 0.2s cubic-bezier(.4,0,.2,1);
}
.mega-menu.open { display: block; }
@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-menu__layout {
  display: flex;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mega-menu__sidebar {
  width: 260px;
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.mega-menu__sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.mega-menu__sidebar-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.mega-menu__sidebar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.mega-menu__sidebar-cta:hover { gap: 10px; }
.mega-menu__sidebar-cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.mega-menu__sidebar-cta:hover svg { transform: translateX(2px); }

.mega-menu__grid {
  flex: 1;
  padding: 32px 0 32px 32px;
}
.mega-menu__grid-header {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.mega-menu__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.mega-menu__items--2col {
  grid-template-columns: repeat(2, 1fr);
}

.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--text-heading);
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.mega-menu__item:hover {
  background: var(--bg-alt);
}
.mega-menu__item-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.mega-menu__item-icon svg { width: 18px; height: 18px; }
.mega-menu__item:hover .mega-menu__item-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.mega-menu__item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.mega-menu__item-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.mega-menu__footer {
  border-top: 1px solid var(--border);
  padding: 12px var(--gutter);
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  background: var(--bg-alt);
}
.mega-menu__footer a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mega-menu__footer a:hover { color: var(--navy); }

.mega-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.04);
  z-index: 98;
  animation: overlayFade 0.2s ease;
}
.mega-overlay.open { display: block; }
@keyframes overlayFade { from { opacity: 0; } to { opacity: 1; } }

.nav-chevron {
  display: inline-flex;
  margin-left: 3px;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.nav-chevron svg { width: 10px; height: 10px; }
.nav-link-mega.active .nav-chevron {
  transform: rotate(180deg);
}
@media (max-width: 900px) {
  .mega-menu { display: none !important; }
  .mega-overlay { display: none !important; }
}

/* Hero logo marquee — en bas du hero, sur l'image */
.hero__logos {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: 24px 0 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  grid-column: 1 / -1;
}
.hero__logos {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.hero__logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: heroLogoScroll 25s linear infinite;
  width: max-content;
}
.hero__logos-track img {
  height: 20px;
  width: auto;
  opacity: 0.6;
  filter: brightness(100) grayscale(1);
  flex-shrink: 0;
  object-fit: contain;
}
@keyframes heroLogoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__logos-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* Hero floating chips */
.hero-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  pointer-events: none;
}
.hero-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-chip__dot--red {
  background: #EF4444;
  animation: dotPulse 2s ease-in-out infinite; /* keyframe defini plus bas (MEP-24) */
}
.hero-chip--alert {
  bottom: 12%;
  left: -24px;
  animation: chipFloat 8s ease-in-out infinite;
}
.hero-chip--success {
  top: 10%;
  right: -20px;
  color: #16A34A;
  animation: chipFloat 9s ease-in-out infinite 1s;
}
.hero-chip--success svg { flex-shrink: 0; }
@keyframes chipFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.collab-cursor--hero1 {
  position: absolute;
  right: 20%;
  top: 35%;
  animation: cursorFloat1 8s ease-in-out infinite;
}
.collab-cursor--hero2 {
  position: absolute;
  left: 8%;
  top: 60%;
  animation: cursorFloat2 10s ease-in-out infinite;
}

@media (max-width: 900px) {
  .hero-product { margin-bottom: -60px; margin-top: -20px; }
  .collab-cursor--hero1, .collab-cursor--hero2 { display: none; }
}
@media (max-width: 600px) {
  .hero-product { margin-bottom: -40px; }
}

/* Floating UI widgets (product section) */
.float-widget {
  position: absolute;
  z-index: 5;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  pointer-events: none;
  font-size: 12px;
}
.float-widget--kpi {
  top: 8%;
  right: -40px;
  animation: widgetFloat1 7s ease-in-out infinite;
}
.float-widget__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.float-widget__value {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  font-feature-settings: 'tnum' 1;
}
.float-widget__delta {
  font-size: 12px;
  font-weight: 600;
  color: #16A34A;
}

.float-widget--alert {
  bottom: 15%;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  animation: widgetFloat2 9s ease-in-out infinite;
}
.float-widget__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.float-widget__text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}

.float-widget--badge {
  bottom: 30%;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  animation: widgetFloat3 8s ease-in-out infinite;
}
.float-widget--badge span {
  font-size: 12px;
  font-weight: 600;
  color: #16A34A;
}

@keyframes widgetFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, 10px); }
}
@keyframes widgetFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -8px); }
}
@keyframes widgetFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, -10px); }
}

@media (max-width: 1100px) {
  .float-widget { display: none; }
}

/* Curseurs collaboratifs Figma-style */
.collab-cursor {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}
.collab-cursor__name {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 14px;
}
.collab-cursor--1 {
  top: 15%;
  right: 8%;
  animation: cursorFloat1 8s ease-in-out infinite;
}
.collab-cursor--2 {
  top: 50%;
  left: 3%;
  animation: cursorFloat2 10s ease-in-out infinite;
}
.collab-cursor--3 {
  bottom: 15%;
  right: 20%;
  animation: cursorFloat3 9s ease-in-out infinite;
}
@keyframes cursorFloat1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-20px, 15px); }
  50% { transform: translate(10px, -10px); }
  75% { transform: translate(-15px, -5px); }
}
@keyframes cursorFloat2 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(15px, -10px); }
  50% { transform: translate(-10px, 20px); }
  75% { transform: translate(20px, 5px); }
}
@keyframes cursorFloat3 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-10px, -15px); }
  50% { transform: translate(15px, 10px); }
  75% { transform: translate(-5px, -20px); }
}
@media (prefers-reduced-motion: reduce) {
  .collab-cursor { display: none; }
}
@media (max-width: 768px) {
  .collab-cursor { display: none; }
}
