/* =========================================================
   CREADECO BTP — Feuille de style principale
   Palette provisoire (à remplacer par la charte officielle)
   ========================================================= */
:root {
  --charcoal: #343A3B;
  --charcoal-deep: #23282A;
  --ink: #1B1F20;
  --stone: #B3B8B5;
  --stone-dark: #8C928F;
  --light: #E5E7E4;
  --paper: #F3F4F2;
  --white: #FFFFFF;

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 11vw, 160px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--charcoal); color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--charcoal); color: var(--white); padding: 10px 16px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--stone-dark); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--stone-dark);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--stone); }

.display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 7.4vw, 112px); line-height: .98; letter-spacing: -.02em;
}
.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 72px); line-height: 1.04; letter-spacing: -.015em;
}
.h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1;
}
em, .it { font-style: normal; }
.display em, .h2 em, .h3 em { color: var(--stone-dark); }
.on-dark .display em, .on-dark .h2 em, .on-dark .h3 em { color: var(--stone); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; color: #4A5152; }
.on-dark .lead { color: rgba(255,255,255,.72); }
.muted { color: #6B7273; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--charcoal); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bg);
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--white); transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.btn:hover { color: var(--charcoal); }
.btn:hover::before { transform: scaleY(1); }
.btn .arrow { width: 18px; height: 10px; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { --bg: transparent; --fg: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost::before { background: var(--charcoal); }
.btn--ghost:hover { color: var(--white); }

.btn--light { --bg: var(--white); --fg: var(--charcoal); }
.btn--light::before { background: var(--charcoal); }
.btn--light:hover { color: var(--white); border-color: var(--white); }

.btn--outline-light { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { color: var(--charcoal); border-color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow .arrow { width: 18px; height: 10px; transition: transform .4s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.topbar a:hover { color: var(--white); }
.topbar__left, .topbar__right { display: flex; gap: 28px; align-items: center; }

.header {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 70;
  height: var(--header-h);
  transition: background .5s var(--ease), top .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 32px; }
.header__logo { position: relative; display: block; width: 168px; flex-shrink: 0; }
.header__logo img { width: 100%; transition: opacity .4s var(--ease); }
.header__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav__link {
  position: relative; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); padding: 8px 0; transition: color .4s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__cta { height: 48px; padding: 0 22px; font-size: 12px; }
.header .header__cta { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.55); }
.header .header__cta::before { background: var(--white); }
.header .header__cta:hover { color: var(--charcoal); }

.burger { display: none; width: 44px; height: 44px; position: relative; color: var(--white); }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }

/* état scrollé / page claire */
.header.is-solid {
  top: 0; height: 72px;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(52,58,59,.08);
}
.header.is-solid .logo-light { opacity: 0; }
.header.is-solid .logo-dark { opacity: 1; }
.header.is-solid .nav__link, .header.is-solid .burger { color: var(--charcoal); }
.header.is-solid .header__cta { --bg: var(--charcoal); --fg: var(--white); border-color: var(--charcoal); }
.header.is-solid .header__cta::before { background: var(--charcoal-deep); }
.header.is-solid .header__cta:hover { color: var(--white); }

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed; inset: 0; z-index: 65;
  background: var(--charcoal-deep); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list { counter-reset: m; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--font-display); font-size: clamp(40px, 10vw, 64px); line-height: 1.15;
  transform: translateY(110%); transition: transform .8s var(--ease-out);
}
.menu__list a::before { counter-increment: m; content: "0" counter(m); font-family: var(--font-sans); font-size: 12px; letter-spacing: .14em; color: var(--stone); }
.menu.is-open .menu__list a { transform: none; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .05s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .1s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .15s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .2s; }
.menu__foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.65); display: grid; gap: 6px; }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .header .logo-light { opacity: 1; }
body.menu-open .header .logo-dark { opacity: 0; }
body.menu-open .burger { color: var(--white); }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--charcoal-deep); overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1.02); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(27,31,32,.62) 0%, rgba(27,31,32,.05) 32%, rgba(27,31,32,.25) 58%, rgba(27,31,32,.88) 100%),
    linear-gradient(90deg, rgba(27,31,32,.55) 0%, rgba(27,31,32,0) 60%);
}
.hero__content { position: relative; z-index: 2; padding-top: 180px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__content .eyebrow { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.hero__title { max-width: 14ch; }
.hero__title em { color: var(--stone); }
.hero__bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end;
  margin-top: clamp(32px, 4vw, 56px);
}
.hero__text { max-width: 520px; font-size: 17px; color: rgba(255,255,255,.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__meta { display: grid; gap: 18px; justify-items: end; text-align: right; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__counter { display: flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; }
.hero__counter b { font-family: var(--font-display); font-weight: 400; font-size: 34px; letter-spacing: 0; color: var(--white); text-transform: none; }
.hero__progress { width: 120px; height: 1px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__progress i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }
.hero__progress i.run { animation: progress 6s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__caption { min-height: 1.6em; transition: opacity .5s; }
.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: scrollcue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero des pages intérieures */
.page-hero {
  position: relative; min-height: 78vh; min-height: 78svh;
  display: flex; align-items: flex-end; color: var(--white); background: var(--charcoal-deep); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 2.6s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,31,32,.6) 0%, rgba(27,31,32,.35) 40%, rgba(27,31,32,.88) 100%), linear-gradient(90deg, rgba(27,31,32,.6) 0%, rgba(27,31,32,0) 70%); }
.page-hero .container { position: relative; z-index: 2; padding-top: 200px; padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero .eyebrow { color: rgba(255,255,255,.75); margin-bottom: 24px; }
.page-hero .display em { color: var(--stone); }
.page-hero__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.page-hero__row p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 460px; }
.breadcrumb { display: flex; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Marquee ---------- */
.marquee { background: var(--charcoal); color: var(--white); overflow: hidden; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.06); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; flex-shrink: 0; }
.marquee__group span { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); white-space: nowrap; }
.marquee__group span:nth-child(4n+3) { color: var(--stone); }
.marquee__group i { font-style: normal; color: var(--stone-dark); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--light { background: var(--light); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--deep { background: var(--charcoal-deep); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .eyebrow { margin-bottom: 24px; }
.section-head--stack { grid-template-columns: 1fr; max-width: 820px; }

/* Intro / approche */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.intro__text .eyebrow { margin-bottom: 26px; }
.intro__text .h2 { margin-bottom: 32px; }
.intro__text .lead + p { margin-top: 20px; }
.intro__text .btn, .intro__text .link-arrow { margin-top: 40px; }
.intro__media { position: relative; padding-bottom: 18%; }
.intro__media .img-main { width: 78%; aspect-ratio: 4/5; object-fit: cover; margin-left: auto; }
.intro__media .img-sub { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1/1; object-fit: cover; border: 10px solid var(--white); }
.intro__badge {
  position: absolute; left: 6%; top: 10%;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--charcoal); color: var(--white);
  display: grid; place-items: center; text-align: center;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5;
}
.intro__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.intro__badge text { fill: var(--stone); font-size: 9.5px; letter-spacing: 3.2px; }
.intro__badge b { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: 0; text-transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--light); }
.fact { padding: 30px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--light); }
.fact b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 4vw, 56px); line-height: 1; color: var(--charcoal); margin-bottom: 12px; }
.fact > span { font-size: 14px; color: #6B7273; }

/* Cartes expertises */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--light); }
.service {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 560px; padding: 36px 32px; background: var(--white); overflow: hidden; isolation: isolate;
  color: var(--charcoal); transition: color .6s var(--ease);
}
.service__img { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s var(--ease); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease-out); }
.service__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,31,32,.35), rgba(27,31,32,.88)); }
.service:hover, .service:focus-visible { color: var(--white); }
.service:hover .service__img, .service:focus-visible .service__img { opacity: 1; }
.service:hover .service__img img { transform: scale(1); }
.service__num { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--stone-dark); transition: color .6s; }
.service:hover .service__num { color: var(--stone); }
.service__icon { width: 52px; height: 52px; margin: 40px 0 auto; stroke: currentColor; fill: none; stroke-width: 1.2; }
.service h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.05; margin: 32px 0 16px; }
.service p { font-size: 15px; line-height: 1.6; opacity: .8; }
.service__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.service__more .arrow { width: 18px; height: 10px; transition: transform .4s var(--ease); }
.service:hover .service__more .arrow { transform: translateX(6px); }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid rgba(255,255,255,.16); }
.step { position: relative; padding: 40px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--white); transition: width 1.2s var(--ease-out); }
.step.is-visible::before { width: 100%; }
.step__num { font-family: var(--font-display); font-size: 64px; line-height: 1; color: rgba(255,255,255,.16); margin-bottom: 30px; }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; letter-spacing: .01em; }
.step p { font-size: 14.5px; color: rgba(255,255,255,.66); }

/* Bande qualité */
.quality { position: relative; color: var(--white); background: var(--charcoal-deep); overflow: hidden; }
.quality__bg { position: absolute; inset: -15% 0; }
.quality__bg img { width: 100%; height: 100%; object-fit: cover; }
.quality::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,31,32,.92) 0%, rgba(27,31,32,.7) 50%, rgba(27,31,32,.35) 100%); }
.quality .container { position: relative; z-index: 2; padding-top: var(--section); padding-bottom: var(--section); }
.quality .h2 { max-width: 13ch; margin: 24px 0 64px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; max-width: 1100px; }
.pillar { padding: 30px 28px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.3); }
.pillar h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; color: rgba(255,255,255,.72); }

/* Galerie / réalisations */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 90px; gap: 16px; }
.work { position: relative; overflow: hidden; background: var(--light); cursor: pointer; display: block; text-align: left; width: 100%; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; }
.work:hover img { transform: scale(1.06); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(27,31,32,.82)); opacity: .9; transition: opacity .5s; }
.work__info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px 26px; color: var(--white); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.work__cat { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.work__title { font-family: var(--font-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.work__plus { flex-shrink: 0; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; transform: scale(.6) rotate(-90deg); opacity: 0; transition: all .5s var(--ease); }
.work:hover .work__plus { transform: none; opacity: 1; }
.work__plus svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; }
.tag-illus {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px; background: rgba(255,255,255,.88); color: var(--charcoal);
}
.g-a { grid-column: span 7; grid-row: span 6; }
.g-b { grid-column: span 5; grid-row: span 3; }
.g-c { grid-column: span 5; grid-row: span 3; }
.g-d { grid-column: span 4; grid-row: span 4; }
.g-e { grid-column: span 4; grid-row: span 4; }
.g-f { grid-column: span 4; grid-row: span 4; }

.disclaimer { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; font-size: 13.5px; color: #6B7273; max-width: 720px; }
.disclaimer svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { height: 42px; padding: 0 20px; border: 1px solid var(--stone); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: all .35s var(--ease); }
.filter:hover { border-color: var(--charcoal); }
.filter.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.works-grid .work { aspect-ratio: 4/5; }
.works-grid .work.wide { grid-column: span 2; aspect-ratio: 8/5; }
.works-grid .work.is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,23,24,.96); display: grid; place-items: center; padding: 70px 20px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: rgba(255,255,255,.75); text-align: center; margin-top: 18px; font-size: 14px; }
.lightbox figcaption b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--white); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--white); display: grid; place-items: center; transition: background .3s; }
.lightbox__btn:hover { background: rgba(255,255,255,.12); }
.lightbox__btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Zones */
.zones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.zones__map { position: relative; aspect-ratio: 1/1; max-width: 520px; width: 100%; justify-self: center; }
.zones__map svg { width: 100%; height: 100%; }
.zones__list { margin-top: 36px; border-top: 1px solid var(--stone); }
.zones__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--stone); }
.zones__list b { font-family: var(--font-display); font-weight: 400; font-size: 30px; }
.zones__list span { font-size: 13px; color: #6B7273; text-align: right; }
.pulse { animation: pulse 2.4s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); }
.faq .h2 { margin-top: 24px; }
.faq__list { border-top: 1px solid var(--stone); }
.faq__item { border-bottom: 1px solid var(--stone); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; text-align: left; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; }
.faq__icon { position: relative; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--stone); border-radius: 50%; transition: background .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 60px 28px 0; color: #5A6162; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* CTA band */
.cta-band { position: relative; background: var(--charcoal); color: var(--white); overflow: hidden; }
.cta-band .container { position: relative; z-index: 2; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; align-items: end; }
.cta-band .h2 { margin-top: 24px; max-width: 16ch; }
.cta-band__lines { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }

/* Expertises détaillées */
.exp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--light); scroll-margin-top: 80px; }
.exp:first-child { border-top: 0; padding-top: 0; }
.exp--rev .exp__media { order: 2; }
.exp__media { position: relative; }
.exp__media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.exp__num { position: absolute; z-index: 2; top: 0; left: 0; padding: 14px 22px 10px; background: var(--charcoal); color: var(--white); font-family: var(--font-display); font-size: clamp(32px, 3vw, 44px); line-height: 1; }
.exp--rev .exp__num { left: auto; right: 0; }
.exp__body .eyebrow { margin-bottom: 22px; }
.exp__body .h2 { margin-bottom: 26px; font-size: clamp(36px, 4.4vw, 62px); }
.exp__list { margin: 36px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--light); }
.exp__list li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--light); font-size: 15px; font-weight: 500; }
.exp__list li::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--charcoal); transform: rotate(45deg); flex-shrink: 0; }

.subnav { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--light); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6B7273; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.subnav a small { font-size: 11px; color: var(--stone-dark); }
.subnav a:hover, .subnav a.is-active { color: var(--charcoal); border-bottom-color: var(--charcoal); }

/* Valeurs (page CREADECO) */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--light); }
.value { background: var(--white); padding: 44px 36px; }
.value svg { width: 44px; height: 44px; stroke: var(--charcoal); fill: none; stroke-width: 1.2; margin-bottom: 36px; }
.value h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin-bottom: 12px; }
.value p { font-size: 15px; color: #5A6162; }

.quote { max-width: 1000px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3.8vw, 54px); line-height: 1.18; }
.quote blockquote em { color: var(--stone); }
.quote cite { display: block; margin-top: 36px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }

.split-img { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.split-img img { width: 100%; height: 100%; aspect-ratio: 16/11; object-fit: cover; }
.split-img img + img { aspect-ratio: auto; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__aside .h2 { margin: 24px 0 26px; }
.contact__channels { margin-top: 44px; border-top: 1px solid var(--light); }
.channel { display: flex; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--light); }
.channel__icon { width: 52px; height: 52px; border: 1px solid var(--stone); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: background .3s, border-color .3s; }
.channel__icon svg { width: 20px; height: 20px; stroke: var(--charcoal); fill: none; stroke-width: 1.4; transition: stroke .3s; }
a.channel:hover .channel__icon { background: var(--charcoal); border-color: var(--charcoal); }
a.channel:hover .channel__icon svg { stroke: var(--white); }
.channel small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-dark); }
.channel span { font-size: 17px; font-weight: 500; word-break: break-word; }

.form { background: var(--paper); padding: clamp(28px, 4vw, 56px); }
.form__title { font-family: var(--font-display); font-size: 34px; margin-bottom: 6px; }
.form__sub { color: #6B7273; font-size: 14.5px; margin-bottom: 36px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #5A6162; }
.field label .req { color: var(--stone-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--charcoal);
  background: transparent; border: 0; border-bottom: 1px solid var(--stone);
  border-radius: 0; padding: 10px 0 12px; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { 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 1l5 5 5-5' fill='none' stroke='%23343A3B' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; cursor: pointer; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--charcoal); }
.field input::placeholder, .field textarea::placeholder { color: #9AA09D; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #A4453A; }
.field__err { font-size: 12.5px; color: #A4453A; min-height: 0; }

fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip, .field .chip { position: relative; text-transform: none; letter-spacing: 0; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid var(--stone); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .3s var(--ease); background: var(--white); }
.chip span:hover { border-color: var(--charcoal); }
.chip input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--stone-dark); outline-offset: 2px; }

.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; }
.form__legal { font-size: 12.5px; color: #7A8182; max-width: 340px; }
.form__success { display: none; text-align: center; padding: 40px 10px; }
.form__success svg { width: 64px; height: 64px; stroke: var(--charcoal); fill: none; stroke-width: 1.2; margin: 0 auto 24px; }
.form__success h3 { font-family: var(--font-display); font-weight: 400; font-size: 38px; margin-bottom: 12px; }
.form.is-sent .form__inner { display: none; }
.form.is-sent .form__success { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: 15px; }
.footer__top { padding-top: clamp(72px, 8vw, 120px); padding-bottom: 56px; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer__brand img { width: 200px; margin-bottom: 28px; }
.footer__brand p { max-width: 340px; }
.footer h4 { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin-bottom: 22px; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--white); }
.footer__big { font-family: var(--font-display); font-size: clamp(56px, 13vw, 210px); line-height: .9; color: rgba(255,255,255,.06); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; padding: 0 var(--gutter); text-align: center; user-select: none; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 13px; color: rgba(255,255,255,.45); }

/* Bouton retour haut */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 52px; height: 52px; border-radius: 50%; background: var(--charcoal); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.is-visible .split-line > span, .split-line.is-visible > span { transform: none; }
.d1 { transition-delay: .1s !important; }
.d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; }
.d4 { transition-delay: .4s !important; }

/* Intro loader */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--charcoal-deep); display: grid; place-items: center; transition: clip-path 1s var(--ease-out) .1s; clip-path: inset(0 0 0 0); }
.loader img { width: 220px; opacity: 0; animation: loaderIn 1s var(--ease-out) .1s forwards; }
.loader__bar { position: absolute; left: 50%; top: calc(50% + 60px); width: 140px; height: 1px; transform: translateX(-50%); background: rgba(255,255,255,.15); overflow: hidden; }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; animation: loaderBar 1.1s var(--ease) .2s forwards; }
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes loaderBar { to { transform: scaleX(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { min-height: 440px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .step:nth-child(4) { padding-left: 0; border-left: 0; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav, .header__cta, .topbar__right { display: none; }
  .burger { display: block; }
  .section-head, .intro, .zones, .faq, .contact, .exp, .page-hero__row, .cta-band .container { grid-template-columns: 1fr; }
  .exp--rev .exp__media { order: 0; }
  .exp__media img { aspect-ratio: 4/3; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__meta { justify-items: start; text-align: left; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .intro__media { max-width: 640px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .header { top: 0; }
  .header__logo { width: 140px; }
  .hero__scroll { display: none; }
  .hero__content { padding-top: 140px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__icon { margin: 28px 0 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 12px; border-left: 0; }
  .step__num { font-size: 48px; margin-bottom: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--light); }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gallery .work { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid .work.wide { grid-column: auto; aspect-ratio: 4/5; }
  .form__grid { grid-template-columns: 1fr; }
  .exp__list { grid-template-columns: 1fr; }
  .split-img { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .faq__a p { padding-right: 0; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .intro__badge { width: 104px; height: 104px; }
  .intro__badge b { font-size: 24px; }
  .work__plus { opacity: 1; transform: none; }
}
@media (max-width: 460px) {
  .footer__top { grid-template-columns: 1fr; }
  .zones__list b { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img, .split-line > span { opacity: 1; transform: none; clip-path: none; }
}

/* =========================================================
   ANIMATIONS V2
   ========================================================= */

/* Barre de progression de lecture */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; background: var(--stone-dark); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Rideau de transition entre pages */
.curtain { position: fixed; inset: 0; z-index: 250; background: var(--charcoal-deep); display: grid; place-items: center; pointer-events: none; animation: curtainOut 1s var(--ease-out) .1s forwards; }
.curtain img { width: 180px; animation: curtainLogo .8s var(--ease-out) forwards; }
.curtain.is-in { animation: curtainIn .7s var(--ease-out) forwards; pointer-events: auto; }
.curtain.is-in img { animation: none; opacity: .9; }
@keyframes curtainOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes curtainIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes curtainLogo { from { opacity: .9; } to { opacity: 0; transform: translateY(-30px); } }

/* Curseur personnalisé (desktop) */
.cursor, .cursor-ring, .cursor-label { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; border-radius: 50%; will-change: transform; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid #fff; mix-blend-mode: difference; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s; }
.cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor-ring.is-hidden, .cursor.is-hidden { opacity: 0; }
.cursor-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--white); color: var(--charcoal); display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; scale: 0; transition: scale .45s var(--ease-out); }
.cursor-label.is-on { scale: 1; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
  html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text; }
}

/* Titres : apparition mot par mot */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.words .w > span { display: inline-block; transform: translateY(115%) rotate(6deg); transform-origin: left bottom; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms + 80ms); }
.words.is-visible .w > span { transform: none; }

/* Images : rideau + zoom (révélation corrigée) */
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-out); }
img.reveal-img { transform: scale(1.3); transition: clip-path 1.5s var(--ease-out), transform 2s var(--ease-out), scale 1.2s var(--ease-out); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }
img.reveal-img.is-visible { transform: scale(1); }
.work.reveal-img img { transform: scale(1.3); transition: transform 2s var(--ease-out); }
.work.reveal-img.is-visible img { transform: scale(1); }
.work.reveal-img.is-visible:hover img { transform: scale(1.07); transition-duration: 1.2s; }
[data-speed] { will-change: translate; }

/* Hero : transition en volet + parallaxe souris */
.hero__slide { opacity: 1; clip-path: inset(0 0 0 100%); transition: clip-path 1.5s cubic-bezier(.77,0,.18,1); z-index: 0; }
.hero__slide.is-prev { clip-path: inset(0 0 0 0); z-index: 1; transition: none; }
.hero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero__slides { inset: -24px; transition: translate 1.2s var(--ease-out); translate: calc(var(--hx, 0) * -18px) calc(var(--hy, 0) * -18px); }
.hero__title { transition: translate 1.2s var(--ease-out); translate: calc(var(--hx, 0) * 10px) calc(var(--hy, 0) * 8px); }
.hero__dots { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.hero__dot { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.7); font-size: 11px; font-weight: 600; display: grid; place-items: center; transition: all .5s var(--ease-out); }
.hero__dot:hover { border-color: var(--white); color: var(--white); }
.hero__dot.is-active { background: var(--white); border-color: var(--white); color: var(--charcoal); transform: scale(1.12); }

/* Boutons : effet magnétique + texte roulant */
.btn, .to-top { transition-property: color, background, border-color, transform, translate, opacity; transition-duration: .45s; transition-timing-function: var(--ease-out); }
.btn__roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.3; }
.btn__roll > span { display: block; transition: transform .5s var(--ease-out); }
.btn__roll > span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__roll > span, .link-arrow:hover .btn__roll > span, .nav__link:hover .btn__roll > span, .service__more .btn__roll > span { transform: translateY(-100%); }
.service__more .btn__roll > span { transform: none; }
.service:hover .service__more .btn__roll > span { transform: translateY(-100%); }

/* Cartes services : inclinaison 3D + icône dessinée */
.services { perspective: 1400px; }
.service.reveal { transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), color .6s var(--ease), rotate .6s var(--ease-out); }
.service__icon { transition: transform .6s var(--ease-out); }
.service__icon path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-out) .4s; }
.service.is-visible .service__icon path { stroke-dashoffset: 0; }
.service:hover .service__icon { transform: translateY(-6px); }

/* Étapes */
.step .step__num, .step h3, .step p { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), color .4s; }
.step.is-visible .step__num, .step.is-visible h3, .step.is-visible p { opacity: 1; transform: none; }
.step.is-visible .step__num { color: rgba(255,255,255,.22); }
.step:hover .step__num { color: var(--white); }
.steps .step.d1 > *, .steps .step.d1::before { transition-delay: .15s; }
.steps .step.d2 > *, .steps .step.d2::before { transition-delay: .3s; }
.steps .step.d3 > *, .steps .step.d3::before { transition-delay: .45s; }
.steps .step.d4 > *, .steps .step.d4::before { transition-delay: .6s; }

/* Piliers : ligne qui se dessine */
.pillar { position: relative; border-top-color: transparent; transition: opacity 1s var(--ease-out), transform .6s var(--ease-out), background .5s; }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: rgba(255,255,255,.6); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .3s; }
.pillar.is-visible::before { transform: scaleX(1); }
.pillar.is-visible:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }

/* Carte animée */
.zones__map .ring--spin { transform-origin: 250px 250px; animation: spin 60s linear infinite; }
.zones__map .ring--spin-rev { transform-origin: 250px 250px; animation: spin 30s linear infinite reverse; }
.zones__map .sweep { transform-origin: 250px 250px; animation: spin 7s linear infinite; }
.zones__map .routes path { stroke-dasharray: 1; stroke-dashoffset: 1; stroke-opacity: .55; transition: stroke-dashoffset 1.8s var(--ease-out); transition-delay: calc(var(--i) * .16s + .4s); }
.zones__map.is-visible .routes path { stroke-dashoffset: 0; }
.zones__map .city { opacity: 0; transition: opacity .8s var(--ease-out); transition-delay: calc(var(--i) * .16s + 1.2s); }
.zones__map.is-visible .city { opacity: 1; }
.zones__map .city__ping { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; animation-delay: calc(var(--i) * .45s); }
.zones__map .pulse--2 { animation-delay: 1.2s; }

.zones__list li { transition: padding .5s var(--ease-out); }
.zones__list li:hover { padding-left: 14px; }

/* FAQ */
.faq__q { transition: padding .4s var(--ease-out); }
.faq__q:hover { padding-left: 10px; }
.faq__icon { transition: background .3s, border-color .3s, transform .5s var(--ease-out); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }

/* Bandeau CTA : lignes qui se dessinent */
.cta-band__lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3s var(--ease-out); }
.cta-band.is-visible .cta-band__lines path { stroke-dashoffset: 0; }
.cta-band__lines g { stroke: rgba(255,255,255,.14); }

/* Marquee piloté par le scroll */
.marquee__track.is-js { animation: none; will-change: transform; }

/* Grand texte du footer */
.footer__big .ch { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--ci) * 45ms); }
.footer__big.is-visible .ch { transform: none; }

/* Images expertises au survol */
.exp__media:hover img.is-visible { scale: 1.04; }

/* Filtres : apparition après filtrage */
.works-grid .work.is-filtered-in { animation: filterIn .7s var(--ease-out) both; animation-delay: calc(var(--fi, 0) * 60ms); }
@keyframes filterIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
  .hero__dots, .cursor, .cursor-ring, .cursor-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .words .w > span, .step .step__num, .step h3, .step p, .footer__big .ch { transform: none; opacity: 1; }
  .reveal-img, img.reveal-img, .work.reveal-img img { clip-path: none; transform: none; }
  .zones__map .routes path, .cta-band__lines path, .service__icon path { stroke-dashoffset: 0; }
  .zones__map .city { opacity: 1; }
}

/* =========================================================
   V3 — EXPÉRIENCE PREMIUM
   ========================================================= */

/* Lenis (défilement fluide) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Grain photographique */
.grain { position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* Topbar : point « en ligne » */
.topbar__live { display: inline-flex; align-items: center; gap: 10px; }
.topbar__live i { width: 6px; height: 6px; border-radius: 50%; background: #7FB38A; box-shadow: 0 0 0 0 rgba(127,179,138,.6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(127,179,138,.55); } 100% { box-shadow: 0 0 0 9px rgba(127,179,138,0); } }

/* Header : masqué au défilement vers le bas */
.header { transition: background .5s var(--ease), top .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease-out); }
.header.is-hidden { transform: translateY(-110%); }
body.mega-open .header { transform: none; }

/* ---------- Méga-menu ---------- */
.nav__item { position: relative; display: flex; align-items: center; }
.has-mega > .nav__link { padding-right: 16px; }
.has-mega > .nav__link::before { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: translateY(-75%) rotate(45deg); transition: transform .4s var(--ease-out); }
.has-mega:hover > .nav__link::before, .has-mega:focus-within > .nav__link::before { transform: translateY(-25%) rotate(-135deg); }
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; width: min(860px, 80vw);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: var(--white); color: var(--charcoal);
  box-shadow: 0 30px 80px -20px rgba(27,31,32,.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 14px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility .4s;
  clip-path: inset(0 0 100% 0);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); clip-path: inset(0 0 0 0); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s, clip-path .6s var(--ease-out); }
.mega__list { padding: 18px; display: grid; }
.mega__item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 18px 16px; border-bottom: 1px solid var(--light); transition: background .35s, padding .4s var(--ease-out); }
.mega__item:last-child { border-bottom: 0; }
.mega__item:hover, .mega__item.is-hover { background: var(--paper); padding-left: 24px; }
.mega__num { font-family: var(--font-display); font-size: 30px; color: var(--stone-dark); line-height: 1; }
.mega__txt b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.mega__txt small { font-size: 13px; color: #6B7273; }
.mega__en { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-dark); }
.mega__media { position: relative; overflow: hidden; background: var(--charcoal); min-height: 320px; }
.mega__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s var(--ease-out); }
.mega__media img.is-swap { opacity: 0; transform: scale(1.08); }
.mega__caption { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.mega__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(27,31,32,.7)); }

/* Menu mobile : image de fond */
.menu__bg { position: absolute; inset: 0; opacity: .14; }
.menu__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
.menu.is-open .menu__bg img { transform: scale(1); }
.menu__list, .menu__foot { position: relative; }

/* ---------- Loader v3 : tracé du logo ---------- */
.loader { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.77,0,.18,1); }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { width: min(440px, 76vw); display: grid; gap: 22px; }
.loader__logo { width: 100%; height: auto; color: var(--white); overflow: visible; }
.loader__logo path { stroke: var(--white); stroke-width: 2.5; fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; animation: logoDraw 1.6s var(--ease-out) forwards, logoFill .8s var(--ease) 1.2s forwards; }
.loader__logo g[fill="none"] path { stroke-width: 8.6; animation: logoDraw 1.2s var(--ease-out) .6s forwards; }
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
@keyframes logoFill { to { fill-opacity: 1; } }
.loader__meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); opacity: 0; animation: loaderIn .8s var(--ease-out) .3s forwards; }
.loader__count { font-variant-numeric: tabular-nums; color: var(--white); letter-spacing: .05em; }
.loader__count b { font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.loader__bar { position: relative; top: auto; left: auto; transform: none; width: 100%; height: 1px; background: rgba(255,255,255,.15); overflow: hidden; }
.loader__bar::after { display: none; }
.loader__bar i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(var(--p, 0)); }
.loader__skip { position: absolute; right: 28px; bottom: 26px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.3); transition: color .3s; }
.loader__skip:hover { color: var(--white); }

/* ---------- Hero v3 ---------- */
.hero__side { position: absolute; z-index: 3; left: 26px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center; white-space: nowrap; font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hero__thumbs { display: grid; grid-template-columns: repeat(4, 132px); gap: 10px; }
.hero__thumb { position: relative; text-align: left; color: rgba(255,255,255,.65); transition: color .4s; }
.hero__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; filter: grayscale(.6) brightness(.7); transition: filter .5s, transform .6s var(--ease-out); }
.hero__thumb span { display: flex; gap: 8px; align-items: baseline; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero__thumb small { font-size: 10px; color: rgba(255,255,255,.45); }
.hero__thumb i { position: absolute; left: 0; right: 0; top: -10px; height: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.hero__thumb i::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__thumb.is-active { color: var(--white); }
.hero__thumb.is-active img, .hero__thumb:hover img { filter: none; }
.hero__thumb:hover img { transform: translateY(-4px); }
.hero__thumb.is-active i::after { animation: progress 6s linear forwards; }
.hero__thumbs.is-paused .hero__thumb.is-active i::after { animation-play-state: paused; }

/* ---------- Manifeste : surlignage au scroll ---------- */
.manifesto { position: relative; overflow: hidden; }
.manifesto .eyebrow { margin-bottom: 40px; }
.manifesto__text { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 70px); line-height: 1.12; letter-spacing: -.015em; max-width: 22ch; position: relative; z-index: 2; }
.manifesto__text .hw { color: var(--charcoal); opacity: .14; transition: opacity .25s linear; }
.manifesto__text .hw.on { opacity: 1; }
.manifesto__float { position: absolute; z-index: 1; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(27,31,32,.5); }
.manifesto__float--a { width: clamp(140px, 15vw, 230px); aspect-ratio: 3/4; right: 7%; top: 14%; }
.manifesto__float--b { width: clamp(120px, 12vw, 190px); aspect-ratio: 3/4; right: 21%; top: 46%; }
.manifesto__foot { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-top: 56px; position: relative; z-index: 2; }
.manifesto__sign { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-dark); }
.manifesto__line { width: 48px; height: 1px; background: currentColor; }

/* ---------- Expertises : défilement collant ---------- */
.xp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.xp__media { position: sticky; top: 110px; height: calc(100vh - 150px); max-height: 760px; }
.xp__frame { position: relative; height: 100%; overflow: hidden; background: var(--charcoal); }
.xp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.2); transition: clip-path 1.2s cubic-bezier(.77,0,.18,1), transform 1.8s var(--ease-out); }
.xp__img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.xp__img.is-leaving { clip-path: inset(0 0 0 0); z-index: 0; }
.xp__frame .tag-illus { z-index: 3; }
.xp__counter { position: absolute; z-index: 3; left: 24px; bottom: 34px; color: var(--white); display: flex; align-items: baseline; gap: 8px; }
.xp__counter b { font-family: var(--font-display); font-weight: 400; font-size: 64px; line-height: 1; }
.xp__counter span { font-size: 13px; letter-spacing: .14em; opacity: .7; }
.xp__bar { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 20px; height: 1px; background: rgba(255,255,255,.3); }
.xp__bar i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(.25); transition: transform .8s var(--ease-out); }
.xp__frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(27,31,32,.65)); pointer-events: none; }
.xp__panel { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--light); opacity: .28; transition: opacity .6s var(--ease); }
.xp__panel:first-child { border-top: 0; }
.xp__panel.is-active { opacity: 1; }
.xp__panel-img { display: none; }
.xp__num { font-family: var(--font-display); font-size: clamp(80px, 9vw, 140px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--stone-dark); }
.xp__en { margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--stone-dark); }
.xp__panel h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; margin: 12px 0 18px; }
.xp__panel p { font-size: 17px; color: #4A5152; max-width: 460px; }
.xp__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.xp__tags li { font-size: 12.5px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--stone); border-radius: 100px; }
.xp__panel .link-arrow { align-self: flex-start; }

/* ---------- Avant / après ---------- */
.ba { position: relative; aspect-ratio: 16/8; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--charcoal); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); z-index: 3; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--white); color: var(--charcoal); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.3); transition: transform .4s var(--ease-out); }
.ba:hover .ba__handle span, .ba.is-drag .ba__handle span { transform: scale(1.1); }
.ba__handle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ba__label { position: absolute; z-index: 2; top: 22px; padding: 8px 14px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; background: rgba(27,31,32,.7); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ba__label--l { left: 22px; }
.ba__label--r { right: 22px; background: rgba(255,255,255,.88); color: var(--charcoal); }
.disclaimer--light { color: rgba(255,255,255,.5); margin-top: 18px; }

/* ---------- Méthode : défilement horizontal épinglé ---------- */
.hscroll { position: relative; background: var(--charcoal); color: var(--white); }
.hscroll__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 56px); padding: 90px 0 40px; }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.hscroll__head .h2 { margin-top: 18px; }
.hscroll__count { display: flex; align-items: baseline; gap: 8px; }
.hscroll__count b { font-family: var(--font-display); font-weight: 400; font-size: 72px; line-height: 1; }
.hscroll__count span { font-size: 13px; letter-spacing: .14em; color: rgba(255,255,255,.6); }
.hscroll__track { display: flex; gap: 28px; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); padding-right: var(--gutter); will-change: transform; width: max-content; }
.hcard { position: relative; flex: 0 0 auto; width: clamp(300px, 30vw, 440px); display: flex; flex-direction: column; padding: 28px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); transition: background .5s, border-color .5s, transform .6s var(--ease-out); }
.hcard:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.3); transform: translateY(-8px); }
.hcard__num { font-family: var(--font-display); font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); margin-bottom: 22px; }
.hcard__img { overflow: hidden; aspect-ratio: 16/11; margin-bottom: 24px; }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease-out); }
.hcard:hover .hcard__img img { transform: scale(1); }
.hcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; margin-bottom: 10px; }
.hcard p { font-size: 15px; color: rgba(255,255,255,.66); }
.hcard--cta { justify-content: flex-end; background: var(--white); color: var(--charcoal); border-color: var(--white); }
.hcard--cta:hover { background: var(--light); }
.hcard--cta .hcard__num { -webkit-text-stroke: 1px var(--charcoal); margin-bottom: auto; }
.hcard--cta h3 { font-size: 42px; }
.hcard--cta p { color: #5A6162; margin-bottom: 28px; }
.hcard--cta .link-arrow { align-self: flex-start; }
.hscroll__progress span { display: block; position: relative; height: 1px; background: rgba(255,255,255,.18); }
.hscroll__progress i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }

/* ---------- Réalisations : liste avec image flottante ---------- */
.plist { position: relative; border-top: 1px solid var(--charcoal); }
.plist__row { position: relative; display: grid; grid-template-columns: 70px 1fr auto 60px; align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--light); transition: padding .5s var(--ease-out), color .4s; }
.plist__row::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); z-index: -1; }
.plist__row:hover::before { transform: scaleY(1); }
.plist__row:hover { padding-left: 20px; padding-right: 20px; }
.plist__num { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--stone-dark); }
.plist__title { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; transition: transform .5s var(--ease-out); }
.plist__cat { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #6B7273; }
.plist__arrow { justify-self: end; width: 48px; height: 48px; border: 1px solid var(--stone); border-radius: 50%; display: grid; place-items: center; transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease-out); }
.plist__arrow .arrow { width: 18px; height: 10px; }
.plist__row:hover .plist__arrow { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); transform: rotate(-45deg); }
.plist__thumb { display: none; }
.plist__float { position: absolute; top: 0; left: 0; z-index: 5; width: 340px; aspect-ratio: 4/3; pointer-events: none; overflow: hidden; opacity: 0; scale: .6; transition: opacity .4s var(--ease-out), scale .5s var(--ease-out); will-change: transform; }
.plist__float.is-on { opacity: 1; scale: 1; }
.plist__float-inner { position: absolute; inset: 0; }
.plist__float-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease-out); }
.plist__float-inner img.is-active { clip-path: inset(0 0 0 0); }
.plist__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; }
.plist__foot .disclaimer { margin-top: 0; }

/* ---------- Pied de page : grand CTA ---------- */
.footer__cta { display: block; padding: clamp(72px, 9vw, 140px) var(--gutter) clamp(56px, 6vw, 90px); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; text-align: center; color: var(--white); }
.footer__cta-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); margin-bottom: 26px; }
.footer__cta-line { display: inline-flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.footer__cta-text { font-family: var(--font-display); font-size: clamp(44px, 8.6vw, 150px); line-height: 1; letter-spacing: -.02em; background: linear-gradient(90deg, var(--stone) 50%, var(--white) 50%); background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position 1s var(--ease-out); }
.footer__cta:hover .footer__cta-text { background-position: 0 0; }
.footer__cta-arrow { flex-shrink: 0; width: clamp(56px, 7vw, 110px); height: clamp(56px, 7vw, 110px); border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; transition: background .5s, transform .7s var(--ease-out), border-color .5s; }
.footer__cta-arrow .arrow { width: 40%; height: auto; color: var(--white); transition: color .5s; }
.footer__cta:hover .footer__cta-arrow { background: var(--white); border-color: var(--white); transform: rotate(-45deg); }
.footer__cta:hover .footer__cta-arrow .arrow { color: var(--charcoal); }
.footer__clock { margin-top: 22px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.footer__clock b { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 8px; letter-spacing: .08em; }

/* ---------- Retour en haut : anneau de progression ---------- */
.to-top { bottom: 96px; right: 26px; width: 52px; height: 52px; background: var(--white); color: var(--charcoal); box-shadow: 0 10px 30px rgba(27,31,32,.15); }
.to-top .to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--light); stroke-width: 2; }
.to-top__ring .to-top__progress { stroke: var(--charcoal); stroke-dasharray: 1; stroke-dashoffset: 1; }
.to-top__arrow { position: relative; width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---------- Assistant (chat) ---------- */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 95; }
.chat__launcher { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--charcoal); color: var(--white); display: grid; place-items: center; box-shadow: 0 14px 40px rgba(27,31,32,.35); transition: transform .4s var(--ease-out), background .3s; }
.chat__launcher:hover { transform: scale(1.06); }
.chat__launcher::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--charcoal); animation: ripple 2.6s var(--ease) infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
.chat__ico { position: absolute; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .45s var(--ease-out), opacity .3s; }
.chat__ico--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat__ico--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__ico--close { opacity: 1; transform: none; }
.chat.is-open .chat__launcher::before { display: none; }
.chat__badge { position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%; background: #C8553D; color: var(--white); font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--white); transition: transform .3s; }
.chat.is-read .chat__badge { transform: scale(0); }
.chat__teaser { position: absolute; right: 74px; bottom: 10px; white-space: nowrap; background: var(--white); color: var(--charcoal); font-size: 14px; font-weight: 500; padding: 12px 18px; box-shadow: 0 14px 40px rgba(27,31,32,.18); opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.chat__teaser::after { content: ""; position: absolute; right: -6px; bottom: 18px; width: 12px; height: 12px; background: var(--white); transform: rotate(45deg); }
.chat.show-teaser .chat__teaser { opacity: 1; transform: none; }
.chat__panel { position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px)); background: var(--white); color: var(--charcoal); box-shadow: 0 30px 80px -10px rgba(27,31,32,.4); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; opacity: 0; transform: translateY(16px) scale(.96); visibility: hidden; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility .4s; }
.chat.is-open .chat__panel { opacity: 1; transform: none; visibility: visible; }
.chat__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--charcoal); color: var(--white); }
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--charcoal-deep); display: grid; place-items: center; flex-shrink: 0; border: 1px solid rgba(255,255,255,.2); }
.chat__avatar img { width: 30px; }
.chat__head b { display: block; font-size: 15px; }
.chat__head small { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,.65); }
.chat__head small i { width: 6px; height: 6px; border-radius: 50%; background: #7FB38A; }
.chat__close { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.chat__close:hover { background: rgba(255,255,255,.1); }
.chat__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; }
.chat__body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); overscroll-behavior: contain; }
.msg { max-width: 84%; padding: 12px 15px; font-size: 14.5px; line-height: 1.5; animation: msgIn .45s var(--ease-out) both; }
.msg a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.msg--bot { background: var(--white); align-self: flex-start; border: 1px solid var(--light); }
.msg--me { background: var(--charcoal); color: var(--white); align-self: flex-end; }
.msg--typing { display: flex; gap: 4px; padding: 15px 16px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--stone-dark); animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat__quick { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 12px 16px; background: var(--paper); border-top: 1px solid var(--light); }
.chat__quick:empty { display: none; }
.chat__quick button { flex-shrink: 0; white-space: nowrap; font-size: 13px; font-weight: 500; padding: 8px 13px; border: 1px solid var(--charcoal); border-radius: 100px; transition: background .3s, color .3s; background: var(--white); }
.chat__quick button:hover { background: var(--charcoal); color: var(--white); }
.chat__form { display: flex; border-top: 1px solid var(--light); }
.chat__form input { flex: 1; border: 0; padding: 16px 18px; font: inherit; font-size: 14.5px; outline: none; min-width: 0; }
.chat__form button { width: 56px; display: grid; place-items: center; color: var(--charcoal); }
.chat__form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Formulaire en étapes ---------- */
.page-hero--short { min-height: 64vh; min-height: 64svh; }
.contact__steps { margin-top: 36px; display: grid; gap: 14px; }
.contact__steps p { display: flex; gap: 16px; align-items: center; font-size: 15px; color: #4A5152; }
.contact__steps b { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--stone-dark); width: 36px; }
.wizard__progress { margin-bottom: 36px; }
.wizard__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.wizard__steps span { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9AA09D; transition: color .4s; }
.wizard__steps i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--stone); display: grid; place-items: center; font-style: normal; font-size: 11px; letter-spacing: 0; transition: all .4s var(--ease-out); flex-shrink: 0; }
.wizard__steps span.is-active { color: var(--charcoal); }
.wizard__steps span.is-active i { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.wizard__steps span.is-done i { background: var(--stone); border-color: var(--stone); color: var(--white); }
.wizard__bar { height: 2px; background: var(--light); position: relative; overflow: hidden; }
.wizard__bar i { position: absolute; inset: 0; background: var(--charcoal); transform-origin: left; transform: scaleX(.25); transition: transform .7s var(--ease-out); }
.wizard__step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.wizard__step.is-active { display: block; animation: stepIn .6s var(--ease-out) both; }
.wizard__step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.wizard__step legend { padding: 0; }
.ptype { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ptype__card { position: relative; cursor: pointer; }
.ptype__card input { position: absolute; opacity: 0; pointer-events: none; }
.ptype__card > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px 18px; background: var(--white); border: 1px solid var(--light); transition: all .35s var(--ease-out); }
.ptype__card svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.2; margin-bottom: 18px; transition: transform .5s var(--ease-out); }
.ptype__card b { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.1; }
.ptype__card small { font-size: 12.5px; color: #6B7273; }
.ptype__card:hover > span { border-color: var(--charcoal); transform: translateY(-3px); }
.ptype__card:hover svg { transform: scale(1.08); }
.ptype__card input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.ptype__card input:checked + span small { color: rgba(255,255,255,.65); }
.ptype__card input:focus-visible + span { outline: 2px solid var(--stone-dark); outline-offset: 2px; }
.cond { display: none; margin-bottom: 26px; }
.cond.is-on { display: block; animation: stepIn .5s var(--ease-out) both; }
.field__label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #5A6162; }
.form__grid--common { margin-top: 4px; }
.tel { display: flex; align-items: stretch; gap: 10px; }
.tel select { flex: 0 0 auto; width: 104px; }
.tel input { flex: 1; min-width: 0; }
.recap { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; padding: 22px; margin: 0 0 28px; background: var(--white); border: 1px solid var(--light); font-size: 14px; }
.recap dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-dark); padding-top: 2px; }
.recap dd { margin: 0; color: var(--charcoal); font-weight: 500; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.wizard__nav .wizard__next, .wizard__nav .wizard__submit { margin-left: auto; }
.wizard .wizard__prev { visibility: hidden; }
.wizard[data-step="2"] .wizard__prev, .wizard[data-step="3"] .wizard__prev, .wizard[data-step="4"] .wizard__prev { visibility: visible; }
.wizard .wizard__submit { display: none; }
.wizard[data-step="4"] .wizard__submit { display: inline-flex; }
.wizard[data-step="4"] .wizard__next { display: none; }
.wizard .field__err[data-err] { display: block; margin-top: 12px; }

/* ---------- Responsive V3 ---------- */
@media (max-width: 1180px) {
  .hero__thumbs { grid-template-columns: repeat(4, 104px); }
}
@media (max-width: 1024px) {
  .hero__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 520px; }
  .hero__side { display: none; }
  .manifesto__float { display: none; }
  .xp__grid { grid-template-columns: 1fr; }
  .xp__media { display: none; }
  .xp__panel { min-height: 0; opacity: 1; padding: 48px 0; }
  .xp__panel-img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 26px; }
  .hscroll { height: auto !important; }
  .hscroll__pin { position: relative; height: auto; padding: var(--section) 0; }
  .hscroll__track { flex-direction: column; width: auto; padding: 0 var(--gutter); transform: none !important; }
  .hcard { width: 100%; }
  .hscroll__progress, .hscroll__count { display: none; }
  .plist__float { display: none; }
  .plist__row { grid-template-columns: 90px 1fr 48px; grid-template-areas: "thumb title arrow" "thumb cat arrow"; row-gap: 6px; }
  .plist__num { display: none; }
  .plist__thumb { display: block; grid-area: thumb; width: 90px; aspect-ratio: 1; object-fit: cover; }
  .plist__title { grid-area: title; font-size: 26px; }
  .plist__cat { grid-area: cat; }
  .plist__arrow { grid-area: arrow; width: 40px; height: 40px; }
  .plist__row:hover { padding-left: 0; padding-right: 0; }
  .ba { aspect-ratio: 4/3; }
}
@media (max-width: 760px) {
  .hero__thumbs { gap: 6px; }
  .hero__thumb span { font-size: 9px; letter-spacing: .08em; }
  .hero__thumb small { display: none; }
  .wizard__steps span { font-size: 0; gap: 0; justify-content: center; }
  .chat { right: 16px; bottom: 16px; }
  .chat__teaser { display: none; }
  .to-top { right: 20px; bottom: 88px; }
  .chat__panel { right: -4px; }
  .footer__cta-line { flex-direction: column; }
  .recap { grid-template-columns: 1fr; gap: 2px; }
  .recap dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
  .loader__logo path { stroke-dashoffset: 0; fill-opacity: 1; }
  .manifesto__text .hw { opacity: 1; }
  .hscroll { height: auto !important; }
}

.hero__scroll { display: none; }
.contact > *, .xp__grid > *, .zones > *, .faq > * { min-width: 0; }

/* ---------- Notre approche (refonte) ---------- */
.approach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.approach__text .eyebrow { margin-bottom: 24px; }
.approach__text .h2 { margin-bottom: 26px; }
.approach__list { margin: 40px 0 44px; border-top: 1px solid var(--light); }
.approach__list li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--light); transition: padding .5s var(--ease-out), background .4s; }
.approach__list li:hover { padding-left: 12px; background: var(--paper); }
.approach__n { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--stone); transition: color .4s; }
.approach__list li:hover .approach__n { color: var(--charcoal); }
.approach__list h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.approach__list p { font-size: 15px; color: #6B7273; }

.approach__media { position: relative; padding: 0 0 16% 14%; }
.approach__main { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.approach__main img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; transform: scale(1.25); transition: transform 2s var(--ease-out); }
.approach__main.is-visible img { transform: scale(1); }
.approach__sub { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; overflow: hidden; border: 10px solid var(--white); box-shadow: 0 30px 60px -30px rgba(27,31,32,.45); }
.approach__sub img { width: 100%; height: 100%; object-fit: cover; }
.approach__card { position: absolute; right: -4%; bottom: 8%; width: min(240px, 46%); padding: 26px 24px; background: var(--charcoal); color: var(--white); box-shadow: 0 30px 60px -25px rgba(27,31,32,.55); }
.approach__card b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 60px; line-height: .9; margin-bottom: 12px; }
.approach__card span { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
.approach__badge { left: 2%; top: 6%; z-index: 2; }
.approach__tag { left: auto; right: 16px; top: 16px; z-index: 3; }

@media (max-width: 1024px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__media { max-width: 620px; }
  .approach__card { right: 0; }
}
@media (max-width: 760px) {
  .approach__media { padding: 0 0 22% 8%; }
  .approach__card { padding: 18px; width: 52%; bottom: 4%; }
  .approach__card b { font-size: 44px; }
  .approach__badge { display: none; }
}

/* Galerie accueil : pas d effet au survol */
.gallery .work:hover img, .gallery .work.reveal-img.is-visible:hover img { transform: scale(1); }

/* Sous-navigation : suit le header (masqué -> collée en haut) */
.subnav { transition: top .6s var(--ease-out); }
body.header-hidden .subnav { top: 0; }

/* ---------- Méthode : carrousel à glisser sur mobile ---------- */
@media (max-width: 1024px) {
  .hscroll__pin { padding: 80px 0 64px; gap: 28px; }
  .hscroll__head { align-items: flex-end; }
  .hscroll__count { display: flex; }
  .hscroll__count b { font-size: 44px; }
  .hscroll__track {
    flex-direction: row; width: auto; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    padding: 0 var(--gutter) 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .hcard { flex: 0 0 82%; width: 82%; max-width: 420px; scroll-snap-align: start; padding: 22px; }
  .hcard:hover { transform: none; }
  .hcard__num { font-size: 40px; margin-bottom: 16px; }
  .hcard__img { margin-bottom: 18px; }
  .hcard__img img { transform: none; }
  .hcard h3 { font-size: 26px; }
  .hcard--cta h3 { font-size: 30px; }
  .hscroll__progress { display: block; }
  .hscroll__hint { display: flex; }
}
.hscroll__hint { display: none; align-items: center; gap: 10px; margin-top: -10px; padding: 0 var(--gutter); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hscroll__hint svg { width: 22px; height: 10px; animation: hintSwipe 1.6s var(--ease) infinite; }
@keyframes hintSwipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@media (max-width: 1024px) { .hscroll__hint { display: flex; } .hscroll__count { white-space: nowrap; flex-shrink: 0; } }

/* Mobile : aucune largeur au-delà de l écran */
.menu { overflow: hidden; }
html, body { overflow-x: clip; }

/* Grain : ne dépasse plus de l écran (anime la texture, pas le calque) */
.grain { inset: 0; animation: grainPos 1s steps(6) infinite; background-size: 200px 200px; }
@keyframes grainPos { 0%{background-position:0 0} 20%{background-position:-30px 20px} 40%{background-position:20px -30px} 60%{background-position:-20px -10px} 80%{background-position:30px 30px} 100%{background-position:0 0} }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa { position: fixed; left: 22px; bottom: 22px; z-index: 95; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 40px rgba(37,211,102,.35); transition: transform .4s var(--ease-out), box-shadow .4s; }
.wa svg { width: 32px; height: 32px; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ripple 2.4s var(--ease) infinite; }
.wa:hover { transform: scale(1.07); box-shadow: 0 18px 46px rgba(37,211,102,.5); }
.wa__tip { position: absolute; left: 74px; top: 50%; transform: translate(-8px, -50%); white-space: nowrap; background: var(--white); color: var(--charcoal); font-size: 14px; font-weight: 500; padding: 11px 16px; box-shadow: 0 14px 40px rgba(27,31,32,.18); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.wa__tip::before { content: ""; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; background: var(--white); transform: translateY(-50%) rotate(45deg); }
.wa:hover .wa__tip, .wa:focus-visible .wa__tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 760px) {
  .wa { left: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wa__tip { display: none; }
}

/* ---------- Pied de page centré sur mobile ---------- */
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 44px 20px; text-align: center; }
  .footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .footer__brand img { margin: 0 auto 24px; }
  .footer__brand p { margin-left: auto; margin-right: auto; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__top > div:not(.footer__brand) { padding-top: 30px; border-top: 1px solid rgba(255,255,255,.08); }
  .footer__bottom .container { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
}
@media (max-width: 460px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
