@font-face {
  font-family: "Manrope Variable";
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/*
 * Elementor Site Settings contract
 * --------------------------------
 * Standard globals:
 * primary = graphite ink, secondary = mineral canvas,
 * text = body graphite, accent = muted indigo.
 *
 * Custom color IDs expected in the Elementor kit:
 * rift-paper-light, rift-paper-deep, rift-indigo-deep, rift-clay,
 * rift-sage, rift-ochre, rift-dark, rift-dark-soft, rift-white.
 *
 * Typography globals:
 * primary = H1/display, secondary = H2/H3, text = body,
 * accent = condensed utility labels. The optional custom global
 * rift-editorial controls serif leads and long editorial accents.
 *
 * Fallbacks below keep the theme readable before the kit is imported.
 * Components only consume these semantic aliases.
 */
:root,
body[class*="elementor-kit-"] {
  color-scheme: light;
  --paper: var(--e-global-color-secondary, #efede6);
  --paper-light: var(--e-global-color-rift-paper-light, #f8f7f2);
  --paper-deep: var(--e-global-color-rift-paper-deep, #dedbd1);
  --ink: var(--e-global-color-primary, #171817);
  --ink-soft: var(--e-global-color-text, #5e605c);
  --indigo: var(--e-global-color-accent, #4f5975);
  --indigo-deep: var(--e-global-color-rift-indigo-deep, #31394d);
  --clay: var(--e-global-color-rift-clay, #7b3f31);
  --sage: var(--e-global-color-rift-sage, #526259);
  --ochre: var(--e-global-color-rift-ochre, #6b4927);
  --dark: var(--e-global-color-rift-dark, #1a1b19);
  --dark-soft: var(--e-global-color-rift-dark-soft, #272824);
  --white: var(--e-global-color-rift-white, #fffefa);

  --paper-neutral: color-mix(in srgb, var(--paper-light) 96%, var(--ink) 4%);
  --dark-deep: color-mix(in srgb, var(--dark) 82%, var(--indigo-deep) 18%);
  --clay-muted: color-mix(in srgb, var(--clay) 76%, var(--paper-light) 24%);
  --clay-light: color-mix(in srgb, var(--clay) 44%, var(--white) 56%);
  --clay-soft: color-mix(in srgb, var(--clay) 34%, var(--white) 66%);
  --clay-fog: color-mix(in srgb, var(--clay) 22%, var(--white) 78%);
  --clay-pale: color-mix(in srgb, var(--clay) 24%, var(--white) 76%);
  --clay-bright: color-mix(in srgb, var(--clay) 48%, var(--white) 52%);
  --sage-soft: color-mix(in srgb, var(--sage) 24%, var(--white) 76%);
  --ochre-soft: color-mix(in srgb, var(--ochre) 24%, var(--white) 76%);
  --indigo-soft: color-mix(in srgb, var(--indigo) 25%, var(--white) 75%);
  --indigo-soft-alt: color-mix(in srgb, var(--indigo) 27%, var(--white) 73%);
  --indigo-muted: color-mix(in srgb, var(--indigo) 58%, var(--white) 42%);
  --indigo-light: color-mix(in srgb, var(--indigo) 37%, var(--white) 63%);
  --indigo-midlight: color-mix(in srgb, var(--indigo) 31%, var(--white) 69%);
  --indigo-faint: color-mix(in srgb, var(--indigo) 24%, var(--white) 76%);
  --indigo-faint-2: color-mix(in srgb, var(--indigo) 22%, var(--white) 78%);
  --indigo-fog-1: color-mix(in srgb, var(--indigo) 20%, var(--white) 80%);
  --indigo-fog-2: color-mix(in srgb, var(--indigo) 17%, var(--white) 83%);
  --indigo-fog-3: color-mix(in srgb, var(--indigo) 18%, var(--white) 82%);

  --line: color-mix(in srgb, var(--ink) 18%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 42%, transparent);
  --gutter: clamp(1.25rem, 4vw, 5.5rem);
  --section-space: clamp(3.25rem, 4.6vw, 4.75rem);
  --header-height: clamp(5.3rem, 7vw, 7rem);
  --body: var(--e-global-typography-text-font-family, "Manrope Variable", "Manrope", Arial, sans-serif);
  --display: var(--e-global-typography-primary-font-family, "Manrope Variable", "Manrope", Arial, sans-serif);
  --heading: var(--e-global-typography-secondary-font-family, "Manrope Variable", "Manrope", Arial, sans-serif);
  --utility: var(--e-global-typography-accent-font-family, "Barlow Condensed", "Arial Narrow", sans-serif);
  --editorial: var(--e-global-typography-rift-editorial-font-family, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif);

  --type-body-size: var(--e-global-typography-text-font-size, 1rem);
  --type-body-weight: var(--e-global-typography-text-font-weight, 400);
  --type-body-line: var(--e-global-typography-text-line-height, 1.55);
  --type-body-tracking: var(--e-global-typography-text-letter-spacing, normal);
  --type-body-transform: var(--e-global-typography-text-text-transform, none);
  --type-primary-size: var(--e-global-typography-primary-font-size, clamp(3.15rem, 7.4vw, 8.6rem));
  --type-primary-weight: var(--e-global-typography-primary-font-weight, 480);
  --type-primary-line: var(--e-global-typography-primary-line-height, 0.94);
  --type-primary-tracking: var(--e-global-typography-primary-letter-spacing, -0.075em);
  --type-primary-transform: var(--e-global-typography-primary-text-transform, none);
  --type-hero-size: var(--e-global-typography-rift-hero-font-size, clamp(2.5rem, 4.6vw, 4.25rem));
  --type-hero-weight: var(--e-global-typography-rift-hero-font-weight, 500);
  --type-hero-line: var(--e-global-typography-rift-hero-line-height, 0.97);
  --type-hero-tracking: var(--e-global-typography-rift-hero-letter-spacing, -0.035em);
  --type-service-hero-size: var(--e-global-typography-rift-service-hero-font-size, clamp(2.35rem, 4.35vw, 4rem));
  --type-service-hero-weight: var(--e-global-typography-rift-service-hero-font-weight, 500);
  --type-service-hero-line: var(--e-global-typography-rift-service-hero-line-height, 0.98);
  --type-service-hero-tracking: var(--e-global-typography-rift-service-hero-letter-spacing, -0.031em);
  --type-secondary-size: var(--e-global-typography-secondary-font-size, clamp(2.45rem, 4.7vw, 5.6rem));
  --type-secondary-weight: var(--e-global-typography-secondary-font-weight, 520);
  --type-secondary-line: var(--e-global-typography-secondary-line-height, 0.98);
  --type-secondary-tracking: var(--e-global-typography-secondary-letter-spacing, -0.065em);
  --type-secondary-transform: var(--e-global-typography-secondary-text-transform, none);
  --type-accent-size: var(--e-global-typography-accent-font-size, 0.78rem);
  --type-accent-weight: var(--e-global-typography-accent-font-weight, 700);
  --type-accent-line: var(--e-global-typography-accent-line-height, 1.2);
  --type-accent-tracking: var(--e-global-typography-accent-letter-spacing, 0.18em);
  --type-accent-transform: var(--e-global-typography-accent-text-transform, uppercase);
  --type-editorial-size: var(--e-global-typography-rift-editorial-font-size, clamp(1.12rem, 1.55vw, 1.45rem));
  --type-editorial-weight: var(--e-global-typography-rift-editorial-font-weight, 400);
  --type-editorial-line: var(--e-global-typography-rift-editorial-line-height, 1.42);
  --type-editorial-tracking: var(--e-global-typography-rift-editorial-letter-spacing, normal);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  letter-spacing: var(--type-body-tracking);
  line-height: var(--type-body-line);
  text-transform: var(--type-body-transform);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  overflow: hidden;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

button {
  border: 0;
  background: none;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  min-width: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  font-family: var(--display);
  font-size: var(--type-primary-size);
  font-weight: var(--type-primary-weight);
  letter-spacing: var(--type-primary-tracking);
  line-height: var(--type-primary-line);
  text-transform: var(--type-primary-transform);
}

h2,
h3 {
  font-family: var(--heading);
  font-weight: var(--type-secondary-weight);
  letter-spacing: var(--type-secondary-tracking);
  line-height: var(--type-secondary-line);
  text-transform: var(--type-secondary-transform);
}

.section > *,
.inner-hero > *,
.service-hero > *,
.final-cta > *,
.site-footer > * {
  min-width: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

::selection {
  background: var(--indigo);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--indigo-deep);
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
  background: var(--paper);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.85rem 1.1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  position: relative;
  padding: var(--section-space) var(--gutter);
}

.eyebrow {
  color: var(--indigo);
  font-family: var(--utility);
  font-size: var(--type-accent-size);
  font-weight: var(--type-accent-weight);
  letter-spacing: var(--type-accent-tracking);
  line-height: var(--type-accent-line);
  text-transform: var(--type-accent-transform);
}

.section h2,
.inner-section-heading h2 {
  max-width: 14ch;
  font-size: var(--type-secondary-size);
  font-weight: var(--type-secondary-weight);
  letter-spacing: var(--type-secondary-tracking);
  line-height: var(--type-secondary-line);
}

.button,
.section-link,
.button--text {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 680;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms var(--ease-out);
}

.button svg,
.section-link svg,
.button--text svg {
  flex: 0 0 auto;
  transition: transform 260ms var(--ease-out);
}

.button:hover svg,
.section-link:hover svg,
.button--text:hover svg {
  transform: translateX(0.3rem);
}

.button--primary {
  padding: 0.85rem 1.15rem;
  background: var(--ink);
  color: var(--white);
}

.button--primary:hover {
  background: var(--indigo-deep);
}

.button--quiet {
  padding: 0.8rem 0;
  border-bottom: 1px solid currentColor;
}

.button--dark {
  padding: 0.9rem 1.2rem;
  background: var(--paper-light);
  color: var(--ink);
}

.button--text,
.section-link {
  justify-content: flex-start;
  border-bottom: 1px solid var(--indigo);
  color: var(--indigo);
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 850ms var(--ease-out), transform 850ms var(--ease-out);
}

.motion-ready .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.context-cursor {
  --cursor-x: -120px;
  --cursor-y: -120px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  display: grid;
  width: 7rem;
  min-height: 3.2rem;
  padding: 0.8rem 1rem;
  place-items: center;
  pointer-events: none;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x) - 50%), calc(var(--cursor-y) - 50%), 0) scale(0.82);
  transition: opacity 160ms ease, transform 260ms var(--ease-out);
}

.context-cursor.is-visible {
  opacity: 1;
  transform: translate3d(calc(var(--cursor-x) - 50%), calc(var(--cursor-y) - 50%), 0) scale(1);
}

.context-cursor span {
  font-family: var(--utility);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

/* Navigation */
.site-header {
  position: relative;
  z-index: 80;
  display: grid;
  min-height: var(--header-height);
  padding: 0.75rem var(--gutter);
  grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
  align-items: center;
  gap: 2rem;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.brand img {
  width: auto;
  height: clamp(4.6rem, 5.5vw, 5.8rem);
  object-fit: contain;
  filter: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.15rem, 2.1vw, 2.5rem);
}

.nav-link,
.services-nav__entry > a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 570;
}

.nav-link::after,
.services-nav__entry > a::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 1px;
  background: var(--clay);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.nav-link:hover::after,
.nav-link.is-current::after,
.services-nav__entry > a:hover::after,
.services-nav__entry > a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.services-nav {
  position: relative;
}

.services-nav__entry {
  display: flex;
  align-items: center;
}

.services-nav__toggle {
  display: grid;
  width: 32px;
  height: 44px;
  place-items: center;
  cursor: pointer;
  transition: transform 220ms ease;
}

.services-nav:has(.services-panel.is-open) .services-nav__toggle {
  transform: rotate(180deg);
}

.services-panel {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  width: min(52rem, calc(100vw - 2 * var(--gutter)));
  padding: 2rem;
  visibility: hidden;
  background: var(--paper-light);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 14%, transparent);
  opacity: 0;
  transform: translate(-38%, 0.75rem);
  transition: opacity 220ms ease, transform 320ms var(--ease-out), visibility 220ms;
}

.services-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translate(-38%, 0);
}

.services-panel__cut {
  position: absolute;
  top: 0;
  right: 0;
  width: 26%;
  height: 4px;
  background: var(--clay);
}

.services-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.services-panel__group p {
  margin-bottom: 1rem;
  color: var(--indigo);
  font-family: var(--utility);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-panel__group a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  transition: color 180ms ease, transform 220ms var(--ease-out);
}

.services-panel__group a:hover {
  color: var(--clay);
  transform: translateX(0.25rem);
}

.services-panel__all {
  display: inline-flex;
  margin-top: 1.6rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--indigo);
  font-size: 0.88rem;
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;
  margin-left: auto;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--clay);
  font-size: 0.88rem;
  font-weight: 640;
}

.header-cta svg {
  transition: transform 250ms var(--ease-out);
}

.header-cta:hover svg {
  transform: translateX(0.3rem);
}

.menu-trigger,
.mobile-menu {
  display: none;
}

/* Accueil — hero */
.hero {
  position: relative;
  display: grid;
  min-height: clamp(49rem, 77svh, 51rem);
  overflow: clip;
  padding: clamp(3rem, 6vh, 5.2rem) var(--gutter) clamp(4rem, 7vh, 6.5rem);
  grid-template-columns: minmax(0, 1.06fr) minmax(31rem, 0.94fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
}

.hero__margin-note {
  position: absolute;
  top: 50%;
  left: clamp(0.35rem, 1.3vw, 1.7rem);
  color: var(--ink-soft);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}

.hero__copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding-left: clamp(2rem, 4.2vw, 4rem);
  transform: translateY(-2.25rem);
}

.hero__eyebrow {
  margin-bottom: clamp(1.25rem, 1.6vw, 1.7rem);
}

.hero h1 {
  max-width: 12.2ch;
  font-size: var(--type-primary-size);
  font-weight: var(--type-primary-weight);
  letter-spacing: var(--type-primary-tracking);
  line-height: var(--type-primary-line);
}

.hero h1 span {
  display: block;
}

.hero__lead {
  max-width: 22rem;
  margin-top: clamp(1.3rem, 2.4vw, 2.1rem);
  color: var(--indigo-deep);
  font-family: var(--editorial);
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  line-height: 1.24;
}

.hero__scope {
  max-width: 31rem;
  margin-top: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero__actions {
  display: flex;
  margin-top: 0.6rem;
  gap: 1.25rem;
}

.hero__stage {
  --pointer-local-x: 0;
  --pointer-local-y: 0;
  position: relative;
  min-height: min(64vh, 41.5rem);
  align-self: stretch;
}

.hero-project {
  position: absolute;
  display: block;
  background: var(--white);
  box-shadow: 0 22px 55px color-mix(in srgb, var(--ink) 14%, transparent);
  will-change: transform;
}

.hero-project img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-project > span {
  position: absolute;
  top: calc(100% + 0.75rem);
  display: grid;
  gap: 0.1rem;
  min-width: 13rem;
  color: var(--indigo-deep);
  font-family: var(--editorial);
  font-size: 0.82rem;
  line-height: 1.25;
}

.hero-project > span strong {
  font-weight: 600;
}

.hero-project > span small {
  font-size: inherit;
}

.hero-project--boutik {
  top: 1%;
  right: -22%;
  z-index: 2;
  width: min(47vw, 47rem);
  transform: translate3d(calc(var(--pointer-local-x) * 9px), calc(var(--pointer-local-y) * 6px), 0) rotate(-2.6deg);
}

.hero-project--boutik > span {
  right: 8%;
}

.hero-project--isia {
  top: clamp(26.5rem, 29.8vw, 27.75rem);
  right: 12%;
  z-index: 3;
  width: min(38vw, 38rem);
  transform: translate3d(calc(var(--pointer-local-x) * -11px), calc(var(--pointer-local-y) * -8px), 0) rotate(2.1deg);
}

.hero-project--isia > span {
  right: calc(100% + 1.3rem);
  bottom: 35%;
  top: auto;
  min-width: 11rem;
}

.hero__project-cue {
  position: absolute;
  top: 65%;
  left: -29%;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--indigo);
  font-family: var(--utility);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.motion-ready .hero__copy > * {
  opacity: 0;
  transform: translateY(2.5rem);
  animation: hero-copy-in 950ms var(--ease-out) forwards;
}

.motion-ready .hero__copy > :nth-child(2) { animation-delay: 90ms; }
.motion-ready .hero__copy > :nth-child(3) { animation-delay: 180ms; }
.motion-ready .hero__copy > :nth-child(4) { animation-delay: 240ms; }
.motion-ready .hero__copy > :nth-child(5) { animation-delay: 300ms; }

.motion-ready .hero-project--boutik {
  animation: hero-media-boutik 1200ms 180ms var(--ease-out) both;
}

.motion-ready .hero-project--isia {
  animation: hero-media-isia 1200ms 340ms var(--ease-out) both;
}

@keyframes hero-copy-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-media-boutik {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(2rem, 3rem, 0) rotate(0deg); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes hero-media-isia {
  from { opacity: 0; clip-path: inset(100% 0 0 0); transform: translate3d(-2rem, 4rem, 0) rotate(0deg); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* Accueil — services */
.services {
  background: var(--paper-light);
}

.section-intro,
.projects__heading,
.offers__heading,
.method__heading,
.local-presence__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 0.62fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
}

.section-intro .section-link,
.offers__heading .section-link {
  justify-self: end;
}

.services__stage {
  display: grid;
  margin-top: clamp(3rem, 4.5vw, 4.5rem);
  grid-template-columns: minmax(19rem, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: clamp(2rem, 5vw, 6rem);
}

.service-passages {
  align-self: center;
  border-top: 1px solid var(--line-strong);
}

.service-passage {
  border-bottom: 1px solid var(--line);
}

.service-passage > button {
  display: grid;
  width: 100%;
  min-height: 6.15rem;
  padding: 1.1rem 0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.service-passage > button > svg {
  color: var(--ink-soft);
  transition: color 220ms ease, transform 280ms var(--ease-out);
}

.service-passage > button > span {
  display: grid;
  gap: 0.42rem;
}

.service-passage strong {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.service-passage small {
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.service-passage.is-active > button > svg {
  color: var(--clay);
  transform: translateX(0.35rem);
}

.service-passage.is-active strong {
  color: var(--indigo-deep);
}

.service-passage__mobile-detail {
  display: none;
}

.service-aperture {
  position: relative;
  min-height: clamp(29rem, 35vw, 33rem);
  overflow: hidden;
  background: var(--paper-deep);
}

.service-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.025);
  transition: transform 900ms var(--ease-out), opacity 500ms ease;
}

.service-visual > span {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.55rem 0.75rem;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--utility);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-aperture:hover .service-visual img {
  transform: scale(1);
}

.service-aperture figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(29rem, 76%);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: var(--ink);
  color: var(--white);
}

.service-aperture figcaption p {
  font-family: var(--editorial);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.35;
}

.service-aperture figcaption a {
  display: inline-flex;
  margin-top: 1rem;
  align-items: center;
  gap: 0.45rem;
  color: var(--indigo-fog-1);
  font-size: 0.84rem;
  font-weight: 650;
}

/* Accueil — transformation */
.transformation {
  display: grid;
  padding-top: calc(var(--section-space) * 0.85);
  padding-bottom: calc(var(--section-space) * 0.85);
  grid-template-columns: minmax(16rem, 0.48fr) minmax(0, 1.52fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--ink);
}

.transformation .eyebrow {
  color: var(--clay);
}

.transformation__copy h2 {
  margin-top: 1.25rem;
  font-size: clamp(3rem, 5vw, 5.8rem);
}

.transformation__copy > p:last-child {
  max-width: 28rem;
  margin-top: 1.75rem;
  color: var(--ink-soft);
  font-family: var(--editorial);
  font-size: 1.15rem;
}

.comparison {
  --position: 54%;
  position: relative;
  min-height: clamp(24rem, 38vw, 34rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
  box-shadow: 0 26px 70px color-mix(in srgb, var(--ink) 12%, transparent);
}

.comparison:focus-within {
  outline: 3px solid var(--indigo);
  outline-offset: 0.35rem;
}

.comparison__before,
.comparison__after {
  position: absolute;
  inset: 0;
}

.comparison__before > p,
.comparison__after > p {
  position: absolute;
  top: 1rem;
  z-index: 4;
  padding: 0.45rem 0.65rem;
  border-bottom: 2px solid var(--clay);
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison__before > p { left: 1rem; }
.comparison__after > p { right: 1rem; }

.comparison__before > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.6) contrast(0.85);
}

.comparison__after {
  overflow: hidden;
  clip-path: inset(0 0 0 var(--position));
}

.after-browser {
  position: absolute;
  inset: 4% 3%;
  overflow: hidden;
  background: var(--paper-light);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--ink) 14%, transparent);
}

.after-browser__chrome {
  display: grid;
  height: 2.9rem;
  padding: 0 1rem;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  background: var(--paper-neutral);
  color: var(--ink);
  font-size: 0.65rem;
}

.after-browser__controls,
.after-browser__menu {
  display: flex;
  gap: 0.25rem;
}

.after-browser__controls i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ink-soft);
}

.after-browser__tab {
  font-weight: 700;
}

.after-browser__address {
  padding: 0.38rem 0.75rem;
  background: var(--white);
  color: var(--ink-soft);
}

.after-browser__menu i {
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background: var(--ink-soft);
}

.after-browser__viewport {
  position: relative;
  height: calc(100% - 2.9rem);
}

.after-browser__viewport > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--dark-deep);
}

.comparison__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 6;
  width: 1px;
  background: var(--clay);
  pointer-events: none;
}

.comparison__divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--clay);
  border-radius: 50%;
  background: var(--paper-light);
  transform: translate(-50%, -50%);
}

.comparison__range {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  opacity: 0;
}

/* Accueil — offres */
.offers {
  background: var(--paper);
}

.offers__heading h2 {
  margin-top: 1.1rem;
}

.offer-tabs {
  display: grid;
  margin-top: clamp(2.75rem, 4vw, 4.25rem);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.offer-tabs button {
  min-height: 4.5rem;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  color: var(--ink-soft);
  font-family: var(--utility);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.offer-tabs button + button {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.offer-tabs button.is-active {
  color: var(--clay);
}

.offer-comparison {
  min-height: clamp(15rem, 18vw, 17rem);
}

.offer-comparison article {
  display: none;
  min-height: clamp(15rem, 18vw, 17rem);
  padding-top: 2.5rem;
  grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.35fr);
  grid-template-rows: auto auto 1fr;
  gap: 1rem clamp(3rem, 7vw, 8rem);
}

.offer-comparison article.is-active {
  display: grid;
  animation: offer-enter 650ms var(--ease-out) both;
}

.offer-comparison__top {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.offer-comparison__top span {
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.8rem;
}

.offer-comparison__top h3 {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.offer-comparison__visual {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  overflow: hidden;
  background: var(--paper-deep);
}

.offer-comparison__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 900ms var(--ease-out);
}

.offer-comparison article:hover .offer-comparison__visual img {
  transform: scale(1.015);
}

.offer-comparison article > strong {
  max-width: 19ch;
  align-self: end;
  font-family: var(--editorial);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.18;
}

.offer-comparison article > p {
  max-width: 33rem;
  color: var(--ink-soft);
}

@keyframes offer-enter {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accueil — réalisations */
.projects {
  background: var(--paper-light);
}

.projects__heading > div:last-child {
  display: grid;
  justify-items: start;
  gap: 1.4rem;
}

.projects__heading > div:last-child > p {
  max-width: 34rem;
  color: var(--ink-soft);
  font-family: var(--editorial);
  font-size: 1.25rem;
}

.project-grid {
  display: grid;
  margin-top: clamp(3rem, 5vw, 5rem);
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem) clamp(1.5rem, 3vw, 3.5rem);
}

.project-card {
  position: relative;
  display: block;
  align-self: start;
  transform: translateY(var(--drift-y, 0));
}

.project-card--1 { grid-column: 1 / span 7; }
.project-card--2 { grid-column: 8 / span 5; margin-top: 5rem; }
.project-card--3 { grid-column: 2 / span 5; }
.project-card--4 { grid-column: 7 / span 6; margin-top: 3rem; }

.project-card > img {
  width: 100%;
  height: auto;
  background: var(--paper-deep);
  object-fit: contain;
  box-shadow: 0 22px 52px color-mix(in srgb, var(--ink) 11%, transparent);
  transition: transform 700ms var(--ease-out);
}

.project-card:hover > img {
  transform: translateY(-0.65rem) rotate(-0.35deg);
}

.project-card__veil {
  display: none;
}

.project-card__copy {
  display: grid;
  margin-top: 1.35rem;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.3rem 1rem;
}

.project-card__copy small {
  grid-column: 1 / -1;
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__copy strong {
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
}

.project-card__copy > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 650;
}

/* Accueil — méthode, présence, sorties */
.method {
  background: var(--dark);
  color: var(--white);
}

.method__heading {
  align-items: start;
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
}

.method__heading > div {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}

.method__heading .section-link {
  color: var(--indigo-fog-2);
}

.method__steps {
  display: grid;
  margin-top: clamp(2.5rem, 4vw, 4.5rem);
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 24%, transparent);
}

.method__steps li {
  position: relative;
  display: grid;
  min-height: 8.5rem;
  padding: 1rem 0.8rem 1.7rem 0;
  align-content: end;
  gap: 0.55rem;
  border-right: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
}

.method__steps li:nth-child(2) { min-height: 9.5rem; }
.method__steps li:nth-child(3) { min-height: 10.5rem; }
.method__steps li:nth-child(4) { min-height: 11.5rem; }
.method__steps li:nth-child(5) { min-height: 12.5rem; border-right: 0; }

.method__steps span {
  color: var(--indigo-muted);
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.method__steps strong {
  font-family: var(--editorial);
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  font-weight: 500;
}

.method__steps i {
  position: absolute;
  right: 0.8rem;
  bottom: -0.3rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--clay);
}

.local-presence {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.local-presence__intro {
  display: block;
}

.local-presence__intro h2 {
  margin-top: 1.25rem;
  font-size: clamp(2.8rem, 4.2vw, 5.3rem);
  line-height: 1;
}

.local-presence__body {
  display: grid;
  align-content: center;
  gap: 1.5rem;
  padding-bottom: 0.75rem;
}

.local-presence__body p {
  color: var(--ink-soft);
  font-family: var(--editorial);
  font-size: 1.2rem;
}

.local-presence__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}

.local-presence__links a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--indigo-deep);
  font-size: 0.86rem;
  font-weight: 650;
}

.quiet-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-light);
}

.quiet-link {
  min-height: clamp(16rem, 22vw, 19rem);
  padding: clamp(2.4rem, 3.4vw, 3.5rem) var(--gutter);
}

.quiet-link + .quiet-link {
  border-left: 1px solid var(--line);
}

.quiet-link h2 {
  max-width: 15ch;
  margin-top: 1.3rem;
  font-family: var(--editorial);
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.quiet-link a {
  display: inline-flex;
  margin-top: 2rem;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--indigo);
  color: var(--indigo);
  font-weight: 650;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: clamp(20rem, 30vw, 24rem);
  padding: clamp(2.9rem, 4vw, 4rem) var(--gutter);
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: end;
  gap: 3rem;
  overflow: hidden;
  background: var(--indigo-deep);
  color: var(--white);
}

.final-cta__cut {
  position: absolute;
  top: 0;
  right: 7%;
  width: 18%;
  height: 0.42rem;
  background: var(--clay);
}

.final-cta h2 {
  max-width: 14ch;
  margin-top: 1.2rem;
  font-size: var(--type-secondary-size);
  font-weight: var(--type-secondary-weight);
  letter-spacing: var(--type-secondary-tracking);
  line-height: var(--type-secondary-line);
}

.final-cta > div p:last-child {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: color-mix(in srgb, var(--white) 68%, transparent);
  font-family: var(--editorial);
  font-size: 1.15rem;
}

.site-footer {
  display: grid;
  padding: clamp(3rem, 4.5vw, 4rem) var(--gutter) 2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: auto;
  height: 5rem;
  object-fit: contain;
  filter: none;
}

.site-footer > div {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.site-footer > div > p {
  margin-bottom: 0.5rem;
  color: var(--indigo);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer > div a {
  width: fit-content;
  color: var(--ink-soft);
  font-size: 0.86rem;
  transition: color 180ms ease, transform 220ms var(--ease-out);
}

.site-footer > div a:hover {
  color: var(--clay);
  transform: translateX(0.2rem);
}

.footer-note {
  grid-column: 1 / -1;
  max-width: 66rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
}

/* Pages intérieures — base */
.inner-page {
  min-height: 100vh;
  background: var(--paper);
}

.inner-hero {
  position: relative;
  display: grid;
  min-height: clamp(28rem, 48svh, 38rem);
  padding: clamp(3rem, 4.5vw, 4.75rem) var(--gutter);
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 6vw, 7rem);
  overflow: hidden;
}

.inner-hero--compact {
  min-height: clamp(26rem, 44svh, 34rem);
}

.inner-hero__copy {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.breadcrumb li + li::before {
  margin-right: 0.45rem;
  color: var(--clay);
  content: "/";
}

.breadcrumb a:hover {
  color: var(--indigo);
}

.inner-hero h1 {
  max-width: 12ch;
  margin-top: 1.35rem;
  font-size: var(--type-primary-size);
  font-weight: var(--type-primary-weight);
  letter-spacing: var(--type-primary-tracking);
  line-height: var(--type-primary-line);
}

.inner-hero__lead {
  max-width: 38rem;
  margin-top: clamp(0.85rem, 1.4vw, 1.25rem);
  align-self: end;
  padding-bottom: 0.5rem;
  color: var(--indigo-deep);
  font-family: var(--editorial);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.inner-hero__media {
  position: absolute;
  right: -3%;
  bottom: -8%;
  width: 48%;
}

.inner-hero__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.inner-hero__slash {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22%;
  height: 0.42rem;
  background: var(--clay);
}

.inner-section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: start;
  gap: 2rem;
}

.inner-section-heading h2 {
  grid-column: 2;
}

.inner-section-heading > p:last-child {
  grid-column: 2;
  max-width: 42rem;
  color: var(--ink-soft);
  font-family: var(--editorial);
  font-size: 1.15rem;
}

/* Hub services */
.intent-shortcuts {
  display: flex;
  padding: 0 var(--gutter) clamp(3rem, 5vw, 5rem);
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.intent-shortcuts a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--indigo-deep);
  font-size: 0.84rem;
  font-weight: 650;
}

.hub-passages {
  background: var(--paper-light);
}

.hub-passages > .eyebrow {
  margin-bottom: clamp(2.25rem, 3.5vw, 3.5rem);
}

.hub-passages__layout {
  display: grid;
  grid-template-columns: minmax(19rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
}

.hub-passages__list {
  border-top: 1px solid var(--line-strong);
}

.hub-passage {
  border-bottom: 1px solid var(--line);
}

.hub-passage [data-service-trigger] {
  display: grid;
  width: 100%;
  min-height: 5.7rem;
  padding: 1rem 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.hub-passage [data-service-trigger] > span {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--indigo);
  font-size: 1.15rem;
  transition: transform 180ms var(--ease-out);
}

.hub-passage [data-service-trigger]:hover > span,
.hub-passage [data-service-trigger]:focus-visible > span {
  transform: translateX(0.25rem);
}

.hub-passage strong {
  font-size: 1rem;
  font-weight: 650;
}

.hub-passage small {
  display: none;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}

.hub-passage.is-active small {
  display: block;
}

.hub-passage.is-active [data-service-trigger] > span {
  color: var(--clay);
}

.hub-passages__preview {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  background: var(--paper-deep);
}

.hub-passages__preview .service-visual {
  inset: 0 0 34% 0;
}

.hub-passages__preview figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 16%;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  background: var(--ink);
  color: var(--white);
}

.hub-passages__preview figcaption > strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 520;
  letter-spacing: -0.05em;
}

.hub-passages__preview figcaption p {
  max-width: 42rem;
  color: color-mix(in srgb, var(--white) 76%, transparent);
  font-family: var(--editorial);
  font-size: 1rem;
}

.hub-passages__preview figcaption ul {
  display: flex;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--indigo-fog-3);
  font-size: 0.72rem;
}

.hub-passages__preview figcaption a {
  display: inline-flex;
  margin-top: 1.25rem;
  align-items: center;
  gap: 0.45rem;
  color: var(--clay-pale);
  font-size: 0.82rem;
  font-weight: 650;
}

.hub-passages__fault {
  display: none;
}

.choice-help {
  display: grid;
  min-height: 17rem;
  grid-template-columns: 0.45fr 1fr;
  align-items: end;
  gap: 3rem;
}

.choice-help h2 {
  max-width: 13ch;
}

.choice-help > div {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

/* Pages service — hero commun */
.service-page {
  --service-accent: var(--indigo);
  --service-accent-soft: var(--indigo-soft);
}

.service-page--refonte { --service-accent: var(--clay); --service-accent-soft: var(--clay-soft); }
.service-page--maintenance { --service-accent: var(--sage); --service-accent-soft: var(--sage-soft); }
.service-page--audit { --service-accent: var(--ochre); --service-accent-soft: var(--ochre-soft); }
.service-page--visibility { --service-accent: var(--indigo); --service-accent-soft: var(--indigo-soft-alt); }
.service-page--automation { --service-accent: var(--clay-muted); --service-accent-soft: var(--clay-fog); }

.service-hero {
  position: relative;
  display: grid;
  min-height: auto;
  padding: clamp(2.75rem, 4vw, 4.5rem) var(--gutter);
  grid-template-columns: minmax(28rem, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  overflow: hidden;
}

.service-hero__copy {
  position: relative;
  z-index: 3;
}

.service-hero__copy .breadcrumb {
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.service-hero h1 {
  max-width: 11.5ch;
  margin-top: 1.35rem;
  font-size: var(--type-primary-size);
  font-weight: var(--type-primary-weight);
  letter-spacing: var(--type-primary-tracking);
  line-height: var(--type-primary-line);
}

.service-hero__lead {
  max-width: 40rem;
  margin-top: 1.8rem;
  color: var(--indigo-deep);
  font-family: var(--editorial);
  font-size: clamp(1.12rem, 1.55vw, 1.45rem);
  line-height: 1.42;
}

.service-hero__jump {
  display: inline-flex;
  min-height: 44px;
  margin-top: 1.5rem;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid var(--service-accent);
  color: var(--indigo-deep);
  font-size: 0.86rem;
  font-weight: 650;
}

.service-hero__signals {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.service-hero__signals li {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.service-hero__signals li::before {
  margin-right: 0.5rem;
  color: var(--service-accent);
  content: "•";
}

.service-hero__stage {
  --pointer-local-x: 0;
  --pointer-local-y: 0;
  position: relative;
  min-height: clamp(27rem, 38vw, 36rem);
  align-self: stretch;
}

.service-hero__label {
  position: absolute;
  top: 1rem;
  right: 0;
  z-index: 5;
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-hero__fault {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18%;
  height: 0.4rem;
  background: var(--service-accent);
}

.service-scene {
  position: absolute;
  inset: 3.8rem 0 0;
  overflow: hidden;
  transform: translate3d(var(--service-left), var(--service-up), 0) scale(var(--service-scale));
  transform-origin: 50% 55%;
  transition: transform 90ms linear;
}

.service-scene--refonte,
.service-scene--automation {
  transform: translate3d(var(--service-right), var(--service-up), 0) scale(var(--service-scale));
}

.service-scene--audit {
  transform: translate3d(0, var(--service-down), 0) scale(var(--service-scale));
}

.service-scene figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 0 22px 52px color-mix(in srgb, var(--ink) 13%, transparent);
}

.service-scene figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Création : deux projets s’assemblent */
.scene-creation__primary {
  position: absolute;
  top: 7%;
  right: -2%;
  width: 84%;
  transform: translate3d(calc(var(--pointer-local-x) * 9px), calc(var(--pointer-local-y) * 7px), 0) rotate(-2deg);
}

.scene-creation__secondary {
  position: absolute;
  bottom: 5%;
  left: 1%;
  z-index: 2;
  width: 61%;
  transform: translate3d(calc(var(--pointer-local-x) * -11px), calc(var(--pointer-local-y) * -8px), 0) rotate(2deg);
}

.scene-creation__sequence {
  position: absolute;
  right: 3%;
  bottom: 3%;
  display: flex;
  gap: 1rem;
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scene-creation__sequence span + span::before {
  margin-right: 1rem;
  color: var(--line-strong);
  content: "/";
}

.service-hero.is-motion-ready .scene-creation__primary {
  animation: creation-primary 1050ms 120ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-creation__secondary {
  animation: creation-secondary 1050ms 340ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-creation__sequence span {
  animation: service-label-in 540ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-creation__sequence span:nth-child(2) { animation-delay: 520ms; }
.service-hero.is-motion-ready .scene-creation__sequence span:nth-child(3) { animation-delay: 680ms; }

@keyframes creation-primary {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(2rem, 3rem, 0) rotate(0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes creation-secondary {
  from { opacity: 0; clip-path: inset(100% 0 0 0); transform: translate3d(-2rem, 4rem, 0) rotate(0); }
  to { opacity: 1; clip-path: inset(0); }
}

/* Refonte : l’existant cède la place */
.scene-refonte__old,
.scene-refonte__new {
  position: absolute;
  inset: 7% 4% 8%;
}

.scene-refonte__old img {
  filter: grayscale(0.95) contrast(0.72);
}

.scene-refonte__new {
  z-index: 2;
  clip-path: inset(0 100% 0 0);
}

.scene-refonte__legend {
  position: absolute;
  right: 4%;
  bottom: 2%;
  left: 4%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-hero.is-motion-ready .scene-refonte__old {
  animation: refonte-old 900ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-refonte__new {
  animation: refonte-new 1250ms 420ms var(--ease-in-out) forwards;
}

@keyframes refonte-old {
  from { opacity: 0; transform: translateX(-2rem); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes refonte-new {
  to { clip-path: inset(0); }
}

/* Maintenance : séquence de contrôle finie */
.service-scene--maintenance figure {
  position: absolute;
  top: 5%;
  right: 3%;
  width: 76%;
  transform: translate3d(calc(var(--pointer-local-x) * 7px), calc(var(--pointer-local-y) * 5px), 0) rotate(1.25deg);
}

.scene-maintenance__checks {
  position: absolute;
  bottom: 13%;
  left: 0;
  z-index: 2;
  display: grid;
  width: min(38rem, 72%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--sage);
  border-bottom: 1px solid var(--sage);
  background: color-mix(in srgb, var(--paper-light) 94%, transparent);
  color: var(--ink);
}

.scene-maintenance__checks span {
  display: flex;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  align-items: center;
  gap: 0.65rem;
  border-right: 1px solid var(--line);
  font-size: 0.84rem;
}

.scene-maintenance__checks svg {
  color: var(--sage);
}

.service-scene--maintenance > p {
  position: absolute;
  right: 3%;
  bottom: 4%;
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-hero.is-motion-ready .service-scene--maintenance figure {
  animation: maintenance-media 980ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-maintenance__checks span {
  animation: maintenance-check 520ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-maintenance__checks span:nth-child(1) { animation-delay: 430ms; }
.service-hero.is-motion-ready .scene-maintenance__checks span:nth-child(2) { animation-delay: 620ms; }
.service-hero.is-motion-ready .scene-maintenance__checks span:nth-child(3) { animation-delay: 810ms; }

@keyframes maintenance-media {
  from { opacity: 0; clip-path: inset(0 0 100% 0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes maintenance-check {
  from { opacity: 0; transform: translateX(-2rem); }
  to { opacity: 1; transform: translateX(0); }
}

/* Audit : une preuve mesurée puis des priorités */
.service-scene--audit figure {
  position: absolute;
  top: 3%;
  left: 7%;
  width: 82%;
  max-height: 78%;
  overflow: hidden;
  transform: translate3d(calc(var(--pointer-local-x) * -6px), calc(var(--pointer-local-y) * -5px), 0);
}

.service-scene--audit figure img {
  width: 100%;
}

.scene-audit__priorities {
  position: absolute;
  right: 0;
  bottom: 10%;
  z-index: 2;
  display: grid;
  min-width: 17rem;
  border-left: 2px solid var(--ochre);
  background: color-mix(in srgb, var(--paper-light) 90%, transparent);
}

.scene-audit__priorities span {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--indigo-deep);
  font-family: var(--utility);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-scene--audit > p {
  position: absolute;
  bottom: 2%;
  left: 7%;
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-hero.is-motion-ready .service-scene--audit figure {
  animation: audit-proof 1200ms var(--ease-in-out) both;
}

.service-hero.is-motion-ready .scene-audit__priorities span {
  animation: audit-priority 460ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-audit__priorities span:nth-child(1) { animation-delay: 760ms; }
.service-hero.is-motion-ready .scene-audit__priorities span:nth-child(2) { animation-delay: 920ms; }
.service-hero.is-motion-ready .scene-audit__priorities span:nth-child(3) { animation-delay: 1080ms; }

@keyframes audit-proof {
  from { opacity: 0; clip-path: inset(100% 0 0 0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes audit-priority {
  from { opacity: 0; transform: translateX(2rem); }
  to { opacity: 1; transform: translateX(0); }
}

/* Visibilité : intention, réponse, preuve et liens s’alignent */
.service-scene--visibility figure {
  position: absolute;
  inset: 7% 4% 12%;
  transform: translate3d(calc(var(--pointer-local-x) * 6px), calc(var(--pointer-local-y) * 4px), 0);
}

.scene-visibility__sequence {
  position: absolute;
  right: 0;
  bottom: 4%;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-content: space-between;
  gap: 0;
  border-top: 1px solid var(--indigo);
}

.scene-visibility__sequence span {
  position: relative;
  padding: 0.75rem 0.55rem 0;
  background: transparent;
  color: var(--indigo-deep);
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-visibility__sequence span::before {
  position: absolute;
  top: -0.28rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--indigo);
  content: "";
}

.service-scene--visibility > p {
  position: absolute;
  top: 1%;
  left: 4%;
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-hero.is-motion-ready .service-scene--visibility figure {
  animation: visibility-proof 1050ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-visibility__sequence span {
  animation: visibility-label 620ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-visibility__sequence span:nth-child(1) { animation-delay: 410ms; }
.service-hero.is-motion-ready .scene-visibility__sequence span:nth-child(2) { animation-delay: 570ms; }
.service-hero.is-motion-ready .scene-visibility__sequence span:nth-child(3) { animation-delay: 730ms; }
.service-hero.is-motion-ready .scene-visibility__sequence span:nth-child(4) { animation-delay: 890ms; }

@keyframes visibility-proof {
  from { opacity: 0; transform: scale(1.07); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: scale(1); clip-path: inset(0); }
}

@keyframes visibility-label {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* Automatisations : un flux en trois temps */
.service-scene--automation figure {
  position: absolute;
  top: 4%;
  right: 1%;
  width: 78%;
  transform: translate3d(calc(var(--pointer-local-x) * -7px), calc(var(--pointer-local-y) * -5px), 0) rotate(-1.2deg);
}

.scene-automation__flow {
  position: absolute;
  bottom: 11%;
  left: 0;
  z-index: 2;
  display: grid;
  width: min(42rem, 74%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--clay);
  border-bottom: 1px solid var(--clay);
  background: color-mix(in srgb, var(--paper-light) 94%, transparent);
  color: var(--ink);
}

.scene-automation__flow li {
  display: grid;
  min-height: 3.7rem;
  padding: 0.75rem 1rem;
  grid-template-columns: 2rem 1fr;
  align-items: center;
  gap: 0.75rem;
  border-right: 1px solid var(--line);
  font-size: 0.84rem;
}

.scene-automation__flow span {
  color: var(--clay-light);
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.service-scene--automation > p {
  position: absolute;
  right: 1%;
  bottom: 3%;
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-hero.is-motion-ready .service-scene--automation figure {
  animation: automation-media 1000ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-automation__flow li {
  animation: automation-step 520ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-automation__flow li:nth-child(1) { animation-delay: 430ms; }
.service-hero.is-motion-ready .scene-automation__flow li:nth-child(2) { animation-delay: 610ms; }
.service-hero.is-motion-ready .scene-automation__flow li:nth-child(3) { animation-delay: 790ms; }

@keyframes automation-media {
  from { opacity: 0; clip-path: inset(100% 0 0 0); transform: translateY(3rem) rotate(0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes automation-step {
  from { opacity: 0; transform: translateX(-2rem); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes service-label-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pages service — contenu */
.service-detail {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1.58fr);
  align-items: start;
  gap: clamp(3rem, 6vw, 7rem);
  background: var(--paper-light);
}

.service-detail__index {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.service-detail__index a {
  display: flex;
  min-height: 3.8rem;
  padding: 0.75rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.79rem;
  transition: color 200ms ease, padding 260ms var(--ease-out);
}

.service-detail__index a:hover {
  padding-left: 0.5rem;
  color: var(--service-accent);
}

.service-detail__content {
  max-width: 64rem;
}

.service-detail__content > h2 {
  max-width: 13ch;
  margin-top: 1.25rem;
  font-size: clamp(3rem, 5vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.answer-block {
  max-width: 52rem;
  margin-top: 2.25rem;
  color: var(--indigo-deep);
  font-family: var(--editorial);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.42;
}

.service-reference {
  max-width: 48rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.service-reference a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--service-accent);
  color: var(--indigo-deep);
}

.service-detail__content > article {
  display: grid;
  min-height: 10rem;
  padding: 2rem 0;
  grid-template-columns: 4rem 1fr;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.service-detail__content > article:first-of-type {
  margin-top: clamp(2.75rem, 4vw, 4rem);
  border-top: 1px solid var(--line-strong);
}

.service-detail__content > article > span {
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-detail__content article h3 {
  font-family: var(--editorial);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.06;
}

.service-detail__content article p {
  max-width: 42rem;
  margin-top: 0.85rem;
  color: var(--ink-soft);
}

.service-focus {
  background: var(--paper);
}

.service-focus__heading {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  align-items: start;
  gap: 2rem;
}

.service-focus__heading h2 {
  max-width: 13ch;
}

.service-focus__steps,
.offer-summary__grid {
  display: grid;
  margin-top: clamp(2.75rem, 4vw, 4.5rem);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.service-focus__steps li,
.offer-summary__grid article {
  min-height: 12.5rem;
  padding: 2rem clamp(1rem, 2.5vw, 2.5rem) 2rem 0;
  border-bottom: 1px solid var(--line);
}

.service-focus__steps li + li,
.offer-summary__grid article + article {
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.service-focus__steps > li > span,
.offer-summary__grid article > span {
  display: block;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
  color: var(--service-accent);
  font-family: var(--utility);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-focus__steps h3,
.offer-summary__grid h3 {
  font-family: var(--editorial);
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.service-focus__steps p,
.offer-summary__grid p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.offer-summary__grid strong {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Chaque prestation conserve un rythme éditorial propre sous son hero. */
.service-detail--refonte {
  grid-template-columns: minmax(0, 1.55fr) minmax(12rem, 0.45fr);
}

.service-detail--refonte .service-detail__index {
  order: 2;
}

.service-detail--refonte .service-detail__content {
  order: 1;
}

.service-detail--refonte .service-detail__content > article:nth-of-type(even) {
  padding-left: clamp(1rem, 7vw, 7rem);
}

.service-detail--maintenance {
  grid-template-columns: 1fr;
}

.service-detail--maintenance .service-detail__index,
.service-detail--visibility .service-detail__index {
  position: static;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-detail--maintenance .service-detail__index a,
.service-detail--visibility .service-detail__index a {
  padding-right: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.service-detail--maintenance .service-detail__content {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 4rem);
}

.service-detail--maintenance .service-detail__content > .eyebrow,
.service-detail--maintenance .service-detail__content > h2,
.service-detail--maintenance .service-detail__content > .answer-block,
.service-detail--maintenance .service-detail__content > .service-reference {
  grid-column: 1 / -1;
}

.service-detail--maintenance .service-detail__content > article {
  min-height: 15rem;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding: 2rem 0;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--sage);
}

.service-detail--audit .service-detail__content > article {
  grid-template-columns: minmax(5rem, 0.24fr) minmax(0, 1fr);
}

.service-detail--audit .service-detail__content > article > span,
.service-detail--automation .service-detail__content > article > span {
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.service-detail--visibility {
  grid-template-columns: 1fr;
}

.service-detail--visibility .service-detail__content {
  width: min(76rem, 88%);
  max-width: none;
  margin-left: auto;
  padding-left: clamp(1.5rem, 5vw, 5rem);
  border-left: 2px solid var(--indigo);
}

.service-detail--automation {
  grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1.68fr);
}

.service-detail--automation .service-detail__content > article {
  grid-template-columns: minmax(6rem, 0.3fr) minmax(0, 1fr);
}

.service-focus--refonte .service-focus__steps {
  width: min(66rem, 82%);
  margin-left: auto;
  grid-template-columns: 1fr;
  border-top: 0;
}

.service-focus--refonte .service-focus__steps li {
  display: grid;
  min-height: 9rem;
  padding: 2rem 0;
  grid-template-columns: minmax(4rem, 0.25fr) minmax(0, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--clay);
  border-left: 0;
}

.service-focus--refonte .service-focus__steps > li > span {
  margin: 0;
}

.service-focus--maintenance .service-focus__steps li:nth-child(2) {
  transform: translateY(1.5rem);
}

.service-focus--maintenance .service-focus__steps li:nth-child(3) {
  transform: translateY(3rem);
}

.service-focus--visibility .service-focus__steps {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 0;
}

.service-focus--visibility .service-focus__steps li {
  border-top: 1px solid var(--indigo);
  border-left: 0;
}

.service-focus--visibility .service-focus__steps li:nth-child(1) { grid-column: 1 / span 5; }
.service-focus--visibility .service-focus__steps li:nth-child(2) { grid-column: 5 / span 5; margin-top: 1.5rem; }
.service-focus--visibility .service-focus__steps li:nth-child(3) { grid-column: 8 / span 5; margin-top: 3rem; }

.service-focus--automation .service-focus__steps {
  width: min(64rem, 78%);
  margin-left: auto;
  grid-template-columns: 1fr;
}

.service-focus--automation .service-focus__steps li {
  display: grid;
  min-height: 9rem;
  padding: 2rem 0;
  grid-template-columns: minmax(5rem, 0.25fr) minmax(0, 1fr);
  gap: 2rem;
  border-left: 0;
}

.service-focus--automation .service-focus__steps > li > span {
  margin: 0;
  font-size: 1.2rem;
}

.service-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  border-top: 1px solid var(--line-strong);
}

.service-faq__heading {
  align-self: start;
}

.service-faq__heading h2 {
  max-width: 13ch;
  margin-top: 0.75rem;
  font-size: clamp(2.15rem, 4.4vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.service-faq__heading > p:last-child {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

.service-faq__list {
  border-top: 1px solid var(--line-strong);
}

.service-faq details {
  border-bottom: 1px solid var(--line);
}

.service-faq summary {
  display: grid;
  min-height: 4.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  grid-template-columns: 2.4rem minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: 0.8rem;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq summary::after {
  content: "+";
  justify-self: end;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  transform-origin: center;
  transition: transform 220ms var(--ease-out);
}

.service-faq details[open] summary::after {
  transform: rotate(45deg);
}

.service-faq summary > span {
  color: var(--ink-soft);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-faq summary strong {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
}

.service-faq details > p {
  max-width: 48rem;
  padding: 0 2.3rem 1.5rem 3.2rem;
  color: var(--ink-soft);
}

.service-faq summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .service-faq {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-faq__heading h2 {
    max-width: 16ch;
  }
}

@media (max-width: 520px) {
  .service-faq summary {
    grid-template-columns: 1.9rem minmax(0, 1fr) 1.25rem;
    gap: 0.55rem;
  }

  .service-faq details > p {
    padding-right: 0.5rem;
    padding-left: 2.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-faq summary::after {
    transition: none;
  }
}

.related-pages {
  background: var(--dark);
  color: var(--white);
}

.related-pages .eyebrow {
  color: var(--indigo-light);
}

.related-pages__grid {
  display: grid;
  margin-top: clamp(2.75rem, 4vw, 4.5rem);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid color-mix(in srgb, var(--white) 30%, transparent);
}

.related-pages__grid a {
  position: relative;
  display: grid;
  min-height: 11.5rem;
  padding: 1.8rem 2rem 2rem 0;
  align-content: space-between;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
}

.related-pages__grid a + a {
  padding-left: 2rem;
  border-left: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
}

.related-pages__grid small {
  color: var(--indigo-midlight);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-pages__grid strong {
  max-width: 13ch;
  font-family: var(--editorial);
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
}

.related-pages__grid svg {
  position: absolute;
  right: 1rem;
  bottom: 2rem;
  transition: transform 250ms var(--ease-out);
}

.related-pages__grid a:hover svg {
  transform: translateX(0.35rem);
}

/* Archives et filtres */
.archive-filters {
  display: flex;
  padding-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.8rem 1.7rem;
  border-bottom: 1px solid var(--line-strong);
}

.archive-filters button {
  min-height: 44px;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.archive-filters button.is-active {
  color: var(--clay);
}

.project-archive__list {
  display: grid;
}

.project-archive__list > a {
  display: grid;
  padding: clamp(2rem, 3.5vw, 3.5rem) 0;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(17rem, 0.55fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.project-archive__list > a:nth-child(even) .project-archive__signal {
  order: 2;
}

.project-archive__signal {
  display: block;
}

.project-archive__signal img {
  width: 100%;
  height: auto;
  background: var(--paper-deep);
  object-fit: contain;
  box-shadow: 0 20px 46px color-mix(in srgb, var(--ink) 10%, transparent);
  transition: transform 650ms var(--ease-out);
}

.project-archive__list > a:hover img {
  transform: rotate(-0.5deg) translateY(-0.5rem);
}

.project-archive__copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.project-archive__copy small {
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-archive__copy strong {
  font-size: clamp(2.6rem, 4.4vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.project-archive__copy p {
  max-width: 31rem;
  color: var(--ink-soft);
  font-family: var(--editorial);
  font-size: 1.08rem;
}

.project-archive__copy em {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--indigo);
  color: var(--indigo);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 650;
}

.archive-empty {
  padding: 5rem 0;
  color: var(--ink-soft);
}

/* Méthode */
.method-matrix__head,
.method-matrix ol li {
  display: grid;
  grid-template-columns: 4rem 1fr 1fr 1fr 1fr;
}

.method-matrix__head {
  min-height: 3.8rem;
  align-items: center;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  color: var(--indigo);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.method-matrix__head span:first-child {
  grid-column: 1 / span 2;
}

.method-matrix ol li {
  min-height: 9.5rem;
  padding: 1.6rem 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.method-matrix ol li > * {
  padding-right: 1.5rem;
}

.method-matrix__number {
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.8rem;
}

.method-matrix h2 {
  font-family: var(--editorial);
  font-size: clamp(1.65rem, 2.5vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.method-matrix ol p {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.method-matrix__actions {
  display: flex;
  padding-top: 3rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.method-matrix__actions > p {
  margin-right: auto;
  font-family: var(--editorial);
  font-size: 1.2rem;
}

/* Studio */
.studio-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.studio-story > article {
  min-height: 18rem;
  padding: clamp(2.25rem, 3.5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.studio-story > article:nth-child(even) {
  border-left: 1px solid var(--line);
}

.studio-story__lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 3rem;
  background: var(--dark);
  color: var(--white);
}

.studio-story__lead h2 {
  max-width: 13ch;
  margin-top: 1.2rem;
}

.studio-presence {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
  color: var(--indigo-faint);
  text-align: right;
}

.studio-presence strong {
  color: var(--white);
  font-family: var(--editorial);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 500;
}

.studio-story article > .eyebrow {
  margin-bottom: 1.5rem;
}

.studio-story ul {
  display: grid;
  gap: 1rem;
}

.studio-story li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-soft);
}

.studio-story li svg {
  flex: 0 0 auto;
  margin-top: 0.25rem;
  color: var(--clay);
}

.studio-story > article > p:last-child {
  max-width: 35rem;
  color: var(--ink-soft);
  font-family: var(--editorial);
  font-size: 1.25rem;
}

/* Conseils et articles */
.insight-featured {
  display: grid;
  min-height: 27rem;
  margin-top: 2.5rem;
  padding: clamp(2.25rem, 4vw, 4rem);
  grid-template-columns: 0.45fr 1fr;
  align-items: end;
  gap: 3rem;
  background: var(--indigo-deep);
  color: var(--white);
}

.insight-featured__mark {
  align-self: stretch;
  color: var(--indigo-faint-2);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-featured__mark i {
  display: block;
  width: 1px;
  height: 70%;
  margin-top: 1rem;
  background: var(--clay);
}

.insight-featured small,
.insight-row__copy small {
  color: var(--clay-bright);
  font-family: var(--utility);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-featured h2 {
  margin-top: 1rem;
  font-family: var(--editorial);
  font-size: clamp(2.9rem, 5vw, 5.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.insight-featured p {
  max-width: 40rem;
  margin-top: 1.5rem;
  color: color-mix(in srgb, var(--white) 72%, transparent);
}

.insight-featured a {
  display: inline-flex;
  margin-top: 1.5rem;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--clay-bright);
}

.insight-rows {
  margin-top: 3rem;
  border-top: 1px solid var(--line-strong);
}

.insight-rows > a {
  display: grid;
  min-height: 8.75rem;
  padding: 1.65rem 0;
  grid-template-columns: 5rem 1fr;
  border-bottom: 1px solid var(--line);
}

.insight-row__number i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--clay);
}

.insight-row__copy {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 0.5rem 2rem;
}

.insight-row__copy small {
  grid-column: 1 / -1;
  color: var(--clay);
}

.insight-row__copy strong {
  font-family: var(--editorial);
  font-size: clamp(1.6rem, 2.8vw, 2.9rem);
  font-weight: 500;
  line-height: 1.05;
}

.insight-row__copy em {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-style: normal;
}

.insight-row__copy b {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 650;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1.58fr);
  align-items: start;
  gap: clamp(3rem, 6vw, 7rem);
  background: var(--paper-light);
}

.article-summary,
.case-nav {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.article-summary .eyebrow {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.article-summary a,
.case-nav a {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.article-summary a:hover,
.case-nav a:hover {
  color: var(--clay);
}

.article-body {
  max-width: 57rem;
}

.article-body.section {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.article-body > section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.article-body h2 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
  font-family: var(--editorial);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
}

.article-body section > p,
.article-body__notice {
  max-width: 48rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

.article-table-wrap {
  max-width: 100%;
  margin-top: 1.5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--indigo) var(--paper-deep);
  scrollbar-width: thin;
}

.article-table-wrap:focus-visible {
  outline-color: var(--indigo-deep);
}

.article-table-wrap table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
}

.article-table-wrap th,
.article-table-wrap td {
  padding: 1rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table-wrap thead th {
  border-top: 1px solid var(--line-strong);
  color: var(--indigo-deep);
  font-family: var(--utility);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-table-wrap tbody th {
  width: 9rem;
  font-weight: 680;
}

/* Elementor applique sa couleur globale aux liens avec une spécificité plus
 * forte que certains composants. Ces garde-fous conservent les couleurs du
 * kit global sur les surfaces sombres. */
.elementor-page .skip-link,
.elementor-page .button--primary,
.elementor-page .related-pages__grid a,
.elementor-page .related-pages__grid a strong,
.elementor-page .related-pages__grid a svg {
  color: var(--white);
}

.elementor-page .related-pages__grid small,
.elementor-page .related-pages .eyebrow,
.elementor-page .method .eyebrow,
.elementor-page .studio-story__lead .eyebrow {
  color: var(--indigo-fog-2);
}

.elementor-page .final-cta .eyebrow,
.elementor-page .service-cta .eyebrow {
  color: var(--clay-light);
}

.article-answer {
  padding: clamp(2rem, 4vw, 4rem) !important;
  background: var(--indigo-deep);
  color: var(--white);
}

.article-answer .eyebrow {
  color: var(--indigo-faint);
}

.article-answer > p:last-child {
  margin-top: 1rem;
  color: var(--white);
  font-family: var(--editorial);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.35;
}

.article-body blockquote {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--clay);
  font-family: var(--editorial);
  font-size: 1.45rem;
}

.article-checklist,
.article-related {
  display: grid;
  margin-top: 2.25rem;
  gap: 0.8rem;
  padding: 2rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.article-checklist > p:not(.eyebrow) {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-soft);
}

.article-checklist svg {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--clay);
}

.article-related a {
  width: fit-content;
  border-bottom: 1px solid var(--indigo);
  color: var(--indigo);
  font-weight: 650;
}

/* Contact */
.contact-layout {
  background: var(--paper-light);
}

.contact-form {
  max-width: 70rem;
  margin: 0 auto;
}

.contact-form fieldset {
  margin: 0 0 3rem;
  padding: 0;
  border: 0;
}

.contact-form legend {
  width: 100%;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--editorial);
  font-size: var(--type-editorial-size);
  font-weight: var(--type-editorial-weight);
  letter-spacing: var(--type-editorial-tracking);
  line-height: var(--type-editorial-line);
}

.contact-form__needs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2rem;
}

.contact-form__needs legend {
  grid-column: 1 / -1;
}

.radio-choice {
  display: flex;
  min-height: 5.25rem;
  padding: 1.1rem 0;
  align-items: flex-start;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.radio-choice input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.3rem;
  accent-color: var(--clay);
}

.radio-choice > span {
  display: grid;
  gap: 0.3rem;
}

.radio-choice strong {
  font-weight: 650;
}

.radio-choice small {
  color: var(--ink-soft);
}

.contact-form__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.contact-form__fields label {
  display: grid;
  gap: 0.65rem;
  font-size: var(--type-accent-size);
  font-weight: var(--type-accent-weight);
}

.contact-form__fields .is-wide {
  grid-column: 1 / -1;
}

.contact-form input:not([type="radio"]):not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--clay);
  outline: 0;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
  border-color: var(--clay);
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.consent {
  display: flex;
  max-width: 48rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--clay);
}

.contact-form > small {
  display: block;
  margin-top: 1rem;
  color: var(--ink-soft);
}

.contact-form [type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-form.is-submitting [type="submit"]::after {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: riftline-submit-spin 700ms linear infinite;
}

@keyframes riftline-submit-spin {
  to { transform: rotate(360deg); }
}

.form-success {
  max-width: 57rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 5vw, 5rem);
  background: var(--indigo-deep);
  color: var(--white);
}

.form-success > span {
  color: var(--clay-bright);
  font-family: var(--utility);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-success h2 {
  margin-top: 1rem;
}

.form-success p {
  margin-top: 1.5rem;
  color: color-mix(in srgb, var(--white) 72%, transparent);
}

.form-success button {
  margin-top: 2rem;
  color: var(--white);
}

.form-feedback {
  max-width: 57rem;
  margin: 0 auto 2rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border-left: 0.3rem solid var(--clay);
  background: var(--paper);
  color: var(--ink);
}

.form-feedback--success {
  border-left-color: var(--sage);
  background: var(--indigo-deep);
  color: var(--white);
}

.form-feedback > span {
  color: var(--clay);
  font-family: var(--utility);
  font-size: var(--type-accent-size);
  font-weight: var(--type-accent-weight);
  letter-spacing: var(--type-accent-tracking);
  line-height: var(--type-accent-line);
  text-transform: var(--type-accent-transform);
}

.form-feedback--success > span {
  color: var(--clay-bright);
}

.form-feedback h2 {
  max-width: 18ch;
  margin-top: 0.75rem;
  font-size: var(--type-secondary-size);
}

.form-feedback p {
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--ink-soft);
}

.form-feedback--success p {
  color: color-mix(in srgb, var(--white) 72%, transparent);
}

.riftline-honeypot,
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Études de cas */
.case-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.35fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(3rem, 5vw, 6rem);
}

.case-content > section,
.case-next {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.case-content #contexte > p:last-child {
  max-width: 48rem;
  margin-top: 1.25rem;
  color: var(--indigo-deep);
  font-family: var(--editorial);
  font-size: clamp(1.4rem, 2.3vw, 2.2rem);
}

.case-site-capture {
  overflow: visible;
}

.case-site-capture > img {
  width: 100%;
  height: auto;
  background: var(--paper-deep);
  object-fit: contain;
  box-shadow: 0 22px 55px color-mix(in srgb, var(--ink) 11%, transparent);
}

.case-site-capture figcaption {
  display: grid;
  padding: 2rem 0 0;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

.case-site-capture figcaption span {
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-site-capture h2 {
  margin-top: 0.5rem;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.case-site-capture figcaption p {
  max-width: 40rem;
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.case-performance {
  display: grid;
  gap: 2.25rem;
}

.case-performance__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2.25rem;
}

.case-performance__intro h2,
.case-content #direction h2 {
  max-width: 14ch;
  margin-top: 1rem;
  font-family: var(--editorial);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
}

.case-performance__intro p {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--ink-soft);
}

.case-performance dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
}

.case-performance dl > div {
  display: grid;
  min-height: 8rem;
  padding: 1rem;
  align-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-performance dt {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.case-performance dd {
  color: var(--indigo-deep);
  font-size: 2.4rem;
  font-weight: 520;
}

.case-performance dd span {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.case-performance > figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-performance > figure figcaption {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.case-content #direction {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 3rem;
}

.case-direction-mark {
  margin: 0;
  transform: rotate(1.5deg);
}

.case-direction-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 45px color-mix(in srgb, var(--ink) 12%, transparent);
}

.case-decisions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.case-decisions article {
  min-height: 12rem;
  padding: 1.5rem 2rem 1.5rem 0;
}

.case-decisions article + article {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.case-decisions article > span {
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.75rem;
}

.case-decisions h3 {
  margin-top: 2.5rem;
  font-family: var(--editorial);
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
}

.case-decisions p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.case-project-links > div {
  display: flex;
  margin-top: 1.3rem;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
}

.case-project-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--indigo);
  color: var(--indigo);
  font-size: 0.84rem;
  font-weight: 650;
}

.case-next {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.not-found-actions {
  min-height: 20rem;
}

/* Transition de page */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--indigo-deep);
  color: var(--white);
  pointer-events: none;
  animation: page-curtain 680ms var(--ease-in-out) both;
}

.page-transition span {
  font-family: var(--editorial);
  font-size: clamp(2rem, 5vw, 5rem);
}

.page-transition i {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 22%;
  height: 0.5rem;
  background: var(--clay);
}

@keyframes page-curtain {
  0% { clip-path: inset(100% 0 0 0); }
  34%, 64% { clip-path: inset(0); }
  100% { clip-path: inset(0 0 100% 0); }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 1.2rem;
  }

  .desktop-nav {
    gap: 1.2rem;
  }

  .header-cta {
    font-size: 0.8rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(27rem, 0.96fr);
    gap: 2rem;
  }

  .hero h1 {
    font-size: var(--type-primary-size);
  }

  .hero-project--boutik {
    right: -20%;
    width: min(51vw, 43rem);
  }

  .hero-project--isia {
    right: 8%;
    width: min(41vw, 35rem);
  }

  .service-hero {
    grid-template-columns: minmax(20rem, 0.95fr) minmax(0, 1.05fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 5.5rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    display: flex;
    min-height: var(--header-height);
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-trigger {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 650;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    visibility: hidden;
    padding: 1rem var(--gutter) 2rem;
    grid-template-rows: auto 1fr auto;
    background: var(--indigo-deep);
    color: var(--white);
    opacity: 0;
    transform: translateY(-1.5rem);
    transition: opacity 220ms ease, transform 360ms var(--ease-out), visibility 0s linear 220ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .mobile-menu__top {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid color-mix(in srgb, var(--white) 20%, transparent);
  }

  .mobile-menu__top img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
  }

  .menu-close {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--white);
  }

  .mobile-menu__links {
    overflow-y: auto;
    padding: 1.5rem 0;
  }

  .mobile-menu__links > a,
  .mobile-menu__service-entry {
    display: flex;
    min-height: 4.8rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
    font-family: var(--editorial);
    font-size: clamp(1.7rem, 5vw, 2.7rem);
  }

  .mobile-menu__service-entry a {
    flex: 1;
  }

  .mobile-menu__service-entry button {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    cursor: pointer;
    color: var(--white);
  }

  .mobile-services {
    display: grid;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 500ms var(--ease-in-out), opacity 220ms ease;
  }

  .mobile-services.is-open {
    max-height: 36rem;
    padding: 0.8rem 0;
    opacity: 1;
  }

  .mobile-services a {
    min-height: 2.8rem;
    padding-left: 1rem;
    color: var(--indigo-fog-2);
    font-size: 0.84rem;
  }

  .mobile-services__all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--clay-pale) !important;
    font-weight: 700;
  }

  .mobile-menu__cta {
    align-self: end;
    background: var(--paper-light);
    color: var(--ink);
  }

  .hero {
    min-height: auto;
    padding-top: clamp(3rem, 7vw, 5rem);
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__copy {
    max-width: 48rem;
    padding-left: 1.5rem;
    transform: none;
  }

  .hero__stage {
    min-height: clamp(31rem, 76vw, 47rem);
  }

  .hero-project--boutik {
    top: 0;
    right: -8%;
    width: min(83vw, 43rem);
  }

  .hero-project--isia {
    top: auto;
    right: 2%;
    bottom: 4%;
    width: min(66vw, 34rem);
  }

  .hero-project--isia > span {
    right: auto;
    bottom: auto;
    left: -36%;
  }

  .hero__project-cue {
    top: auto;
    right: auto;
    bottom: 32%;
    left: 0;
  }

  .section-intro,
  .projects__heading,
  .offers__heading,
  .method__heading,
  .local-presence__intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-intro .section-link,
  .offers__heading .section-link {
    justify-self: start;
  }

  .services__stage,
  .hub-passages__layout {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
  }

  .service-aperture,
  .hub-passages__preview {
    min-height: 30rem;
  }

  .transformation {
    grid-template-columns: 1fr;
  }

  .transformation__copy {
    max-width: 45rem;
  }

  .comparison {
    min-height: clamp(25rem, 56vw, 34rem);
  }

  .offer-comparison article {
    grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
    gap: 1rem 3rem;
  }

  .project-card--1 { grid-column: 1 / span 8; }
  .project-card--2 { grid-column: 8 / span 5; }
  .project-card--3 { grid-column: 1 / span 6; }
  .project-card--4 { grid-column: 6 / span 7; }

  .method__steps {
    grid-template-columns: repeat(5, minmax(7rem, 1fr));
  }

  .local-presence {
    grid-template-columns: 1fr;
  }

  .inner-hero,
  .service-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .inner-hero__lead {
    max-width: 45rem;
    padding-bottom: 0;
  }

  .service-hero__copy {
    max-width: 52rem;
  }

  .service-hero__stage {
    min-height: clamp(25rem, 52vw, 34rem);
  }

  .service-detail,
  .article-layout,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .service-detail__index,
  .article-summary,
  .case-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 1.3rem;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }

  .service-detail__index a,
  .article-summary a,
  .case-nav a {
    flex: 0 0 auto;
    border-bottom: 0;
    white-space: nowrap;
  }

  .article-summary .eyebrow {
    flex: 0 0 auto;
    border-bottom: 0;
  }

  .method-matrix__head {
    display: none;
  }

  .method-matrix ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
  }

  .method-matrix ol li {
    display: grid;
    min-height: 18rem;
    padding: 2rem;
    grid-template-columns: 3rem 1fr;
    align-content: start;
    gap: 1.25rem 0.5rem;
    background: var(--paper);
  }

  .method-matrix ol li > p {
    grid-column: 2;
  }

  .insight-row__copy {
    grid-template-columns: 1fr 1fr;
  }

  .insight-row__copy b {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 1.15rem;
    --section-space: 2.85rem;
  }

  .context-cursor {
    display: none;
  }

  .brand img {
    width: auto;
    height: 4rem;
  }

  .section h2,
  .inner-section-heading h2 {
    font-size: var(--type-secondary-size);
    line-height: var(--type-secondary-line);
  }

  .hero {
    padding-top: 2.8rem;
    gap: 2.5rem;
  }

  .hero__margin-note {
    display: none;
  }

  .hero__copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: var(--type-primary-size);
    line-height: var(--type-primary-line);
  }

  .hero__lead {
    font-size: 1.3rem;
  }

  .hero__stage {
    min-height: clamp(25rem, 112vw, 34rem);
  }

  .hero-project--boutik {
    right: -9%;
    width: 92vw;
  }

  .hero-project--isia {
    right: -3%;
    bottom: 6%;
    width: 71vw;
  }

  .hero-project > span {
    display: none;
  }

  .hero__project-cue {
    bottom: 25%;
  }

  .services__stage,
  .hub-passages__layout {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .service-aperture,
  .hub-passages__preview {
    display: none;
  }

  .service-passage > button {
    min-height: 5.25rem;
  }

  .service-passage small {
    display: none;
  }

  .service-passage__mobile-detail {
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 0.8rem;
    opacity: 0;
    transition: max-height 520ms var(--ease-in-out), padding 320ms var(--ease-out), opacity 220ms ease;
  }

  .service-passage.is-active .service-passage__mobile-detail {
    max-height: 28rem;
    padding: 0 0 1.5rem;
    opacity: 1;
  }

  .service-passage__mobile-detail .service-visual {
    position: relative;
    inset: auto;
    min-height: 14rem;
  }

  .service-passage__mobile-detail .service-visual img {
    height: auto;
  }

  .service-passage__mobile-detail .service-visual > span {
    top: 0.65rem;
    right: 0.65rem;
  }

  .service-passage__mobile-detail p {
    color: var(--ink-soft);
    font-family: var(--editorial);
  }

  .service-passage__mobile-detail a {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.4rem;
    color: var(--indigo);
    font-size: 0.82rem;
    font-weight: 650;
  }

  .comparison {
    min-height: 22rem;
  }

  .after-browser {
    inset: 7% 4%;
  }

  .after-browser__chrome {
    grid-template-columns: auto 1fr auto;
  }

  .after-browser__tab {
    display: none;
  }

  .offer-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-tabs button + button {
    padding-left: 0.6rem;
    border-left: 1px solid var(--line);
  }

  .offer-tabs button {
    min-height: 3.75rem;
    padding: 0.75rem 0.6rem;
    text-align: center;
  }

  .offer-comparison,
  .offer-comparison article {
    min-height: auto;
  }

  .offer-comparison article {
    padding-top: 2rem;
    grid-template-columns: 1fr;
  }

  .offer-comparison__visual {
    grid-column: 1;
    grid-row: auto;
    margin: 1rem 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-card--1,
  .project-card--2,
  .project-card--3,
  .project-card--4 {
    grid-column: 1;
    margin-top: 0;
  }

  .project-card__copy {
    grid-template-columns: 1fr;
  }

  .method__steps {
    grid-template-columns: 1fr;
    border-top: 1px solid color-mix(in srgb, var(--white) 24%, transparent);
  }

  .method__steps li,
  .method__steps li:nth-child(n) {
    min-height: 5.5rem;
    padding: 1rem 0;
    grid-template-columns: 3rem 1fr;
    align-items: center;
    align-content: center;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  }

  .method__steps i {
    right: 0;
    bottom: calc(50% - 0.25rem);
  }

  .quiet-links {
    grid-template-columns: 1fr;
  }

  .quiet-link {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .quiet-link + .quiet-link {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .local-presence__links {
    display: grid;
    justify-items: start;
    gap: 0.75rem;
  }

  .final-cta {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .final-cta h2 {
    font-size: var(--type-secondary-size);
    line-height: var(--type-secondary-line);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .inner-hero,
  .service-hero {
    padding-top: 2.75rem;
    padding-bottom: 3.5rem;
  }

  .inner-hero h1,
  .service-hero h1 {
    font-size: var(--type-primary-size);
    line-height: var(--type-primary-line);
  }

  .inner-section-heading,
  .service-focus__heading {
    grid-template-columns: 1fr;
  }

  .inner-section-heading h2,
  .inner-section-heading > p:last-child {
    grid-column: 1;
  }

  .choice-help {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .choice-help > div {
    grid-column: 1;
  }

  .service-hero__stage {
    min-height: 22rem;
  }

  .service-hero__signals {
    display: grid;
  }

  .scene-creation__primary { width: 92%; }
  .scene-creation__secondary { width: 67%; }
  .scene-creation__sequence { gap: 0.45rem; }
  .scene-creation__sequence span + span::before { margin-right: 0.45rem; }
  .service-scene--maintenance figure { width: 88%; }
  .scene-maintenance__checks { width: 68%; }
  .service-scene--audit figure { left: 2%; width: 94%; }
  .scene-audit__priorities { min-width: 14rem; }
  .scene-visibility__sequence { grid-template-columns: repeat(2, auto); }
  .service-scene--automation figure { width: 88%; }
  .scene-automation__flow { width: 66%; }

  .service-detail__content > article {
    grid-template-columns: 2.7rem 1fr;
    gap: 1rem;
  }

  .service-focus__steps,
  .offer-summary__grid,
  .related-pages__grid,
  .case-decisions {
    grid-template-columns: 1fr;
  }

  .service-focus__steps li,
  .offer-summary__grid article,
  .related-pages__grid a,
  .case-decisions article {
    min-height: auto;
    padding: 1.8rem 0;
    border-left: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .service-focus__steps > li > span,
  .offer-summary__grid article > span,
  .case-decisions h3 {
    margin-bottom: 2rem;
    margin-top: 0;
  }

  .related-pages__grid a {
    min-height: auto;
    border-bottom-color: color-mix(in srgb, var(--white) 18%, transparent);
  }

  .article-table-wrap {
    overflow: visible;
  }

  .article-table-wrap table,
  .article-table-wrap tbody,
  .article-table-wrap tr,
  .article-table-wrap th,
  .article-table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .article-table-wrap thead {
    display: none;
  }

  .article-table-wrap tbody tr {
    padding: 1.1rem 0;
    border-top: 1px solid var(--line-strong);
  }

  .article-table-wrap tbody th {
    padding: 0 0 0.75rem;
    border: 0;
    color: var(--ink);
    font-family: var(--heading);
    font-size: 1rem;
  }

  .article-table-wrap tbody td {
    display: grid;
    padding: 0.55rem 0;
    border: 0;
    grid-template-columns: 7.3rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .article-table-wrap tbody td::before {
    color: var(--indigo-deep);
    content: attr(data-label);
    font-family: var(--utility);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .project-archive__list > a {
    grid-template-columns: 1fr;
  }

  .project-archive__list > a:nth-child(even) .project-archive__signal {
    order: initial;
  }

  .method-matrix ol {
    grid-template-columns: 1fr;
  }

  .method-matrix ol li {
    min-height: auto;
  }

  .studio-story,
  .studio-story__lead {
    grid-template-columns: 1fr;
  }

  .studio-story__lead {
    grid-column: 1;
  }

  .studio-story > article:nth-child(even) {
    border-left: 0;
  }

  .studio-presence {
    justify-items: start;
    text-align: left;
  }

  .insight-featured {
    min-height: 24rem;
    grid-template-columns: 1fr;
  }

  .insight-featured__mark {
    display: none;
  }

  .insight-rows > a {
    grid-template-columns: 2rem 1fr;
  }

  .insight-row__copy {
    grid-template-columns: 1fr;
  }

  .insight-row__copy b {
    grid-column: 1;
  }

  .article-layout,
  .case-layout {
    gap: 2rem;
  }

  .contact-form__needs,
  .contact-form__fields {
    grid-template-columns: 1fr;
  }

  .contact-form__needs legend,
  .contact-form__fields .is-wide {
    grid-column: 1;
  }

  .case-site-capture figcaption,
  .case-performance__intro,
  .case-content #direction {
    grid-template-columns: 1fr;
  }

  .case-performance dl {
    grid-template-columns: 1fr 1fr;
  }

  .case-direction-mark {
    display: none;
  }
}

@media (max-width: 440px) {
  .hero h1,
  .inner-hero h1,
  .service-hero h1 {
    font-size: var(--type-primary-size);
    line-height: var(--type-primary-line);
  }

  .hero__stage {
    min-height: 23rem;
  }

  .service-hero__stage {
    min-height: 20rem;
  }

  .scene-maintenance__checks,
  .scene-automation__flow {
    width: 76%;
  }

  .site-footer {
    padding-top: 2.5rem;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1rem;
  }

  .footer-brand,
  .footer-note {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    height: 4rem;
  }

  .site-footer > div:first-of-type {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .service-detail--refonte,
  .service-detail--maintenance,
  .service-detail--visibility,
  .service-detail--automation {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail--refonte .service-detail__index,
  .service-detail--refonte .service-detail__content {
    order: initial;
  }

  .service-detail--maintenance .service-detail__index,
  .service-detail--visibility .service-detail__index {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
  }

  .service-detail--maintenance .service-detail__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail--maintenance .service-detail__content > article,
  .service-detail--maintenance .service-detail__content > .eyebrow,
  .service-detail--maintenance .service-detail__content > h2,
  .service-detail--maintenance .service-detail__content > .answer-block,
  .service-detail--maintenance .service-detail__content > .service-reference {
    grid-column: 1;
  }

  .service-detail--visibility .service-detail__content,
  .service-focus--refonte .service-focus__steps,
  .service-focus--automation .service-focus__steps {
    width: 100%;
    margin-left: 0;
  }

  .service-detail--visibility .service-detail__content {
    padding-left: 1.25rem;
  }

  .service-focus--maintenance .service-focus__steps li:nth-child(2),
  .service-focus--maintenance .service-focus__steps li:nth-child(3) {
    transform: none;
  }

  .service-focus--visibility .service-focus__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-focus--visibility .service-focus__steps li:nth-child(n) {
    margin-top: 0;
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .hero-project--boutik {
    right: 0;
    width: 100%;
  }

  .hero-project--isia {
    right: 0;
    width: 76%;
  }

  .scene-maintenance__checks,
  .scene-automation__flow {
    width: 88%;
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-maintenance__checks span,
  .scene-automation__flow li {
    min-height: 2.65rem;
    padding: 0.5rem 0.65rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scene-visibility__sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0;
  }

  .service-detail--refonte .service-detail__content > article:nth-of-type(even) {
    padding-left: 0;
  }

  .service-focus--refonte .service-focus__steps li,
  .service-focus--automation .service-focus__steps li {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem;
  }

  .method-matrix ol {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .method-matrix ol li,
  .method-matrix ol li > * {
    min-width: 0;
  }
}

@media (hover: none), (pointer: coarse) {
  .context-cursor {
    display: none;
  }

  .hero-project--boutik,
  .hero-project--isia,
  .scene-creation__primary,
  .scene-creation__secondary,
  .service-scene--maintenance figure,
  .service-scene--audit figure,
  .service-scene--visibility figure,
  .service-scene--automation figure {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .motion-ready .reveal,
  .motion-ready .hero__copy > *,
  .hero-project,
  .service-scene *,
  .service-scene figure {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .context-cursor,
  .page-transition {
    display: none !important;
  }
}

/* Proposition représentative — Accueil, hub Services et Création WordPress */
.hero--studio {
  min-height: clamp(43rem, 72svh, 48rem);
  padding-top: clamp(2.6rem, 4vw, 4.25rem);
  padding-bottom: clamp(3.25rem, 5vw, 5rem);
  grid-template-columns: minmax(38rem, 1.06fr) minmax(32rem, 0.94fr);
  gap: clamp(2rem, 3.5vw, 4.5rem);
}

.hero--studio .hero__copy {
  max-width: 42rem;
  padding-left: clamp(1.4rem, 3vw, 3.5rem);
  transform: none;
}

.hero--studio h1 {
  max-width: 13ch;
  font-size: var(--type-hero-size);
  font-weight: var(--type-hero-weight);
  letter-spacing: var(--type-hero-tracking);
  line-height: var(--type-hero-line);
  word-spacing: 0.025em;
}

.hero--studio .hero__lead {
  max-width: 38rem;
  margin-top: 1.45rem;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.52;
}

.hero--studio .hero__actions {
  margin-top: 1.45rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.35rem;
}

.hero__capabilities {
  display: flex;
  width: fit-content;
  margin-top: 1.45rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__capabilities li {
  padding: 0.7rem 0.9rem;
  color: var(--indigo-deep);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__capabilities li:first-child {
  padding-left: 0;
}

.hero__capabilities li + li {
  border-left: 1px solid var(--line);
}

.hero--studio .hero__scope {
  margin-top: 0.85rem;
}

.hero--studio .hero__stage {
  min-height: clamp(34rem, 45vw, 40rem);
}

.hero__stage-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: grid;
  gap: 0.2rem;
  color: var(--indigo-deep);
}

.hero__stage-label span {
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__stage-label strong {
  font-size: 0.82rem;
  font-weight: 550;
}

.hero--studio .hero-project {
  overflow: hidden;
  background: var(--ink);
}

.hero--studio .hero-project > span {
  position: relative;
  inset: auto;
  display: grid;
  min-width: 0;
  padding: 0.75rem 0.9rem 0.8rem;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
}

.hero--studio .hero-project > span small {
  color: color-mix(in srgb, var(--white) 68%, transparent);
  font-size: 0.71rem;
}

.hero--studio .hero-project--boutik {
  top: 7%;
  right: -8%;
  width: min(43vw, 39rem);
  transform: translate3d(calc(var(--pointer-local-x) * 6px), calc(var(--pointer-local-y) * 4px), 0) rotate(-1.4deg);
}

.hero--studio .hero-project--isia {
  top: auto;
  right: 10%;
  bottom: 1%;
  width: min(33vw, 28rem);
  transform: translate3d(calc(var(--pointer-local-x) * -6px), calc(var(--pointer-local-y) * -4px), 0) rotate(1.2deg);
}

.hero--studio .hero__project-cue {
  top: auto;
  bottom: 22%;
  left: -5%;
}

/* Sur les écrans très larges, garder les réalisations dans le même champ visuel que le message. */
@media (min-width: 1800px) {
  .hero--studio {
    grid-template-columns: minmax(38rem, 42rem) minmax(0, 1fr);
    gap: clamp(3.5rem, 4vw, 6rem);
  }

  .hero--studio .hero-project--boutik {
    right: auto;
    left: 20%;
  }

  .hero--studio .hero-project--isia {
    right: auto;
    left: 50%;
  }

  .hero--studio .hero__project-cue {
    left: 2%;
  }
}

.inner-hero--services {
  min-height: auto;
  padding-top: clamp(2.75rem, 4vw, 4.25rem);
  padding-bottom: clamp(3rem, 4.5vw, 4.75rem);
  grid-template-columns: minmax(31rem, 1.02fr) minmax(25rem, 0.98fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.inner-hero--services .breadcrumb {
  margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
}

.inner-hero--services h1 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: var(--type-service-hero-size);
  font-weight: var(--type-service-hero-weight);
  letter-spacing: var(--type-service-hero-tracking);
  line-height: var(--type-service-hero-line);
  word-spacing: 0.025em;
}

.inner-hero--services .inner-hero__lead {
  max-width: 41rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.52;
}

.services-hero__scope {
  margin-top: 0.9rem;
  color: var(--indigo-deep);
  font-size: 0.8rem;
  font-weight: 620;
}

.services-hero__routes {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-strong);
}

.services-hero__routes a {
  display: grid;
  min-height: 6.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.services-hero__routes a > span:first-child {
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.services-hero__routes a > span:nth-child(2) {
  display: grid;
  gap: 0.28rem;
}

.services-hero__routes strong {
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 620;
}

.services-hero__routes small {
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.4;
}

.services-hero__routes i {
  color: var(--indigo);
  font-size: 1.15rem;
  font-style: normal;
  transition: transform 220ms var(--ease-out);
}

.services-hero__routes a:hover i,
.services-hero__routes a:focus-visible i {
  transform: translateX(0.35rem);
}

.services-hero__routes a:hover strong,
.services-hero__routes a:focus-visible strong {
  color: var(--indigo-deep);
}

.inner-hero--services .inner-hero__slash {
  width: min(8rem, 16%);
}

.inner-hero--services + .hub-passages {
  padding-top: clamp(3.25rem, 5vw, 5rem);
}

.service-page--creation .service-hero {
  min-height: auto;
  padding-top: clamp(2.4rem, 3.5vw, 3.75rem);
  padding-bottom: clamp(3rem, 4.5vw, 4.75rem);
  grid-template-columns: minmax(35rem, 1.02fr) minmax(34rem, 0.98fr);
  grid-template-areas:
    "copy stage"
    "summary stage";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 1.35rem clamp(3rem, 5vw, 6rem);
}

.service-page--creation .service-hero__copy {
  grid-area: copy;
}

.service-page--creation .service-hero__copy .breadcrumb {
  margin-bottom: clamp(1.1rem, 1.8vw, 1.7rem);
}

.service-page--creation .service-hero h1 {
  max-width: 12.5ch;
  margin-top: 1rem;
  font-size: var(--type-service-hero-size);
  font-weight: var(--type-service-hero-weight);
  letter-spacing: var(--type-service-hero-tracking);
  line-height: var(--type-service-hero-line);
  word-spacing: 0.025em;
}

.service-hero__summary {
  position: relative;
  z-index: 3;
  grid-area: summary;
  align-self: start;
}

.service-page--creation .service-hero__lead {
  max-width: 39rem;
  margin-top: 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.55;
}

.service-page--creation .service-hero__jump {
  margin-top: 1.2rem;
}

.service-page--creation .service-hero__signals {
  margin-top: 1.35rem;
}

.service-page--creation .service-hero__stage {
  min-height: clamp(32rem, 42vw, 38rem);
  grid-area: stage;
}

.service-page--creation .service-scene {
  inset: 2.8rem 0 0;
}

.service-page--creation .scene-creation__primary {
  top: 3%;
  right: 0;
  width: 94%;
  transform: translate3d(calc(var(--pointer-local-x) * 6px), calc(var(--pointer-local-y) * 4px), 0) rotate(-1deg);
}

.service-page--creation .scene-creation__secondary {
  bottom: 2%;
  left: 0;
  width: 51%;
  transform: translate3d(calc(var(--pointer-local-x) * -6px), calc(var(--pointer-local-y) * -4px), 0) rotate(1.2deg);
}

.service-page--creation .scene-creation__sequence {
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: grid;
  min-width: 12.5rem;
  padding: 0.8rem 1rem;
  gap: 0;
  background: var(--dark);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 620;
  letter-spacing: 0;
  text-transform: none;
}

.service-page--creation .scene-creation__sequence li {
  display: grid;
  min-height: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  grid-template-columns: 2rem 1fr;
  align-items: center;
}

.service-page--creation .scene-creation__sequence li:last-child {
  border-bottom: 0;
}

.service-page--creation .scene-creation__sequence li span {
  color: var(--clay-pale);
  font-family: var(--utility);
  letter-spacing: 0.08em;
}

.service-page--creation .scene-creation__sequence li + li::before {
  content: none;
}

/* Direction validée — cinq scènes de service distinctes */
:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero {
  min-height: auto;
  padding-top: clamp(2.4rem, 3.5vw, 3.75rem);
  padding-bottom: clamp(3rem, 4.5vw, 4.75rem);
  grid-template-columns: minmax(34rem, 1.02fr) minmax(32rem, 0.98fr);
  grid-template-areas:
    "copy stage"
    "summary stage";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 1.35rem clamp(3rem, 5vw, 6rem);
}

.service-page--refonte .service-hero {
  background: linear-gradient(118deg, var(--paper) 0 64%, color-mix(in srgb, var(--clay-soft) 30%, var(--paper)) 100%);
}

.service-page--maintenance .service-hero {
  background: linear-gradient(118deg, var(--paper) 0 66%, color-mix(in srgb, var(--sage-soft) 34%, var(--paper)) 100%);
}

.service-page--audit .service-hero {
  background: linear-gradient(118deg, var(--paper) 0 65%, color-mix(in srgb, var(--ochre-soft) 32%, var(--paper)) 100%);
}

.service-page--visibility .service-hero {
  background: linear-gradient(118deg, var(--paper) 0 64%, color-mix(in srgb, var(--indigo-soft-alt) 30%, var(--paper)) 100%);
}

.service-page--automation .service-hero {
  background: linear-gradient(118deg, var(--paper) 0 65%, color-mix(in srgb, var(--clay-fog) 34%, var(--paper)) 100%);
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero__copy {
  grid-area: copy;
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero__copy .breadcrumb {
  margin-bottom: clamp(1.1rem, 1.8vw, 1.7rem);
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero h1 {
  max-width: 12.5ch;
  margin-top: 1rem;
  font-size: var(--type-service-hero-size);
  font-weight: var(--type-service-hero-weight);
  letter-spacing: var(--type-service-hero-tracking);
  line-height: var(--type-service-hero-line);
  overflow-wrap: normal;
  word-break: normal;
  word-spacing: 0.025em;
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero__summary {
  grid-area: summary;
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero__lead {
  max-width: 39rem;
  margin-top: 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.55;
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero__jump {
  margin-top: 1.2rem;
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero__signals {
  margin-top: 1.35rem;
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-hero__stage {
  min-height: clamp(31rem, 41vw, 37rem);
  grid-area: stage;
}

:is(
  .service-page--refonte,
  .service-page--maintenance,
  .service-page--audit,
  .service-page--visibility,
  .service-page--automation
) .service-scene {
  inset: 2.8rem 0 0;
}

/* Refonte — une coupe contrôlée entre l’existant et la nouvelle structure. */
.service-page--refonte .service-hero__stage {
  --refonte-cut: 64%;
}

.service-page--refonte .scene-refonte__old,
.service-page--refonte .scene-refonte__new {
  inset: 4% 1% 8%;
  box-shadow: 0 24px 56px color-mix(in srgb, var(--ink) 14%, transparent);
}

.service-page--refonte .scene-refonte__old {
  transform: translate3d(calc(var(--pointer-local-x) * -3px), calc(var(--pointer-local-y) * -2px), 0);
}

.service-page--refonte .scene-refonte__old img {
  filter: grayscale(0.88) contrast(0.82) opacity(0.78);
}

.service-page--refonte .scene-refonte__new {
  clip-path: inset(0 calc(100% - var(--refonte-cut)) 0 0);
  transform: translate3d(calc(var(--pointer-local-x) * 4px), calc(var(--pointer-local-y) * 3px), 0);
  transition: clip-path 130ms linear;
}

.scene-refonte__seam {
  position: absolute;
  top: 1.5%;
  bottom: 5.5%;
  left: var(--refonte-cut);
  z-index: 4;
  width: 2px;
  background: var(--clay);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--paper-light) 48%, transparent);
  transform: translateX(-50%) rotate(1.8deg);
  transform-origin: center;
  transition: left 130ms linear;
}

.service-page--refonte .scene-refonte__legend {
  right: 1.5%;
  bottom: 0;
  left: 1.5%;
  font-size: 0.69rem;
}

.service-hero.is-motion-ready .scene-refonte__seam {
  animation: refonte-seam-in 760ms 470ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-refonte__legend span {
  animation: service-label-in 480ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-refonte__legend span:first-child { animation-delay: 280ms; }
.service-hero.is-motion-ready .scene-refonte__legend span:last-child { animation-delay: 940ms; }

@keyframes refonte-new {
  from { clip-path: inset(0 82% 0 0); }
  to { clip-path: inset(0 calc(100% - var(--refonte-cut)) 0 0); }
}

@keyframes refonte-seam-in {
  from { opacity: 0; transform: translateX(-50%) rotate(1.8deg) scaleY(0); }
  to { opacity: 1; transform: translateX(-50%) rotate(1.8deg) scaleY(1); }
}

/* Maintenance — une base stable puis trois contrôles successifs. */
.service-page--maintenance .service-scene--maintenance figure {
  top: 4%;
  right: 0;
  width: 88%;
  transform: translate3d(calc(var(--pointer-local-x) * 5px), calc(var(--pointer-local-y) * 3px), 0) rotate(0.8deg);
}

.scene-maintenance__rail {
  position: absolute;
  top: 13%;
  bottom: 13%;
  left: 4%;
  width: 1px;
  background: var(--sage);
  transform-origin: top;
}

.scene-maintenance__rail::before,
.scene-maintenance__rail::after {
  position: absolute;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid var(--sage);
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transform: translate(-50%, -50%);
}

.scene-maintenance__rail::before { top: 0; }
.scene-maintenance__rail::after { top: 100%; }

.service-page--maintenance .scene-maintenance__checks {
  bottom: 9%;
  left: 0;
  width: min(31rem, 66%);
  grid-template-columns: minmax(0, 1fr);
  border: 0;
  background: color-mix(in srgb, var(--paper-light) 95%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 9%, transparent);
}

.service-page--maintenance .scene-maintenance__checks span {
  display: grid;
  min-height: 3.1rem;
  padding: 0.62rem 0.9rem;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 2rem 1fr;
  font-size: 0.78rem;
}

.service-page--maintenance .scene-maintenance__checks span:last-child {
  border-bottom: 0;
}

.service-page--maintenance .scene-maintenance__checks i {
  color: var(--sage);
  font-family: var(--utility);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-page--maintenance .service-scene--maintenance > p {
  right: 0;
  bottom: 1.5%;
  font-size: 0.68rem;
}

.service-hero.is-motion-ready .scene-maintenance__rail {
  animation: maintenance-rail-in 740ms 180ms var(--ease-out) both;
}

.service-hero.is-motion-ready .service-scene--maintenance > p {
  animation: service-label-in 480ms 1040ms var(--ease-out) both;
}

@keyframes maintenance-media {
  from { opacity: 0; transform: translate3d(1.5rem, 2.5rem, 0) rotate(3deg); }
  to { opacity: 1; }
}

@keyframes maintenance-check {
  from { opacity: 0; transform: translateX(-1.4rem); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes maintenance-rail-in {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

/* Audit — la preuve reste lisible, un scan unique révèle l’ordre de travail. */
.service-page--audit .service-hero__stage {
  --audit-scan-y: 56%;
}

.service-page--audit .scene-audit__viewport {
  top: 2%;
  right: 11%;
  bottom: 15%;
  left: 0;
  width: auto;
  max-height: none;
  transform: translate3d(calc(var(--pointer-local-x) * -3px), calc(var(--pointer-local-y) * -2px), 0);
}

.service-page--audit .scene-audit__viewport img {
  height: 100%;
  object-fit: contain;
  object-position: left top;
}

.scene-audit__scan {
  position: absolute;
  top: var(--audit-scan-y);
  right: 0;
  left: 0;
  z-index: 2;
  height: 2px;
  background: var(--ochre);
  box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--ochre-soft) 32%, transparent);
  transition: top 120ms linear;
}

.service-page--audit .scene-audit__priorities {
  right: 0;
  bottom: 7%;
  min-width: 14.5rem;
  border-left: 2px solid var(--ochre);
  background: color-mix(in srgb, var(--paper-light) 95%, transparent);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--ink) 8%, transparent);
}

.service-page--audit .scene-audit__priorities li {
  display: grid;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 2rem 1fr;
  align-items: center;
  color: var(--indigo-deep);
  font-size: 0.76rem;
  font-weight: 650;
}

.service-page--audit .scene-audit__priorities li:last-child {
  border-bottom: 0;
}

.service-page--audit .scene-audit__priorities span {
  padding: 0;
  border: 0;
  color: var(--ochre);
  font-size: 0.65rem;
}

.service-page--audit .service-hero.is-motion-ready .scene-audit__priorities li span {
  animation: none;
}

.service-page--audit .service-scene--audit > p {
  bottom: 0;
  left: 0;
  font-size: 0.68rem;
}

.service-hero.is-motion-ready .scene-audit__scan {
  animation: audit-scan-once 1180ms 240ms var(--ease-in-out) both;
}

.service-hero.is-motion-ready .scene-audit__priorities li {
  animation: audit-priority 460ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-audit__priorities li:nth-child(1) { animation-delay: 720ms; }
.service-hero.is-motion-ready .scene-audit__priorities li:nth-child(2) { animation-delay: 870ms; }
.service-hero.is-motion-ready .scene-audit__priorities li:nth-child(3) { animation-delay: 1020ms; }

@keyframes audit-proof {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes audit-scan-once {
  0% { opacity: 0; top: 10%; }
  18% { opacity: 1; }
  100% { opacity: 1; top: var(--audit-scan-y); }
}

/* SEO, GEO et AEO — un chemin relie intention, réponse, preuve et liens. */
.service-page--visibility .scene-visibility__proof {
  position: absolute;
  top: 4%;
  right: 0;
  width: 82%;
  transform: translate3d(calc(var(--pointer-local-x) * 4px), calc(var(--pointer-local-y) * 3px), 0);
}

.scene-visibility__map {
  position: absolute;
  top: 19%;
  right: 2%;
  bottom: 17%;
  left: 1%;
  z-index: 2;
  width: 97%;
  height: 64%;
  overflow: visible;
  pointer-events: none;
}

.scene-visibility__map path {
  fill: none;
  stroke: var(--indigo);
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-width: 0.42;
  vector-effect: non-scaling-stroke;
}

.scene-visibility__map circle {
  fill: var(--paper-light);
  stroke: var(--indigo);
  stroke-width: 0.35;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.service-page--visibility .scene-visibility__sequence {
  right: 0;
  bottom: 3%;
  left: 0;
  border-color: color-mix(in srgb, var(--indigo) 56%, transparent);
}

.service-page--visibility .scene-visibility__sequence li {
  position: relative;
  padding: 0.72rem 0.45rem 0;
  color: var(--indigo-deep);
  font-family: var(--utility);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-page--visibility .scene-visibility__sequence li::before {
  position: absolute;
  top: -0.25rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--indigo);
  content: "";
}

.service-page--visibility .service-scene--visibility > p {
  top: 0;
  left: 1%;
  font-size: 0.68rem;
}

.service-hero.is-motion-ready .scene-visibility__map path {
  animation: visibility-route-in 1180ms 280ms var(--ease-in-out) both;
}

.service-hero.is-motion-ready .scene-visibility__map circle {
  animation: visibility-node-in 480ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-visibility__map circle:nth-of-type(1) { animation-delay: 390ms; }
.service-hero.is-motion-ready .scene-visibility__map circle:nth-of-type(2) { animation-delay: 570ms; }
.service-hero.is-motion-ready .scene-visibility__map circle:nth-of-type(3) { animation-delay: 750ms; }
.service-hero.is-motion-ready .scene-visibility__map circle:nth-of-type(4) { animation-delay: 930ms; }

.service-hero.is-motion-ready .scene-visibility__sequence li {
  animation: visibility-label 520ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-visibility__sequence li:nth-child(1) { animation-delay: 430ms; }
.service-hero.is-motion-ready .scene-visibility__sequence li:nth-child(2) { animation-delay: 600ms; }
.service-hero.is-motion-ready .scene-visibility__sequence li:nth-child(3) { animation-delay: 770ms; }
.service-hero.is-motion-ready .scene-visibility__sequence li:nth-child(4) { animation-delay: 940ms; }

@keyframes visibility-route-in {
  from { opacity: 0; stroke-dashoffset: 1; }
  to { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes visibility-node-in {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

/* Automatisation — un paquet traverse une chaîne finie, sans boucle. */
.service-page--automation .service-hero__stage {
  --automation-progress: 1;
  --automation-packet-x: 84%;
}

.service-page--automation .service-scene--automation figure {
  top: 3%;
  right: 0;
  width: 87%;
  transform: translate3d(calc(var(--pointer-local-x) * -4px), calc(var(--pointer-local-y) * -3px), 0) rotate(-0.6deg);
}

.scene-automation__track {
  position: absolute;
  bottom: 15%;
  left: 2%;
  z-index: 2;
  width: 82%;
  height: 1px;
  background: color-mix(in srgb, var(--clay) 28%, var(--line));
}

.scene-automation__track i {
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform: scaleX(var(--automation-progress));
  transform-origin: left;
  transition: transform 130ms linear;
}

.scene-automation__packet {
  position: absolute;
  bottom: calc(15% - 0.32rem);
  left: var(--automation-packet-x);
  z-index: 4;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--paper-light);
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 1px var(--clay);
  transform: translateX(-50%);
  transition: left 130ms linear;
}

.service-page--automation .scene-automation__flow {
  bottom: 7%;
  left: 0;
  width: 90%;
  border: 0;
  background: transparent;
}

.service-page--automation .scene-automation__flow li {
  position: relative;
  min-height: 3.2rem;
  padding: 0.7rem 0.45rem 0;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.4rem;
  border-right: 0;
  color: var(--indigo-deep);
  font-size: 0.74rem;
}

.service-page--automation .scene-automation__flow li::before {
  position: absolute;
  top: -0.28rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--clay);
  border-radius: 50%;
  background: var(--paper-light);
  content: "";
}

.service-page--automation .scene-automation__flow span {
  color: var(--clay);
  font-size: 0.66rem;
  font-weight: 700;
}

.service-page--automation .service-scene--automation > p {
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  font-size: 0.68rem;
}

.service-hero.is-motion-ready .scene-automation__track i {
  animation: automation-track-in 1050ms 300ms var(--ease-in-out) both;
}

.service-hero.is-motion-ready .scene-automation__packet {
  animation: automation-packet-once 1120ms 380ms var(--ease-in-out) both;
}

.service-hero.is-motion-ready .scene-automation__flow li {
  animation: automation-step 480ms var(--ease-out) both;
}

.service-hero.is-motion-ready .scene-automation__flow li:nth-child(1) { animation-delay: 360ms; }
.service-hero.is-motion-ready .scene-automation__flow li:nth-child(2) { animation-delay: 660ms; }
.service-hero.is-motion-ready .scene-automation__flow li:nth-child(3) { animation-delay: 960ms; }

@keyframes automation-track-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(var(--automation-progress)); }
}

@keyframes automation-packet-once {
  from { opacity: 0; left: 2%; }
  18% { opacity: 1; }
  to { opacity: 1; left: var(--automation-packet-x); }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .service-hero[data-service-motion="refonte"]:not(.is-motion-ready) :is(.scene-refonte__old, .scene-refonte__new, .scene-refonte__seam, .scene-refonte__legend span),
  .motion-ready .service-hero[data-service-motion="maintenance"]:not(.is-motion-ready) :is(figure, .scene-maintenance__rail, .scene-maintenance__checks span, .service-scene--maintenance > p),
  .motion-ready .service-hero[data-service-motion="audit"]:not(.is-motion-ready) :is(.scene-audit__viewport, .scene-audit__scan, .scene-audit__priorities li),
  .motion-ready .service-hero[data-service-motion="visibility"]:not(.is-motion-ready) :is(.scene-visibility__proof, .scene-visibility__map path, .scene-visibility__map circle, .scene-visibility__sequence li),
  .motion-ready .service-hero[data-service-motion="automation"]:not(.is-motion-ready) :is(figure, .scene-automation__track i, .scene-automation__packet, .scene-automation__flow li) {
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-hero {
    grid-template-columns: minmax(27rem, 1fr) minmax(28rem, 1fr);
  }
}

@media (max-width: 1024px) {
  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "stage"
      "summary";
    grid-template-rows: auto;
    gap: 1.5rem;
  }

  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) :is(.service-hero__copy, .service-hero__summary) {
    max-width: 47rem;
  }

  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-hero__stage {
    width: min(100%, 47rem);
    min-height: clamp(26rem, 60vw, 34rem);
  }
}

@media (max-width: 720px) {
  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-hero {
    padding-top: 2.5rem;
    padding-bottom: 3.25rem;
  }

  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-hero h1 {
    max-width: 12ch;
    word-spacing: 0.04em;
  }

  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-hero__stage {
    min-height: 22rem;
  }

  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-hero__label {
    top: 0;
  }

  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-scene {
    inset: 2.2rem 0 0;
  }

  :is(
    .service-page--refonte,
    .service-page--maintenance,
    .service-page--audit,
    .service-page--visibility,
    .service-page--automation
  ) .service-hero__lead {
    font-size: 1rem;
  }

  .service-page--refonte .scene-refonte__old,
  .service-page--refonte .scene-refonte__new {
    inset: 5% 0 13%;
  }

  .service-page--maintenance .service-scene--maintenance figure {
    top: 5%;
    width: 100%;
  }

  .scene-maintenance__rail {
    left: 1%;
  }

  .service-page--maintenance .scene-maintenance__checks {
    bottom: 7%;
    width: 96%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-page--maintenance .scene-maintenance__checks span {
    min-height: 3.4rem;
    padding: 0.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    grid-template-columns: 1fr;
    gap: 0.2rem;
    font-size: 0.66rem;
  }

  .service-page--audit .scene-audit__viewport {
    right: 0;
    bottom: 25%;
  }

  .service-page--audit .scene-audit__priorities {
    right: 0;
    bottom: 1%;
    left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--ochre);
    border-left: 0;
  }

  .service-page--audit .scene-audit__priorities li {
    min-height: 3.2rem;
    padding: 0.45rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    grid-template-columns: 1fr;
    gap: 0.18rem;
    font-size: 0.65rem;
  }

  .service-page--visibility .scene-visibility__proof {
    top: 5%;
    width: 100%;
  }

  .scene-visibility__map {
    top: 18%;
    height: 57%;
  }

  .service-page--visibility .scene-visibility__sequence li {
    padding-right: 0.2rem;
    padding-left: 0.2rem;
    font-size: 0.58rem;
  }

  .service-page--automation .service-scene--automation figure {
    top: 4%;
    width: 100%;
  }

  .scene-automation__track {
    bottom: 17%;
    width: 90%;
  }

  .scene-automation__packet {
    bottom: calc(17% - 0.32rem);
  }

  .service-page--automation .scene-automation__flow {
    bottom: 7%;
    width: 100%;
  }

  .service-page--automation .scene-automation__flow li {
    padding-right: 0.2rem;
    padding-left: 0.2rem;
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-refonte__seam,
  .scene-audit__scan,
  .scene-automation__packet {
    display: none;
  }

  .service-page--refonte .scene-refonte__old {
    opacity: 0.25 !important;
  }
}

@media (max-width: 1100px) {
  .hero--studio {
    grid-template-columns: minmax(29rem, 1fr) minmax(27rem, 1fr);
  }

  .inner-hero--services {
    grid-template-columns: minmax(25rem, 0.95fr) minmax(27rem, 1.05fr);
  }

  .service-page--creation .service-hero {
    grid-template-columns: minmax(28rem, 1fr) minmax(28rem, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero--studio {
    grid-template-columns: 1fr;
  }

  .hero--studio .hero__copy {
    max-width: 44rem;
  }

  .hero--studio .hero__stage {
    min-height: clamp(30rem, 68vw, 38rem);
  }

  .inner-hero--services {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .inner-hero--services .inner-hero__copy {
    max-width: 47rem;
  }

  .services-hero__routes {
    max-width: 47rem;
  }

  .service-page--creation .service-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "stage"
      "summary";
    grid-template-rows: auto;
    gap: 1.5rem;
  }

  .service-page--creation .service-hero__copy,
  .service-page--creation .service-hero__summary {
    max-width: 47rem;
  }

  .service-page--creation .service-hero__stage {
    width: min(100%, 47rem);
    min-height: clamp(26rem, 60vw, 34rem);
  }
}

@media (max-width: 720px) {
  :root,
  body[class*="elementor-kit-"] {
    --type-hero-tracking: var(--e-global-typography-rift-hero-letter-spacing, -0.0125em);
    --type-service-hero-tracking: var(--e-global-typography-rift-service-hero-letter-spacing, -0.0105em);
  }

  .hero--studio {
    padding-top: 2.5rem;
    padding-bottom: 3.25rem;
    gap: 1.9rem;
  }

  .hero--studio .hero__copy {
    padding-left: 0;
  }

  .hero--studio h1 {
    max-width: 12ch;
  }

  .hero--studio .hero__lead {
    margin-top: 1.15rem;
    font-size: 1rem;
  }

  .hero--studio .hero__actions {
    margin-top: 1.2rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__capabilities {
    width: 100%;
    margin-top: 1.1rem;
  }

  .hero__capabilities li {
    flex: 1 1 0;
    padding: 0.65rem 0.45rem;
    font-size: 0.65rem;
    text-align: center;
  }

  .hero__capabilities li:first-child {
    padding-left: 0.45rem;
  }

  .hero--studio .hero__scope {
    font-size: 0.78rem;
  }

  .hero--studio .hero__stage {
    min-height: 25rem;
  }

  .hero__stage-label {
    position: relative;
    margin-bottom: 0.85rem;
  }

  .hero--studio .hero-project--boutik {
    top: 3.25rem;
    right: -3%;
    width: 96%;
  }

  .hero--studio .hero-project--isia,
  .hero--studio .hero__project-cue {
    display: none;
  }

  .hero--studio .hero-project > span {
    padding: 0.65rem 0.75rem 0.7rem;
  }

  .inner-hero--services {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    gap: 2rem;
  }

  .inner-hero--services h1,
  .service-page--creation .service-hero h1 {
    max-width: 12ch;
    word-spacing: 0.04em;
  }

  .inner-hero--services .inner-hero__lead {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .services-hero__routes a {
    min-height: 5.65rem;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
  }

  .inner-hero--services .inner-hero__slash {
    width: 4.5rem;
  }

  .service-page--creation .service-hero {
    padding-top: 2.5rem;
    padding-bottom: 3.25rem;
  }

  .service-page--creation .service-hero__stage {
    min-height: 22rem;
  }

  .service-page--creation .service-hero__label {
    top: 0;
  }

  .service-page--creation .service-scene {
    inset: 2.2rem 0 0;
  }

  .service-page--creation .scene-creation__primary {
    top: 1%;
    width: 100%;
  }

  .service-page--creation .scene-creation__secondary {
    display: none;
  }

  .service-page--creation .scene-creation__sequence {
    right: 0.4rem;
    bottom: 0.4rem;
    min-width: 10.5rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.64rem;
  }

  .service-page--creation .scene-creation__sequence li {
    min-height: 1.65rem;
  }

  .service-page--creation .service-hero__lead {
    font-size: 1rem;
  }
}



/* WordPress + Elementor shell normalization */
.riftline-content,
.riftline-content > article,
.riftline-content .entry-content {
  min-width: 0;
}

.riftline-content .entry-content {
  margin: 0;
}

.riftline-content .entry-content::before,
.riftline-content .entry-content::after {
  display: none;
}

.elementor-page .riftline-content > article,
.elementor-page .riftline-content .entry-content {
  width: 100%;
  max-width: none;
  padding: 0;
}

.elementor-page .elementor-widget-html,
.elementor-page .elementor-widget-html > .elementor-widget-container {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

[data-riftline-filter-item][hidden],
[data-service-panel][hidden] {
  display: none !important;
}

.riftline-form-error {
  display: block;
  margin-top: 0.4rem;
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

[aria-invalid="true"] {
  border-color: var(--clay) !important;
}

@supports not (color: color-mix(in srgb, currentColor 50%, transparent)) {
  :root {
    --line: var(--paper-deep);
    --line-strong: var(--ink-soft);
    --paper-neutral: var(--paper-light);
    --dark-deep: var(--dark);
    --clay-muted: var(--clay);
    --clay-light: var(--clay);
    --clay-soft: var(--paper-deep);
    --clay-fog: var(--paper-deep);
    --clay-pale: var(--paper-light);
    --clay-bright: var(--clay);
    --sage-soft: var(--paper-deep);
    --ochre-soft: var(--paper-deep);
    --indigo-soft: var(--paper-deep);
    --indigo-soft-alt: var(--paper-deep);
    --indigo-muted: var(--indigo);
    --indigo-light: var(--indigo);
    --indigo-midlight: var(--indigo);
    --indigo-faint: var(--paper-deep);
    --indigo-faint-2: var(--paper-deep);
    --indigo-fog-1: var(--paper-deep);
    --indigo-fog-2: var(--paper-deep);
    --indigo-fog-3: var(--paper-deep);
  }
}
