/* ==========================================================================
   MA TECHNOLOGIES — feuille de style
   Direction « nuit et lumière » : fond nuit (le bleu marine du logo, très
   assombri), panneaux clairs arrondis, rouge du logo en accent.
   Typographie Geist, étiquettes et chiffres en Geist Mono.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Nuit */
  --night: #08071a;
  --night-2: #110f2c;
  --on-dark: #f3f2fb;
  --on-dark-muted: rgba(229, 227, 250, .66);
  --on-dark-faint: rgba(229, 227, 250, .54);
  --line-dark: rgba(255, 255, 255, .11);

  /* Clair */
  --paper: #f3f3f6;
  --white: #ffffff;
  --surface: #e8e8ee;
  --line: rgba(16, 14, 43, .1);
  --line-strong: rgba(16, 14, 43, .2);
  --text: #0e0c26;
  --muted: #5d5b71;

  /* Couleurs du logo et lumières */
  --navy: #201a59;
  --red: #c0192b;
  --red-bright: #ff3b4f;
  --indigo: #5b4dff;
  --amber: #ffa23f;
  --star: #f5a524;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --frame: clamp(6px, 1vw, 14px);
  --radius-xl: clamp(26px, 3vw, 44px);
  --radius-lg: clamp(20px, 2.2vw, 30px);
  --radius: 18px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html:has(body.home) { background: var(--night); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.home { background: var(--night); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
}
p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Étiquette de section : « 01 —— À PROPOS » */
.label {
  display: flex;
  align-items: center;
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  font: 500 12.5px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label .idx {
  display: inline-flex;
  align-items: center;
  color: var(--red);
}
.label .idx::after {
  content: "";
  width: 32px;
  height: 1px;
  margin-inline: 12px;
  background: currentColor;
  opacity: .5;
}

/* --------------------------------------------------------------------------
   Boutons et liens
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 500 15.5px/1 var(--font);
  letter-spacing: -.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform .5s var(--ease-out), background-color .3s, box-shadow .4s, color .3s;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px -14px rgba(255, 59, 79, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover {
  background: #d61f33;
  box-shadow: 0 16px 44px -12px rgba(255, 59, 79, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-block { width: 100%; }

.btn-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: -14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.btn-ico svg,
.map-chip svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:hover .btn-ico { transform: translateX(3px); background: rgba(255, 255, 255, .26); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow::after {
  content: "→";
  transition: transform .4s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   En-tête flottant
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  transition: transform .7s var(--ease-out);
}
.site-header.is-hidden { transform: translate3d(0, calc(-100% - 24px), 0); }

.header-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100% - 16px, var(--container) + 40px);
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -1px 0 rgba(255, 255, 255, .2),
    0 0 0 1px rgba(255, 255, 255, .35),
    0 14px 40px -18px rgba(8, 7, 26, .5);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-bar {
    background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(245, 244, 255, .48));
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    backdrop-filter: blur(28px) saturate(1.6);
  }
}
.brand { display: inline-flex; flex: none; border-radius: 8px; }
.brand-logo { width: auto; height: 34px; }

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.site-nav a {
  position: relative;
  z-index: 1;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color .35s;
}
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current] { color: #fff; }
.nav-indicator {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 38px;
  margin-top: -19px;
  border-radius: 999px;
  background: var(--night);
  opacity: 0;
  transition: transform .6s var(--ease-out), width .6s var(--ease-out), opacity .3s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: background-color .2s;
}
.header-phone:hover { background: rgba(16, 14, 43, .06); }
.header-phone svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linejoin: round;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle span:first-child { top: 20px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 23.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 23.5px; transform: rotate(-45deg); }

/* Menu plein écran */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 56px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(91, 77, 255, .28), transparent 70%),
    radial-gradient(50% 35% at 0% 100%, rgba(255, 59, 79, .18), transparent 70%),
    var(--night);
  color: var(--on-dark);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease-out), visibility 0s linear .5s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s var(--ease-out);
}
.menu-links {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.05em;
  text-decoration: none;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.menu-links small {
  font: 500 12px/1 var(--mono);
  letter-spacing: .06em;
  color: var(--red-bright);
}
.menu.is-open .menu-links a { opacity: 1; transform: none; }
.menu-foot {
  display: grid;
  gap: 20px;
  margin-top: auto;
  padding-top: 40px;
}
.menu-phones { display: grid; gap: 2px; }
.menu-phones a {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.03em;
  text-decoration: none;
}
html.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Accueil
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
  color: var(--on-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 88% 62%, rgba(91, 77, 255, .3), transparent 70%),
    radial-gradient(40% 45% at 96% 100%, rgba(255, 59, 79, .24), transparent 70%),
    var(--night);
  opacity: calc(1 - var(--hp, 0) * .75);
}
.hero-bg::after {
  /* Voile pour la lisibilité du texte à gauche et grain léger */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 26, .55) 0%, rgba(8, 7, 26, .18) 42%, transparent 62%),
    linear-gradient(0deg, rgba(8, 7, 26, .6) 0%, transparent 22%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease;
}
.hero-canvas.is-ready { opacity: 1; }

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-h) + clamp(28px, 6svh, 72px)) clamp(28px, 5svh, 56px);
  transform: translate3d(0, calc(var(--hp, 0) * 14svh), 0);
  opacity: calc(1 - var(--hp, 0) * 1.25);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-bottom: clamp(20px, 3svh, 40px);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font: 500 12.5px/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--red-bright);
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  from { transform: scale(1); opacity: .9; }
  to { transform: scale(3.4); opacity: 0; }
}

.hero-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  font-size: clamp(3.2rem, min(10vw, 13.5svh), 10.5rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.06em;
}
.hl {
  display: block;
  overflow: clip;
  overflow-clip-margin: .1em;
  padding-block: .02em .08em;
}
.hl-in { display: inline-block; }
.dot { color: var(--red-bright); }
.hc {
  max-width: 34em;
  font: 500 clamp(11.5px, .95vw, 13px)/1.6 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--on-dark-muted);
}
.hc::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 14px;
  vertical-align: .3em;
  background: currentColor;
  opacity: .6;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px 64px;
  margin-top: clamp(28px, 4.5svh, 56px);
}
.hero-lead {
  max-width: 33em;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Bandeau défilant des prestations */
.marquee {
  position: relative;
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 80s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee li {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.6vw, 52px);
  padding: clamp(16px, 2.2svh, 24px) 0 clamp(16px, 2.2svh, 24px) clamp(28px, 3.6vw, 52px);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -.025em;
  white-space: nowrap;
  color: rgba(243, 242, 251, .78);
}
.marquee li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px 1px rgba(255, 59, 79, .75);
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* --------------------------------------------------------------------------
   Panneaux clairs et sections
   -------------------------------------------------------------------------- */
.sheet {
  position: relative;
  z-index: 2;
  margin-inline: var(--frame);
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--text);
}
.section { padding-block: clamp(96px, 12vw, 176px); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px clamp(32px, 6vw, 96px);
  margin-bottom: clamp(56px, 8vw, 112px);
}
.sec-title {
  font-size: clamp(2.6rem, 6.2vw, 5.9rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.sec-lead {
  max-width: 28em;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */
.statement {
  max-width: 23em;
  font-size: clamp(1.7rem, 3.75vw, 3.55rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.042em;
  text-wrap: pretty;
}
.statement em { font-style: normal; color: var(--red); }
.js [data-lit] .w { color: rgba(14, 12, 38, .13); transition: color .5s var(--ease); }
.js [data-lit] .w.on { color: var(--text); }
.js [data-lit] em .w.on { color: var(--red); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  gap: clamp(32px, 6vw, 104px);
  margin-top: clamp(64px, 9vw, 136px);
}
.about-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
}
.facts > div {
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.facts dt small {
  margin-left: .08em;
  font-size: .42em;
  letter-spacing: -.02em;
  color: var(--muted);
}
.facts dd {
  margin-top: 12px;
  font: 500 12.5px/1.45 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.brands {
  padding-top: clamp(22px, 2.6vw, 34px);
  border-top: 1px solid var(--line);
}
.brands-title {
  margin-bottom: 14px;
  font: 500 12.5px/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.brands ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px clamp(24px, 3.4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.brands li {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.045em;
  color: rgba(14, 12, 38, .34);
  transition: color .3s;
}
.brands li:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services { padding-top: 0; }

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.domain-chips a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 7px 0 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: box-shadow .3s, transform .5s var(--ease-out);
}
.domain-chips a:hover { box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-2px); }
.domain-chips .n {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--paper);
  font: 500 12px/1 var(--mono);
  color: var(--red);
}

.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 104px);
}

.svc-stage {
  position: sticky;
  top: calc(var(--header-h) + 36px);
  isolation: isolate;
  height: min(calc(100svh - var(--header-h) - 72px), 720px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night);
}
.svc-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  clip-path: inset(100% 0 0 0);
  transform: scale(1.14);
  transition: clip-path 1.1s var(--ease-out), transform 1.6s var(--ease-out);
}
.svc-stage img.is-shown { clip-path: inset(0 0 0 0); transform: scale(1); }
.svc-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 7, 26, .35) 0%, transparent 22%, transparent 55%, rgba(8, 7, 26, .7) 100%);
  pointer-events: none;
}
.svc-stage-bars {
  position: absolute;
  z-index: 2;
  top: clamp(20px, 2.2vw, 30px);
  left: clamp(20px, 2.2vw, 30px);
  right: clamp(20px, 2.2vw, 30px);
  display: flex;
  gap: 6px;
}
.svc-stage-bars i {
  position: relative;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, .28);
}
.svc-stage-bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.svc-stage-bars i.is-on::after { transform: scaleX(1); }
.svc-stage-meta {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 2.2vw, 30px);
  right: clamp(20px, 2.2vw, 30px);
  bottom: clamp(20px, 2.2vw, 30px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
}
.svc-stage-count {
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.svc-stage-count small {
  margin-left: .15em;
  font-size: .28em;
  letter-spacing: 0;
  opacity: .6;
}
.svc-stage-domain {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font: 500 11.5px/1.2 var(--mono);
  letter-spacing: .06em;
  text-align: right;
  text-transform: uppercase;
}
.svc-stage-num.is-changing,
.svc-stage-domain.is-changing { animation: swap .6s var(--ease-out); }
@keyframes swap {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: none; }
}
.svc-stage-num { display: inline-block; }

.svc-item {
  padding-block: clamp(56px, 11svh, 120px);
  border-top: 1px solid var(--line);
}
.svc-item:first-child { padding-top: 0; border-top: 0; }
.svc-item:last-child { padding-bottom: 0; }
.svc-item-media { display: none; }
.svc-kicker {
  display: flex;
  align-items: center;
  font: 500 12.5px/1.3 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.svc-kicker .num {
  display: inline-flex;
  align-items: center;
  color: var(--red);
}
.svc-kicker .num::after {
  content: "";
  width: 24px;
  height: 1px;
  margin-inline: 12px;
  background: currentColor;
  opacity: .5;
}
.svc-item h3 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.svc-sum {
  max-width: 30em;
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  color: var(--muted);
}
.svc-works {
  margin: 32px 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.svc-works li {
  display: grid;
  grid-template-columns: minmax(0, 12em) minmax(0, 1fr);
  gap: 4px 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.5;
}
.svc-works strong { font-weight: 600; letter-spacing: -.01em; }
.svc-works span { color: var(--muted); }
.svc-item .link-arrow { color: var(--text); }

/* --------------------------------------------------------------------------
   Méthode
   -------------------------------------------------------------------------- */
.method,
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: var(--on-dark);
}
.method::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 90% 8%, rgba(91, 77, 255, .22), transparent 70%),
    radial-gradient(40% 45% at 0% 100%, rgba(255, 59, 79, .13), transparent 70%);
}
.method .label,
.contact .label { color: var(--on-dark-muted); }
.method .label .idx,
.contact .label .idx { color: var(--red-bright); }
.method .sec-lead { color: var(--on-dark-muted); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 56px 0 0;
  list-style: none;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
}
.steps::before { background: var(--line-dark); }
.steps::after {
  background: linear-gradient(90deg, var(--indigo), var(--red-bright) 70%, var(--amber));
  box-shadow: 0 0 14px rgba(255, 59, 79, .6);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -56px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--night);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  transition: background-color .5s, box-shadow .5s;
}
.step.is-lit::before {
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(255, 59, 79, .16), 0 0 18px 2px rgba(255, 59, 79, .8);
}
.step-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night-2);
}
.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transition: transform 1.2s var(--ease-out);
}
.step:hover .step-media img { transform: scale(1.06); }
.step-num {
  display: block;
  margin-top: 24px;
  font: 500 12.5px/1 var(--mono);
  letter-spacing: .06em;
  color: var(--red-bright);
}
.step h3 {
  margin-top: 12px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -.04em;
}
.step p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--on-dark-muted);
}

/* --------------------------------------------------------------------------
   Avis
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(40px, 7vw, 120px);
}
.score {
  position: sticky;
  top: calc(var(--header-h) + 56px);
}
.score .sec-title { font-size: clamp(2.5rem, 4.8vw, 4.4rem); }
.score-box { margin-top: clamp(36px, 5vw, 72px); }
.score-value {
  font-size: clamp(5.5rem, 12vw, 10.5rem);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
}
.score-value small {
  margin-left: .06em;
  font-size: .26em;
  letter-spacing: -.02em;
  color: var(--muted);
}
.score-stars {
  --r: 4.8;
  display: inline-block;
  margin-top: 22px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 4px;
  background: linear-gradient(90deg, var(--star) calc(var(--r) / 5 * 100%), rgba(14, 12, 38, .14) 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.score-note {
  margin-top: 10px;
  font: 500 12.5px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.score .link-arrow { margin-top: 28px; }

.quotes { display: grid; gap: clamp(16px, 2vw, 24px); }
.quote {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.4vw, 60px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -48px rgba(14, 12, 38, .45);
}
.quote::before {
  content: "“";
  position: absolute;
  top: -.12em;
  right: clamp(18px, 3vw, 40px);
  font-size: clamp(9rem, 15vw, 14rem);
  font-weight: 600;
  line-height: 1;
  color: var(--red);
  opacity: .09;
  pointer-events: none;
}
.quote-stars { font-size: 16px; letter-spacing: 3px; color: var(--star); }
.quote blockquote { margin-top: 22px; }
.quote blockquote p {
  font-size: clamp(1.55rem, 2.9vw, 2.5rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(26px, 3.4vw, 44px);
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
}
.quote figcaption strong { display: block; color: var(--text); font-weight: 600; }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #3b2f9e);
  color: #fff;
  font-weight: 600;
}

/* Halo qui suit le pointeur */
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 77, 255, .09), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.spot:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  padding-bottom: clamp(56px, 7vw, 96px);
  color-scheme: dark;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 50% at 80% 12%, rgba(91, 77, 255, .3), transparent 70%),
    radial-gradient(38% 45% at 8% 58%, rgba(255, 59, 79, .16), transparent 70%);
}
.contact-title {
  max-width: 9.5em;
  font-size: clamp(3rem, 9.4vw, 9rem);
  line-height: .94;
  letter-spacing: -.065em;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(40px, 7vw, 112px);
  margin-top: clamp(48px, 7vw, 96px);
}
.contact-phones { display: grid; gap: 4px; }
.contact-phones a {
  justify-self: start;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.contact-phones a:hover { background-size: 100% 2px; }
.contact-list {
  margin-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line-dark);
}
.contact-list > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact-list dt {
  padding-top: 3px;
  font: 500 12px/1.6 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.contact-list a {
  text-decoration-color: rgba(255, 255, 255, .3);
  text-underline-offset: 4px;
}
.contact-list a:hover { text-decoration-color: currentColor; }

.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px var(--line-dark), 0 50px 100px -50px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.contact-form.spot::after {
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .06), transparent 45%);
}
.form-title {
  margin-bottom: 4px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.035em;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { position: relative; z-index: 1; display: grid; gap: 8px; }
.field > span {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background-color: rgba(8, 7, 26, .55);
  color: var(--on-dark);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23e5e3fa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field select option { background: var(--night-2); color: var(--on-dark); }
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, .24); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .45);
  background-color: rgba(8, 7, 26, .75);
  box-shadow: 0 0 0 4px rgba(91, 77, 255, .3);
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(255, 59, 79, .18);
}
.contact-form .btn { position: relative; z-index: 1; margin-top: 6px; }
.form-status { position: relative; z-index: 1; min-height: 1.5em; font-size: 14px; color: var(--on-dark-muted); }
.form-status.is-error { color: #ff8d98; }
.form-status.is-ok { color: #74e3a9; }

.map {
  position: relative;
  height: clamp(300px, 34vw, 440px);
  margin-top: clamp(48px, 7vw, 96px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: grayscale(1) invert(.9) contrast(.85) brightness(.9);
}
.map::after {
  /* Teinte nuit sur le plan */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 50% 50%, transparent 30%, rgba(8, 7, 26, .55)), rgba(40, 32, 120, .2);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.map-pin {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(255, 59, 79, .25), 0 0 28px 4px rgba(255, 59, 79, .75);
}
.map-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--red-bright);
  animation: ping 2.4s var(--ease-out) infinite;
}
.map-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: clamp(16px, 2.2vw, 28px);
  border-radius: inherit;
  text-decoration: none;
}
.map-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6);
  transition: transform .5s var(--ease-out);
}
.map-chip strong { font-weight: 600; }
.map-link:hover .map-chip { transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  overflow: hidden;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  background: var(--night);
  color: var(--on-dark-faint);
}
.footer-word {
  margin: 0 0 clamp(18px, 2.4vw, 32px);
  font-size: 11.2vw;
  font-weight: 600;
  line-height: .74;
  letter-spacing: -.07em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(243, 242, 251, .2) 0%, rgba(243, 242, 251, .02) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
}
.footer-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.footer-bar a { text-decoration: none; transition: color .2s; }
.footer-bar a:hover { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Apparitions (activées par js/ui.js)
   -------------------------------------------------------------------------- */
.js .hero [data-in] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .hl-in {
  transform: translate3d(0, 106%, 0);
  transition: transform 1.4s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .hero .dot {
  display: inline-block;
  transform: scale(0);
  transition: transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + .55s);
}
.js .hc {
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js.is-loaded .hero [data-in],
.js.is-loaded .hl-in,
.js.is-loaded .hero .dot,
.js.is-loaded .hc { opacity: 1; transform: none; }

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(16% 12% 0 12% round var(--radius-lg));
  transition: clip-path 1.6s var(--ease-out);
}
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js [data-reveal="clip"] img {
  transform: scale(1.22);
  transition: transform 2s var(--ease-out);
}
.js [data-reveal="clip"].is-in img { transform: none; }

/* Titres découpés en mots */
.js [data-split] .w {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: .1em;
  padding-block: .06em .1em;
  margin-block: -.06em -.1em;
  vertical-align: top;
}
.js [data-split] .w > * {
  display: inline-block;
  transform: translate3d(0, 112%, 0);
  transition: transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js [data-split].is-in .w > * { transform: none; }

/* --------------------------------------------------------------------------
   Grands écrans : services synchronisés avec l’image
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .js .svc-list .svc-item { opacity: .3; transition: opacity .7s var(--ease); }
  .js .svc-list .svc-item:hover { opacity: .6; }
  .js .svc-list .svc-item.is-active,
  .js .svc-list .svc-item:focus-within { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Tablettes
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .site-nav,
  .header-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }

  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-stage { display: none; }
  .svc-item-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    background: var(--surface);
  }

  /* Méthode : frise verticale */
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding: 0 0 0 40px;
  }
  .steps::before,
  .steps::after {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .steps::after {
    background: linear-gradient(180deg, var(--indigo), var(--red-bright) 70%, var(--amber));
    transform: scaleY(var(--p, 0));
    transform-origin: center top;
  }
  .step::before { top: 0; left: -40px; }
  .step {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 32px;
  }
  .step-media { grid-row: 1 / span 3; aspect-ratio: 4 / 3; }
  .step-num { margin-top: 2px; }

  .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .score { position: static; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Taille du titre de l’accueil sur tablette et mobile */
@media (max-width: 900px) {
  .hero-title {
    grid-template-columns: minmax(0, 1fr);
    font-size: clamp(3rem, min(15.5vw, 11svh), 7.5rem);
  }
  .hc { max-width: none; margin: 8px 0 20px; }
  .hc:last-child { margin-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Mobiles
   -------------------------------------------------------------------------- */
@media (max-width: 759px) {
  :root { --header-h: 58px; }
  .header-bar { padding-left: 16px; padding-right: 5px; }
  .brand-logo { height: 30px; }
  .header-phone span { display: none; }
  .header-phone { width: 48px; padding: 0; justify-content: center; }
  .menu-toggle { width: 48px; height: 48px; }

  .hero-inner { padding-top: calc(var(--header-h) + 52px); }
  .hc { font-size: 11px; }
  .hc::before { width: 18px; margin-right: 10px; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-bg::after {
    background: linear-gradient(180deg, transparent 0%, rgba(8, 7, 26, .35) 42%, rgba(8, 7, 26, .55) 100%);
  }

  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { aspect-ratio: 4 / 3.4; }
  .about-media img { object-position: center 30%; }
  .facts { column-gap: 20px; }

  .svc-item { padding-block: 56px; }
  .svc-item:first-child { padding-top: 0; }
  .svc-item:last-child { padding-bottom: 0; }
  .svc-works li { grid-template-columns: minmax(0, 1fr); }

  .step { display: block; }
  .step-media { aspect-ratio: 4 / 3; }

  .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .map-chip { font-size: 13.5px; }

  .footer-bar { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Animations réduites
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .marquee-track { animation: none; }
  .hero-inner { transform: none; opacity: 1; }
  .js .hero [data-in],
  .js .hl-in,
  .js .hero .dot,
  .js .hc,
  .js [data-reveal],
  .js [data-split] .w > * {
    opacity: 1;
    transform: none;
  }
  .js [data-reveal="clip"] { clip-path: none; }
  .js [data-reveal="clip"] img { transform: none; }
}
