/* ==========================================================================
   henmi.agency - theme clair
   Cabinet Grotesk (titres) / Satoshi (texte) / Zodiak italique (citation)
   Rayons : boutons pilule / cartes 20px / medias 16px / champs 12px
   ========================================================================== */
:root {
  --paper: #FFFFFF;
  --bg: #FFFFFF;
  --bg-2: #F4F7FF;
  --ink: #0A1024;
  --ink-2: #4A5573;
  --ink-3: #626C87;
  --line: #E5E9F3;
  --line-2: #D6DDEC;
  --blue: #1A3483;
  --blue-cta: #2D5BFF;
  --blue-hover: #1E4AF0;
  --blue-tint: #EEF2FF;
  --star: #F5A623;
  --wa: #25D366;
  --dark: #0B1020;
  --navy: #101B44;
  --navy-top: #17296B;
  --shadow-xs: 0 1px 2px rgba(19, 32, 74, .05);
  --shadow-sm: 0 2px 6px -2px rgba(19, 32, 74, .10), 0 1px 2px rgba(19, 32, 74, .05);
  --shadow-md: 0 12px 28px -14px rgba(19, 32, 74, .28), 0 2px 6px -3px rgba(19, 32, 74, .10);
  --shadow-lg: 0 28px 60px -32px rgba(19, 32, 74, .38), 0 4px 12px -6px rgba(19, 32, 74, .10);
  --font-display: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-pill: 999px;
  --r-card: 20px;
  --r-media: 16px;
  --r-input: 12px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  --z-base: 1;
  --z-raised: 10;
  --z-nav: 200;
  --z-fab: 300;
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.25rem, 5.6vw, 5.25rem);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
figure { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0313rem;
  line-height: 1.6;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--blue-cta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-cta); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section-paper { background: var(--paper); }

.skip-link {
  position: absolute; top: 0; left: 0;
  transform: translateY(-140%);
  z-index: 999;
  background: var(--blue-cta); color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-input) 0;
  font-weight: 700;
}
.skip-link:focus { transform: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.028em;
  margin: 0;
  text-wrap: balance;
}

.h-section { font-size: clamp(1.875rem, 3.5vw, 2.875rem); letter-spacing: -.032em; }

.lede {
  font-size: clamp(1.0313rem, 1.15vw, 1.125rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 1.25rem 0 0;
  text-wrap: pretty;
}

.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 3.2vw, 2.75rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .lede { margin-inline: auto; }

/* --- Pastille avis Google -------------------------------------------------- */
.gbadge {
  display: inline-flex;
  align-items: center;
  gap: .6875rem;
  min-height: 46px;
  padding: .4375rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 16px -8px rgba(10, 16, 36, .22);
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease;
}
.gbadge .g-logo { width: 60px; height: 21px; flex: none; }
.gbadge .g-note { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.gbadge .stars svg { width: 15px; height: 15px; }
.gbadge:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .gbadge:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(10, 16, 36, .26); }
}

.stars { display: inline-flex; gap: .1875rem; color: var(--star); }
.stars svg { width: 18px; height: 18px; }

/* --- Boutons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 52px;
  padding: .875rem 1.625rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease,
              border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; }
.btn-primary {
  background: var(--blue-cta);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(45, 91, 255, .55);
}
.btn-outline {
  background: var(--paper);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.btn-light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--blue-hover);
    box-shadow: 0 14px 28px -12px rgba(45, 91, 255, .7);
    transform: translateY(-1px);
  }
  .btn-outline:hover { border-color: #B9C3DC; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
  .btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .btn .arrow { transition: transform 220ms var(--ease-out); }
  .btn:hover .arrow { transform: translateX(3px); }
}
.btn:active { transform: scale(.97); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--blue-cta);
  position: relative;
}
.link-arrow svg { width: 1.0625rem; height: 1.0625rem; transition: transform 220ms var(--ease-out); }
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: .5rem;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg { transform: translateX(4px); }
  .link-arrow:hover::after { transform: scaleX(1); }
}

/* --- Reveal (visible par defaut si JS absent) ------------------------------ */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease-soft), transform 700ms var(--ease-soft);
  transition-delay: var(--d, 0ms);
}

/* --- Bandeau superieur ---------------------------------------------------- */
main { position: relative; z-index: var(--z-base); }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  transition: background-color 300ms ease, backdrop-filter 300ms ease;
}
.site-header.stuck {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
}

.nav { position: relative; display: flex; align-items: center; gap: 1.25rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 26px; width: auto; }

/* Menu en capsule flottante, centre entre le logo et les actions */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .125rem;
  list-style: none;
  margin: 0;
  padding: .3125rem;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-pill);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    0 8px 24px -14px rgba(19, 32, 74, .30),
    0 1px 2px rgba(19, 32, 74, .04);
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 1rem;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 220ms ease, background-color 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--ink); background: rgba(45, 91, 255, .08); }
}
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(45, 91, 255, .08); }
.nav-links .mobile-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: .625rem; }

.wa-btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 18px -9px rgba(37, 211, 102, .6);
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.wa-btn svg { width: 24px; height: 24px; }
.wa-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .wa-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -9px rgba(37, 211, 102, .75); }
}

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(2.25rem, 4.5vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.25rem);
  text-align: center;
}
/* Voiles bleu ciel derriere la nav et le hero : deux nappes qui derivent
   lentement l'une par rapport a l'autre, sur fond blanc. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
/* Trame de points, fixe : elle donne du grain sans suivre la derive des nappes */
.hero-dots {
  position: absolute;
  inset: calc(var(--nav-h) * -1) 0 auto;
  height: 132%;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(19, 32, 74, .07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(76% 68% at 50% 20%, #000 0%, transparent 78%);
  mask-image: radial-gradient(76% 68% at 50% 20%, #000 0%, transparent 78%);
}

/* Mot cle du titre en degrade bleu, signature de la marque */
.accent {
  background: linear-gradient(100deg, #1E45DB 0%, #3D68FF 42%, #86A6FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent { color: var(--blue-cta); }
}
.hero::before {
  top: calc(var(--nav-h) * -1);
  left: -14vw;
  width: 76vw;
  height: 135%;
  background: radial-gradient(closest-side, rgba(120, 172, 255, .34) 0%, rgba(120, 172, 255, 0) 72%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.hero::after {
  top: calc(var(--nav-h) * -1.5);
  right: -18vw;
  width: 64vw;
  height: 125%;
  background: radial-gradient(closest-side, rgba(86, 142, 255, .26) 0%, rgba(86, 142, 255, 0) 70%);
  animation: drift-b 34s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vw, 3vh, 0) scale(1.14); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-8vw, 5vh, 0) scale(.92); }
}
.hero h1 { font-size: clamp(2.375rem, 5.1vw, 4.375rem); max-width: 20ch; margin: 1.5rem auto 0; }
.hero .lede { margin: 1.375rem auto 0; max-width: 56ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center; margin-top: 2rem; }

.assurance-line {
  margin: 1.25rem 0 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: .005em;
}
.assurance-line span { margin-inline: .375rem; color: var(--line-2); }

/* --- Video de presentation : s'agrandit a l'entree dans la section --------- */
.showreel { padding-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.showreel-frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(18px, 2.4vw, 28px);
  background: var(--dark);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  transform: scale(.76);
  transition: transform 1150ms var(--ease-soft), box-shadow 1150ms var(--ease-soft);
  will-change: transform;
}
.showreel-frame.in { transform: scale(1); }
.showreel-frame video { width: 100%; height: 100%; object-fit: cover; }

.showreel-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer; color: #fff;
  transition: opacity 240ms ease;
}
.showreel-play span {
  display: grid; place-items: center;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 200ms var(--ease-out), background-color 200ms ease;
}
.showreel-play svg { width: 26px; height: 26px; margin-left: 3px; }
.showreel-play:active span { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .showreel-play:hover span { background: rgba(255, 255, 255, .3); transform: scale(1.06); }
}
.showreel-frame.playing .showreel-play { opacity: 0; pointer-events: none; }

/* --- Confiance : rangee de logos clients ----------------------------------- */
.logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.875rem, 1.6vw, 1.375rem);
  max-width: 52rem;
  margin-inline: auto;
}
.logo-card {
  position: relative;
  aspect-ratio: 5 / 2;
  --pad: clamp(.8125rem, 1.5vw, 1.125rem);
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 1px 2px rgba(19, 32, 74, .04);
  transition: transform 420ms var(--ease-out), box-shadow 420ms ease;
}
/* Halo bleu qui monte du bas de la carte au survol */
.logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(45, 91, 255, 0) 35%, rgba(45, 91, 255, .09) 100%);
  opacity: 0;
  transition: opacity 420ms ease;
}
/* Position absolue : le ratio de la carte prime sur celui de l'image */
.logo-card img {
  position: absolute;
  inset: var(--pad);
  margin: auto;
  width: auto; height: auto;
  max-width: calc(100% - var(--pad) * 2);
  max-height: calc(100% - var(--pad) * 2);
  object-fit: contain;
  transition: transform 520ms var(--ease-out);
}
/* Xav Barber est livre en dore sur noir : la carte reprend son fond */
.logo-card.on-dark { background: #0A0A0A; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 1px 2px rgba(19, 32, 74, .04); }
.logo-card.on-dark img { inset: calc(var(--pad) * .55); max-width: calc(100% - var(--pad) * 1.1); max-height: calc(100% - var(--pad) * 1.1); }
/* GEERS n'existe qu'en mockup sur fond sombre : on eclaircit le fond, pas la couleur */
.logo-card.is-lift img { inset: 0; max-width: 100%; max-height: 100%; filter: brightness(2.25) contrast(1.1); }

@media (hover: hover) and (pointer: fine) {
  .logo-card:hover {
    transform: translateY(-4px);
    box-shadow:
      inset 0 0 0 1px rgba(45, 91, 255, .28),
      0 18px 36px -20px rgba(19, 32, 74, .35);
  }
  .logo-card:hover::after { opacity: 1; }
  .logo-card:hover img { transform: scale(1.05); }
  .logo-card.on-dark:hover {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .22),
      0 18px 36px -20px rgba(19, 32, 74, .5);
  }
}

.quote-card {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 62rem;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: start;
}
.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: .6;
  color: #D3DAEA;
  margin-bottom: 1.5rem;
}
.quote-card figcaption img {
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 32%;
}
.quote-card figcaption b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -.02em;
  margin-top: 1.125rem;
}
.quote-card figcaption .role { display: block; font-size: .9063rem; color: var(--ink-3); margin-top: .1875rem; }
.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.0625rem, 1.55vw, 1.3125rem);
  line-height: 1.72;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-card blockquote strong { font-weight: 700; }
.attrib {
  display: flex; align-items: center; gap: .875rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--line);
}
.attrib img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 36%; flex: none; }
.attrib b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.attrib .role { display: block; font-size: .875rem; color: var(--ink-3); }

/* --- Offres ---------------------------------------------------------------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2rem); }
.offer {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 420ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .offer:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
  .offer:hover .offer-media img { transform: scale(1.035); }
}
.offer-media { background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.offer-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 900ms var(--ease-out); }
.offer-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.offer-body h3 { font-size: clamp(1.375rem, 2.1vw, 1.75rem); margin-bottom: .75rem; }
.offer-body p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.offer-body strong { color: var(--blue-cta); font-weight: 700; }
.offer-body .link-arrow { margin-top: auto; padding-top: 1.5rem; }

/* --- Realisations ---------------------------------------------------------- */
.case { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.case + .case { margin-top: clamp(2.75rem, 5vw, 4.25rem); }
.case-a { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.case-b { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.case-b .case-media { order: 2; }
.case-media {
  position: relative;
  border-radius: var(--r-media);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--dark);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 1;
}
.case-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .case-media:hover video { transform: scale(1.02); }
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; list-style: none; padding: 0; }
.tags li {
  font-size: .8125rem; font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: .3125rem .75rem;
}
.case h3 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); margin-bottom: .875rem; }
.case p { color: var(--ink-2); margin: 0; line-height: 1.7; }
.case-metric { margin-top: 1.75rem; }
.case-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--blue-cta);
}
.case-metric span { font-size: .9375rem; color: var(--ink-3); }
.center-cta { display: flex; justify-content: center; margin-top: clamp(2.25rem, 4vw, 3.25rem); }

/* --- Process --------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.process-sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
.process-sticky .lede { margin-bottom: 2rem; }

.steps { display: grid; gap: .875rem; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
  align-items: start;
}
/* Rail vertical derriere les badges : il se colore etape par etape */
.step::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: -.875rem;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
  transition: background 700ms var(--ease-soft);
}
.step:last-child::before { display: none; }
.step.in::before { background: linear-gradient(180deg, var(--blue-cta), rgba(45, 91, 255, .22)); }

.step-no {
  position: relative;
  z-index: var(--z-raised);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9375rem;
  color: var(--ink-3);
  transition: background 520ms var(--ease-soft), color 520ms var(--ease-soft), box-shadow 520ms var(--ease-soft);
}
.step.in .step-no {
  background: var(--blue-cta);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(45, 91, 255, .7);
}

.step-body {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper);
  padding: clamp(1.125rem, 1.9vw, 1.5rem) clamp(1.25rem, 2.2vw, 1.75rem);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 500ms ease, transform 500ms var(--ease-out);
}
/* Numero en filigrane, repris de data-n */
.step-body::after {
  content: attr(data-n);
  position: absolute;
  right: .625rem;
  top: -.25rem;
  font-family: var(--font-display);
  font-size: 4.25rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: rgba(19, 32, 74, .045);
  pointer-events: none;
  transition: color 600ms ease;
}
.step.in .step-body {
  box-shadow: inset 0 0 0 1px rgba(45, 91, 255, .20), 0 18px 34px -28px rgba(19, 32, 74, .4);
}
.step.in .step-body::after { color: rgba(45, 91, 255, .07); }
@media (hover: hover) and (pointer: fine) {
  .step-body:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(45, 91, 255, .3), 0 22px 40px -28px rgba(19, 32, 74, .45); }
}

.step h3 { font-size: clamp(1.125rem, 1.75vw, 1.375rem); margin: 0 0 .5rem; padding-right: 3rem; }
.step p { margin: 0; color: var(--ink-2); line-height: 1.65; max-width: 54ch; }

/* --- Tableau comparatif ---------------------------------------------------- */
.compare-wrap {
  overflow-x: auto;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -40px rgba(19, 32, 74, .35);
  padding: clamp(.375rem, .8vw, .75rem);
}
.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}
.compare th, .compare td { padding: 1.0625rem 1.25rem; vertical-align: middle; }
.compare thead th {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  padding-block: 1.125rem;
}
.compare thead th:first-child {
  color: var(--ink-3);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.compare tbody th {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--ink);
  width: 24%;
}
.compare tbody td { font-size: .9688rem; }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare .tick { display: inline-flex; align-items: flex-start; gap: .5rem; }
.compare .tick svg { width: 17px; height: 17px; flex: none; margin-top: .1563rem; }

/* Colonne concurrente : volontairement en retrait */
.compare .col-them { color: var(--ink-3); }
.compare .col-them svg { color: #B6BECF; }

/* Colonne henmi : bloc bleu continu, arrondi en haut et en bas */
.compare .col-us {
  position: relative;
  background: linear-gradient(180deg, rgba(45, 91, 255, .11) 0%, rgba(45, 91, 255, .045) 100%);
  color: var(--ink);
  font-weight: 600;
}
.compare .col-us svg { color: var(--blue-cta); }
.compare thead .col-us { border-radius: 18px 18px 0 0; color: var(--blue); }
.compare tbody tr:last-child .col-us { border-radius: 0 0 18px 18px; }
.compare tbody tr + tr .col-us { border-top-color: rgba(45, 91, 255, .16); }

.col-us-head { display: inline-flex; align-items: center; gap: .625rem; }
.col-us-head em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-cta);
  padding: .25rem .5rem;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 10px -5px rgba(45, 91, 255, .6);
}

/* --- Bandeau d'avis defilant ----------------------------------------------- */
.marquee {
  overflow: hidden;
  padding-block: .25rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee + .marquee { margin-top: clamp(.875rem, 1.6vw, 1.25rem); }
.marquee-track {
  display: flex;
  align-items: stretch;
  gap: clamp(.875rem, 1.6vw, 1.25rem);
  padding-inline: var(--gutter);
}
/* Le defilement ne s'active qu'une fois les cartes clonees par le JS */
.marquee-track.is-ready {
  width: max-content;
  padding-inline: 0;
  animation: marquee var(--dur, 70s) linear infinite;
}
.marquee-track.is-ready.is-reverse { animation-direction: reverse; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.review-card {
  flex: 0 0 clamp(266px, 25vw, 340px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 1.5rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
}
.review-card blockquote { margin: 0; }
.review-card p { margin: 1rem 0 0; font-size: .9688rem; line-height: 1.62; color: var(--ink-2); }
.review-card .attrib { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.review-card .attrib b { color: var(--ink); }
.review-card .attrib .role { color: var(--ink-3); }
.initials {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex: none;
  display: grid; place-items: center;
  background: var(--blue-tint);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8125rem;
}

/* --- Section avis : le bleu profond de la tete de page ---------------------- */
.section-blue {
  color: #fff;
  background:
    radial-gradient(62% 52% at 84% 4%, rgba(64, 108, 235, .45) 0%, rgba(64, 108, 235, 0) 62%),
    linear-gradient(180deg, var(--dark) 0%, var(--navy) 42%, var(--dark) 100%);
}
.section-blue h2 { color: #fff; }
.section-blue .lede { color: #B9C6E8; }
.section-blue .gbadge { box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .8); }

/* Le propos a gauche, le temoignage a droite : la section cesse d'empiler */
.avis-top {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.avis-top .section-head { margin-bottom: 0; max-width: 32rem; }
.avis-top .section-head .lede { margin-top: 1rem; }
/* Le bandeau defilant respire apres le bloc du haut */
.section-blue .wrap + .marquee { margin-top: clamp(2.25rem, 4.5vw, 3.5rem); }
@media (max-width: 900px) {
  .avis-top { grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 2.5rem); }
  .avis-top .section-head { max-width: 100%; }
}

/* --- Temoignage video ------------------------------------------------------ */
.testi-video {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  max-width: 62rem;
  margin-inline: auto;
  width: 100%;
}
.testi-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.vsound {
  position: absolute; top: 1rem; right: 1rem;
  z-index: var(--z-raised);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(11, 16, 32, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.vsound:active { transform: scale(.94); }
.vsound svg { width: 19px; height: 19px; }
.vsound .icon-on { display: none; }
.vsound[aria-pressed="true"] .icon-on { display: block; }
.vsound[aria-pressed="true"] .icon-off { display: none; }
@media (hover: hover) and (pointer: fine) { .vsound:hover { background: rgba(45, 91, 255, .9); } }

/* --- Equipe ---------------------------------------------------------------- */
.team {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.875rem, 1.8vw, 1.5rem);
}
.member img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--r-media);
  border: 1px solid var(--line);
  transition: transform 500ms var(--ease-out), filter 400ms ease;
  filter: saturate(.95);
}
@media (hover: hover) and (pointer: fine) {
  .member:hover img { transform: translateY(-4px); filter: saturate(1.05); }
}
.member b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.015em; margin-top: .875rem; }
.member .role { font-size: .9063rem; color: var(--ink-3); }

/* --- FAQ (composant partage accueil + pages offres) ------------------------ */
.faq { max-width: 54rem; margin-inline: auto; }

.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  letter-spacing: -.02em;
  line-height: 1.3;
  color: var(--ink);
  transition: color 240ms ease;
}
.faq summary::-webkit-details-marker { display: none; }

/* Indicateur : deux traits qui se croisent, le vertical disparait a l'ouverture */
.faq .faq-sign {
  position: relative;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease-out);
}
.faq .faq-sign::before,
.faq .faq-sign::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 340ms var(--ease-out), background-color 300ms ease;
}
.faq .faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-sign { background: var(--blue-cta); box-shadow: inset 0 0 0 1px var(--blue-cta); transform: rotate(180deg); }
.faq details[open] .faq-sign::before,
.faq details[open] .faq-sign::after { background: #fff; }
.faq details[open] .faq-sign::after { transform: translate(-50%, -50%) rotate(0deg); }

@media (hover: hover) and (pointer: fine) {
  .faq summary:hover { color: var(--blue-cta); }
  .faq summary:hover .faq-sign { box-shadow: inset 0 0 0 1px var(--blue-cta); }
  .faq details[open] summary:hover { color: var(--ink); }
}

/* Enveloppe animee en hauteur par le JS */
.faq .answer-wrap { overflow: hidden; }
.faq .answer {
  padding: 0 4rem 1.75rem 0;
  color: var(--ink-2);
  line-height: 1.68;
  max-width: 66ch;
}
.faq .answer p { margin: 0 0 .875rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* --- Appel final ----------------------------------------------------------- */
.final-cta { padding-bottom: clamp(3rem, 5.5vw, 5rem); }
.final-panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(120% 130% at 82% 0%, rgba(45, 91, 255, .5) 0%, rgba(45, 91, 255, 0) 62%),
    linear-gradient(160deg, #16204A 0%, #0A0F22 76%);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  text-align: center;
  color: #fff;
  box-shadow: 0 40px 100px -50px rgba(10, 16, 36, .8);
}
.final-panel h2 { font-size: clamp(1.875rem, 4.2vw, 3rem); }
.final-panel .lede { margin-inline: auto; max-width: 52ch; color: #C9D2ED; }
.final-actions { display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center; margin-top: 2.25rem; }
.final-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .75rem 2rem;
  margin-top: 2.25rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .9375rem;
  color: #C9D2ED;
}
.final-meta b { color: #fff; font-weight: 700; }

/* --- Pied de page ---------------------------------------------------------- */
.site-footer { background: var(--dark); color: #C9D2ED; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
.footer-grid h3 {
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: #8D99BE;
  margin-bottom: 1.125rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.footer-grid li, .footer-grid address { font-size: .9688rem; font-style: normal; line-height: 1.65; }
.footer-about img { height: 30px; width: auto; }
.footer-about p { max-width: 32ch; margin: 1rem 0 1.5rem; font-size: .9688rem; }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { color: #fff; } }
.socials { display: flex; gap: .625rem; }
.socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background-color 200ms ease, color 200ms ease;
}
.socials svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: rgba(255, 255, 255, .1); color: #fff; } }
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  justify-content: space-between;
  font-size: .875rem;
  color: #8D99BE;
}


/* --- Page carriere --------------------------------------------------------- */
.career-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.career-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.career-hero h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); }
.career-portraits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.625rem, 1.4vw, .875rem); }
.career-portraits img {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: 50% 20%;
  border-radius: var(--r-media);
  border: 1px solid var(--line);
}
.career-portraits img:nth-child(1) { margin-top: clamp(1rem, 3vw, 2.25rem); }
.career-portraits img:nth-child(3) { margin-top: clamp(1.75rem, 5vw, 3.75rem); }

.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(1rem, 2.2vw, 1.75rem); }
.perk { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--paper); }
.perk:first-child { background: var(--blue-tint); border-color: #C9D6FF; }
.perk svg { width: 24px; height: 24px; color: var(--blue-cta); margin-bottom: 1.125rem; }
.perk h3 { font-size: 1.1875rem; margin-bottom: .5rem; }
.perk p { margin: 0; color: var(--ink-2); font-size: .9688rem; line-height: 1.6; }

.freedom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.freedom-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.freedom-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.freedom-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.freedom-list svg { width: 22px; height: 22px; color: var(--blue-cta); margin-top: .25rem; }
.freedom-list b { display: block; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .1875rem; }
.freedom-list .role { color: var(--ink-2); font-size: .9688rem; line-height: 1.6; }

.hiring { display: grid; }
.hiring-step {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-block: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.hiring-step:last-child { border-bottom: 1px solid var(--line); }
.hiring-no {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1;
  color: var(--line-2);
  min-width: 2.5ch;
}
.hiring-step h3 { font-size: clamp(1.1875rem, 2vw, 1.5rem); margin-bottom: .5rem; }
.hiring-step p { margin: 0; color: var(--ink-2); max-width: 56ch; line-height: 1.65; }

/* --- Adaptations ----------------------------------------------------------- */
/* Sous 1120px la capsule centree toucherait le logo ou le CTA : elle reprend le flux */
@media (max-width: 1120px) {
  .nav-links { position: static; transform: none; margin-inline: auto; }
  .nav-links a { padding-inline: .75rem; }
}

@media (max-width: 1024px) {
  .offers { grid-template-columns: 1fr; }
  .case-a, .case-b { grid-template-columns: 1fr; }
  .case-b .case-media { order: -1; }
  .process-grid { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .career-grid, .freedom { grid-template-columns: 1fr; }
  .career-portraits { max-width: 560px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }

  /* La capsule redevient un panneau deroulant pleine largeur */
  .nav-links {
    position: fixed;
    left: 0;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 24px 40px -30px rgba(10, 16, 36, .5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a {
    height: 56px;
    padding-inline: .25rem;
    font-size: 1.0625rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav-links .mobile-cta { display: block; margin-top: 1.25rem; }
  .nav-links .mobile-cta a { height: 54px; justify-content: center; border: 0; background: var(--blue-cta); color: #fff; border-radius: var(--r-pill); font-weight: 700; }

  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-card { grid-template-columns: 1fr; gap: 1.75rem; }

  /* L'equipe defile au doigt */
  .team {
    display: flex;
    gap: .875rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: .5rem;
  }
  .team::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 62%; scroll-snap-align: start; max-width: 260px; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero-actions .btn, .final-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .showreel-frame { transform: scale(.88); aspect-ratio: 4 / 3; }
  .review-card { flex-basis: 78vw; max-width: 320px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .step::before { left: 21px; }
  .step:first-child::before { top: 22px; }
  .step:last-child::before { height: 22px; }
  .step-no { width: 44px; height: 44px; font-size: .875rem; }
  .faq .answer { padding-right: 0; }
  .member { flex-basis: 72%; }
}

/* --- Mouvement reduit ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero::before, .hero::after { animation: none; }
  .showreel-frame, .showreel-frame.in { transform: none; }
  .marquee-track { animation: none; }
  .member:hover img, .offer:hover, .logo-card:hover { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.stuck { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .vsound, .showreel-play span { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 16, 32, .85); }
}

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

/* Sur-titre de section (page carriere) */
.kicker {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-cta);
  margin: 0 0 1rem;
}

/* Les deux rangees d'avis defilent en sens inverse, a toutes les tailles */

/* ==========================================================================
   PAGE OFFRE : SITES WEB PERFORMANCE
   Le bloc sombre couvre en-tete + hero. Tout ce qui suit vit sur du blanc.
   ========================================================================== */

/* --- En-tete posee sur le hero sombre -------------------------------------- */
.brand { position: relative; }
.brand .brand-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}
.brand .brand-main { transition: opacity 260ms ease; }
.site-header.on-dark .brand-alt { opacity: 1; }
.site-header.on-dark .brand-main { opacity: 0; }

.site-header.on-dark .nav-links {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 8px 24px -16px rgba(0, 0, 0, .6);
}
.site-header.on-dark .nav-links a { color: rgba(255, 255, 255, .84); }
.site-header.on-dark .nav-toggle {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .site-header.on-dark .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .13); }
}
/* Au defilement, la barre se densifie sans changer de teinte */
.site-header.on-dark.stuck {
  background: rgba(11, 16, 32, .78);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
}

/* --- Hero : exactement la teinte de la section 3 bonnes raisons ------------- */
.perf-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--nav-h) * -1);
  padding-top: calc(var(--nav-h) + clamp(3rem, 6.5vw, 5.5rem));
  padding-bottom: clamp(3.25rem, 6.5vw, 5.5rem);
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(62% 52% at 84% 4%, rgba(64, 108, 235, .45) 0%, rgba(64, 108, 235, 0) 62%),
    linear-gradient(180deg, var(--dark) 0%, var(--navy) 42%, var(--dark) 100%);
}

.perf-hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  max-width: 21ch;
  margin: 1.5rem auto 0;
  color: #fff;
  line-height: 1.04;
}
.perf-hero .lede {
  margin: 1.5rem auto 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, .8);
}
.perf-hero .hero-actions { margin-top: 2.25rem; }

/* Pastille Google : blanche, identique partout, meme sur le fond sombre */
.perf-hero .gbadge { box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .8); }

/* --- Preuve client remontee dans le hero ----------------------------------- */
.hero-proof { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.hero-proof-label {
  margin: 0 0 1.125rem;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .68);
}
.logo-row.is-hero {
  max-width: 44rem;
  gap: clamp(.625rem, 1.2vw, 1rem);
}
.logo-row.is-hero .logo-card {
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .55),
    0 20px 36px -24px rgba(0, 0, 0, .9);
}
@media (hover: hover) and (pointer: fine) {
  .logo-row.is-hero .logo-card:hover {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .8),
      0 26px 44px -22px rgba(0, 0, 0, .95);
  }
}

/* CTA fantome sur fond sombre */
.btn-ghost-light {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .26);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost-light:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); transform: translateY(-1px); }
}

/* --- 3 bonnes raisons : cartes decalees, sur fond blanc --------------------- */
.reasons-section { background: var(--paper); }

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
  padding-block: clamp(1rem, 2vw, 2rem);
}
.reason {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(300px, 30vw, 380px);
  padding: clamp(1.5rem, 2.6vw, 2.125rem);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md);
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease;
}
/* Legers decalages et rotations : la composition respire, sans desordre */
.reason { --rest: rotate(0deg); transform: var(--rest); }
.reason:nth-child(1) { --rest: rotate(-1.6deg); }
.reason:nth-child(2) { --rest: rotate(1.1deg) translateY(clamp(1rem, 2.5vw, 2.25rem)); }
.reason:nth-child(3) { --rest: rotate(-.7deg) translateY(clamp(.25rem, 1vw, .75rem)); }
.js .reason.reveal { transform: translateY(20px) var(--rest); }
.js .reason.reveal.in { transform: var(--rest); }

/* La carte centrale porte la couleur de marque */
.reason.is-accent {
  background: linear-gradient(165deg, #2F58F0 0%, #1B39C4 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 26px 50px -28px rgba(27, 57, 196, .7);
}
.reason.is-tint { background: linear-gradient(170deg, #EFF4FF 0%, #E4ECFF 100%); box-shadow: inset 0 0 0 1px #D6E1FF, var(--shadow-sm); }

.reason .reason-no {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: #8497C4;
  margin: 0 0 1.5rem;
}
.reason.is-accent .reason-no { color: rgba(255, 255, 255, .58); }

.reason h3 {
  font-size: clamp(1.1875rem, 1.9vw, 1.5rem);
  line-height: 1.22;
  margin-bottom: .875rem;
  max-width: 18ch;
}
.reason p { margin: 0; color: var(--ink-2); line-height: 1.62; font-size: .9688rem; text-wrap: pretty; }
.reason.is-accent h3 { color: #fff; }
.reason.is-accent p { color: rgba(255, 255, 255, .88); }

@media (hover: hover) and (pointer: fine) {
  .reason:hover { transform: rotate(0deg) translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
  .reason.is-accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 34px 62px -28px rgba(27, 57, 196, .85); }
}

/* --- 3 axes : cartes qui defilent a lhorizontale, sur fond blanc ------------ */
.axes-section { background: var(--paper); }
.axes-section h2 { color: var(--ink); }

.hscroll {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-block: .5rem 1.25rem;
}
.hscroll::-webkit-scrollbar { display: none; }

.hcard {
  flex: 0 0 clamp(270px, 33vw, 400px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border-radius: 22px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 240ms ease, box-shadow 240ms ease, transform 240ms var(--ease-out);
}
.hcard-label {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue-cta);
}
.hcard h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: .875rem;
}
.hcard-text { margin: 0; color: var(--ink-2); line-height: 1.62; font-size: .9688rem; text-wrap: pretty; }

@media (hover: hover) and (pointer: fine) {
  .hcard:hover {
    background: var(--paper);
    box-shadow: inset 0 0 0 1px rgba(45, 91, 255, .3), var(--shadow-md);
    transform: translateY(-4px);
  }
}

/* --- Realisations : la capture entiere, posee sur sa plaque ----------------- */
.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.work-frame {
  display: block;
  padding: clamp(.875rem, 1.8vw, 1.5rem);
  border-radius: 22px;
  background: var(--plate, var(--navy));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
/* contain : aucune capture rognee, et toutes gardent la meme hauteur */
.work-frame img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: contain;
  object-position: center;
  transition: transform 700ms var(--ease-out);
}
.work-cat {
  margin: 1.125rem 0 .375rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-3);
}
.work h3 { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); color: var(--ink); }

/* Entree en scene : la plaque monte et se pose */
.js .work.reveal { opacity: 0; transform: translateY(34px) scale(.97); }
.js .work.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease-soft), transform 700ms var(--ease-soft);
  transition-delay: var(--d, 0ms);
}

@media (hover: hover) and (pointer: fine) {
  .work-frame:hover img { transform: scale(1.025); }
}

/* --- Mot cle des titres : bleu clair plein sur les fonds sombres ------------ */
.perf-hero .accent,
.section-blue .accent {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #A8C4FF;
}

/* --- Adaptations de la page offre ------------------------------------------ */
@media (max-width: 860px) {
  .logo-row.is-hero { max-width: 25rem; }
}

@media (max-width: 1024px) {
  .reasons { grid-template-columns: 1fr; gap: 1rem; max-width: 34rem; margin-inline: auto; }
  .reason, .reason:nth-child(1), .reason:nth-child(2), .reason:nth-child(3) { transform: none; min-height: 0; }
}

@media (max-width: 700px) {
  .works { grid-template-columns: 1fr; }
  .hcard { flex-basis: 82vw; }
  .perf-hero { padding-bottom: clamp(2.5rem, 8vw, 3.5rem); }
  .perf-hero h1 { max-width: 100%; }
  .faq .answer { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reason:hover, .hcard:hover, .work-frame:hover img { transform: none; }
}

/* ==========================================================================
   PAGE OFFRE : VISIBILITE ET EVOLUTION
   ========================================================================== */

/* --- Leviers d evolution : on choisit a gauche, on voit a droite ------------ */
.evo-section { background: var(--paper); }

.evo {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 2.4vw, 2rem);
  align-items: stretch;
}

.evo-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}

.evo-tabs { display: flex; flex-direction: column; gap: .125rem; }

.evo-tab {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .625rem;
  margin-inline-start: -.625rem;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -.024em;
  line-height: 1.2;
  color: #8C99B5;
  transition: color 200ms ease, background-color 200ms ease;
}
.evo-tab:active { transform: scale(.99); }
.evo-tab.is-on { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .evo-tab:hover { color: var(--ink); }
  .evo-tab:hover .evo-mark { opacity: .28; transform: none; }
  .evo-tab.is-on:hover .evo-mark { opacity: 1; }
}

/* La pastille garde toujours sa place : les titres restent alignes */
.evo-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity 200ms ease, transform 240ms var(--ease-out);
}
.evo-mark svg { width: 13px; height: 13px; }
.evo-tab.is-on .evo-mark { opacity: 1; transform: none; }

/* Les descriptions sont empilees : la plus longue fixe la hauteur, rien ne saute */
.evo-descs { display: grid; }
.evo-desc {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 280ms var(--ease-out), visibility 240ms;
}
.evo-desc.is-on { opacity: 1; visibility: visible; transform: none; }
.evo-desc p {
  margin: 0;
  color: var(--blue);
  font-size: .9688rem;
  line-height: 1.66;
  text-wrap: pretty;
}

.evo-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-md);
}
/* Le flou masque le fondu : l oeil percoit une transformation, pas deux images */
.evo-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  filter: blur(6px);
  transition: opacity 320ms ease, transform 420ms var(--ease-out), filter 320ms ease;
}
.evo-shot.is-on { opacity: 1; transform: none; filter: none; }

@media (max-width: 900px) {
  .evo { grid-template-columns: 1fr; }
  .evo-panel { gap: 1.5rem; }
  .evo-media { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .evo-shot { transform: none; filter: none; transition: opacity 200ms ease; }
  .evo-desc { transform: none; }
  .evo-mark { transition: opacity 200ms ease; }
}

/* --- Bandeau visuel, sans texte -------------------------------------------- */
.brand-band { padding-block: 0 var(--section-y); }
/* Pleine largeur : la gouttiere du wrap est neutralisee sur cette seule section */
.brand-band .wrap { max-width: none; padding-inline: 0; }
.band-frame {
  overflow: hidden;
  background: var(--dark);
}
.band-frame img { width: 100%; height: auto; }

/* ==========================================================================
   PAGE CONTACT
   Meme fond que la tete de page de l accueil, mais en deux colonnes.
   ========================================================================== */
.contact-hero {
  text-align: left;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-intro { padding-top: clamp(.25rem, 2vw, 1.5rem); }
.contact-hero h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  max-width: 14ch;
  margin: 1.5rem 0 0;
}
.contact-hero .lede { margin: 1.25rem 0 0; max-width: 46ch; }

/* Reassurance : des reperes, pas des boutons */
.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .625rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.assurances li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9375rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
}
.assurances svg { width: 17px; height: 17px; flex: none; color: var(--blue-cta); }

/* --- Le formulaire, sur la plaque bleu nuit de la marque -------------------- */
.contact-card {
  border-radius: 24px;
  padding: clamp(1.375rem, 2.6vw, 2.25rem);
  color: #fff;
  background:
    radial-gradient(62% 52% at 84% 4%, rgba(64, 108, 235, .4) 0%, rgba(64, 108, 235, 0) 62%),
    linear-gradient(180deg, var(--navy-top) 0%, var(--navy) 48%, var(--dark) 100%);
  box-shadow: var(--shadow-lg);
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.875rem, 1.6vw, 1.25rem);
}
.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
}
.field.is-wide { grid-column: 1 / -1; }
.field label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: .875rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--r-input);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field textarea { min-height: 168px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6B7694; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-cta);
  box-shadow: 0 0 0 4px rgba(45, 91, 255, .3);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }
/* Le champ signale son erreur seulement apres une tentative d envoi */
.contact-form.is-checked :invalid { border-color: #E2483C; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.875rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1024' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px 18px;
  cursor: pointer;
}

.contact-form .btn {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: .375rem;
}
.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}
.form-note a { color: #A8C4FF; text-decoration: underline; text-underline-offset: 3px; }

.form-alt {
  margin: 1.125rem 0 0;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .7);
}
.form-alt a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 2.5rem); }
  .contact-hero h1 { max-width: 18ch; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* --- Barre d appel collante, mobile uniquement ------------------------------ */
.sticky-call { display: none; }

@media (max-width: 760px) {
  .sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-fab);
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem var(--gutter);
    padding-bottom: calc(.625rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    box-shadow: 0 -1px 0 var(--line), 0 -14px 32px -20px rgba(19, 32, 74, .45);
  }
  .sticky-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--r-pill);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line-2);
    color: var(--ink);
    transition: transform 160ms var(--ease-out);
  }
  .sticky-icon:active { transform: scale(.94); }
  .sticky-icon svg { width: 20px; height: 20px; }
  .sticky-icon.is-wa { color: var(--wa); }
  .sticky-cta {
    flex: 1;
    min-height: 48px;
    padding-inline: 1rem;
    font-size: .9375rem;
  }
  /* La barre ne doit jamais masquer la fin du pied de page */
  body { padding-bottom: 76px; }
}

/* ==========================================================================
   PAGE REALISATIONS
   Un projet mis en avant, puis la grille. Les plaques colorees portent
   l identite de chaque marque : les cartes ne se ressemblent pas.
   ========================================================================== */
.works-page { background: var(--paper); }

/* --- Le projet en tete : la capture prend les deux tiers -------------------- */
.work-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.work-hero .work-frame {
  padding: clamp(1rem, 2.2vw, 1.75rem);
  border-radius: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow-lg);
}
.work-hero-body h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  margin: .375rem 0 0;
}
.work-hero-body .pcard-text {
  font-size: 1.0313rem;
  margin-top: 1rem;
  max-width: 46ch;
}

/* --- La grille ------------------------------------------------------------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}
.pcard { display: flex; flex-direction: column; }
.pcard .work-frame { box-shadow: var(--shadow-md); }
.pcard-body { padding-top: 1.25rem; }
.pcard-body h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); margin: .3125rem 0 0; }

.pcard-cat {
  margin: 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pcard-text {
  margin: .75rem 0 0;
  color: var(--ink-2);
  font-size: .9688rem;
  line-height: 1.62;
  text-wrap: pretty;
}

.pcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
  margin: 1.125rem 0 0;
  padding: 0;
  list-style: none;
}
.pcard-tags li {
  padding: .3125rem .75rem;
  border-radius: var(--r-pill);
  background: var(--blue-tint);
  color: var(--blue);
  font-size: .8125rem;
  font-weight: 600;
}

/* La capture se souleve avec sa plaque, pas toute seule */
.work-hero .work-frame,
.pcard .work-frame { transition: transform 320ms var(--ease-out), box-shadow 320ms ease; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .work-frame { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .pcard:hover .work-frame img { transform: scale(1.025); }
}

@media (max-width: 900px) {
  .work-hero { grid-template-columns: 1fr; gap: 1.25rem; }
  .work-hero .work-frame { order: -1; }
}
@media (max-width: 700px) {
  .works-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard:hover .work-frame { transform: none; }
}

/* ==========================================================================
   ETUDE DE CAS PROJET
   ========================================================================== */
.case-hero {
  text-align: left;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.case-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 40px;
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  transition: color 180ms ease;
}
.case-back svg { width: 17px; height: 17px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .case-back:hover { color: #fff; }
  .case-back:hover svg { transform: translateX(-3px); }
}

.case-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  max-width: 14ch;
  margin: 1.5rem 0 0;
  color: #fff;
}
.case-hero .lede {
  margin: 1.25rem 0 0;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, .82);
}

/* La fiche projet, en pied de hero */
.case-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem 1.75rem;
  margin: clamp(2.25rem, 4.5vw, 3.25rem) 0 0;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.case-fact dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}
.case-fact dd {
  margin: .4375rem 0 0;
  font-size: .9688rem;
  font-weight: 600;
  color: #fff;
}

/* --- Le recit -------------------------------------------------------------- */
.case-story { background: var(--paper); }
.case-cols {
  display: grid;
  grid-template-columns: minmax(0, .34fr) minmax(0, .66fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.case-aside {
  position: sticky;
  top: calc(var(--nav-h) + 1.75rem);
  align-self: start;
}
.case-body p {
  margin: 0 0 1.25rem;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.case-body p:last-child { margin-bottom: 0; }
.case-body strong { color: var(--ink); font-weight: 700; }
/* La derniere phrase resume le projet : elle change de registre */
.case-body .case-punch {
  margin-top: clamp(1.75rem, 3.4vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.9vw, 1.4375rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* --- Avant / apres --------------------------------------------------------- */
.case-brand { background: var(--bg-2); }
.ba {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.ba-plate {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-md);
}
/* Le mockup du nouveau logo porte deja son fond : il remplit la plaque */
.ba-plate img { width: 100%; height: 100%; object-fit: cover; }
/* L ancien logo est un PNG detoure : il respire sur un fond clair */
.ba-plate.is-light { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.ba-plate.is-light img {
  width: auto;
  height: auto;
  max-width: 56%;
  max-height: 74%;
  object-fit: contain;
}
.ba-item figcaption {
  margin-top: .875rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --- Le visuel de marque --------------------------------------------------- */
.case-visual {
  display: grid;
  grid-template-columns: minmax(0, .56fr) minmax(0, .44fr);
  gap: clamp(1.5rem, 3.4vw, 3rem);
  align-items: center;
  margin-top: clamp(2.25rem, 4.5vw, 3.75rem);
}
.case-visual-media {
  border-radius: 22px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-lg);
}
.case-visual-media img { width: 100%; height: auto; }
.case-visual-body h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.2; }
.case-visual-body p {
  margin: 1rem 0 0;
  max-width: 42ch;
  color: var(--ink-2);
  line-height: 1.66;
  text-wrap: pretty;
}

/* --- Experience mobile : deux visuels qui se suivent ------------------------ */
.case-mobile { background: var(--paper); }
.swipe {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-block: .25rem 1rem;
}
.swipe::-webkit-scrollbar { display: none; }
/* Ecart volontairement minime : les deux visuels forment une seule sequence */
.swipe-row { display: flex; gap: 8px; }
.swipe-item {
  flex: 1 1 0;
  min-width: 0;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-md);
}
.swipe-item img { width: 100%; height: auto; }

.swipe-hint { display: none; }

@media (max-width: 760px) {
  /* En mobile les visuels passent au defilement tactile, un par ecran */
  .swipe-row { width: max-content; }
  .swipe-item { flex: 0 0 78vw; }
  .swipe-hint {
    display: block;
    margin: .25rem 0 0;
    text-align: center;
    font-size: .875rem;
    color: var(--ink-3);
  }
}

@media (max-width: 900px) {
  .case-cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .case-aside { position: static; }
  .case-visual { grid-template-columns: 1fr; }
  .case-visual-media { max-width: 30rem; }
}
@media (max-width: 560px) {
  .ba { grid-template-columns: 1fr; }
}

/* --- Lien qui couvre toute la carte projet --------------------------------- */
.work, .pcard, .work-hero { position: relative; }
.card-link { color: inherit; }
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 22px;
}
@media (hover: hover) and (pointer: fine) {
  .work:hover .card-link,
  .pcard:hover .card-link { color: var(--blue-cta); }
  .card-link { transition: color 200ms ease; }
}

/* ==========================================================================
   CORRECTIONS APRES AUDIT
   ========================================================================== */

/* La surface de lien recouvrait la figure : le survol part maintenant de la carte */
@media (hover: hover) and (pointer: fine) {
  .work:hover .work-frame img,
  .pcard:hover .work-frame img,
  .work-hero:hover .work-frame img { transform: scale(1.03); }
}

/* Un bloc de 700px entierement cliquable empeche de selectionner son texte */
.work-hero .card-link::after { content: none; }
.work-hero .link-arrow { margin-top: 1.5rem; }

/* Une seule carte de la grille est cliquable : elle doit le montrer */
.card-go {
  display: inline-grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-left: .5rem;
  vertical-align: -.1875rem;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-cta);
  transition: transform 200ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.card-go svg { width: .8125rem; height: .8125rem; }
@media (hover: hover) and (pointer: fine) {
  .work:hover .card-go,
  .pcard:hover .card-go {
    background: var(--blue-cta);
    color: #fff;
    transform: translateX(2px);
  }
}

/* --- La video de presentation chevauche le hero ----------------------------- */
.case-reel {
  position: relative;
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
}
/* Le fond sombre du hero se prolonge derriere la moitie haute du cadre */
.case-reel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 42%;
  background: var(--dark);
}
.case-reel > .wrap { position: relative; }
.case-reel .showreel-frame { border-color: rgba(255, 255, 255, .14); }

/* --- Recit : la colonne de gauche portait un titre seul --------------------- */
.case-cols { grid-template-columns: minmax(0, .3fr) minmax(0, .7fr); }
.case-aside p {
  margin: .875rem 0 0;
  color: var(--ink-3);
  font-size: .9375rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* --- Le visuel de marque ne doit pas ecraser son texte ---------------------- */
.case-visual { grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); }

@media (max-width: 900px) {
  .case-cols { grid-template-columns: 1fr; }
  .case-visual { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .work:hover .work-frame img,
  .pcard:hover .work-frame img,
  .work-hero:hover .work-frame img,
  .work:hover .card-go,
  .pcard:hover .card-go { transform: none; }
}

/* Le titre projet tient sur une ligne aux grandes tailles */
.case-hero h1 { max-width: 18ch; }

/* ==========================================================================
   CORRECTIONS SIGNALEES
   ========================================================================== */

/* 1. Le panneau final collait a la section temoignage, deux fonds sombres bord a bord */
.section-blue + .final-cta { padding-top: clamp(3rem, 5.5vw, 5rem); }

/* 2. Avant / apres : les deux logos sur le meme fond blanc, seul le logo change */
.ba-plate.is-light img { max-width: 62%; max-height: 64%; }

/* 3. La video de presentation ne chevauche plus le hero */
.case-reel::before { content: none; }
.case-reel { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.case-reel .showreel-frame { border-color: var(--line); }

/* --- Etude de cas : alternance des blocs visuel / texte --------------------- */
.case-visual.is-flip { grid-template-columns: minmax(0, .54fr) minmax(0, .46fr); }
.case-visual.is-flip .case-visual-media { order: 2; }
.case-visual.is-flip .case-visual-body { order: 1; }
/* Un visuel en portrait ne doit pas ecraser la colonne */
.case-visual-media.is-tall { max-width: 24rem; margin-inline: auto; }

@media (max-width: 900px) {
  /* En colonne unique, le visuel passe toujours en premier */
  .case-visual.is-flip { grid-template-columns: 1fr; }
  .case-visual.is-flip .case-visual-media { order: 0; }
  .case-visual.is-flip .case-visual-body { order: 1; }
}

/* Le temoignage en carte blanche, pose sur le bleu profond */
.section-blue .quote-card { border-color: transparent; box-shadow: var(--shadow-lg); }

/* --- Etude de cas : la serie de captures du site ---------------------------- */
.case-shots { background: var(--paper); }
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
/* La premiere capture, celle de l accueil, occupe toute la largeur */
.shots .work-frame.is-wide { grid-column: 1 / -1; }
.shots .work-frame { box-shadow: var(--shadow-md); }

/* Une video dans la rangee de visuels garde le meme cadre que les images */
.swipe-item.is-video video {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* Initiales en remplacement d un portrait, dans une carte temoignage */
.quote-card .initials.is-lg {
  width: 72px;
  height: 72px;
  font-size: 1.375rem;
}

@media (max-width: 700px) {
  .shots { grid-template-columns: 1fr; }
}

/* ==========================================================================
   AJUSTEMENTS ACCUEIL
   ========================================================================== */

/* Le lien fleche s etirait sur toute la largeur de sa colonne flex :
   son soulignement au survol traversait la carte entiere. */
.link-arrow { align-self: start; }

/* --- Comparatif : la colonne henmi devient une vraie plaque de marque ------- */
.compare-wrap {
  padding: clamp(.5rem, 1vw, 1rem);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -44px rgba(19, 32, 74, .45);
}
.compare thead th:first-child { padding-block: 1.5rem; }

/* Colonne concurrente : lisible, mais clairement en retrait */
.compare .col-them { color: var(--ink-2); }
.compare thead .col-them { color: var(--ink-3); font-weight: 600; }
.compare .col-them .tick svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 0;
  border-radius: 50%;
  background: #EDF0F6;
  color: #8E99B2;
}

/* Colonne henmi : bleu nuit plein, arrondi en haut et en bas */
.compare .col-us {
  background: linear-gradient(180deg, var(--navy-top) 0%, var(--navy) 46%, var(--dark) 100%);
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
}
.compare thead .col-us {
  color: #fff;
  border-radius: 20px 20px 0 0;
  padding-block: 1.75rem 1.25rem;
  font-size: 1.25rem;
}
.compare tbody tr:last-child .col-us { border-radius: 0 0 20px 20px; padding-bottom: 1.5rem; }
.compare tbody tr + tr .col-us { border-top-color: rgba(255, 255, 255, .12); }
.compare .col-us .tick svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--blue-cta);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(45, 91, 255, .9);
}
.compare .tick { align-items: center; gap: .625rem; }

/* Le nom de marque porte seul la colonne, sans pastille "recommande" */
.col-us-head {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
}

@media (max-width: 700px) {
  .compare th, .compare td { padding: .875rem 1rem; }
  .compare thead .col-us { font-size: 1.125rem; }
}

/* --- Page 404 --------------------------------------------------------------- */
.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.notfound-code {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--line-2);
}
.notfound h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  max-width: 22ch;
  margin-inline: auto;
}
.notfound .lede { margin-inline: auto; }
.notfound .hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center; margin-top: 2rem; }
.notfound-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.75rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  list-style: none;
  font-weight: 600;
}
.notfound-links a { color: var(--blue-cta); }
@media (hover: hover) and (pointer: fine) {
  .notfound-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
}
