/* ============================================================
   Demacia Consulting — editorial / hand-crafted aesthetic
   Montserrat · cream background · navy ink · #7FD957 · #0073E6
   ============================================================ */

:root {
  --cream:        #FFFFFF;
  --cream-2:      #F2F7F7;
  --paper:        #FFFFFF;
  --ink:          #05224E;
  --ink-2:        #2A4A72;
  --muted:        #6B8099;
  --rule:         rgba(5, 34, 78, 0.14);
  --rule-strong:  rgba(5, 34, 78, 0.55);
  --green:        #38A486;
  --green-deep:   #026B6A;
  --blue:         #236DBF;
  --blue-deep:    #0D3D7E;

  --maxw:         1240px;
  --gutter:       40px;

  --font:         "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --t-1:          clamp(48px, 7.2vw, 96px);
  --t-2:          clamp(36px, 4.6vw, 60px);
  --t-3:          24px;
  --t-body:       17px;
  --t-small:      13px;
  --t-micro:      11px;
}

* { box-sizing: border-box; }

/* Disable text/content selection everywhere (form fields stay editable) */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, select,
a[href^="mailto:"], a[href^="tel:"], address,
.contact-direct {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

html { scroll-behavior: smooth; interpolate-size: allow-keywords; }

/* ============== INTEGRATIONS (HUB ANIMÉ) ============== */
.integrations { padding-top: 96px; padding-bottom: 120px; }
.integrations-graph {
  width: 100%;
  max-width: 800px;
  margin: 32px auto 0;
  position: relative;
}
.integrations-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Connection lines */
.conn-line {
  stroke: rgba(5, 34, 78, 0.28);
  stroke-width: 1.4;
  fill: none;
  stroke-dasharray: 4 7;
  animation: connDashShift 1.8s linear infinite;
}
@keyframes connDashShift {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -18; }
}

/* Travelling pulses */
.pulse {
  filter: drop-shadow(0 0 6px currentColor);
}
.pulse-green { fill: var(--green); color: var(--green); }
.pulse-blue  { fill: var(--blue);  color: var(--blue);  }
.conn-pulses-mobile { display: none; }
.mobile-pulse {
  opacity: 0.95;
  filter: drop-shadow(0 0 12px currentColor);
}

/* Outer tool nodes */
.conn-node .node-bg {
  fill: #ffffff;
  stroke: rgba(14, 27, 58, 0.12);
  stroke-width: 1;
  filter: drop-shadow(0 6px 14px rgba(14, 27, 58, 0.08));
  transition: stroke .25s ease, transform .25s cubic-bezier(.2,.7,.2,1), filter .25s ease;
}
.conn-node:hover .node-bg {
  stroke: var(--green);
  filter: drop-shadow(0 10px 22px rgba(127, 217, 87, 0.30));
}
.conn-node {
  cursor: default;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.conn-node .node-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-anchor: middle;
  fill: var(--ink-2);
  letter-spacing: 0.02em;
}

/* Center hub */
.center-ring {
  fill: none;
  stroke: rgba(14, 27, 58, 0.10);
  stroke-width: 1;
  animation: connRingPulse 2.6s ease-in-out infinite;
}
.center-bg {
  fill: #fff;
  stroke: rgba(5, 34, 78, 0.08);
  stroke-width: 1;
  filter: drop-shadow(0 12px 32px rgba(5, 34, 78, 0.18));
}
.center-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-anchor: middle;
  fill: var(--cream);
}
.center-sub {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-anchor: middle;
  fill: rgba(244, 240, 232, 0.55);
  text-transform: uppercase;
}
@keyframes connRingPulse {
  0%, 100% { stroke-width: 1; opacity: 0.4; r: 78; }
  50%      { stroke-width: 1.5; opacity: 1; r: 86; }
}
@media (prefers-reduced-motion: reduce) {
  .conn-line, .center-ring { animation: none; }
  /* Keep .pulse visible — its motion is SMIL animateMotion, not CSS keyframes */
}
@media (max-width: 720px) {
  .conn-node .node-label { font-size: 18px; }
  .integrations-graph { max-width: 100%; }
  .conn-pulses { display: none; }
  .conn-pulses-mobile { display: inline; }
}

/* ============== CTA FINALE (FULL-BLEED) ============== */
.cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 18% 30%, rgba(56, 164, 134, 0.45), transparent 65%),
    radial-gradient(ellipse 60% 50% at 82% 70%, rgba(35, 109, 191, 0.45), transparent 65%),
    radial-gradient(ellipse 45% 40% at 75% 20%, rgba(56, 164, 134, 0.25), transparent 70%),
    radial-gradient(ellipse 50% 45% at 30% 80%, rgba(35, 109, 191, 0.22), transparent 70%),
    var(--ink);
  padding: 140px 0 160px;
  text-align: center;
}
.cta-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: blur(55px) saturate(1.4);
  opacity: 0.9;
  pointer-events: none;
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(5, 34, 78, 0.6) 100%);
  z-index: 1;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
.cta-final-inner {
  position: relative;
  z-index: 2;
}
.cta-num.cta-num-light {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  letter-spacing: 0.24em;
  margin-bottom: 32px;
}
.cta-num.cta-num-light::before {
  background: rgba(255, 255, 255, 0.9);
  width: 20px;
}
.cta-final-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--cream);
}
.cta-final-em {
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.cta-final-lede {
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.78);
}
.cta-final-btn {
  font-size: 16px;
  padding: 20px 32px;
  border-radius: 8px;
}
.cta-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 28px 0 0;
  flex-wrap: wrap;
}
.cta-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}
.cta-trust-item::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--green);
  flex-shrink: 0;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
@media (max-width: 640px) {
  .cta-trust { gap: 18px 24px; margin-top: 24px; }
  .cta-trust-item { font-size: 12.5px; }
}

/* ============== INTRO LOADER ============== */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .55s cubic-bezier(.2,.7,.2,1);
}
.intro-loader.is-done {
  opacity: 0;
  pointer-events: none;
}
.intro-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro-logo-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  opacity: 0;
  transform: scale(0.92);
  animation: introLogoIn .4s cubic-bezier(.2,.7,.2,1) forwards;
}
.intro-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-logo-base {
  filter: grayscale(100%) opacity(0.18);
}
.intro-logo-fill {
  clip-path: inset(100% 0 0 0);
  animation: introFillUp 1.4s cubic-bezier(.4,0,.2,1) .3s forwards;
}
@keyframes introLogoIn { to { opacity: 1; transform: scale(1); } }
@keyframes introFillUp { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .intro-loader { transition: none; }
  .intro-logo-wrap { animation: none; opacity: 1; transform: none; }
  .intro-logo-fill { animation: none; clip-path: inset(0 0 0 0); }
}

/* Lenis smooth scroll — required CSS hooks */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  z-index: 0;
}
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============== HEADER — floating glass pill ============== */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(5, 34, 78, 0.06);
  border-radius: 100px;
  box-shadow: 0 4px 24px -4px rgba(5, 34, 78, 0.06),
              0 1px 2px rgba(5, 34, 78, 0.03);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.site-header.is-compact {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px -8px rgba(5, 34, 78, 0.12),
              0 1px 3px rgba(5, 34, 78, 0.05);
  border-color: rgba(5, 34, 78, 0.08);
  top: 12px;
}
body.menu-open .site-header {
  z-index: 60;
}
.header-row,
.brand-mark,
.btn.btn-sm {
  transition: height .28s cubic-bezier(.2,.7,.2,1),
              width .28s cubic-bezier(.2,.7,.2,1),
              padding .28s cubic-bezier(.2,.7,.2,1),
              font-size .28s cubic-bezier(.2,.7,.2,1);
}
.site-header.is-compact .header-row { height: 52px; }
.site-header.is-compact .brand-mark { width: auto; height: 40px; }
.site-header.is-compact .nav a { font-size: 13px; padding: 6px 14px; }
.site-header.is-compact .btn.btn-sm { padding: 8px 18px; font-size: 12px; }

/* ============== HERO KICKER ============== */
.hero-kicker {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--green);
}

/* ============== HERO STAGGER (initial page load) ============== */
.hero .hero-kicker,
.hero .display,
.hero .lede,
.hero-ctas,
.hero-proof,
.hero-visual,
.hero-trust,
.site-header .brand,
.site-header .nav,
.site-header .header-row > .btn {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s cubic-bezier(.2,.7,.2,1),
              transform .65s cubic-bezier(.2,.7,.2,1);
}
body.is-loaded .site-header .brand        { opacity: 1; transform: none; transition-delay:  40ms; }
body.is-loaded .site-header .nav          { opacity: 1; transform: none; transition-delay: 120ms; }
body.is-loaded .site-header .header-row > .btn { opacity: 1; transform: none; transition-delay: 200ms; }
body.is-loaded .hero .hero-kicker         { opacity: 1; transform: none; transition-delay: 180ms; }
body.is-loaded .hero .display             { opacity: 1; transform: none; transition-delay: 260ms; }
body.is-loaded .hero .lede                { opacity: 1; transform: none; transition-delay: 340ms; }
body.is-loaded .hero-ctas                 { opacity: 1; transform: none; transition-delay: 420ms; }
body.is-loaded .hero-proof                { opacity: 1; transform: none; transition-delay: 500ms; }
body.is-loaded .hero-visual              { opacity: 1; transform: none; transition-delay: 380ms; }
body.is-loaded .hero-trust               { opacity: 1; transform: none; transition-delay: 580ms; }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-kicker, .hero .display, .hero .lede, .hero-ctas,
  .hero-proof, .hero-visual, .hero-trust,
  .site-header .brand, .site-header .nav, .site-header .header-row > .btn {
    opacity: 1; transform: none; transition: none;
  }
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 20px;
  max-width: none;
  padding: 0 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: auto; height: 48px; object-fit: contain; }
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  color: var(--ink);
  border-radius: 100px;
  transition: color .25s ease, background .25s ease;
  white-space: nowrap;
}
.nav a::after { content: none; }
.nav a:hover {
  color: var(--green-deep);
  background: rgba(56, 164, 134, 0.08);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 15px; }

.btn-fill {
  background: var(--ink);
  color: var(--cream);
}
.btn-fill:hover { background: var(--green-deep); color: #fff; }
.btn-fill .arr { background: var(--cream); }
.btn-fill:hover .arr { background: #fff; }

.header-cta.btn-fill {
  background: var(--green-deep);
  color: #fff;
  border-radius: 100px;
  border-color: var(--green-deep);
}
.header-cta.btn-fill:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.header-cta .arr { background: #fff; }

/* Hero primary CTA — brand blue */
.hero-ctas .btn-fill {
  background: var(--blue);
  color: #fff;
}
.hero-ctas .btn-fill:hover { background: var(--blue-deep); color: #fff; }
.hero-ctas .btn-fill .arr,
.hero-ctas .btn-fill:hover .arr { background: #fff; }

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--blue); color: var(--cream); border-color: var(--blue); }

.arr {
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
  display: inline-block;
  transition: width .25s ease;
}
.arr::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arr { width: 32px; }

/* ============== TYPOGRAPHY HELPERS ============== */
.display {
  font-size: var(--t-1);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}
.h-display {
  font-size: var(--t-2);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.h-display em {
  font-style: normal;
  color: var(--green);
}
.kicker,
.sec-num,
.cta-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sec-num::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--ink);
  display: inline-block;
  vertical-align: middle;
}
.lede,
.sec-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 62ch;
}
.lede strong,
.sec-lede strong {
  font-weight: 700;
  color: var(--ink-2);
}

em { font-style: italic; }

/* ============== HERO ============== */
.hero {
  min-height: 100vh;
  margin-top: 0;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 14% 12%, rgba(56, 164, 134, 0.12), transparent 70%),
    radial-gradient(ellipse 55% 50% at 86% 16%, rgba(35, 109, 191, 0.12), transparent 70%),
    radial-gradient(ellipse 65% 55% at 62% 96%, rgba(35, 109, 191, 0.06), transparent 75%),
    #FFFFFF;
}
.hero .wrap.hero-grid { position: relative; z-index: 2; max-width: 1560px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
.hero > * { position: relative; z-index: 1; }
.hero > .wrap { padding-left: 32px; padding-right: 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
  flex: 1;
  padding: 40px 0 48px;
}
.hero-text {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text .display {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.hero-text .display em {
  font-style: normal;
  color: var(--green);
}
/* Typewriter — a hidden "ghost" reserves the final space so nothing shifts,
   the live text is typed on top in absolute flow. */
.type-line.tw { position: relative; display: inline-block; }
.type-line .tw-ghost { visibility: hidden; }
.type-line .tw-live { position: absolute; left: 0; right: 0; top: 0; }
.tw-live.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.06em;
  height: 0.95em;
  margin-left: 0.06em;
  vertical-align: -0.08em;
  background: var(--green);
  border-radius: 1px;
}
.hero-text .lede {
  max-width: 500px;
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 40px;
}
.hero-ctas .btn-fill {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 18px 32px;
  font-size: 15px;
  border-color: var(--ink);
}
.hero-ctas .btn-fill:hover {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}
.hero-ctas .btn-fill .arr,
.hero-ctas .btn-fill:hover .arr { background: #fff; }
.hero-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-link span {
  transition: transform .2s ease;
  display: inline-block;
}
.hero-link:hover { color: var(--green-deep); }
.hero-link:hover span { transform: translateX(4px); }

/* Social proof micro-stats */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-proof-item {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.hero-proof-item strong {
  font-weight: 800;
  color: var(--ink);
}
.hero-proof-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(5, 34, 78, 0.25);
  flex-shrink: 0;
}

/* Trust bar — static logo grid */
.hero-trust {
  padding: 32px 0 48px;
  border-top: 1px solid var(--rule);
}
.hero-trust-label {
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
}
.trust-grid img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity .25s ease, filter .25s ease;
}
.trust-grid img:hover {
  opacity: 1;
  filter: grayscale(0);
}
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 32px; }
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .trust-grid img { max-height: 36px; }
  .hero-trust { padding: 24px 0 32px; }
  .hero-trust-label { margin-bottom: 20px; }
}

@media (min-width: 1024px) {
  .hero > .wrap { padding-left: 64px; padding-right: 64px; }
}

/* ============== HERO VISUAL — Dashboard mock ============== */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  perspective: 1200px;
}
.hero-mock {
  position: relative;
  width: 100%;
  max-width: 520px;
  transform: translate3d(0, var(--py, 0px), 0) rotateY(-4deg) rotateX(2deg);
  transform-style: preserve-3d;
  will-change: transform;
}
.mock-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(5, 34, 78, 0.08);
  border-radius: 16px;
  box-shadow:
    0 24px 64px -16px rgba(5, 34, 78, 0.18),
    0 8px 20px -8px rgba(5, 34, 78, 0.08);
  overflow: hidden;
}
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(5, 34, 78, 0.06);
  background: rgba(5, 34, 78, 0.02);
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(5, 34, 78, 0.12);
}
.mock-topbar-title {
  margin-left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.mock-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
}
.mock-kpi {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: rgba(5, 34, 78, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(5, 34, 78, 0.04);
}
.mock-kpi-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-kpi-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.mock-kpi-value sup {
  font-size: 0.4em;
  font-weight: 500;
  vertical-align: super;
  margin-left: 1px;
}
.mock-kpi:nth-child(1) .mock-kpi-value { color: var(--green); }
.mock-kpi:nth-child(2) .mock-kpi-value { color: var(--blue); }
.mock-kpi:nth-child(4) .mock-kpi-value { color: var(--green-deep); }
.mock-kpi-bar {
  height: 4px;
  background: rgba(5, 34, 78, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.mock-kpi-bar span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(0);
  animation: mockBarFill 1.6s cubic-bezier(.4,0,.2,1) 1.8s forwards;
}
.mock-kpi:nth-child(2) .mock-kpi-bar span { background: var(--blue); animation-delay: 2.0s; }
.mock-kpi:nth-child(3) .mock-kpi-bar span { background: var(--ink-2); animation-delay: 2.2s; }
.mock-kpi:nth-child(4) .mock-kpi-bar span { background: var(--green-deep); animation-delay: 2.4s; }
@keyframes mockBarFill { to { transform: scaleX(1); } }
.mock-notif {
  position: absolute;
  top: -20px;
  right: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid rgba(5, 34, 78, 0.06);
  border-radius: 14px;
  box-shadow: 0 12px 36px -8px rgba(5, 34, 78, 0.15);
  animation: mockNotifIn .6s cubic-bezier(.2,.7,.2,1) 2.8s both;
  z-index: 2;
}
.mock-notif-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.mock-notif-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.mock-notif-text {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
@keyframes mockNotifIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mock-kpi-bar span { animation: none; transform: scaleX(1); }
  .mock-notif { animation: none; }
  .hero-mock { transform: none; }
}

/* ============== SECTION ============== */
.section {
  padding: 96px 0;
}
/* Alternate section backgrounds for subtle, line-free separation */
main > section:nth-of-type(even):not(.cta-strip) {
  background: var(--cream-2);
}
.sec-head {
  max-width: 1160px;
  margin: 0 auto 56px;
  text-align: center;
}
.sec-head:not(.sticky-head) .sec-lede {
  margin-left: auto;
  margin-right: auto;
}
.sec-head.sticky-head {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

/* ============== SERVICES — Bento cards grid ============== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  position: relative;
  padding: 36px 32px 32px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: default;
  transition:
    transform .4s cubic-bezier(.2,.7,.2,1),
    box-shadow .4s ease,
    border-color .4s ease;
}
.svc-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover {
  border-color: rgba(56, 164, 134, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(5, 34, 78, 0.12);
}
.svc-card-num {
  font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(5, 34, 78, 0.10);
  margin: 0 0 32px;
  display: block;
  transition: color .45s ease, text-shadow .45s ease, transform .45s ease;
}
.svc-card:hover .svc-card-num {
  color: var(--green);
  text-shadow: 0 0 28px rgba(56, 164, 134, 0.45);
  transform: translateY(-2px);
}
.svc-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink);
}
.svc-card-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { min-height: 0; padding: 28px 26px 26px; }
  .svc-card-num { font-size: 44px; margin-bottom: 24px; }
  .svc-card-title { font-size: 18px; }
}

/* ============== CAS D'USAGE — 3-col story cards ============== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 40px 32px 28px;
  overflow: hidden;
  transition:
    transform .4s cubic-bezier(.2,.7,.2,1),
    box-shadow .4s ease,
    border-color .4s ease;
}
.case-card-accent {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
}
.case-card:nth-child(2) .case-card-accent {
  background: linear-gradient(90deg, var(--blue) 0%, var(--ink) 100%);
}
.case-card:nth-child(3) .case-card-accent {
  background: linear-gradient(90deg, var(--green) 0%, var(--ink) 100%);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 164, 134, 0.3);
  box-shadow: 0 24px 48px -20px rgba(5, 34, 78, 0.18);
}
.case-card-sector {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-card-title {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.case-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.case-card-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.case-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.case-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.case-card-size {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.case-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .25s ease;
}
.case-card-link span {
  transition: transform .25s ease;
  display: inline-block;
}
.case-card-link:hover { color: var(--green-deep); }
.case-card-link:hover span { transform: translateX(4px); }
@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: 1fr; gap: 18px; }
  .case-card { padding: 32px 28px 24px; }
  .case-card-title { font-size: 20px; }
}

/* ============== CASE MODAL (dialog popup) ============== */
.case-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 720px;
  width: calc(100% - 40px);
  max-height: calc(100vh - 40px);
  margin: auto;
  color: var(--ink);
}
.case-modal::backdrop {
  background: rgba(5, 34, 78, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: caseBackdropIn .3s ease;
}
.case-modal[open] {
  animation: caseModalIn .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes caseModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes caseBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.case-modal-inner {
  background: #fff;
  border-radius: 24px;
  padding: 36px 40px 32px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(5, 34, 78, 0.4);
}
.case-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}
.case-modal-sector {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.case-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: rgba(5, 34, 78, 0.05);
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}
.case-modal-close:hover {
  background: rgba(5, 34, 78, 0.1);
  transform: rotate(90deg);
}
.case-modal-close svg { display: block; }
.case-modal-title {
  margin: 0 0 32px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.case-modal-body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 28px;
}
.case-modal-section h3 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-modal-section p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.case-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-modal-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.case-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.case-modal-scope {
  font-size: 13.5px !important;
  letter-spacing: 0.04em;
  color: var(--muted) !important;
}
.case-modal-foot {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.case-modal-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 16px 28px;
  font-size: 14px;
  border-color: var(--ink);
}
.case-modal-cta:hover {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}
@media (max-width: 640px) {
  .case-modal { width: calc(100% - 24px); }
  .case-modal-inner { padding: 28px 24px 24px; max-height: calc(100vh - 48px); }
  .case-modal-title { font-size: 21px; }
}

/* Dead code: ancien .case-studies — conserve pour compatibilite */
.case-studies {
  display: flex;
  flex-direction: column;
}
.case-study {
  position: relative;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  align-items: stretch;
}
.case-study::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 54px;
  height: 2px;
  background: var(--ink);
}
.cs-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 326px;
  background: linear-gradient(150deg, #1B2D54 0%, #0B1326 78%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 34px;
}
.cs-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(125% 120% at 72% 22%, #000 32%, transparent 100%);
  mask-image: radial-gradient(125% 120% at 72% 22%, #000 32%, transparent 100%);
}
.cs-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(88% 68% at 84% 2%, rgba(64, 132, 240, 0.34), transparent 62%);
}
.cs-visual-label {
  position: relative;
  z-index: 1;
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.cs-visual-head {
  position: relative;
  z-index: 1;
}
.cs-visual-rule {
  width: 32px;
  height: 2px;
  background: var(--green);
  margin-bottom: 18px;
}
.cs-visual-sector {
  margin: 0;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: #fff;
}
.cs-body {
  display: flex;
  flex-direction: column;
  padding: 2px 0;
}
.cs-title {
  margin: 0 0 22px;
  font-size: clamp(21px, 1.55vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.cs-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.cs-badge {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  padding: 6px 10px;
  border-radius: 3px;
}
.cs-meta-text {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 38px;
}
.cs-feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-feature img {
  width: 24px;
  height: 24px;
}
.cs-feature p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-2);
}
.cs-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.cs-link span {
  color: var(--blue);
  font-size: 16px;
  transition: transform .25s ease;
}
.cs-link:hover span { transform: translateX(5px); }
@media (max-width: 860px) {
  .case-study {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .cs-features { grid-template-columns: 1fr; gap: 20px; }
  .cs-visual { min-height: 260px; }
}

/* ============== TRANSFORMATION — Vertical phases ============== */
.phases {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.phase {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 40px 48px 40px 0;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 24px;
  align-items: start;
  overflow: hidden;
  transition:
    transform .4s cubic-bezier(.2,.7,.2,1),
    box-shadow .4s ease,
    border-color .4s ease,
    background .4s ease;
}
.phase::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.phase:hover::after { transform: scaleX(1); }
.phase:hover {
  background: #fff;
  border-color: rgba(56, 164, 134, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -20px rgba(5, 34, 78, 0.16);
}
.phase-letter {
  font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(5, 34, 78, 0.08);
  text-align: center;
  padding: 8px 0 0 40px;
  transition: color .45s ease, text-shadow .45s ease, transform .45s ease;
}
.phase:hover .phase-letter {
  color: var(--green);
  text-shadow: 0 0 32px rgba(56, 164, 134, 0.5);
  transform: translateY(-2px);
}
.phase-body {
  padding-right: 8px;
}
.phase-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.phase-sub {
  margin: 0 0 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.phase-desc {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.phase-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.phase-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.phase-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
@media (max-width: 860px) {
  .phase {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 28px;
  }
  .phase-letter {
    font-size: 64px;
    padding: 0;
    text-align: left;
  }
  .phase-body { padding-right: 0; }
  .phase-title { font-size: 22px; }
  .phase-desc { font-size: 15px; }
}

/* ============== MÉTHODE — Sequential progress + swap text ============== */
.method-flow {
  position: relative;
}
.method-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 680px;
  margin: 0 auto 56px;
}
/* Two progress segments: 01→02 and 02→03 */
.method-track::before,
.method-track::after {
  content: "";
  position: absolute;
  top: 27px;
  height: 2px;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 0;
}
.method-track::before {
  left: 28px;
  right: 50%;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: transform 1s cubic-bezier(.4,0,.2,1) 5s;
}
.method-track::after {
  left: 50%;
  right: 28px;
  background: linear-gradient(90deg, var(--blue), var(--ink));
  transition: transform 1s cubic-bezier(.4,0,.2,1) 11s;
}
.method-flow.is-in .method-track::before,
.method-flow.is-in .method-track::after { transform: scaleX(1); }

.method-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(5, 34, 78, 0.18);
  font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: rgba(5, 34, 78, 0.4);
  box-shadow: 0 4px 16px -4px rgba(5, 34, 78, 0.08);
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color .4s ease, color .4s ease, box-shadow .4s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.method-flow.is-in .method-marker[data-phase="1"] {
  border-color: var(--green);
  color: var(--ink);
  box-shadow: 0 4px 18px -4px rgba(56, 164, 134, 0.5);
}
.method-flow.is-in .method-marker[data-phase="2"] {
  border-color: var(--blue);
  color: var(--ink);
  box-shadow: 0 4px 18px -4px rgba(35, 109, 191, 0.5);
  transition-delay: 6s;
}
.method-flow.is-in .method-marker[data-phase="3"] {
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 0 4px 18px -4px rgba(5, 34, 78, 0.45);
  transition-delay: 12s;
}
.method-marker:hover { transform: scale(1.08); }

/* Current phase marker — strong ring */
.method-marker.is-current { transform: scale(1.1); }
.method-marker[data-phase="1"].is-current {
  box-shadow: 0 0 0 6px rgba(56, 164, 134, 0.15), 0 4px 20px -4px rgba(56, 164, 134, 0.55);
}
.method-marker[data-phase="2"].is-current {
  box-shadow: 0 0 0 6px rgba(35, 109, 191, 0.15), 0 4px 20px -4px rgba(35, 109, 191, 0.55);
}
.method-marker[data-phase="3"].is-current {
  box-shadow: 0 0 0 6px rgba(5, 34, 78, 0.12), 0 4px 20px -4px rgba(5, 34, 78, 0.5);
}

/* Text stage — single area, content swaps */
.method-text-stage {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  min-height: 220px;
  text-align: center;
}
.method-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.method-text.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.method-title {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.22;
  color: var(--ink);
}
.method-duration {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-deep);
  background: rgba(56, 164, 134, 0.10);
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-block;
}
.method-text[data-phase="2"] .method-duration {
  color: var(--blue-deep);
  background: rgba(35, 109, 191, 0.10);
}
.method-text[data-phase="3"] .method-duration {
  color: var(--ink);
  background: rgba(5, 34, 78, 0.08);
}
.method-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 540px;
}

@media (prefers-reduced-motion: reduce) {
  .method-track::before,
  .method-track::after,
  .method-marker,
  .method-text {
    transition: none !important;
    transition-delay: 0s !important;
  }
  .method-flow.is-in .method-track::before,
  .method-flow.is-in .method-track::after { transform: scaleX(1) !important; }
}

@media (max-width: 720px) {
  .method-track { margin-bottom: 36px; max-width: 320px; }
  .method-title { font-size: 21px; }
  .method-text-stage { min-height: 200px; }
  .method-desc { font-size: 15px; }
}

/* ============== POURQUOI NOUS — Bento 2×2 (reason + stat) ============== */
.why-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 36px 32px 32px;
  overflow: hidden;
  transition:
    transform .4s cubic-bezier(.2,.7,.2,1),
    box-shadow .4s ease,
    border-color .4s ease;
}
.why-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 164, 134, 0.28);
  box-shadow: 0 24px 48px -20px rgba(5, 34, 78, 0.16);
}
.why-card-num {
  font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 24px;
  transition: color .35s ease;
}
.why-card:hover .why-card-num { color: var(--green-deep); }
.why-card-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.22;
  color: var(--ink);
}
.why-card-desc {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  flex: 1;
}
.why-card-stat {
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.why-card-stat-num {
  margin: 0 0 6px;
  font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  transition: color .4s ease;
}
.why-card:hover .why-card-stat-num { color: var(--green); }
.why-card-stat-num sup {
  font-size: 0.36em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 3px;
  color: var(--green-deep);
}
.why-card:nth-child(2) .why-card-stat-num sup { color: var(--blue-deep); }
.why-card:nth-child(3) .why-card-stat-num sup { color: var(--green-deep); }
.why-card:nth-child(4) .why-card-stat-num sup { color: var(--ink); }
.why-card-stat-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 720px) {
  .why-bento { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 28px 24px; }
  .why-card-stat-num { font-size: 36px; }
}

/* ============== VOTRE INTERLOCUTEUR — Editorial magazine ============== */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.founder-photo {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
}
.founder-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--blue-deep) 0%, var(--ink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 28px 64px -22px rgba(5, 34, 78, 0.4);
}
.founder-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 78% 12%, rgba(56, 164, 134, 0.45), transparent 55%);
}
.founder-initials {
  position: relative;
  font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
  font-size: 144px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.96);
  z-index: 1;
}
.founder-caption {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.founder-caption-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.founder-caption-role {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.founder-content {
  display: flex;
  flex-direction: column;
}
.founder-quote {
  margin: 0 0 36px;
  padding: 0 0 0 28px;
  position: relative;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink);
  border-left: 3px solid var(--green);
}
.founder-quote-mark {
  position: absolute;
  left: 14px;
  top: -16px;
  font-family: 'Times New Roman', Georgia, serif;
  font-style: normal;
  font-size: 64px;
  line-height: 1;
  color: var(--green);
  opacity: 0.5;
}
.founder-bio {
  margin: 0 0 32px;
}
.founder-bio p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.founder-bio p:last-child { margin-bottom: 0; }
.founder-bio strong {
  font-weight: 700;
  color: var(--ink);
}

.founder-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
}
.founder-cred {
  display: inline-flex;
  flex-direction: column;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: border-color .25s ease, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
}
.founder-cred:hover {
  border-color: rgba(56, 164, 134, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(5, 34, 78, 0.12);
}
.founder-cred-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.founder-cred-meta {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  white-space: normal;
}
.founder-cta {
  align-self: flex-start;
  border-radius: 8px;
  padding: 16px 28px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .founder-photo {
    position: static;
    max-width: 320px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
  }
  .founder-caption { align-items: center; }
  .founder-initials { font-size: 108px; }
  .founder-quote { font-size: 19px; padding-left: 22px; }
  .founder-quote-mark { font-size: 48px; left: 10px; top: -12px; }
}

/* ============== TÉMOIGNAGES — Quote-first cards ============== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 44px 40px 32px;
  overflow: hidden;
  margin: 0;
  transition:
    transform .4s cubic-bezier(.2,.7,.2,1),
    box-shadow .4s ease,
    border-color .4s ease,
    background .4s ease;
}
.quote-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.quote-card:hover::after { transform: scaleX(1); }
.quote-card:hover {
  background: #fff;
  border-color: rgba(56, 164, 134, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(5, 34, 78, 0.16);
}
.quote-card-mark {
  display: block;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 100px;
  line-height: 0.6;
  color: var(--green);
  opacity: 0.55;
  margin: 0 0 4px;
}
.quote-card-body {
  margin: 0 0 36px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
  flex: 1;
}
.quote-card-foot {
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.quote-card-author {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote-card-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 860px) {
  .quotes-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-card { padding: 36px 28px 26px; }
  .quote-card-mark { font-size: 72px; }
}

/* ============== FAQ — Single-column accordion ============== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  transition:
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}
.faq-item[open] {
  background: #fff;
  border-color: rgba(56, 164, 134, 0.28);
  box-shadow: 0 12px 32px -16px rgba(5, 34, 78, 0.14);
}
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-question {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.35;
  color: var(--ink);
  transition: color .25s ease;
}
.faq-item[open] .faq-question { color: var(--ink); }
.faq-summary:hover .faq-question { color: var(--green-deep); }

.faq-toggle {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.faq-toggle span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .25s ease;
}
.faq-toggle span:first-child { transform: translateY(-50%); }
.faq-toggle span:last-child { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-toggle span { background: var(--green-deep); }
.faq-item[open] .faq-toggle span:last-child { transform: translateY(-50%) rotate(0deg); }

.faq-answer {
  overflow: hidden;
  padding: 0 36px;
  max-width: 70ch;
  transition: height 400ms cubic-bezier(0.33, 0.7, 0.2, 1);
}
.faq-answer p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

.faq-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.faq-cta-btn {
  border-radius: 8px;
  padding: 16px 28px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .faq-summary { padding: 20px 24px; gap: 16px; }
  .faq-question { font-size: 16px; }
  .faq-answer { padding: 0 24px; }
  .faq-answer p { font-size: 14.5px; margin-bottom: 20px; }
  .faq-cta { margin-top: 36px; }
}

/* ============== FOOTER — Minimal premium ============== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 0 28px;
  position: relative;
  overflow: hidden;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}
.foot-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.foot-brand-link {
  display: inline-block;
  align-self: flex-start;
}
.foot-logo {
  width: 110px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.3);
}
.foot-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  max-width: 32ch;
  flex: 1;
}
.foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.foot-h {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.foot-mail {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  transition: color .25s ease;
}
.foot-mail:hover { color: var(--green); }
.foot-tel {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color .25s ease;
}
.foot-tel:hover { color: var(--green); }
.foot-address {
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  max-width: 32ch;
}
.foot-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .25s ease, border-color .25s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.foot-linkedin:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.foot-linkedin svg { display: block; flex-shrink: 0; }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.foot-copyright {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}
.foot-legal-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-legal-links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color .25s ease;
}
.foot-legal-links a:hover { color: var(--cream); }

@media (max-width: 720px) {
  .site-footer { padding: 56px 0 24px; }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }
  .foot-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .foot-tagline { max-width: 100%; }
  .foot-right { align-items: flex-start; }
  .foot-address { text-align: left; }
  .foot-bottom {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .foot-legal-links { gap: 18px; flex-wrap: wrap; }
}

/* ============== HAMBURGER + MOBILE MENU ============== */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-line {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s cubic-bezier(.5, 0, .12, 1),
              opacity .2s ease,
              top .3s cubic-bezier(.5, 0, .12, 1);
}
.nav-toggle-line:nth-child(1) { top: 14px; }
.nav-toggle-line:nth-child(2) { top: 22px; }
.nav-toggle-line:nth-child(3) { top: 30px; }
body.menu-open .nav-toggle-line:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav-toggle-line:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle-line:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 88px 32px 40px;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
}
body.menu-open .mobile-menu {
  pointer-events: auto;
  transform: translateX(0);
}
body.menu-open { overflow: hidden; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 0 auto 32px;
  width: 100%;
  max-width: 420px;
}
.mobile-nav a {
  display: block;
  padding: 20px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color .2s ease, padding-left .2s ease;
}
.mobile-nav a:first-child { border-top: 1px solid var(--rule); }
.mobile-nav a:hover {
  color: var(--green-deep);
  padding-left: 8px;
}
.mobile-menu-cta {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  justify-content: center;
  border-radius: 100px;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-mock { transform: none; max-width: 480px; margin: 0 auto; }
  .mock-notif { right: -12px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .header-row { height: 52px; padding: 0 16px; }
  .nav { display: none; }
  .display { font-size: 44px; }
  .h-display { font-size: 32px; }
  .hero { min-height: 0; margin-top: 0; padding-top: 80px; }
  .hero-grid { padding: 32px 0; }
  .hero-text .display { font-size: clamp(28px, 7vw, 38px); line-height: 1.14; }
  .section { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav a::after,
  .arr,
}

/* ============== MOBILE PASS (≤ 720px) ============== */
@media (max-width: 720px) {
  /* Header — floating pill mobile */
  .site-header {
    top: 12px;
    width: calc(100% - 32px);
    border-radius: 16px;
  }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-row { height: 52px; padding: 0 16px; }
  .brand-mark { width: auto; height: 38px; }
  .site-header.is-compact { top: 8px; }
  .site-header.is-compact .header-row { height: 48px; }
  .site-header.is-compact .brand-mark { width: auto; height: 32px; }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding-top: calc(80px + env(safe-area-inset-top));
    overflow: visible;
  }
  .hero > .wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-grid {
    width: 100%;
    min-width: 0;
    min-height: calc(100svh - 80px - env(safe-area-inset-top));
    padding: clamp(24px, 5svh, 42px) 0 56px;
    align-content: center;
  }
  .hero-visual { display: none; }
  .hero-text .display {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.14;
    margin-bottom: 18px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero-text .lede {
    font-size: 15px;
    line-height: 1.55;
    width: 100%;
    max-width: 100%;
    margin-bottom: 28px;
  }
  .hero-kicker { font-size: 11px; margin-bottom: 16px; letter-spacing: 0.12em; }
  .hero-ctas {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 32px;
  }
  .hero-ctas .btn-fill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-link {
    align-self: center;
  }
  .hero-proof {
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  .hero-trust {
    padding: 20px 0 28px;
  }
  .marquee {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .marquee-track { gap: 36px; }
  .marquee-track img { height: 44px; }

  /* Sections common */
  .wrap { padding-left: 20px; padding-right: 20px; }
  .sec-head { max-width: 100%; margin-bottom: 36px; }
  .sec-num { margin-bottom: 18px; }
  .sec-lede { font-size: 16px; }

  /* Case studies */
  .cs-visual { padding: 26px 24px; min-height: 240px; border-radius: 12px; }
  .cs-visual-sector { font-size: 22px; }
  .cs-title { font-size: 19px; }
  .cs-features { gap: 20px; margin-bottom: 28px; }
  .cs-meta { gap: 10px; }
  .cs-meta-text { font-size: 10.5px; line-height: 1.5; }

  /* Méthode — disable sticky-scroll deck, simple stack */
  .steps { height: auto; perspective: none; }
  .steps-stage {
    position: static;
    height: auto;
    perspective: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .step {
    position: relative;
    transform: none;
    opacity: 1;
    z-index: auto;
    width: auto;
    padding: 30px 24px;
  }

  /* Founder */
  .founder-frame { max-width: 280px; }
  .founder-initials { font-size: 96px; }
  .founder-bio p { font-size: 16px; }
  .founder-creds li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0;
  }
  .founder-cred-meta { white-space: normal; }

  /* Intégrations — hide tiny labels, contain SVG */
  .integrations-svg { max-width: 380px; margin: 0 auto; display: block; }
  .node-label { display: none; }

  /* FAQ */
  .faq-q { font-size: 15px; line-height: 1.35; }
  /* old .faq-item summary mobile rule removed — see new .faq-summary above */

  /* CTA finale */
  .cta-final-title { font-size: 36px; line-height: 1.1; }
  .cta-final-lede { font-size: 15px; }

  /* (footer mobile overrides removed — new .foot-grid handles mobile responsively above) */

  /* Intégrations — pulses agrandies pour rester visibles à petite échelle */
  .pulse { r: 10; }
  .mobile-pulse { r: 11; }

  /* Anti-débordement horizontal global */
  html, body { overflow-x: hidden; }
}

/* ============== SCROLL CUE + BACK TO TOP ============== */
.hero-scroll-cue {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity .4s ease, transform .4s ease;
}
.hero-scroll-track {
  width: 1px;
  height: 52px;
  background: rgba(5, 34, 78, 0.14);
  position: relative;
  overflow: hidden;
  display: block;
}
.hero-scroll-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 18px;
  background: var(--green-deep);
  animation: scrollDot 1.9s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(-18px); }
  100% { transform: translateY(52px); }
}
body.is-scrolled .hero-scroll-cue {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), background .25s ease;
  z-index: 40;
  box-shadow: 0 12px 28px -10px rgba(5, 34, 78, 0.4);
}
body.is-scrolled .back-to-top {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover { background: var(--green-deep); }
.back-to-top svg { display: block; }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-dot { animation: none; }
}
@media (max-width: 720px) {
  .hero-scroll-cue { display: none; }
  .back-to-top { width: 42px; height: 42px; bottom: 16px; right: 16px; }
}

/* ============== COOKIE BANNER ============== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  max-width: 420px;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(5, 34, 78, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px -15px rgba(5, 34, 78, 0.25);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cookie-banner-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  flex: 1;
}
.cookie-banner-text strong {
  font-weight: 700;
  color: var(--ink);
}
.cookie-banner-btn {
  flex-shrink: 0;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.cookie-banner-btn:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .cookie-banner {
    left: 16px;
    right: 76px;
    bottom: 16px;
    max-width: none;
    width: auto;
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cookie-banner-text { font-size: 12.5px; }
  .cookie-banner-btn { width: 100%; padding: 10px 14px; }
}

/* ============== CUSTOM SCROLLBAR — brand themed ============== */
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--green-deep) rgba(5, 34, 78, 0.06);
}
/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(5, 34, 78, 0.05);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background .25s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--green-deep) 0%, var(--blue-deep) 100%);
  background-clip: padding-box;
  border: 2px solid transparent;
}
::-webkit-scrollbar-corner { background: transparent; }
/* Scrollbar dans la modale case-modal — discret, teal subtle */
.case-modal-inner::-webkit-scrollbar { width: 8px; }
.case-modal-inner::-webkit-scrollbar-track { background: transparent; }
.case-modal-inner::-webkit-scrollbar-thumb {
  background: rgba(56, 164, 134, 0.35);
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.case-modal-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 164, 134, 0.6);
  background-clip: padding-box;
}

/* ============== LEGAL PAGE (mentions légales) ============== */
.legal-page {
  padding-top: 160px;
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse 50% 40% at 20% 10%, rgba(56, 164, 134, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(35, 109, 191, 0.06), transparent 70%),
    #fff;
}
.legal-wrap {
  max-width: 820px;
}
.legal-head {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
  transition: color .25s ease, gap .25s ease;
}
.legal-back:hover {
  color: var(--green-deep);
  gap: 10px;
}
.legal-title {
  margin: 14px 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.legal-updated {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.legal-updated em {
  font-style: italic;
  color: var(--green-deep);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.legal-section {
  scroll-margin-top: 120px;
}
.legal-section h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--ink);
}
.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.legal-section p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(2, 107, 106, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color .25s ease;
}
.legal-section a:hover {
  text-decoration-color: var(--green-deep);
}
.legal-placeholder-note {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  background: rgba(35, 109, 191, 0.08);
  border-left: 3px solid var(--blue);
  font-size: 13px;
  color: var(--blue-deep);
  border-radius: 0 8px 8px 0;
}
.legal-placeholder-note em {
  font-style: italic;
  font-weight: 600;
}
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-list li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.legal-list strong {
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 720px) {
  .legal-page { padding-top: 110px; padding-bottom: 56px; }
  .legal-head { margin-bottom: 36px; padding-bottom: 24px; }
  .legal-content { gap: 36px; }
  .legal-section h2 { font-size: 19px; }
  .legal-section p { font-size: 14.5px; }
}

/* ============== CONTACT ============== */
.section-contact { padding: 112px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.contact-aside { text-align: left; }
.contact-aside .sec-num { margin-bottom: 24px; }
.contact-title { text-align: left; margin: 0 0 24px; }
.contact-lede { text-align: left; margin: 0 0 40px; }

.contact-direct {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-direct li {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.contact-direct li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-direct-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-direct a,
.contact-direct li > span:last-child {
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.contact-direct a:hover { color: var(--green); }

.contact-reassure {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.contact-reassure li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--ink-2);
}
.contact-reassure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.85);
}

.contact-form {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 38px;
  box-shadow: 0 24px 60px -28px rgba(5, 34, 78, 0.22);
  display: grid;
  gap: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: grid; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--cream);
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(56, 164, 134, 0.16);
}
.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #d6455d;
  box-shadow: 0 0 0 3px rgba(214, 69, 93, 0.14);
}

.field-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.field-consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--green);
  cursor: pointer;
}

.contact-submit { justify-content: center; width: 100%; }
.contact-submit[disabled] { opacity: 0.6; cursor: default; }

.contact-feedback {
  margin: 0;
  min-height: 18px;
  font-size: 13.5px;
  font-weight: 500;
}
.contact-feedback.is-ok { color: var(--green-deep); }
.contact-feedback.is-error { color: #d6455d; }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 720px) {
  .section-contact { padding: 72px 0; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { padding: 26px 22px; border-radius: 18px; }
}

/* ============== PARALLAX ============== */
[data-parallax-speed] { will-change: transform; }
/* Plain targets translate directly; .hero-mock composes --py inside its own rule */
[data-parallax-speed]:not(.hero-mock) {
  transform: translate3d(0, var(--py, 0px), 0);
}

/* Keep hero & contact content above the drifting orbs */
.hero-grid,
.hero-trust { position: relative; z-index: 1; }
.section-contact { position: relative; overflow: hidden; }
.contact-grid { position: relative; z-index: 1; }

/* Decorative drifting orbs */
.parallax-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
  opacity: 0.85;
  will-change: transform;
}
.hero-orb-a {
  top: 6%;
  left: 2%;
  width: clamp(240px, 30vw, 440px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(56, 164, 134, 0.55), transparent 70%);
}
.hero-orb-b {
  top: 26%;
  right: -4%;
  width: clamp(280px, 36vw, 540px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(35, 109, 191, 0.48), transparent 70%);
}
.contact-orb {
  bottom: -6%;
  right: -2%;
  width: clamp(260px, 32vw, 480px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(56, 164, 134, 0.40), transparent 70%);
}

/* Parallax respects reduced motion; otherwise active at every width */
@media (prefers-reduced-motion: reduce) {
  .parallax-orb { display: none; }
  [data-parallax-speed]:not(.hero-mock) { transform: none; }
}

