/* ============================================================
   Agence Moai — feuille de style
   Mobile first. Couleurs et typographies en variables.
   ============================================================ */

:root {
  /* Couleurs de marque */
  --bg: #F7F6F2;
  --ink: #2A2A2C;
  --orange: #FF5A1F;
  --anis: #D4F779;

  /* Neutres dérivés de l'anthracite */
  --muted: #5E5E62;          /* 6:1 sur --bg */
  --soft: #C9C8C2;           /* texte clair sur --ink, 9:1 */
  --line: rgba(42, 42, 44, .14);
  --gray-50: #FBFAF7;
  --gray-100: #EFEEE9;
  --gray-200: #E3E2DC;
  --white: #FFFFFF;

  /* Verre */
  --glass-top: rgba(255, 255, 255, .66);
  --glass-bottom: rgba(255, 255, 255, .30);
  --glass-border: rgba(255, 255, 255, .8);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -22px rgba(42, 42, 44, .28);

  /* Typographie */
  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-pixel: "Silkscreen", ui-monospace, monospace;

  /* Mise en page */
  --gutter: 16px;
  --maxw: 1320px;
  --radius: 20px;
  --radius-lg: 32px;
  --section: clamp(80px, 12vw, 160px);
  --header-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--anis); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.stats :focus-visible, .btn--dark:focus-visible { outline-color: var(--anis); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 16px; }

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

.px { width: 1em; height: 1em; }

/* ---------- Typographie ---------- */
.label {
  font-family: var(--f-pixel);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.dot { width: 8px; height: 8px; background: var(--orange); display: inline-block; }

.h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 6.2vw, 5rem);
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
  word-spacing: .1em;
}
.h2--sm { font-size: clamp(1.9rem, 4.4vw, 3.5rem); }
.h2--xl { font-size: clamp(3rem, 11vw, 9rem); line-height: .9; }
.h2 em, .hero__tagline em, .promise__text em, .moai__text em {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.01em;
}
.h2 em { font-size: 1.1em; line-height: .8; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 44ch; margin-top: 24px; }

/* ---------- Effets : grain, verre, gradients ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glass {
  background: linear-gradient(140deg, var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .9); }
}

.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .75;
  will-change: transform;
}
.blob--orange { background: radial-gradient(circle at 40% 40%, var(--orange), rgba(255, 90, 31, 0) 70%); }
.blob--anis   { background: radial-gradient(circle at 50% 50%, var(--anis), rgba(212, 247, 121, 0) 70%); }
.blob--soft   { background: radial-gradient(circle at 50% 50%, #FFFFFF, rgba(255, 255, 255, 0) 70%); }

@media (min-width: 768px) {
  .blob { filter: blur(90px); animation: drift 38s ease-in-out infinite alternate; }
  .blob:nth-child(2) { animation-duration: 46s; animation-delay: -12s; }
  .blob:nth-child(3) { animation-duration: 52s; animation-delay: -24s; }
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6%, -8%, 0) scale(1.08); }
  100% { transform: translate3d(-5%, 6%, 0) scale(.95); }
}

/* ---------- Boutons et liens ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--orange { --btn-bg: var(--orange); --btn-fg: var(--ink); }
.btn--orange:hover { --btn-bg: var(--ink); --btn-fg: var(--anis); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--anis); border-color: var(--anis); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--bg); }
.btn--dark:hover { --btn-bg: var(--orange); --btn-fg: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--xl { padding: 20px 34px; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.btn__icon { display: inline-flex; font-size: 1.1em; transition: transform .3s var(--ease); }
.btn:hover .btn__icon:not(.btn__icon--left) { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat;
  padding-bottom: 4px;
  transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow__icon { display: inline-flex; transition: transform .3s var(--ease); }
.link-arrow:hover .link-arrow__icon { transform: translateX(4px); }
.link-arrow__icon--back { transform: rotate(180deg); }
.link-arrow:hover .link-arrow__icon--back { transform: rotate(180deg) translateX(4px); }

.tag {
  display: inline-block; vertical-align: middle;
  font-family: var(--f-pixel); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--anis); color: var(--ink);
  padding: 4px 8px; border-radius: 999px; margin-left: 6px;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; line-height: 1; }
.logo__small {
  font-family: var(--f-body); font-weight: 500; font-size: .62rem;
  letter-spacing: .32em; text-transform: uppercase;
}
.logo__big { font-family: var(--f-serif); font-style: italic; font-size: 1.75rem; letter-spacing: -.01em; position: relative; }
.logo__big::after {
  content: ""; position: absolute; right: -9px; top: 4px;
  width: 6px; height: 6px; background: var(--orange);
}

/* ---------- Préchargeur ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
  animation: preloader-safety .4s 3s forwards;
}
.preloader__inner { display: flex; align-items: baseline; gap: 16px; }
.preloader__mark { font-family: var(--f-serif); font-style: italic; font-size: clamp(3rem, 10vw, 6rem); line-height: 1; }
.preloader__count { font-family: var(--f-pixel); font-size: .9rem; min-width: 4ch; }
.preloader__count::after { content: "%"; }
.is-loaded .preloader, .no-preload .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.no-preload .preloader { display: none; }
@keyframes preloader-safety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Curseur ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--orange); mix-blend-mode: multiply;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, opacity .3s;
  opacity: 0;
}
.has-cursor .cursor.is-visible { opacity: 1; }
.has-cursor .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--anis); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px var(--gutter) 0;
  transition: transform .4s var(--ease);
}
.header--static { position: sticky; }
.header__bar {
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  margin-inline: auto;
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 6px 6px 6px 20px;
  border-radius: 999px;
}
.header__bar > .logo { margin-right: auto; }
.header--static .header__bar { justify-content: space-between; padding-right: 20px; }
.header.is-hidden { transform: translateY(-120%); }

.nav { display: none; }
.nav__list a, .nav__lang a { text-decoration: none; }
.nav__lang { display: flex; gap: 4px; font-family: var(--f-pixel); font-size: .75rem; }
.nav__lang a { padding: 8px; border-radius: 8px; color: var(--muted); }
.nav__lang a[aria-current] { color: var(--ink); background: var(--anis); }
.nav__lang a:hover { color: var(--ink); }

.burger {
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--bg); cursor: pointer;
  display: grid; place-items: center; flex: none;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block; width: 18px; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959.98px) {
  .nav.is-open {
    display: flex; flex-direction: column; justify-content: center; gap: 40px;
    position: fixed; inset: 0; z-index: -1;
    padding: 100px var(--gutter) 40px;
    background: var(--bg);
  }
  .nav.is-open .nav__list { display: flex; flex-direction: column; gap: 8px; }
  .nav.is-open .nav__list a {
    font-family: var(--f-display); font-weight: 900; letter-spacing: -.03em;
    font-size: clamp(2.5rem, 11vw, 4rem); line-height: 1.1;
  }
  .nav.is-open .nav__lang { font-size: 1rem; }
  .header__cta { padding-inline: 14px; }
}
@media (max-width: 359.98px) { .header__cta { display: none; } }

@media (min-width: 960px) {
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 28px; margin-right: 8px; }
  .nav__list { display: flex; gap: 28px; }
  .nav__list a {
    font-size: .95rem; font-weight: 500;
    background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1.5px no-repeat;
    padding: 6px 0; transition: background-size .3s var(--ease);
  }
  .nav__list a:hover { background-size: 100% 1.5px; }
}

/* ---------- Révélations au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--gray-50) 100%);
}
.hero .blob--orange { width: 70vmax; height: 70vmax; right: -30vmax; top: -25vmax; }
.hero .blob--anis   { width: 60vmax; height: 60vmax; left: -25vmax; bottom: -30vmax; }
.hero .blob--soft   { width: 45vmax; height: 45vmax; left: 30%; top: 20%; opacity: .9; }
.hero__inner { position: relative; }
.hero__eyebrow { color: var(--ink); }
.hero__title {
  font-size: clamp(4.4rem, 20vw, 15rem);
  line-height: .84;
  letter-spacing: -.045em;
  margin: 0 0 clamp(32px, 5vw, 56px);
  display: flex; flex-direction: column;
}
.hero__a { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; }
.hero__b {
  font-family: var(--f-serif); font-weight: 400; font-style: italic;
  letter-spacing: -.02em; font-size: 1.12em; line-height: .78;
  align-self: flex-end; padding-right: .04em;
}
.hero__bottom { display: grid; gap: 32px; }
.hero__tagline {
  font-family: var(--f-display); font-weight: 900; letter-spacing: -.03em; word-spacing: .08em;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.05; margin-bottom: 12px;
}
.hero__tagline--b { font-family: var(--f-body); font-weight: 500; letter-spacing: -.01em; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3; margin-bottom: 20px; }
.hero__tagline--b em { font-size: 1.2em; }
.hero__sub { color: var(--muted); max-width: 52ch; margin: 0; }
.cycle {
  background: linear-gradient(var(--anis), var(--anis)) 0 88% / 0 38% no-repeat;
  transition: background-size .7s var(--ease);
}
.cycle.is-active { background-size: 100% 38%; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-self: end; }
.hero__scroll {
  display: none; margin: 48px 0 0; color: var(--muted); text-decoration: none;
}
.hero__scroll-icon { display: inline-flex; transform: rotate(90deg); animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 50% { transform: rotate(90deg) translateX(5px); } }

@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .hero__ctas { justify-content: flex-end; }
  .hero__scroll { display: inline-flex; }
}

/* ---------- Marquees ---------- */
.marquee {
  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 40s linear infinite; }
.marquee--slow .marquee__track { animation-duration: 55s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; gap: 0; margin: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Clients ---------- */
.clients { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.clients__label { display: flex; }
.client { display: flex; align-items: center; }
.client__name {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.02em; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--muted);
  white-space: nowrap;
}
.client img { width: auto; max-width: none; }
.client__sep { display: inline-flex; color: var(--orange); font-size: 1rem; margin: 0 clamp(24px, 4vw, 56px); }

/* ---------- Sections ---------- */
.section { position: relative; isolation: isolate; padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head .lead { margin-top: 24px; }
@media (min-width: 900px) {
  .section__head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
  .section__head--split .lead { margin: 0; }
}

/* ---------- Constat ---------- */
.problem__grid { display: grid; gap: 48px; }
.pains { display: grid; gap: 0; margin-bottom: 32px; }
.pains__item {
  display: flex; gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}
.pains__x { flex: none; width: 10px; height: 10px; background: var(--orange); transform: translateY(-2px); }
.promise { border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.promise::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 100% 0%, rgba(212, 247, 121, .75), transparent 60%);
}
.promise__label { color: var(--ink); }
.promise__icon { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; background: var(--anis); place-items: center; justify-content: center; align-items: center; font-size: 16px; }
.promise__text { font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.promise__text em { font-size: 1.15em; }
@media (min-width: 900px) {
  .problem__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .problem__grid > div:first-child { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--bg), var(--gray-100)); }
.blobs--services .blob--anis { width: 50vmax; height: 50vmax; right: -20vmax; top: 10%; }
.blobs--services .blob--orange { width: 40vmax; height: 40vmax; left: -20vmax; bottom: -10%; opacity: .45; }
.services__list { display: grid; gap: 16px; }
.service {
  position: relative; border-radius: var(--radius);
  padding: 28px 24px 26px;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto 1fr;
  row-gap: 14px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 28px 50px -24px rgba(42,42,44,.35); }
.service__num { font-family: var(--f-pixel); font-size: .8rem; color: var(--muted); }
.service__icon {
  grid-column: 2; grid-row: 1 / span 2;
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 28px;
  background: var(--anis); color: var(--ink);
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.service:hover .service__icon { background: var(--orange); transform: rotate(-6deg); }
.service__title {
  grid-column: 1 / -1; grid-row: 3;
  font-family: var(--f-display); font-weight: 900; letter-spacing: -.02em;
  font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.1; margin-top: 18px;
}
.service__desc { grid-column: 1 / -1; grid-row: 4; color: var(--muted); margin: 0; }
.service--bonus { background: linear-gradient(140deg, rgba(42,42,44,.94), rgba(42,42,44,.86)); color: var(--bg); border-color: rgba(255,255,255,.15); }
.service--bonus .service__num, .service--bonus .service__desc { color: var(--soft); }
@media (min-width: 640px) {
  .services__list { grid-template-columns: repeat(2, 1fr); }
  .service--bonus { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .services__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .service { padding: 32px 30px 30px; min-height: 290px; }
  .service--bonus { min-height: 0; grid-template-columns: auto auto 1fr 1.2fr; grid-template-rows: auto; align-items: center; column-gap: 28px; }
  .service--bonus .service__num { grid-column: 1; grid-row: 1; }
  .service--bonus .service__icon { grid-column: 2; grid-row: 1; }
  .service--bonus .service__title { grid-column: 3; grid-row: 1; margin: 0; }
  .service--bonus .service__desc { grid-column: 4; grid-row: 1; }
}

/* ---------- Chiffres ---------- */
.stats { padding-inline: var(--gutter); }
.stats > .wrap {
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 72px);
  position: relative; overflow: hidden;
}
.stats > .wrap::before {
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -40%;
  background: radial-gradient(circle, rgba(255, 90, 31, .35), transparent 65%);
  pointer-events: none;
}
.stats .label { color: var(--soft); }
.stats .h2 em { color: var(--anis); }
.stats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; position: relative; }
.stat { border-top: 1px solid rgba(247, 246, 242, .2); padding-top: 20px; }
.stat__value {
  font-family: var(--f-display); font-weight: 900; letter-spacing: -.04em;
  font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--anis); margin: 0 0 12px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat__label { color: var(--soft); margin: 0; max-width: 24ch; }

/* ---------- Réalisations ---------- */
.work__grid { display: grid; gap: 24px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card__media {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--gray-100);
}
.card__media img, .card__placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img, .card:hover .card__placeholder { transform: scale(1.04); }
.card__placeholder { display: grid; place-content: center; justify-items: center; gap: 14px; }
.card__placeholder .label { margin: 0; color: var(--ink); }
.card__ph-icon { font-size: 40px; }
.card__media--1 .card__placeholder { background: radial-gradient(90% 90% at 20% 20%, var(--orange), transparent 70%), radial-gradient(80% 80% at 90% 90%, var(--anis), transparent 70%), var(--gray-100); }
.card__media--2 .card__placeholder { background: radial-gradient(90% 90% at 80% 10%, var(--anis), transparent 70%), radial-gradient(70% 70% at 10% 100%, rgba(255,90,31,.6), transparent 70%), var(--gray-100); }
.card__media--3 .card__placeholder { background: radial-gradient(100% 90% at 50% 100%, var(--orange), transparent 65%), radial-gradient(70% 70% at 50% 0%, var(--anis), transparent 70%), var(--gray-100); }
.card__media--4 .card__placeholder { background: radial-gradient(90% 90% at 0% 50%, var(--anis), transparent 70%), var(--gray-100); }
.card__meta { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.card__client { font-family: var(--f-display); font-weight: 900; letter-spacing: -.02em; font-size: 1.15rem; }
.card__kind { color: var(--muted); font-size: .9rem; text-align: right; }
.work__more { margin: 40px 0 0; }
@media (min-width: 720px) { .work__grid { grid-template-columns: repeat(3, 1fr); } .card:nth-child(2) { margin-top: 48px; } }

/* ---------- Outils ---------- */
.tools .marquee__group { gap: 12px; padding-right: 12px; }
.tool {
  white-space: nowrap; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-weight: 500; font-size: 1.05rem;
}
.tool--more { background: var(--anis); border-color: var(--anis); font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; font-weight: 400; padding-block: 9px; }

/* ---------- Méthode ---------- */
.steps { display: grid; gap: 40px; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; position: relative; }
.step::before {
  content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width 1.2s var(--ease) .2s;
}
.step.is-in::before { width: 40%; }
.step__num {
  display: block; font-family: var(--f-serif); font-style: italic;
  font-size: clamp(3.5rem, 6vw, 5rem); line-height: 1; margin-bottom: 16px;
}
.step__title { font-family: var(--f-display); font-weight: 900; letter-spacing: -.02em; font-size: 1.35rem; line-height: 1.15; margin-bottom: 10px; }
.step__desc { color: var(--muted); margin: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Concept Moai ---------- */
.moai { padding-top: 0; }
.moai__card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 80px);
  background: linear-gradient(135deg, #EEF9CF 0%, var(--gray-50) 55%, #FFE6DB 100%);
}
.blobs--moai .blob--anis { width: 40vmax; height: 40vmax; left: -10vmax; top: -15vmax; }
.blobs--moai .blob--orange { width: 30vmax; height: 30vmax; right: -10vmax; bottom: -15vmax; opacity: .5; }
.moai__grid { display: grid; gap: 40px; }
.moai__pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.moai__pillars li {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--glass-border);
  padding: 8px 16px 8px 8px; border-radius: 999px; font-weight: 600;
}
.moai__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--anis); font-size: 16px; }
.moai__text { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.moai__text em { font-size: 1.2em; }
.moai__note { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--orange); padding-left: 14px; margin: 24px 0 0; }
@media (min-width: 900px) { .moai__grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }

/* ---------- À propos ---------- */
.about__grid { display: grid; gap: 48px; }
.about__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--gray-100); position: relative; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__ph {
  width: 100%; height: 100%; display: grid; place-items: end start; padding: 20px;
  background:
    radial-gradient(80% 60% at 30% 30%, rgba(212, 247, 121, .9), transparent 70%),
    radial-gradient(70% 60% at 80% 90%, rgba(255, 90, 31, .7), transparent 70%),
    var(--gray-100);
}
.about__ph .label { margin: 0; color: var(--ink); background: rgba(255,255,255,.7); padding: 6px 10px; border-radius: 999px; }
.about__name { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; letter-spacing: -.02em; margin: 20px 0 4px; }
.about__role { color: var(--muted); margin: 0; }
.keywords { margin: 32px 0 36px; border-top: 1px solid var(--line); }
.keywords li {
  font-family: var(--f-display); font-weight: 900; letter-spacing: -.035em; text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: 1.05;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.keywords li:nth-child(even) { font-family: var(--f-serif); font-weight: 400; font-style: italic; text-transform: none; letter-spacing: -.01em; font-size: clamp(2rem, 5.6vw, 3.8rem); }
.about__text { font-size: 1.1rem; max-width: 60ch; }
.about__abroad { color: var(--muted); font-size: 1rem; }
.about__values-label { margin-top: 20px; }
.values { display: grid; gap: 12px; }
.value { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.value__num { font-family: var(--f-pixel); font-size: .75rem; color: var(--muted); grid-row: span 2; padding-top: 4px; }
.value strong { font-family: var(--f-display); font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; }
.value span:last-child { color: var(--muted); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .about__visual { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Témoignages ---------- */
.quotes { display: grid; gap: 20px; }
.quote { border-radius: var(--radius); padding: 32px; }
.quote blockquote { margin: 0 0 24px; font-size: 1.2rem; line-height: 1.5; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__who img { border-radius: 50%; }
.quote__who p { margin: 0; display: flex; flex-direction: column; }
.quote__who span { color: var(--muted); font-size: .9rem; }
.quote--placeholder { border: 2px dashed var(--line); display: grid; place-items: center; min-height: 200px; color: var(--muted); font-family: var(--f-pixel); font-size: .8rem; text-transform: uppercase; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contact ---------- */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--section) * .7) 0 var(--section);
  background: linear-gradient(180deg, var(--bg), var(--gray-100));
  border-top: 1px solid var(--line);
}
.blobs--contact .blob--orange { width: 60vmax; height: 60vmax; left: 50%; bottom: -40vmax; transform: translateX(-50%); }
.blobs--contact .blob--anis { width: 45vmax; height: 45vmax; left: -15vmax; top: 10%; }
.marquee--text { margin-bottom: clamp(48px, 8vw, 96px); -webkit-mask-image: none; mask-image: none; }
.marquee--text .marquee__track { animation-duration: 30s; }
.marquee--text .marquee__group { gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.marquee--text span:not(.marquee__star) {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 8rem); letter-spacing: -.04em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.marquee--text span:nth-child(4n+1) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee__star { display: inline-flex; color: var(--orange); font-size: clamp(1.5rem, 4vw, 3rem); }
.contact__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__inner .label { justify-content: center; }
.contact__inner .lead { margin-inline: auto; margin-bottom: 40px; }
.contact__noscript { margin-top: 16px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bg); padding: 56px 0 32px; }
.footer__inner { display: grid; gap: 40px; }
.logo--footer .logo__big { font-size: 2.6rem; }
.footer__sig { color: var(--soft); margin: 16px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__links a { text-decoration: none; font-weight: 500; background: linear-gradient(var(--anis), var(--anis)) 0 100% / 0 1.5px no-repeat; padding: 6px 0; transition: background-size .3s var(--ease); }
.footer__links a:hover { background-size: 100% 1.5px; }
.footer :focus-visible { outline-color: var(--anis); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(247, 246, 242, .15); padding-top: 24px; color: var(--soft); font-size: .9rem; }
.footer__bottom p { margin: 0; }
.totop { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bg); font-weight: 500; }
.totop__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--anis); color: var(--ink); transform: rotate(-90deg); transition: transform .3s var(--ease); }
.totop:hover .totop__icon { transform: rotate(-90deg) translateX(4px); }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer__bottom { grid-column: 1 / -1; }
}

/* ---------- Mentions légales ---------- */
.page-legal .header { padding-bottom: 12px; }
.legal { padding-top: 64px; padding-bottom: 96px; max-width: 820px; }
.legal h1 { margin-bottom: 24px; }
.legal__notice { background: var(--anis); padding: 14px 18px; border-radius: 12px; font-weight: 500; margin-bottom: 48px; }
.legal__section { border-top: 1px solid var(--line); padding: 28px 0 12px; }
.legal__section p { margin-bottom: .4em; }

/* ---------- Mobile : effets allégés ---------- */
@media (max-width: 767.98px) {
  .glass { -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); }
  .blob { filter: blur(50px); opacity: .6; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; animation: none !important; }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding-inline: var(--gutter); }
  .marquee--text { display: none; }
  .cycle { background-size: 100% 38%; }
}

/* Le verre crée un bloc conteneur pour les éléments fixes : on le retire quand le menu mobile est ouvert */
.header.menu-open .header__bar {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: transparent; border-color: transparent; box-shadow: none;
}
