/* MB Ads — Landing site styles, built on tokens.css */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mb-off-white);
  color: var(--mb-black);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }

/* ---------- Layout ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }
section { padding: var(--section-py) 0; position: relative; }
.section-tight { padding: clamp(56px, 8vw, 96px) 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--mb-black); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 700; letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; letter-spacing: var(--ls-display); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 600; letter-spacing: var(--ls-tight); }
h4 { font-size: 18px; font-weight: 600; letter-spacing: var(--ls-tight); }
p  { margin: 0; }
.lead { font-size: var(--fs-body-lg); color: var(--mb-gray-500); line-height: 1.6; text-wrap: pretty; }
.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--mb-gray-500);
}
.eyebrow.accent { color: var(--mb-blue-deep); }

.dark { background: var(--mb-black); color: var(--mb-off-white); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--mb-off-white); }
.dark p { color: rgba(250,250,250,0.78); }
.dark .lead { color: rgba(250,250,250,0.78); }
.dark .eyebrow { color: rgba(255,255,255,0.55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: var(--fs-body); font-weight: 600; line-height: 1;
  cursor: pointer; border: 1px solid transparent; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.btn .arrow { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--mb-blue-elec); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--mb-blue-elec-hov); transform: scale(1.02); box-shadow: var(--shadow-blue); }
.btn--primary:active { transform: scale(0.99); }
.btn--secondary { background: transparent; color: var(--mb-black); border-color: var(--mb-anthracite); }
.btn--secondary:hover { background: var(--mb-black); color: #fff; transform: scale(1.02); }
.dark .btn--secondary { color: #fff; border-color: rgba(255,255,255,0.4); }
.dark .btn--secondary:hover { background: #fff; color: var(--mb-black); border-color: #fff; }
.btn--lg { padding: 20px 34px; font-size: var(--fs-body-lg); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }

/* Service cards: tighter, snappier stagger per teammate spec */
.svc.reveal { transform: translateY(30px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.svc.reveal[data-delay="1"] { transition-delay: 50ms; }
.svc.reveal[data-delay="2"] { transition-delay: 100ms; }
.svc.reveal[data-delay="3"] { transition-delay: 150ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid transparent;
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(250,250,250,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--mb-gray-300);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img, .nav__logo svg { height: 40px; width: auto; transition: transform 300ms var(--ease-out); }
.nav__logo:hover img { transform: scale(1.04); }
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a { color: var(--mb-black); text-decoration: none; font-size: 14px; font-weight: 500; opacity: 0.78; transition: opacity 200ms; }
.nav__links a:hover { opacity: 1; color: var(--mb-blue-deep); }
.nav__cta .btn { padding: 10px 18px; font-size: 14px; }
/* Header CTA goes black to mirror hero hierarchy: black = direct action, blue = explore */
.nav__cta .btn--primary { background: var(--mb-black); }
.nav__cta .btn--primary:hover {
  background: var(--mb-black);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(10,10,10,0.20);
}
/* WhatsApp icon inside the nav button — sized to match the body text height */
.nav__btn-wa-icon { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 880px) { .nav__links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; /* fallback */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
  overflow: hidden;
  background: #FAFAFA;
}
.hero > .container { width: 100%; }
/* Mobile: top-align + drop the 100dvh floor so the hero shrinks to content + paddings.
   Without the floor, no dead space lives below the trust badges; bottom is naturally tight. */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 38px;
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 600px at 0% 0%, #FAFAFA, #FFFFFF);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #0A0A0A 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* Magnetic orb + secondary halo behind the H1
   Outer wrapper handles position + magnetic translate (driven by JS).
   Inner wrapper handles morph (border-radius) + pulse (scale + opacity) keyframes.
   Splitting transforms across two elements avoids keyframe collisions. */
.hero__orb {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.hero__orb__inner {
  width: 100%;
  height: 100%;
  will-change: transform, opacity, border-radius;
}

/* Main orb — large, magnetic, intensifies on hero hover */
.hero__orb--main {
  width: 1000px;
  height: 900px;
  top: 50%;
  left: 50%;
  margin-left: -500px;
  margin-top: -490px; /* slightly above center */
  transform: translate3d(0,0,0);
  transition: transform 800ms cubic-bezier(0.23, 1, 0.32, 1);
}
.hero__orb--main .hero__orb__inner {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(30, 58, 138, 0.30) 0%,
    rgba(59, 130, 246, 0.18) 40%,
    transparent 70%
  );
  filter: blur(100px) saturate(1.2);
  border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
  transition: filter 400ms var(--ease-out);
  animation: orbPulseMain 8s ease-in-out infinite;
}
.hero__orb--main.is-intense .hero__orb__inner {
  filter: blur(85px) saturate(1.3);
}

/* Secondary halo — top-right, partly off-canvas for organic overflow */
.hero__orb--halo {
  width: 520px;
  height: 460px;
  top: -12%;
  right: -8%;
}
.hero__orb--halo .hero__orb__inner {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(30, 58, 138, 0.10) 0%,
    rgba(59, 130, 246, 0.06) 40%,
    transparent 70%
  );
  filter: blur(90px) saturate(1.1);
  border-radius: 50% 70% 40% 60% / 60% 40% 70% 50%;
  animation: orbPulseHalo 9s ease-in-out infinite;
}

@keyframes orbMorphMain {
  0%, 100% { border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%; }
  33%      { border-radius: 40% 60% 70% 50% / 60% 40% 50% 60%; }
  66%      { border-radius: 50% 70% 40% 60% / 40% 50% 60% 50%; }
}
@keyframes orbPulseMain {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50%      { opacity: 1.0; transform: scale(1.05); }
}
@keyframes orbMorphHalo {
  0%, 100% { border-radius: 50% 70% 40% 60% / 60% 40% 70% 50%; }
  50%      { border-radius: 70% 40% 60% 50% / 40% 60% 50% 70%; }
}
@keyframes orbPulseHalo {
  0%, 100% { opacity: 0.6; transform: scale(0.92); }
  50%      { opacity: 1.0; transform: scale(1.08); }
}

/* Tablet: ~70% size */
@media (max-width: 1024px) {
  .hero__orb--main { width: 700px; height: 630px; margin-left: -350px; margin-top: -340px; }
  .hero__orb--halo { width: 364px; height: 322px; }
}
/* Mobile: ~50% size, magnetic disabled (handled in JS) */
@media (max-width: 768px) {
  .hero__orb--main { width: 500px; height: 450px; margin-left: -250px; margin-top: -240px; }
  .hero__orb--halo { width: 260px; height: 230px; right: -10%; }
}

/* Particles — generated by JS at runtime.
   Three nested layers per particle so transforms compose without colliding:
     .particle           position + parallax (transform set by JS)
     .particle__drift    drift loop (CSS keyframe)
     .particle__dot      visible dot + magnetic (transform set by JS, smoothed via transition) */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  pointer-events: none;
  will-change: transform;
}
.particle__drift {
  display: block;
  width: 100%;
  height: 100%;
  animation: particleDrift var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}
.particle__dot {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c);
  border-radius: 50%;
  transition: transform 300ms var(--ease-out);
  will-change: transform;
}
/* Glow only on the 20% electric-blue particles — flat for the rest (perf) */
.particle__dot.is-glow {
  box-shadow: 0 0 4px rgba(59, 130, 246, 0.4);
}
@keyframes particleDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(var(--dx), var(--dy), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .particle__drift { animation: none; }
  .particle, .particle__dot { transform: none !important; transition: none; }
}

.hero__inner {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  text-align: center;
  margin: 0 auto;
}
.hero__inner .lead { margin-left: auto; margin-right: auto; }
.hero__inner .hero__ctas { justify-content: center; }
.hero__inner .hero__trust { justify-content: center; }

/* Top badge — glassmorphism + radiating pulse rings */
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(229,229,229,0.6);
  font-size: 13px; color: var(--mb-gray-500); font-weight: 500;
  box-shadow:
    0 1px 2px rgba(10,10,10,0.04),
    0 12px 32px rgba(10,10,10,0.05);
  margin-bottom: 32px;
}
.hero__badge .pulse {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981;
  flex: 0 0 auto;
}
.hero__badge .pulse::before,
.hero__badge .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10B981;
  animation: heroBadgePulseRing 2.4s var(--ease-out) infinite;
}
.hero__badge .pulse::after { animation-delay: 1.2s; }
@keyframes heroBadgePulseRing {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(2.8); opacity: 0;    }
}

/* H1 */
.hero h1 {
  font-size: clamp(44px, 7.6vw, 104px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--mb-black);
}
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(40px, 9vw, 48px); }
}

/* Per-letter cascade (driven by JS that wraps each char in <span class="letter">) */
.hero__h1 .word { display: inline-block; }
.hero__h1 .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 380ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 420ms cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: calc(min(var(--li, 0) * 9ms, 250ms) + 60ms);
}
.hero.is-loaded .hero__h1 .letter {
  opacity: 1;
  transform: translateY(0);
}

/* Typewriter — single-word loop on "stratégie."
   Width is reserved by an invisible ghost so the cursor never jumps lines
   and the H1 layout stays rock-stable across type/erase states.
   Ghost + overlay are stacked in a single grid cell. */
.hero__type {
  display: inline-grid;
  vertical-align: top;
  position: relative;
}
.hero__type-ghost,
.hero__type-overlay {
  grid-row: 1;
  grid-column: 1;
  white-space: nowrap;
  font: inherit;
  line-height: inherit;
}
.hero__type-ghost { visibility: hidden; }
.hero__type-text {
  color: var(--mb-blue-deep);
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
}
.hero__type-cursor {
  display: inline-block;
  color: var(--mb-blue-deep);
  font-weight: 400;
  margin-left: 2px;
  animation: heroCursorBlink 1.1s ease-in-out infinite;
}
@keyframes heroCursorBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.15; }
}

/* Lead, CTAs */
.hero p.lead { margin-top: 32px; max-width: 640px; font-size: 18px; color: var(--mb-gray-500); }
.hero__ctas { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 44px; align-items: center; justify-content: center; }

/* Primary CTA — shine sweep + spring scale + stronger shadow + arrow shift */
.hero__ctas .btn { border-radius: 999px; }
.hero__ctas .btn--secondary {
  background: #fff;
  color: var(--mb-blue-elec);
  border-color: var(--mb-blue-elec);
  padding: 18px 30px;
}
.hero__ctas .btn--secondary:hover { background: var(--mb-blue-elec); color: #fff; border-color: var(--mb-blue-elec); transform: scale(1.02); }
.hero__ctas .btn--primary {
  background: var(--mb-blue-elec);
  color: #fff;
  padding: 18px 30px;
  position: relative;
  overflow: hidden;
  transition:
    background 240ms var(--ease-out),
    transform 240ms var(--ease-spring),
    box-shadow 240ms var(--ease-out);
}
.hero__ctas .btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .hero__ctas .btn--primary:hover {
    background: var(--mb-blue-deep);
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(30,58,138,0.28), 0 4px 16px rgba(0,0,0,0.10);
  }
  .hero__ctas .btn--primary:hover::before { transform: translateX(110%); }
  .hero__ctas .btn:hover .arrow {
    transform: translateX(5px);
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}
.hero__ctas .btn:active { transform: scale(0.98); }

/* Ghost-link CTA — bordered electric-blue button (matches primary's footprint) */
.btn--ghost-link {
  background: transparent;
  color: var(--mb-blue-elec);
  padding: 18px 30px;
  font-weight: 600;
  border: 0;
  border-radius: var(--radius-md);
  /* Border via inset shadow so hover thicken to 2px doesn't shift layout */
  box-shadow: inset 0 0 0 1.5px var(--mb-blue-elec);
  transition:
    background 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    transform 240ms var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost-link:hover {
    background: var(--mb-blue-ghost); /* #EFF6FF */
    box-shadow: inset 0 0 0 2px var(--mb-blue-elec);
    transform: scale(1.02);
  }
}

/* Trust row: 3 unified badges */
.hero__trust {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--mb-gray-300);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mb-black);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.trust-badge svg { width: 16px; height: 16px; flex: 0 0 auto; }
.trust-badge svg.icon-accent { color: var(--mb-blue-elec); }
@media (hover: hover) and (pointer: fine) {
  .trust-badge:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(10,10,10,0.10), 0 2px 6px rgba(10,10,10,0.06);
  }
}
@media (max-width: 768px) {
  /* Mobile layout: 2 columns, 2 rows.
     Row 1 = badges 1 + 2 side-by-side, Row 2 = badge 3 centered (full width).
     Switching from flex+pseudo-element to grid removes the edge case where
     the badges wrap unpredictably on narrow viewports (<375px). */
  .hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
  }
  .hero__trust .trust-badge {
    /* Compact + centered content so both badges fit without text wrap */
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
    min-width: 0; /* allow shrinking inside grid track */
  }
  .hero__trust .trust-badge:nth-child(3) {
    grid-column: 1 / -1; /* span both columns */
    justify-self: center;
  }
}

/* Sequenced load animation (driven by .hero.is-loaded) */
.hero__badge,
.hero__inner .lead,
.hero__ctas {
  opacity: 0;
  transform: translateY(20px);
}
.hero__trust .trust-badge {
  opacity: 0;
  transform: translateY(10px);
}
.hero__badge       { transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.hero__inner .lead { transition: opacity 400ms var(--ease-out) 650ms, transform 400ms var(--ease-out) 650ms; }
.hero__ctas        { transition: opacity 400ms var(--ease-out) 850ms, transform 400ms var(--ease-out) 850ms; }
.hero__trust .trust-badge {
  transition:
    opacity 500ms var(--ease-spring),
    transform 500ms var(--ease-spring),
    box-shadow 220ms var(--ease-out);
}

.hero.is-loaded .hero__badge,
.hero.is-loaded .hero__inner .lead,
.hero.is-loaded .hero__ctas,
.hero.is-loaded .hero__trust .trust-badge {
  opacity: 1;
  transform: translateY(0);
}
.hero.is-loaded .hero__trust .trust-badge:nth-child(1) { transition-delay: 2600ms, 2600ms, 0ms; }
.hero.is-loaded .hero__trust .trust-badge:nth-child(2) { transition-delay: 2680ms, 2680ms, 0ms; }
.hero.is-loaded .hero__trust .trust-badge:nth-child(3) { transition-delay: 2760ms, 2760ms, 0ms; }

@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__inner .lead,
  .hero__ctas,
  .hero__trust .trust-badge,
  .hero__h1 .letter {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .hero__badge .pulse::before,
  .hero__badge .pulse::after { animation: none; opacity: 0; }
  .hero__type-cursor { animation: none; opacity: 0; }
  .hero__orb__inner { animation: none; }
  .hero__orb--main { transition: none; }
  .hero__ctas .btn--primary::before { display: none; }
}

/* ---------- LOGOS / Nos partenaires ---------- */
/* Decision: section visible on mobile only (< 768px). Hidden on desktop/tablet. */
@media (min-width: 769px) {
  .logos { display: none; }
}
.logos {
  background: #FAFAFA;
  padding: 48px 0;
}
.logos__title {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mb-gray-500);
  margin: 0 0 32px;
}

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 40px;
  width: max-content;
  animation: scroll 35s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Each logo's container shrinks to its image natural width.
   Per-logo heights below tune individual visual presence (some look big, some small at the same height). */
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  width: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition:
    filter 300ms var(--ease-out),
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .logo img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Per-logo desktop heights — base ≈ 60px, tuned per logo presence */
.logo-belfrag         img { height: 38px; }
.logo-datacet         img { height: 32px; }
.logo-pneu-station    img { height: 88px; }
.logo-lavage-eco      img { height: 46px; }
.logo-nab-store       img { height: 60px; }
.logo-elixir-prestige img { height: 50px; }

/* Desktop / tablet (≥ 769px): full-bleed row, edge-to-edge.
   No max-width, no fixed gap — space-between stretches between the 80px side paddings.
   Mobile (≤ 768px) keeps the scrolling marquee defined in the base rules above. */
@media (min-width: 769px) {
  .marquee {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .marquee__track {
    animation: none;
    transform: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 80px;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  /* Hide the duplicated set; only the original 6 logos show */
  .marquee__track > [aria-hidden="true"] { display: none; }
}
/* Mobile: per-logo heights — base ≈ 40px, same proportions */
@media (max-width: 768px) {
  .logos { padding: 48px 0; }
  .logos__title { margin-bottom: 24px; }
  .marquee__track {
    gap: 48px;
    animation-duration: 28s;
  }
  .logo-belfrag         img { height: 31px; }
  .logo-datacet         img { height: 27px; }
  .logo-pneu-station    img { height: 58px; }
  .logo-lavage-eco      img { height: 32px; }
  .logo-nab-store       img { height: 40px; }
  .logo-elixir-prestige img { height: 36px; }
}

/* Reduced motion (mobile only): replace the scroll with a static 3x2 grid.
   Desktop is already static at ≥769px and needs no special handling. */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .marquee {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .marquee__track {
    animation: none;
    width: auto;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 32px 48px;
    place-items: center;
  }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .logo img { transition: none; }
}


/* ---------- MANIFESTO (light, 2-cols + Avant/Après) ---------- */
.manifesto {
  background: #FAFAFA;
  color: var(--mb-black);
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 720px) {
  .manifesto { padding: 40px 0 28px; }
  .manifesto .container { gap: 20px; }
}
.manifesto .container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 720px) {
  .manifesto__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* LEFT: TEXT ----------------------------------------- */
.manifesto__text {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
}
.manifesto .manifesto__h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.035em;
  color: #0A0A0A;
  margin: 0;
  max-width: 22ch;
}
.manifesto .manifesto__h2-em { color: #0A0A0A; }
@media (max-width: 720px) {
  .manifesto .manifesto__h2 { font-size: 26px; }
  .manifesto__text { gap: 10px; }
  .manifesto__p { font-size: 13px; line-height: 1.5; }
  .manifesto__lead { font-size: 15px; }
  .manifesto__divider { font-size: 13px; margin: 0; }
  .manifesto__closing { font-size: 13px; line-height: 1.5; }
}
@media (max-height: 720px) and (min-width: 721px) {
  .manifesto { padding: 48px 0 32px; }
  .manifesto .container { gap: 24px; }
  .manifesto .manifesto__h2 { font-size: clamp(28px, 3.4vw, 36px); }
  .manifesto__text { gap: 12px; }
  .manifesto__p { font-size: 13px; }
  .manifesto__lead { font-size: 16px; }
  .manifesto__closing { font-size: 14px; }
}

.manifesto__p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6;
  color: #1F1F1F;
  margin: 0;
}
.manifesto__p strong { color: #0A0A0A; font-weight: 600; }

.manifesto__lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4;
  color: #0A0A0A;
  margin: 0;
  letter-spacing: -0.015em;
}
.manifesto__lead strong { color: #3B82F6; font-weight: 600; }

.manifesto__divider {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 4px 0 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(15px, 1.3vw, 18px); letter-spacing: -0.005em;
  color: #3B82F6;
}
.manifesto__divider-line {
  display: block; height: 2px; width: 44px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(59,130,246,0.35);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 900ms var(--ease-out);
  transition-delay: 200ms;
}
.manifesto__divider.in .manifesto__divider-line { transform: scaleX(1); }

.manifesto__closing {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 17px); line-height: 1.55;
  color: #1F1F1F;
  margin: 0;
}
.manifesto__closing strong { color: #0A0A0A; font-weight: 600; }
.manifesto__closing strong.hl-blue { color: #3B82F6; font-weight: 700; }

/* RIGHT: AVANT / APRÈS VISUAL ------------------------ */
.manifesto__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: center;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vw, 16px);
}
@media (max-width: 720px) {
  .manifesto__visual { max-width: 320px; }
}

.ba-block { position: relative; }
.ba-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ba-label--before { color: #6B7280; }
.ba-label--after  { color: #3B82F6; text-align: center; }

/* AVANT: 2x2 grid of muted tool cards */
.ba-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ba-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  background: #FAFAFA;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out);
}
.ba-tool svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: inherit; /* picks up the chip's text color (saturated brand color) */
}
.ba-tool span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Per-chip color variants — pastel bg + saturated text/icon (mirrors Section 4 cards) */
.ba-tool[data-color="orange"] { background: linear-gradient(135deg, #FFE6D4, #FFD3B0); border-color: rgba(255, 107, 53, 0.25); color: #E54B16; }
.ba-tool[data-color="pink"]   { background: linear-gradient(135deg, #FCE4F0, #F9D2E5); border-color: rgba(236, 72, 153, 0.25); color: #B8338F; }
.ba-tool[data-color="blue"]   { background: linear-gradient(135deg, #DDEAFE, #C5DAFC); border-color: rgba(59, 130, 246, 0.25); color: #1E3A8A; }
.ba-tool[data-color="green"]  { background: linear-gradient(135deg, #D8EFE0, #C0E5CD); border-color: rgba(22, 163, 74, 0.25); color: #10723A; }

/* Reveal final state — chip lands at its rotation + offset, opacity 0.9 (chaos vibe) */
.manifesto__visual:not([data-stage="0"]) .ba-tool {
  opacity: 0.9;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg));
  transition-delay: calc(50ms * var(--i, 0));
}
@media (max-width: 720px) {
  .ba-tools { gap: 8px; }
  .ba-tool { padding: 10px 8px; font-size: 10px; gap: 6px; }
  .ba-tool svg { width: 14px; height: 14px; }
}

/* Connector: single vertical arrow + label */
.ba-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 4px 0;
}
.ba-connector__arrow {
  width: 18px;
  height: 48px;
  flex: 0 0 auto;
  overflow: visible;
}
.ba-connector__line {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  transition: stroke-dashoffset 600ms var(--ease-out);
}
.ba-connector__head {
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
  transition-delay: 480ms;
}
.manifesto__visual[data-stage="2"] .ba-connector__line,
.manifesto__visual[data-stage="3"] .ba-connector__line,
.manifesto__visual[data-stage="4"] .ba-connector__line,
.manifesto__visual[data-stage="5"] .ba-connector__line { stroke-dashoffset: 0; }
.manifesto__visual[data-stage="2"] .ba-connector__head,
.manifesto__visual[data-stage="3"] .ba-connector__head,
.manifesto__visual[data-stage="4"] .ba-connector__head,
.manifesto__visual[data-stage="5"] .ba-connector__head { opacity: 1; }
.ba-connector__text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: #6B7280;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.manifesto__visual[data-stage="3"] .ba-connector__text,
.manifesto__visual[data-stage="4"] .ba-connector__text,
.manifesto__visual[data-stage="5"] .ba-connector__text {
  opacity: 1;
  transform: translateY(0);
}

/* APRÈS: single dark card (centered) */
.ba-block--after {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ba-final {
  width: 100%;
  max-width: 340px;
  background: #0A0A0A;
  border: 2px solid #3B82F6;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 12px 32px rgba(59,130,246,0.18), 0 4px 12px rgba(0,0,0,0.10);
  color: #fff;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 500ms var(--ease-out), transform 600ms cubic-bezier(.34,1.4,.64,1), box-shadow 400ms ease;
}
.manifesto__visual[data-stage="4"] .ba-final,
.manifesto__visual[data-stage="5"] .ba-final {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: baFinalPulse 1.4s ease-out 500ms 1;
}
@keyframes baFinalPulse {
  0%   { box-shadow: 0 12px 32px rgba(59,130,246,0.18), 0 4px 12px rgba(0,0,0,0.10), 0 0 0 0 rgba(59,130,246,0.0); }
  40%  { box-shadow: 0 12px 32px rgba(59,130,246,0.35), 0 4px 12px rgba(0,0,0,0.10), 0 0 0 12px rgba(59,130,246,0.18); }
  100% { box-shadow: 0 12px 32px rgba(59,130,246,0.18), 0 4px 12px rgba(0,0,0,0.10), 0 0 0 0 rgba(59,130,246,0.0); }
}

.ba-final__head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ba-final__logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #1E3A8A, #3B82F6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; color: #fff;
  flex: 0 0 auto;
}
.ba-final__title { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.ba-final__title strong { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; }
.ba-final__title span   { font-size: 11px; color: rgba(255,255,255,0.6); }

.ba-final__pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px;
}
.ba-pillar {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.85);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.manifesto__visual[data-stage="5"] .ba-pillar {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(50ms * var(--i, 0));
}
.ba-pillar svg { width: 12px; height: 12px; flex: 0 0 auto; }
.ba-pillar[data-pillar="orange"] svg { color: #FB923C; }
.ba-pillar[data-pillar="pink"]   svg { color: #F472B6; }
.ba-pillar[data-pillar="blue"]   svg { color: #60A5FA; }
.ba-pillar[data-pillar="green"]  svg { color: #4ADE80; }

/* STATS (light) ------------------------------------- */
.manifesto__stats {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-top: 48px;
  border-top: 1px solid #E5E7EB;
  max-width: 720px;
}
.manifesto__stats::before {
  content: "";
  grid-column: 2; grid-row: 1;
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, #E5E7EB 30%, #E5E7EB 70%, transparent);
  justify-self: center;
}
.mstat { text-align: center; }
.mstat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5.5vw, 64px); line-height: 0.95; letter-spacing: -0.04em;
  color: #0A0A0A;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.mstat__num .unit { color: #3B82F6; font-size: 0.55em; font-weight: 700; }
.mstat__lbl { margin-top: 8px; color: #6B7280; font-size: 13px; line-height: 1.4; max-width: 220px; margin-inline: auto; }
@media (max-width: 720px) {
  .manifesto__stats { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; }
  .manifesto__stats::before { display: none; }
  .mstat__num { font-size: 36px; }
  .mstat__lbl { font-size: 11px; }
}
.manifesto__stats {
  padding-top: clamp(24px, 3vw, 40px);
}


/* ---------- SECTION HEADS ---------- */
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); }
.section-head .lead { margin-top: 20px; }

/* ---------- SERVICES (svc cards \u2014 nocodefactory style) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .pillars { grid-template-columns: 1fr; } }

.svc {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 32px 28px 32px;
  min-height: 460px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
  cursor: pointer;
}
.svc::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--svc-bg-top, #FFE4D2) 0%, var(--svc-bg-bottom, #FFD4B8) 100%);
  z-index: 0; transition: opacity 400ms var(--ease-out);
}
.svc > * { position: relative; z-index: 1; }
.svc { transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.svc:hover { transform: translateY(-8px); box-shadow: 0 32px 70px rgba(10,10,10,0.16), 0 10px 24px rgba(10,10,10,0.08); }
.svc:hover .svc__icon { animation: svcIconPulse 600ms var(--ease-out); }
@keyframes svcIconPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
/* override the static rotate hover so the pulse keyframe owns the transform */
.svc:hover .svc__icon { transform: scale(1); }

/* "En savoir plus" link — always visible, color per card variant */
.svc__more {
  position: absolute; left: 32px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--svc-link, var(--svc-fg));
  text-decoration: none;
  transition: color 200ms var(--ease-out);
  z-index: 2;
}
.svc__more-arrow { display: inline-block; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc__more:hover { color: var(--svc-link-hov, var(--svc-link)); }
  .svc__more:hover .svc__more-arrow { transform: translateX(4px); }
}
.svc { padding-bottom: 56px; } /* room for the indicator */

/* Platform logos row (currently used on Card 1 / Acquisition payante) */
.svc__platforms {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.svc__platforms .platform-logo {
  display: inline-flex;
  align-items: center;
  height: 24px;
}
.svc__platforms .platform-logo svg {
  height: 24px;
  width: auto;
  display: block;
}

/* Color variants — added --svc-link for the per-card "En savoir plus" tone */
.svc[data-color="orange"] { --svc-bg-top: #FFE6D4; --svc-bg-bottom: #FFD3B0; --svc-fg: #E54B16; --svc-icon-bg: #FF6B35; --svc-link: #F97316; --svc-link-hov: #C2410C; }
.svc[data-color="pink"]   { --svc-bg-top: #FCE4F0; --svc-bg-bottom: #F9D2E5; --svc-fg: #B8338F; --svc-icon-bg: #EC4899; --svc-link: #EC4899; --svc-link-hov: #BE185D; }
.svc[data-color="blue"]   { --svc-bg-top: #DDEAFE; --svc-bg-bottom: #C5DAFC; --svc-fg: #1E3A8A; --svc-icon-bg: #3B82F6; --svc-link: #3B82F6; --svc-link-hov: #1D4ED8; }
.svc[data-color="green"]  { --svc-bg-top: #D8EFE0; --svc-bg-bottom: #C0E5CD; --svc-fg: #10723A; --svc-icon-bg: #16A34A; --svc-link: #10B981; --svc-link-hov: #047857; }

/* Top: small icon + arrow */
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.svc__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--svc-icon-bg);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(10,10,10,0.10);
  transition: transform 360ms var(--ease-out);
}
.svc__icon svg { width: 22px; height: 22px; }
/* hover pulse handled in keyframe above; static rotate removed to avoid conflict */
.svc__arrow {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--svc-icon-bg);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translate(8px, -8px) scale(0.7);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
  box-shadow: 0 8px 20px rgba(10,10,10,0.18);
}
.svc__arrow svg { width: 18px; height: 18px; }
.svc:hover .svc__arrow { opacity: 1; transform: translate(0,0) scale(1); }

.svc__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--svc-fg);
  margin-bottom: 10px;
  text-wrap: balance;
}
.svc__desc { color: var(--mb-black); opacity: 0.75; font-size: 15px; line-height: 1.55; max-width: 90%; }

/* Decorative bottom area */
.svc__deco { margin-top: auto; padding-top: 28px; position: relative; min-height: 140px; }

/* Pills */
.deco-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  background: #fff; color: var(--mb-black);
  box-shadow: 0 4px 12px rgba(10,10,10,0.08);
  transition: transform 400ms var(--ease-out);
}
.svc:hover .deco-pill { transform: translateY(-4px); }
.deco-pill--live .deco-pulse { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(16,185,129,0.6); animation: livePulse 1.5s infinite; }
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); transform: scale(1); }
  50%  { box-shadow: 0 0 0 8px rgba(16,185,129,0);  transform: scale(1.25); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0);    transform: scale(1); }
}

/* Score bounce on appearance */
.deco-pill--bounce { opacity: 0; transform: translateY(8px) scale(0.9); }
.svc.in .deco-pill--bounce {
  animation: pillBounce 700ms cubic-bezier(.34,1.56,.64,1) 700ms forwards;
}
@keyframes pillBounce {
  0%   { opacity: 0; transform: translateY(8px) scale(0.9); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Flow: nodes/arrows appear in sequence when card enters */
.deco-flow__el { opacity: 0; transform: translateX(-6px); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.svc.in .deco-flow__el { opacity: 1; transform: translateX(0); transition-delay: calc(450ms + var(--i) * 180ms); }

/* Roadmap: items reveal + check fills in */
.deco-roadmap__el { opacity: 0; transform: translateY(6px); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.svc.in .deco-roadmap__el { opacity: 1; transform: translateY(0); transition-delay: calc(450ms + var(--i) * 220ms); }

/* check transition: idle → done/active when triggered */
.deco-step .deco-check { transition: background 300ms var(--ease-out), color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.svc.in .deco-step[data-final="done"]   { color: var(--mb-black); transition: color 200ms; transition-delay: calc(700ms + var(--i) * 220ms); }
.svc.in .deco-step[data-final="done"] .deco-check {
  background: #16A34A; color: #fff;
  transition-delay: calc(700ms + var(--i) * 220ms);
}
.svc.in .deco-step[data-final="done"] .deco-check::before {
  content: "\2713"; /* swap glyph */
}
.svc.in .deco-step[data-final="done"] .deco-check { font-size: 0; }
.svc.in .deco-step[data-final="done"] .deco-check::before { font-size: 11px; }

.svc.in .deco-step[data-final="active"]  { color: var(--mb-black); transition-delay: calc(700ms + var(--i) * 220ms); }
.svc.in .deco-step[data-final="active"] .deco-check {
  background: #16A34A; color: #fff; box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
  transition-delay: calc(700ms + var(--i) * 220ms);
}
.svc.in .deco-step[data-final="active"] .deco-check::before { content: "\25CF"; }
.svc.in .deco-step[data-final="active"] .deco-check { font-size: 0; }
.svc.in .deco-step[data-final="active"] .deco-check::before { font-size: 11px; }
.deco-pill--live { position: absolute; right: 8px; bottom: 8px; }
.deco-pill--score { position: absolute; right: 8px; bottom: 8px; }
.deco-pill--score strong { color: #16a34a; font-weight: 700; }
.deco-pill--time { position: absolute; right: 8px; bottom: 8px; color: #1E3A8A; font-weight: 600; }

/* Card 1: metrics card */
.deco-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10,10,10,0.10);
  width: 78%;
  transform: rotate(-2deg);
  transition: transform 500ms var(--ease-out);
}
.svc:hover .deco-card { transform: rotate(0deg) translateY(-4px); }
.deco-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--mb-gray-500); font-weight: 500; }
.deco-row strong { margin-left: auto; color: var(--mb-black); font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.deco-dot { width: 8px; height: 8px; border-radius: 50%; }
.deco-dot--g { background: #16A34A; } .deco-dot--b { background: #3B82F6; } .deco-dot--y { background: #F7B538; }

/* Card 2: browser mock */
.deco-browser {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(10,10,10,0.12);
  width: 78%;
  transform: rotate(-2deg);
  transition: transform 500ms var(--ease-out);
}
.svc:hover .deco-browser { transform: rotate(0deg) translateY(-4px); }
.deco-browser__bar { display: flex; gap: 4px; padding: 8px 10px; background: #F5F5F5; border-bottom: 1px solid var(--mb-gray-300); }
.deco-browser__bar span { width: 8px; height: 8px; border-radius: 50%; background: #E5E5E5; }
.deco-browser__bar span:first-child { background: #FF6B6B; }
.deco-browser__bar span:nth-child(2) { background: #F7B538; }
.deco-browser__bar span:nth-child(3) { background: #16A34A; }
.deco-browser__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.deco-line { height: 6px; border-radius: 4px; background: #EAEAEA; width: 80%; }
.deco-line--h { height: 10px; width: 60%; background: #1F1F1F; }
.deco-line--s { width: 40%; }
.deco-cta { align-self: flex-start; margin-top: 6px; padding: 6px 12px; border-radius: 6px; background: #EC4899; color: #fff; font-size: 11px; font-weight: 600; }

/* Card 3: flow */
.deco-flow {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  padding: 14px; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10,10,10,0.10);
  width: 92%;
  transform: rotate(-1.5deg);
  transition: transform 500ms var(--ease-out);
}
.svc:hover .deco-flow { transform: rotate(0deg) translateY(-4px); }
.deco-node {
  flex: 0 0 auto; padding: 6px 10px; border-radius: 8px;
  background: #F5F5F5; color: var(--mb-black);
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.deco-node--ai { background: linear-gradient(135deg, #1E3A8A, #3B82F6); color: #fff; }
.deco-arrow { color: var(--mb-gray-500); font-weight: 700; font-size: 12px; flex: 0 0 auto; }

/* Card 4: roadmap */
.deco-roadmap {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10,10,10,0.10);
  width: 78%;
  transform: rotate(-2deg);
  transition: transform 500ms var(--ease-out);
}
.svc:hover .deco-roadmap { transform: rotate(0deg) translateY(-4px); }
.deco-step { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mb-gray-500); font-weight: 500; }
.deco-step.is-done { color: var(--mb-black); }
.deco-step.is-done .deco-check { background: #16A34A; color: #fff; }
.deco-step.is-active { color: var(--mb-black); }
.deco-step.is-active .deco-check { background: #16A34A; color: #fff; box-shadow: 0 0 0 4px rgba(22,163,74,0.18); }
.deco-check {
  width: 18px; height: 18px; border-radius: 999px;
  background: #E5E5E5; color: var(--mb-gray-500);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}

/* ---------- METHOD — Bento grid (Raycast-inspired light mode) ----------
   Layout: asymmetric 12-col grid, 4 cards.
     Card 01 (Découverte)   8 cols × 2 rows  — large hero card top-left
     Card 02 (Plan)          4 cols × 1 row   — top-right
     Card 03 (Déploiement)   4 cols × 1 row   — bottom-right
     Card 04 (Pilotage)     12 cols × 1 row   — full-width below
   Cards fade-in-up sequentially on initial render with 100ms stagger.
   Hover: 2px lift + monochromatic shadow + subtle blue glow.
   Glass UI mockups inside each card (m-glass + m-pill atoms preserved). */

.method {
  background: #F4F4F8;
  position: relative;
  overflow: hidden;
}
/* Atmosphere — very diffuse white halo at top, opacity capped low */
.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.7), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.method > .container { position: relative; z-index: 1; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  /* Compact rows: Card 01 (span 2) = 110 + 24 (gap) + 110 = 244px = sum of right column */
  grid-template-rows: minmax(110px, auto) minmax(110px, auto) auto;
  gap: 24px;
  margin-top: 56px;
}

/* ===== Base card =====
   Diagonal gradient (white → very pale blue-tinted in bottom-right) for "glass" relief.
   Multi-layered shadow with extended distance (48px, 96px) for genuine "floating" feel.
   ::before holds the radial blue accent glow (0.85 opacity at rest = visible immediately).
   transform-style: preserve-3d ready for JS tilt. */
.bento-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #F8FAFC 50%, #F4F8FE 100%);
  position: relative;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(30, 58, 138, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(30, 58, 138, 0.08),
    0 32px 64px rgba(30, 58, 138, 0.06),
    0 48px 96px rgba(30, 58, 138, 0.04);
  opacity: 0;
  transform: translateY(16px);
  animation: bentoIn 400ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: calc(var(--i, 0) * 100ms + 100ms);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 200ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes bentoIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Blue accent glow — clearly visible at rest (0.85 opacity, 0.18 alpha) */
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(59, 130, 246, 0.18), transparent 70%);
  opacity: 0.85;
  pointer-events: none;
  transition:
    opacity 280ms cubic-bezier(0.4, 0, 0.2, 1),
    background 280ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.bento .bento-card:nth-child(2)::before {
  background: radial-gradient(ellipse 70% 60% at 0% 0%, rgba(59, 130, 246, 0.18), transparent 70%);
}
.bento .bento-card:nth-child(3)::before {
  background: radial-gradient(ellipse 70% 60% at 100% 100%, rgba(59, 130, 246, 0.18), transparent 70%);
}
.bento-card > * { position: relative; z-index: 1; }

/* Hover: glow intensifies to 0.25 alpha + extra blue halo shadow + blue hairline ring */
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 1),
      inset 0 0 0 1px rgba(30, 58, 138, 0.10),
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 4px 8px rgba(0, 0, 0, 0.04),
      0 16px 32px rgba(30, 58, 138, 0.10),
      0 24px 96px rgba(59, 130, 246, 0.20),
      0 48px 96px rgba(30, 58, 138, 0.06),
      0 0 0 1px rgba(59, 130, 246, 0.15);
  }
  .bento-card:hover::before {
    opacity: 1;
    background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(59, 130, 246, 0.25), transparent 70%);
  }
  .bento .bento-card:nth-child(2):hover::before {
    background: radial-gradient(ellipse 70% 60% at 0% 0%, rgba(59, 130, 246, 0.25), transparent 70%);
  }
  .bento .bento-card:nth-child(3):hover::before {
    background: radial-gradient(ellipse 70% 60% at 100% 100%, rgba(59, 130, 246, 0.25), transparent 70%);
  }
  .bento-card:hover .m-glass {
    transform: translateZ(20px) translateY(-3px);
  }
}
@media (hover: none) {
  .bento-card:active { transform: scale(0.98); transition: transform 100ms ease; }
}

/* Variants */
.bento-card--lg {
  grid-column: 1 / span 8;
  grid-row: 1 / span 2;
  padding: 28px 32px;
}
.bento-card--sm {
  grid-column: 9 / span 4;
  border-radius: 16px;
  padding: 22px 24px;
}
.bento-card--wide {
  grid-column: 1 / span 12;
  grid-row: 3;
}

/* ===== Card head: numero + label uppercase ===== */
.bento-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.bento-num,
.bento-label {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--mb-blue-deep);
  text-transform: uppercase;
}
.bento-num {
  font-size: 13px;
  letter-spacing: 0.04em;
}
.bento-label {
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ===== Title + description ===== */
.bento-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--mb-black);
  margin: 0 0 14px;
  max-width: 560px;
}
.bento-title--sm { font-size: 22px; letter-spacing: -0.01em; }
.bento-title--md { font-size: 28px; }

.bento-desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--mb-gray-500);
  line-height: 1.55;
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 480px;
}
.bento-desc--sm { font-size: 14px; }

/* ===== Visual area inside cards ===== */
.bento-visual {
  margin-top: auto;
  padding-top: 32px;
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-visual--lg {
  min-height: 240px;
  align-items: flex-end;
}
.bento-visual--compact {
  padding-top: 20px;
  min-height: 140px;
}

/* Position helpers within bento-visual */
.bento-pos--tl { position: absolute; top: 32px; left: 0; z-index: 2; }
.bento-pos--center { position: relative; z-index: 3; }
.bento-pos--br { position: absolute; bottom: 0; right: 0; z-index: 4; }
.bento-pos--note { position: absolute; bottom: -8px; left: -16px; z-index: 4; }

/* ===== Card 04 split layout (text left, visual right) ===== */
.bento-card__split {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 48px;
  align-items: center;
}
.bento-card__split-text { display: flex; flex-direction: column; }
.bento-card__split-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Wide card (Card 04) keeps a min-height for its dashboard. Compact lg (Card 01) has none. */
.bento-card--wide .bento-card__split-visual { min-height: 200px; }

/* ============================================================
   Glass UI atoms — kept from previous version, used inside cards
   ============================================================ */

/* Shared glass card */
.m-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 1),
    0 0 0 1px rgba(30, 58, 138, 0.08),
    0 8px 24px rgba(30, 58, 138, 0.10),
    0 16px 48px rgba(30, 58, 138, 0.06);
  padding: 14px 16px;
  font-family: var(--font-body);
  /* Smooth transition for the inner parallax lift on card hover */
  transition: transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

/* Pill (badges, chips, status) */
.m-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--mb-black);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(0, 0, 0, 0.06);
}
.m-pill svg { width: 12px; height: 12px; }
.m-pill--blue {
  color: var(--mb-blue-deep);
  background: rgba(239, 246, 255, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}
.m-pill--success {
  color: #047857;
  background: rgba(236, 253, 245, 0.85);
  border-color: rgba(16, 185, 129, 0.25);
}
.m-pill--success-sm {
  font-size: 10px;
  padding: 2px 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #047857;
  background: rgba(236, 253, 245, 0.9);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Pulse dot (always animated since no stage gating anymore) */
.m-pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
}
.m-pulse-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10B981;
  animation: m-pulse-ring 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  opacity: 0;
}
@keyframes m-pulse-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0;   }
}

/* Avatar (initials or icon) */
.m-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.02em;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(10, 10, 10, 0.10);
}
.m-avatar--mb { background: linear-gradient(135deg, var(--mb-blue-deep), var(--mb-blue-elec)); }
.m-avatar--neutral {
  background: linear-gradient(135deg, #E5E7EB, #CBD5E1);
  color: var(--mb-gray-500);
  margin-left: -10px;
}
.m-avatar--neutral svg { width: 14px; height: 14px; }

/* ===== Card 01 — Calendar mini-card ===== */
.m-cal-mini { width: min(210px, 100%); padding: 14px 16px; }
.m-cal-mini__head {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  color: var(--mb-black);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
}
.m-cal-mini__slot {
  font-size: 10px;
  font-weight: 500;
  color: var(--mb-gray-500);
  padding: 5px 8px;
  border-radius: 6px;
  margin-bottom: 2px;
}
.m-cal-mini__slot.is-active {
  background: var(--mb-blue-ghost);
  color: var(--mb-blue-deep);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--mb-blue-elec);
}

/* ===== Card 01 — Main appel découverte card ===== */
.m-call-bento {
  width: min(320px, 100%);
  padding: 20px 22px;
}
.m-call-bento__date {
  font-size: 10px;
  font-weight: 600;
  color: var(--mb-gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.m-call-bento__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--mb-black);
  margin-bottom: 14px;
}
.m-call-bento__avatars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.m-call-bento__attendees {
  font-size: 11px;
  color: var(--mb-gray-500);
  font-weight: 500;
  margin-left: 6px;
}
.m-call-bento__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mb-black);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  border: 0;
  cursor: default;
  width: 100%;
  justify-content: center;
}
.m-call-bento__cta svg { width: 13px; height: 13px; }

/* ===== Card 02 — Plan d'acquisition with progress bars ===== */
.m-plan {
  width: min(360px, 100%);
  padding: 18px 20px;
}
.m-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  margin-bottom: 12px;
}
.m-plan__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--mb-black);
  letter-spacing: -0.02em;
}
.m-plan__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  margin-bottom: 10px;
}
.m-plan__row:last-child { margin-bottom: 0; }
.m-plan__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--mb-black);
  grid-column: 1;
}
.m-plan__val {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  color: var(--mb-blue-deep);
  letter-spacing: -0.01em;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  white-space: nowrap;
}
.m-plan__val--ghost {
  font-style: italic;
  font-weight: 500;
  color: var(--mb-gray-500);
  letter-spacing: 0;
}
.m-plan__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.08);
  overflow: hidden;
  grid-column: 1;
}
.m-plan__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--mb-blue-deep), var(--mb-blue-elec));
  border-radius: inherit;
  width: var(--w);
  /* No animation — bento is static, bars show their final value immediately */
}

/* ===== Card 03 — Stack of deploy mini-cards ===== */
.m-stack-bento {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(320px, 100%);
}
.m-deploy {
  width: 100%;
  padding: 10px 14px;
}
.m-deploy__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-deploy__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--mb-black);
  letter-spacing: -0.01em;
  flex: 1;
}
.m-deploy__inline {
  font-size: 11px;
  color: var(--mb-gray-500);
  font-weight: 500;
}

/* ===== Card 04 — Monthly dashboard + sticky note ===== */
.m-dash {
  width: min(420px, 100%);
  padding: 20px 22px;
}
.m-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  margin-bottom: 14px;
}
.m-dash__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--mb-black);
  letter-spacing: -0.02em;
}
.m-dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.m-kpi-cell {
  text-align: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.m-kpi-cell__lbl {
  font-size: 10px;
  font-weight: 500;
  color: var(--mb-gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.m-kpi-cell__val {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--mb-black);
  letter-spacing: -0.02em;
  line-height: 1;
}
.m-kpi-cell__val--green { color: #047857; }
.m-kpi-cell__val--blue  { color: var(--mb-blue-elec); }
.m-dash__chart {
  width: 100%;
  height: 36px;
  display: block;
}

/* Sticky note (overflowing, rotated, pale yellow) */
.m-note {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.005em;
  background: rgba(254, 249, 195, 0.9);
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: #78350F;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(120, 53, 15, 0.08);
  transform: rotate(-3deg);
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet: 6-column grid, Card 01 takes 6×2 (full left), 02 + 03 are 6×1 each (right col stacked), 04 wide */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-card--lg {
    grid-column: span 6;
    grid-row: span 1;
    min-height: auto;
  }
  .bento-card--sm {
    grid-column: span 3;
  }
  .bento-card--wide {
    grid-column: span 6;
  }
  .bento-card__split {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Dots indicators — hidden by default (desktop), shown only on mobile carousel */
.bento-dots { display: none; }

/* Mobile-only UI mockups inside Cards 02/03 — hidden on desktop (compact layout) */
.bento-visual--mobile { display: none; }

/* ============================================================
   Mobile: horizontal swipeable carousel (app-store style)
   ============================================================
   - .bento becomes a flex row with overflow-x: auto + scroll-snap-type: x mandatory
   - Each card is ~90% viewport-wide; small peek of next card visible (suggests swipe)
   - scroll-snap-align: center on each card → swipe naturally snaps to nearest card
   - Scrollbar hidden on all engines for clean look
   - Bleed past container padding (negative margin) so cards can extend edge-to-edge
   - JS keeps .bento-dot.is-active in sync with the centered card
*/
@media (max-width: 768px) {
  .bento {
    /* Switch from grid → horizontal flex carousel */
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 16px;
    margin-top: 40px;
    /* Bleed margins so cards reach screen edges (container has padding 24-48px) */
    margin-left: calc(-1 * var(--container-pad));
    margin-right: calc(-1 * var(--container-pad));
    padding: 16px var(--container-pad);
    /* Carousel scroll behavior */
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding: var(--container-pad);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .bento::-webkit-scrollbar { display: none; }

  .bento-card,
  .bento-card--lg,
  .bento-card--sm,
  .bento-card--wide {
    /* Each card = ~90vw, leaving ~5-8% peek of next card on the right */
    flex: 0 0 calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    min-width: 0;
    grid-column: auto;
    grid-row: auto;
    padding: 28px 24px;
    /* Snap point: each card centers when scroll settles */
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* Reduce shadow amplitude on mobile (96px shadows are expensive on phone GPUs) */
  .bento-card {
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 1),
      inset 0 0 0 1px rgba(30, 58, 138, 0.08),
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 8px 16px rgba(30, 58, 138, 0.06),
      0 16px 32px rgba(30, 58, 138, 0.04);
  }

  .bento-title { font-size: 24px; }
  .bento-title--sm { font-size: 20px; }
  .bento-title--md { font-size: 22px; }

  /* Card 01 split → vertical stack on mobile (text top, visual bottom) */
  .bento-card__split {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
  }
  .bento-card__split-visual { min-height: 200px; }
  .bento-card--wide .bento-card__split-visual { min-height: 220px; }

  .m-call-bento,
  .m-plan,
  .m-dash { width: 100%; max-width: 320px; }
  .m-stack-bento { width: 100%; max-width: 320px; }
  .bento-pos--br { position: absolute; bottom: -8px; right: 0; }

  /* ===== Mobile-only UI mockups for Cards 02 / 03 =====
     Reveals the bento-visual--mobile blocks (hidden on desktop where cards are
     compact). Sits 24px below the description (no margin-top: auto so it doesn't
     get pushed to the very bottom of the card — empty space lands at card bottom
     where it reads as breathing room rather than a hole between text and visual). */
  .bento-visual--mobile {
    display: block;
    margin-top: 24px;
  }
  .bento-visual--mobile .m-plan { width: 100%; max-width: 100%; }
  .bento-visual--mobile .m-stack-bento { width: 100%; max-width: 100%; gap: 8px; }
  /* Stack offset on Card 03: each deploy card slightly shifted for layered feel */
  .bento-visual--mobile .m-stack-bento .m-deploy:nth-child(1) { transform: translateX(-6px) rotate(-0.6deg); }
  .bento-visual--mobile .m-stack-bento .m-deploy:nth-child(2) { transform: translateX(0); z-index: 2; }
  .bento-visual--mobile .m-stack-bento .m-deploy:nth-child(3) { transform: translateX(6px) rotate(0.6deg); }

  /* Cohesive card heights — all 4 cards share min-height so carousel snaps cleanly */
  .bento-card,
  .bento-card--lg,
  .bento-card--sm,
  .bento-card--wide {
    min-height: 480px;
  }

  /* ===== Dots indicators ===== */
  .bento-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
  }
  .bento-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #D1D5DB;
    cursor: pointer;
    transition:
      width 280ms cubic-bezier(0.4, 0, 0.2, 1),
      background 280ms cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
  }
  .bento-dot.is-active {
    width: 24px;
    background: var(--mb-blue-deep);
  }
  .bento-dot:focus-visible {
    outline: 2px solid var(--mb-blue-elec);
    outline-offset: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bento-card { animation: none; opacity: 1; transform: none; }
  .m-pulse-dot::before { animation: none; opacity: 0; }
}
/* ============================================================
   CASES — Glassmorphism cards (mirrors method bento language)
   ============================================================
   Desktop: 2x2 grid. Mobile: horizontal swipeable carousel with
   scroll-snap + dots (same mechanism as .bento). Cards reuse the
   exact same glassmorphism recipe as .bento-card: diagonal white
   gradient, multi-layer monochrome+blue-tinted shadows, ::before
   radial blue glow alternating per card, isolation: isolate, and
   transform-style: preserve-3d for the shared 3D tilt JS. */

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.case {
  background: linear-gradient(165deg, #FFFFFF 0%, #F8FAFC 50%, #F4F8FE 100%);
  position: relative;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  isolation: isolate;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(30, 58, 138, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(30, 58, 138, 0.08),
    0 32px 64px rgba(30, 58, 138, 0.06),
    0 48px 96px rgba(30, 58, 138, 0.04);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 200ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blue accent glow — visible at rest. Alternating corners per card so
   the 2x2 grid feels asymmetric and lit from different angles. */
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(59, 130, 246, 0.18), transparent 70%);
  opacity: 0.85;
  pointer-events: none;
  transition:
    opacity 280ms cubic-bezier(0.4, 0, 0.2, 1),
    background 280ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.cases .case:nth-child(2)::before {
  background: radial-gradient(ellipse 70% 60% at 0% 0%, rgba(59, 130, 246, 0.18), transparent 70%);
}
.cases .case:nth-child(3)::before {
  background: radial-gradient(ellipse 70% 60% at 100% 100%, rgba(59, 130, 246, 0.18), transparent 70%);
}
.cases .case:nth-child(4)::before {
  background: radial-gradient(ellipse 70% 60% at 0% 100%, rgba(59, 130, 246, 0.18), transparent 70%);
}
.case > * { position: relative; z-index: 1; }

@media (hover: hover) and (pointer: fine) {
  .case:hover {
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 1),
      inset 0 0 0 1px rgba(30, 58, 138, 0.10),
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 4px 8px rgba(0, 0, 0, 0.04),
      0 16px 32px rgba(30, 58, 138, 0.10),
      0 24px 96px rgba(59, 130, 246, 0.20),
      0 48px 96px rgba(30, 58, 138, 0.06),
      0 0 0 1px rgba(59, 130, 246, 0.15);
  }
  .case:hover::before { opacity: 1; }
  .cases .case:nth-child(1):hover::before { background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(59, 130, 246, 0.25), transparent 70%); }
  .cases .case:nth-child(2):hover::before { background: radial-gradient(ellipse 70% 60% at 0% 0%, rgba(59, 130, 246, 0.25), transparent 70%); }
  .cases .case:nth-child(3):hover::before { background: radial-gradient(ellipse 70% 60% at 100% 100%, rgba(59, 130, 246, 0.25), transparent 70%); }
  .cases .case:nth-child(4):hover::before { background: radial-gradient(ellipse 70% 60% at 0% 100%, rgba(59, 130, 246, 0.25), transparent 70%); }
  .case:hover .case__logo { transform: translateZ(20px) translateY(-2px); }
}
@media (hover: none) {
  .case:active { transform: scale(0.98); transition: transform 100ms ease; }
}

/* Case header: logo (real client logo image) + meta label */
.case__header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Pure white tile, larger surface, dual shadow (inset highlight + soft outer
   lift) so the logo reads as a physical chip floating on the card surface. */
.case__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 18px;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(30, 58, 138, 0.08),
    0 2px 4px rgba(10, 10, 10, 0.04),
    0 8px 16px rgba(30, 58, 138, 0.06);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.case__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
/* Per-logo size tweaks for visual balance inside the 88px tile */
.case__logo img[alt="Belfrag"]      { height: 36px; }
.case__logo img[alt="Pneu Station"] { height: 56px; max-width: 100%; }
.case__logo img[alt="Lavage Eco"]   { height: 48px; }
.case__logo img[alt="DATACET"]      { height: 32px; }

.case__header .case__label {
  flex: 1 1 auto;
  margin: 0;
}
.case__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--mb-blue-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case__label .sep { color: var(--mb-gray-300); margin: 0 8px; }

/* Result title — same typo system as .bento-title:
   Inter 600, tight tracking, line-height 1.1, scaling clamp 28→44px. */
.case__result {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--mb-black);
  margin: 0;
  text-wrap: balance;
}

.case__desc {
  font-family: var(--font-body);
  color: var(--mb-gray-500);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  margin: 0;
}

/* Dots indicators — hidden on desktop, shown only inside the mobile carousel */
.cases-dots { display: none; }

/* ============================================================
   Mobile: horizontal swipeable carousel (mirrors .bento mobile)
   ============================================================ */
@media (max-width: 768px) {
  .cases {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    gap: 16px;
    margin-top: 40px;
    margin-left: calc(-1 * var(--container-pad));
    margin-right: calc(-1 * var(--container-pad));
    padding: 16px var(--container-pad);
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding: var(--container-pad);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cases::-webkit-scrollbar { display: none; }

  .case {
    flex: 0 0 calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    min-width: 0;
    padding: 28px 24px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    /* Reduce shadow amplitude on mobile (96px shadows are expensive on phone GPUs) */
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 1),
      inset 0 0 0 1px rgba(30, 58, 138, 0.08),
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 8px 16px rgba(30, 58, 138, 0.06),
      0 16px 32px rgba(30, 58, 138, 0.04);
  }

  .case__header { gap: 12px; }
  .case__logo { width: 76px; height: 76px; padding: 14px; }
  .case__logo img[alt="Pneu Station"] { height: 48px; }
  .case__logo img[alt="Lavage Eco"]   { height: 42px; }
  .case__logo img[alt="Belfrag"]      { height: 32px; }
  .case__logo img[alt="DATACET"]      { height: 28px; }

  .case__result { font-size: clamp(24px, 6vw, 32px); }
  .case__desc { font-size: 15px; }

  .cases-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
  }
  .cases-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #D1D5DB;
    cursor: pointer;
    transition:
      width 280ms cubic-bezier(0.4, 0, 0.2, 1),
      background 280ms cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
  }
  .cases-dot.is-active {
    width: 24px;
    background: var(--mb-blue-deep);
  }
  .cases-dot:focus-visible {
    outline: 2px solid var(--mb-blue-elec);
    outline-offset: 2px;
  }
}

/* ============================================================
   ABOUT — Section 7 "Qui je suis"
   ============================================================
   3 grid items (photo / title / body) arranged via grid-template-areas:
   - Desktop : photo spans both rows of column 1; title + body stack in
     column 2. align-items: center vertically centers the photo.
   - Mobile  : photo + title share row 1 (compact horizontal header),
     body fills row 2 across both columns at full width.
*/
.about__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "photo title"
    "photo body";
  gap: 24px clamp(40px, 5vw, 64px);
  align-items: center;
}
.about__photo { grid-area: photo; align-self: center; }
.about__title { grid-area: title; }
.about__body  { grid-area: body; }

/* ===== Photo : circular avatar with placeholder initials =====
   Swap <span class="about__photo-initials">MB</span> for
   <img src="..." alt="..."> when the real photo is ready — the inner
   wrapper has overflow:hidden so the image will be clipped to the circle. */
.about__photo {
  position: relative;
  width: 240px;
  height: 240px;
  flex-shrink: 0;
}
/* Soft blue glow halo behind the avatar */
.about__photo-glow {
  position: absolute;
  inset: -24%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.22), transparent 60%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
.about__photo-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #FFFFFF;
  background: var(--mb-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(30, 58, 138, 0.08),
    0 4px 12px rgba(30, 58, 138, 0.08),
    0 16px 48px rgba(30, 58, 138, 0.10),
    0 32px 64px rgba(30, 58, 138, 0.06);
  transition:
    transform 320ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
.about__photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about__photo-initials {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 80px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .about__photo:hover .about__photo-inner {
    transform: scale(1.02);
    box-shadow:
      0 0 0 1px rgba(30, 58, 138, 0.12),
      0 4px 12px rgba(30, 58, 138, 0.10),
      0 24px 64px rgba(59, 130, 246, 0.18),
      0 32px 80px rgba(30, 58, 138, 0.10);
  }
  .about__photo:hover .about__photo-glow {
    opacity: 1;
  }
}

/* ===== Title block ===== */
.about__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mb-blue-deep);
  margin: 0;
}
.about__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--mb-black);
  margin: 12px 0 0;
}
.about__role {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--mb-blue-deep);
  margin: 8px 0 0;
}

/* ===== Body ===== */
.about__copy {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__copy p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--mb-gray-500);
  margin: 0;
}

/* Manifesto quote — left blue rule, tight padding, weight 500 */
.about__sig {
  margin: 24px 0 0;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--mb-black);
  border-left: 3px solid var(--mb-blue-deep);
  background: rgba(30, 58, 138, 0.03);
  border-radius: 0 8px 8px 0;
}

/* ===== Credentials card — glassmorphism (matches method/cases) ===== */
.about__creds {
  margin-top: 32px;
  padding: 28px 32px;
  background: linear-gradient(165deg, #FFFFFF 0%, #F8FAFC 50%, #F4F8FE 100%);
  border-radius: 20px;
  position: relative;
  isolation: isolate;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(30, 58, 138, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(30, 58, 138, 0.06),
    0 32px 64px rgba(30, 58, 138, 0.04);
}
.about__creds::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(59, 130, 246, 0.14), transparent 70%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.about__creds > * { position: relative; z-index: 1; }
.about__creds ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__creds li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--mb-black);
}
.about__creds li svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--mb-blue-deep);
}

/* ===== CTAs ===== */
.about__ctas {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   Mobile : <768px
   - Compact header row : photo (88px) + title block side by side
   - Body falls below at full width
   ============================================================ */
@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "photo title"
      "body  body";
    gap: 20px 16px;
    align-items: center;
  }
  .about__photo {
    width: 88px;
    height: 88px;
  }
  .about__photo-inner { border-width: 3px; }
  .about__photo-initials { font-size: 30px; }
  .about__photo-glow { inset: -30%; filter: blur(20px); }

  .about__name { font-size: clamp(26px, 7vw, 32px); margin-top: 8px; }
  .about__role { font-size: 16px; margin-top: 6px; }
  .about__eyebrow { font-size: 11px; }

  .about__copy { margin-top: 20px; }
  .about__sig { margin-top: 20px; font-size: 16px; padding: 14px 16px; }
  .about__creds { margin-top: 24px; padding: 22px 24px; }
  .about__creds li { font-size: 15px; }

  .about__ctas { margin-top: 24px; flex-direction: column; align-items: stretch; gap: 12px; }
  .about__ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--mb-gray-300); }
.faq__item:last-child { border-bottom: 1px solid var(--mb-gray-300); }
.faq__q {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.8vw, 22px); color: var(--mb-black);
  letter-spacing: -0.01em; line-height: 1.35;
  transition: color 200ms;
}
.faq__q:hover { color: var(--mb-blue-deep); }
.faq__icon {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--mb-gray-300); display: flex; align-items: center; justify-content: center;
  color: var(--mb-black); transition: all 300ms var(--ease-out);
}
.faq__icon svg { width: 14px; height: 14px; transition: transform 300ms var(--ease-out); }
.faq__item.is-open .faq__icon { background: var(--mb-blue-deep); color: #fff; border-color: var(--mb-blue-deep); }
.faq__item.is-open .faq__icon svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease-out); }
.faq__a-inner { padding: 0 0 28px; padding-right: 60px; color: var(--mb-gray-500); font-size: 16px; line-height: 1.7; }
.faq__item.is-open .faq__a { max-height: 600px; }

/* ---------- FINAL CTA ---------- */
.final-cta { background: var(--mb-black); color: var(--mb-off-white); position: relative; overflow: hidden; text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(59,130,246,0.18), transparent 70%); pointer-events: none; }
.final-cta .container { position: relative; max-width: 880px; }
.final-cta h2 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.035em; line-height: 1; color: #fff; }
.final-cta h2 .accent { color: var(--mb-blue-elec); }
.final-cta p { color: rgba(255,255,255,0.78); font-size: var(--fs-body-lg); line-height: 1.65; max-width: 560px; margin: 28px auto 0; }
.final-cta__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
/* Pill shape on both CTAs in this section, and override the secondary
   button so it reads correctly on the dark background (white text + subtle
   white border, no body-text-on-black contrast trap). */
.final-cta__ctas .btn { border-radius: 999px; }
.final-cta__ctas .btn--secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  transition:
    background 280ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 280ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.final-cta__ctas .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.final-cta__reassure { color: rgba(255,255,255,0.55); font-size: 13px; margin-top: 24px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--mb-black); color: rgba(250,250,250,0.7); padding: 80px 0 36px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.footer__col h4 { color: rgba(255,255,255,0.5); font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.footer__brand img, .footer__brand svg { height: 28px; width: auto; margin-bottom: 16px; display: block; }
.footer__brand p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 200ms; }
.footer__col a:hover { color: var(--mb-blue-elec); }
.footer__col li.muted { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.5; }
.footer__bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== Footer Contact: email + social icons ===== */
.footer__col--contact { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__col--contact h4 { margin-bottom: 0; }
.footer__col--contact ul { gap: 12px; }

/* Social icons row — tap targets 44px, gradient/branded fill on hover */
.footer__socials { display: flex; gap: 10px; }
.footer__social {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition:
    background 280ms cubic-bezier(0.4, 0, 0.2, 1),
    color 280ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social:hover { transform: translateY(-1px); color: #FFFFFF; }
.footer__social--ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer__social--li:hover {
  background: #0A66C2;
}
.footer__social:focus-visible {
  outline: 2px solid var(--mb-blue-elec);
  outline-offset: 3px;
}

/* ---------- Tweaks panel (optional) ---------- */
.tweaks-panel {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  background: #fff; border: 1px solid var(--mb-gray-300); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 18px; width: 280px;
  font-family: var(--font-body); font-size: 13px;
  display: none;
}
.tweaks-panel.is-open { display: block; }
.tweaks-panel h5 { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin: 0 0 12px; letter-spacing: -0.01em; }
.tweaks-panel .tweak-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.tweaks-panel label { font-size: 12px; font-weight: 600; color: var(--mb-gray-500); text-transform: uppercase; letter-spacing: 0.06em; }
.tweaks-panel .seg { display: flex; gap: 4px; padding: 4px; background: #F5F5F5; border-radius: 8px; }
.tweaks-panel .seg button { flex: 1; padding: 8px 10px; border: 0; background: transparent; border-radius: 6px; font-size: 12px; font-weight: 500; cursor: pointer; color: var(--mb-gray-500); transition: all 200ms; }
.tweaks-panel .seg button.is-active { background: #fff; color: var(--mb-black); box-shadow: var(--shadow-xs); }
.tweaks-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 48px; height: 48px; border-radius: 999px; border: 0;
  background: var(--mb-black); color: #fff; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}

/* ============ PROCESS / MÉTHODE — cards enrichies ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 56px); }
.step {
  position: relative; background: #fff; border: 1px solid #E5E5E5; border-radius: 16px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.step:hover { transform: translateY(-6px); border-color: #3B82F6; box-shadow: 0 18px 40px rgba(30,58,138,.12); }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; background: #3B82F6; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
}
.step__time { font-size: 12px; font-weight: 600; color: #3B82F6; background: #EFF6FF; padding: 6px 13px; border-radius: 999px; white-space: nowrap; }
.step h3 { font-size: 19px; line-height: 1.3; }
.step p { color: #6B7280; font-size: 15px; line-height: 1.55; margin: 0; }
.step__deliver { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid #F0F0F0; display: flex; flex-direction: column; gap: 9px; }
.step__deliver li { position: relative; padding-left: 26px; font-size: 13.5px; font-weight: 500; color: #0A0A0A; line-height: 1.35; }
.step__deliver li::before { content: ""; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; background: #EFF6FF; }
.step__deliver li::after { content: ""; position: absolute; left: 5.5px; top: 4px; width: 5px; height: 8px; border: 2px solid #3B82F6; border-top: 0; border-left: 0; transform: rotate(45deg); }
@media (max-width: 1024px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ============ ABOUT — stats (3M€ / 6 chiffres) ============ */
.about__stats { display: flex; gap: 56px; margin: 28px 0 6px; }
.about__stats .mstat { text-align: left; }
.about__stats .mstat__num { font-size: clamp(36px, 4.5vw, 52px); }
.about__stats .mstat__lbl { margin-inline: 0; max-width: 200px; }
@media (max-width: 560px) { .about__stats { gap: 32px; } }

/* ============ Césures contrôlées (desktop uniquement) ============ */
.br-desk { display: none; }
@media (min-width: 1025px) { .br-desk { display: inline; } }

/* ============ INSTAGRAM — reels réels ============ */
.insta { background: #fff; }
.insta__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.insta__p { color: #6B7280; max-width: 52ch; margin: 18px 0 28px; line-height: 1.65; }
.insta__btn-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.insta__reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; }
.insta__reel {
  position: relative; display: block; border-radius: 18px; overflow: hidden;
  aspect-ratio: 9 / 16; background: #0A0A0A;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 28px rgba(30,58,138,.14);
  transition: transform .25s cubic-bezier(.23,1,.32,1), box-shadow .25s;
}
.insta__reel:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 20px 44px rgba(30,58,138,.2); }
.insta__reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.insta__reel-overlay {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,10,10,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
@media (max-width: 860px) {
  .insta__reels {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 calc(-1 * var(--container-pad)); padding: 4px var(--container-pad) 12px;
    max-width: none; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .insta__reels::-webkit-scrollbar { display: none; }
  .insta__reel { flex: 0 0 64vw; scroll-snap-align: center; }
}

/* ============ Synthèse concours agents : hero + méthode ============ */

/* Hero variante A (validée) : H1 noir intégral, fond épuré sans points */
.hero__type { display: inline; }
.hero__type-text { color: inherit; }
.hero__orb--halo { display: none; }
.hero__orb--main { opacity: 0.4; }
.hero::after { display: none; }

/* Carte 01 cliquable */
.bento-card--link { text-decoration: none; color: inherit; cursor: pointer; display: block; }
.bento-card__cta-hint {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  font-size: 14px; font-weight: 600; color: #3B82F6;
}
.bento-card__cta-hint svg { width: 16px; height: 16px; transition: transform 240ms var(--ease-out); }
.bento-card--link:hover .bento-card__cta-hint svg { transform: translateX(4px); }

/* Cartes 02/03 : visuels révélés sur desktop (ils existaient, cachés) */
@media (min-width: 769px) {
  .bento-card--sm { display: flex; flex-direction: column; }
  .bento-card--sm .bento-visual--mobile {
    display: block;
    margin-top: auto;
    padding-top: 18px;
  }
  .bento-card--sm .bento-visual--mobile .m-plan,
  .bento-card--sm .bento-visual--mobile .m-stack-bento { width: 100%; max-width: 100%; }
}

/* Valeurs du plan d'audit en badges */
.m-plan__val {
  background: rgba(59, 130, 246, 0.08);
  color: #1E3A8A;
  padding: 3px 9px;
  border-radius: 8px;
  font-weight: 600;
}
.m-plan__val--ghost { background: rgba(241, 245, 249, 0.9); color: #6B7280; }

/* Barres d'audit qui se remplissent au survol de la carte */
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover .m-plan__bar > span {
    animation: planBarFill 700ms cubic-bezier(0.23, 1, 0.32, 1);
  }
}
@keyframes planBarFill { from { width: 0; } }
@media (min-width: 769px) {
  .bento-card--lg .bento-card__split { height: 100%; align-items: center; }
}

/* ============ Densification méthode (retours Mohamed) ============ */
@media (min-width: 769px) {
  .bento-card--sm { padding: 20px 22px; }
  .bento-card--sm .bento-visual--mobile { padding-top: 14px; }
  .bento-card--sm .bento-desc--sm { margin-bottom: 0; }
  /* Carte 01 : visuel agrandi pour remplir la hauteur */
  .bento-card--lg .m-call-bento { width: min(380px, 100%); padding: 26px 28px; }
  .bento-card--lg .m-call-bento__title { font-size: 19px; }
  .bento-card--lg .m-call-bento__date { font-size: 11px; }
}

/* ============ Compression carte 01 + rotation campagnes ============ */
.m-deploy__name { transition: opacity 220ms ease, transform 220ms ease; }
.m-deploy__name.is-swapping { opacity: 0; transform: translateY(5px); }
@media (min-width: 769px) {
  .bento { gap: 20px; }
  .bento-card--sm { padding: 16px 20px; }
  .bento-card--sm .bento-visual--mobile { padding-top: 10px; }
  .bento-card--sm .bento-title--sm { margin-bottom: 4px; }
  .bento-card--sm .m-plan { padding: 14px 16px; }
  .bento-card--sm .m-plan__head { margin-bottom: 8px; }
  .bento-card--sm .m-plan__row { margin-bottom: 7px; }
  .bento-card--sm .m-deploy { padding: 8px 13px; }
  .bento-card--sm .m-stack-bento { gap: 7px; }
  /* Carte 01 : visuel encore agrandi pour occuper la hauteur restante */
  .bento-card--lg { padding: 24px 32px; }
  .bento-card--lg .m-call-bento { width: min(430px, 100%); padding: 30px 32px; }
  .bento-card--lg .m-call-bento__title { font-size: 21px; }
  .bento-card--lg .m-call-bento__cta { font-size: 14px; padding: 12px 16px; }
}

/* ============ Méthode : carte 01 pleine largeur (fin du vide) ============ */
@media (min-width: 769px) {
  .bento { grid-template-rows: none; grid-auto-rows: auto; }
  .bento-card--lg { grid-column: 1 / span 12; grid-row: auto; padding: 28px 32px; }
  .bento-card--lg .bento-card__split { align-items: center; height: auto; }
  .bento-card--lg .bento-card__split-text { max-width: 52ch; }
  .bento-card--sm { grid-column: span 6; grid-row: auto; }
}


/* ============ Boutons pills (caractere facon L'Effet Marketing, palette MB) ============ */
.btn {
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.btn--lg { font-size: 14px; padding: 17px 32px; }
.btn--primary {
  background: #3B82F6;
  border: 2px solid #3B82F6;
  color: #fff;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.btn--primary:hover {
  background: #1E3A8A;
  border-color: #1E3A8A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
}
.btn--secondary {
  background: transparent;
  border: 2px solid #1E3A8A;
  color: #1E3A8A;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn--secondary:hover {
  background: #1E3A8A;
  color: #fff;
  transform: translateY(-2px);
}

/* ============ H1 cinétique + surligneur + boutons signature ============ */

/* "Google Ads" souligné main levée (trait derrière les lettres) */
.hero__type-text { position: relative; display: inline-block; z-index: 0; }
.hero__underline {
  position: absolute; z-index: -1;
  left: 0.02em; right: 0.02em; bottom: 0.01em;
  width: calc(100% - 0.04em); height: 0.2em; overflow: visible;
}
.hero__underline path {
  stroke: #3B82F6; stroke-width: 8; fill: none; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
}
.hero.is-loaded .hero__underline path {
  animation: heroUnderlineDraw 650ms cubic-bezier(0.4, 0, 0.2, 1) 750ms forwards;
}
@keyframes heroUnderlineDraw { to { stroke-dashoffset: 0; } }

/* "Accélérez" : cascade compressée + inclinaison de vitesse qui se redresse */
.hero__h1 .letter { transition-delay: var(--ldelay, calc(min(var(--li, 0) * 9ms, 250ms) + 60ms)); }
.hero__h1 .word--accel .letter { transform: translateX(-10px) translateY(8px) skewX(8deg); }
.hero.is-loaded .word--accel .letter { transform: translateX(0) translateY(0) skewX(0deg); }

/* "croissance" : montée avec ressort + surligneur marqueur derrière */
.hero__h1 .word--growth { position: relative; z-index: 0; }
.hero__h1 .word--growth .letter {
  transform: translateY(28px) scale(0.97);
  transition-timing-function: cubic-bezier(0.34, 1.45, 0.64, 1);
}
.hero__h1 .word--growth::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.06em; right: -0.06em; bottom: 0.02em; height: 0.5em;
  background: #DBEAFE; border-radius: 0.09em;
  transform: rotate(-1deg) scaleX(0); transform-origin: left center;
  transition: transform 480ms cubic-bezier(0.23, 1, 0.32, 1) 500ms;
}
.hero.is-loaded .hero__h1 .word--growth::before { transform: rotate(-1deg) scaleX(1); }

/* ============ Boutons signature ============ */
.btn { overflow: hidden; }
.btn:active { transform: scale(0.97) !important; }

/* Primaire : remplissage bleu profond au survol + flèche pastille qui pivote vers le haut */
.btn--primary {
  border: 0;
  background: linear-gradient(#1E3A8A, #1E3A8A) left center / 0% 100% no-repeat, #3B82F6;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.32);
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: background-size 320ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 220ms ease, transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.btn--primary:hover {
  background-size: 100% 100%, auto;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.4);
}
.btn--primary .arrow {
  box-sizing: content-box;
  width: 15px; height: 15px; padding: 5px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), background 300ms ease;
}
.btn--primary:hover .arrow {
  transform: rotate(-45deg);
  background: rgba(255, 255, 255, 0.28);
}

/* Secondaire : contour bleu profond, remplissage au survol, flèche qui glisse */
.btn--secondary {
  background: transparent;
  border: 2px solid #1E3A8A;
  color: #1E3A8A;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: background 220ms cubic-bezier(0.23, 1, 0.32, 1), color 220ms ease,
              transform 180ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 220ms ease;
}
.btn--secondary:hover {
  background: #1E3A8A;
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.22);
}
.btn--secondary .arrow { transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1); }
.btn--secondary:hover .arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .hero__h1 .word--growth::before { transition: none; transform: rotate(-1deg) scaleX(1); }
  .hero__underline path { animation: none; stroke-dashoffset: 0; }
  .btn--primary, .btn--secondary, .btn--primary .arrow, .btn--secondary .arrow { transition: none; }
}

/* ============ Logos clients réels dans les cas ============ */
.case__logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* ============ Corrections retours Mohamed (2026-08-05 soir) ============ */
/* Section réseaux centrée */
.insta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.insta__reels { margin-left: auto; margin-right: auto; }
/* Logo Pneu Station sombre : la vignette prend la couleur du logo */
.case__logo--dark { background: #1B1B1B; padding: 0; overflow: hidden; }
.case__logo--dark img { width: 100%; height: 100%; object-fit: cover; }
/* Fix débordement horizontal mobile : la colonne "Qui je suis" */
.about__text { min-width: 0; }
.about__stats { flex-wrap: wrap; }
@media (max-width: 560px) {
  .about__stats { gap: 20px 36px; }
}
/* Nav : bouton contact compact sur mobile */
@media (max-width: 560px) {
  .nav__cta .btn { padding: 9px 14px; font-size: 11px; letter-spacing: 0.04em; }
  .nav__cta .btn .arrow { display: none; }
}
/* Cartes cas clients mobiles : moins de vide */
@media (max-width: 768px) {
  .case { padding: 22px 20px; gap: 14px; }
  .case__logo { width: 64px; height: 64px; border-radius: 12px; padding: 12px; }
  .case__logo--dark { padding: 0; }
  .case__result { font-size: 21px; }
  .case__desc { font-size: 14px; }
}

/* ============ Retours mobile (H1 2 lignes, bento, Qui je suis) ============ */
/* Mini photo à côté du nom : cachée sur desktop (grande photo en colonne) */
.about__idrow { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.about__miniphoto { display: none; }

@media (max-width: 560px) {
  /* H1 sur 2 lignes : taille fluide calée sur la largeur */
  .hero__h1 { font-size: 7.3vw !important; letter-spacing: -0.03em; }
}
@media (max-width: 768px) {
  /* Bento : les visuels des cartes 02/03 collent en bas, plus de vide */
  .bento-card--sm { display: flex; flex-direction: column; }
  .bento-card--sm .bento-visual--mobile { margin-top: auto; }
  /* Carte 01 plus compacte pour réduire la hauteur commune du carrousel */
  .bento-card--lg { padding: 22px 20px; }
  .bento-card--lg .m-call-bento { width: 100%; padding: 18px 20px; }
  .bento-card--lg .m-call-bento__title { font-size: 16px; }
  .bento-card__cta-hint { margin-top: 12px; padding-top: 12px; }

  /* Qui je suis : mini photo + nom côte à côte, grande photo masquée */
  .about__photo { display: none; }
  .about__miniphoto {
    display: block; width: 76px; height: 76px; border-radius: 50%;
    object-fit: cover; flex: 0 0 auto;
    border: 3px solid #fff; box-shadow: 0 4px 14px rgba(30, 58, 138, 0.18);
  }
  .about__idrow h2 { font-size: 26px; }
  .about__idrow .about__role { margin-top: 4px; font-size: 14px; }
  .about__copy p { font-size: 15px; line-height: 1.6; }
  .about__sig { font-size: 14px; }
  .about__creds li { font-size: 13.5px; }
}

/* ============ Mini-graphiques cartes 02/03 (comblent le vide mobile) ============ */
.m-midviz { display: none; }
@media (max-width: 768px) {
  .bento-card--sm { justify-content: space-between; }
  .bento-card--sm .bento-visual--mobile { margin-top: 0; }
  .m-midviz { display: block; margin-top: 12px; padding: 12px 14px; }
  .m-midviz--chips { display: flex; flex-wrap: wrap; gap: 7px; }
  .m-chip {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px;
    background: #fff; border: 1px solid rgba(30, 58, 138, 0.12); color: #0A0A0A;
  }
  .m-chip i { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
  .m-chip--ok i { background: #10B981; }
  .m-chip--no { color: #6B7280; }
  .m-chip--no i { background: #EF4444; }
  .m-midviz--spark svg { width: 100%; height: 34px; display: block; margin-top: 6px; }
  .m-spark__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: #0A0A0A; }
  .m-spark__up { color: #10B981; font-weight: 700; }
}

/* Qui je suis : les chiffres restent sur une seule ligne en mobile */
@media (max-width: 560px) {
  .about__stats { flex-wrap: nowrap; gap: 30px; margin: 22px 0 4px; }
  .about__stats .mstat { min-width: 0; }
  .about__stats .mstat__num { font-size: 30px; }
  .about__stats .mstat__lbl { font-size: 11px; max-width: 150px; margin-top: 5px; }
}


/* ============ Corrections audit (2026-08-09) ============ */
/* Boutons primaires : contraste AA */
.btn--primary { background: linear-gradient(#1E3A8A, #1E3A8A) left center / 0% 100% no-repeat, #2563EB; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32); }
.nav__cta .btn--primary { background: #0A0A0A; }
/* Focus global visible */
:where(a, button, [tabindex]):focus-visible { outline: 3px solid #1E3A8A; outline-offset: 3px; border-radius: 6px; }
/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #0A0A0A; color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 8px; }
/* Footer h3 = ancien h4 */
.footer__h { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin: 0 0 14px; }
/* FAQ : réponses hors arbre a11y quand repliées */
.faq__a { visibility: hidden; transition: max-height 320ms ease, visibility 0s linear 320ms; }
.faq__item.is-open .faq__a { visibility: visible; transition: max-height 320ms ease, visibility 0s; }
/* Dots carrousel : cible tactile 44px invisible */
.bento-dot, .cases-dot { position: relative; }
.bento-dot::after, .cases-dot::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; }
/* Nav : lien local + burger */
.nav__links-local { color: var(--mb-blue-deep) !important; font-weight: 600 !important; opacity: 1 !important; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; margin-left: 6px; }
.nav__toggle span { display: block; height: 2px; width: 22px; background: #0A0A0A; border-radius: 2px; transition: transform 220ms ease, opacity 220ms ease; }
.nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 880px) {
  .nav__toggle { display: flex; }
  .nav__cta { display: flex; align-items: center; }
  .nav__links { display: none; position: fixed; top: 64px; left: 12px; right: 12px; flex-direction: column; gap: 0; background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 8px; box-shadow: 0 18px 48px rgba(10,10,10,0.14); z-index: 90; }
  .nav.is-menu-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 16px; font-size: 16px; border-radius: 10px; opacity: 1; }
  .nav__links a:hover { background: #F3F4F6; }
}
@media (max-width: 560px) {
  .nav__cta .btn { padding: 12px 16px; font-size: 12px; min-height: 40px; }
}
/* Texte courant minimum 13-14px dans les visuels */
.deco-row, .deco-step { font-size: 13px; }
@media (max-width: 768px) { .case__desc { font-size: 14.5px; } }
/* Verrou définitif du scroll horizontal (iOS Safari ignore overflow-x sur body seul) */
html { overflow-x: clip; }
body { overflow-x: clip; }
