@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/figtree-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------- variables */

:root {
  --bg: #0a0912;
  --bg-2: #0d0b16;
  --ink: #ffffff;
  --ink-80: rgba(255, 255, 255, .80);
  --ink-62: rgba(255, 255, 255, .62);
  --ink-46: rgba(255, 255, 255, .46);
  --ink-34: rgba(255, 255, 255, .34);

  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);

  /* verre : fond translucide, flou d'arrière-plan, liseré de lumière en haut */
  --glass: linear-gradient(158deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022) 58%, rgba(255, 255, 255, .04));
  --glass-soft: linear-gradient(158deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  --glass-blur: blur(22px) saturate(150%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .10);
  --glass-edge-strong: inset 0 1px 0 rgba(255, 255, 255, .16);
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .055);

  --vio: #8b6cf0;
  --vio-lit: #a68bff;
  --vio-soft: rgba(139, 108, 240, .16);
  --vio-line: rgba(139, 108, 240, .42);
  --vio-glow: rgba(139, 108, 240, .30);
  --mint: #5fe8a6;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  --wrap: 1140px;
  --gut: clamp(20px, 5vw, 40px);
  --band: clamp(52px, 6.5vw, 86px);

  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .25, 1);
  --ease-soft: cubic-bezier(.22, .68, .18, 1);
  --shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
  --shadow-lift: 0 34px 70px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .02);
}

/* ------------------------------------------------------------------ base */

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.011em;
  /* pas de fond ici : le calque .aura (z-index -1) se peindrait dessous */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(139, 108, 240, .38); }

:focus-visible {
  outline: 2px solid var(--vio-lit);
  outline-offset: 3px;
  border-radius: 4px;
}

/* fond vivant : trois halos très lents, ce qui donne matière au verre */
.aura {
  position: fixed;
  inset: -20vh -10vw;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -25%, rgba(139, 108, 240, .10), transparent 70%),
    var(--bg);
}
.aura span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .7;
  will-change: transform;
}
.aura span:nth-child(1) {
  top: -8%;
  right: 6%;
  width: 52vw;
  height: 52vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle at 45% 45%, rgba(139, 108, 240, .78), rgba(139, 108, 240, .18) 46%, transparent 70%);
  animation: drift-a 34s var(--ease-soft) infinite alternate;
}
.aura span:nth-child(2) {
  top: 26%;
  left: -10%;
  width: 46vw;
  height: 46vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(circle at 60% 40%, rgba(98, 76, 214, .62), rgba(98, 76, 214, .14) 48%, transparent 70%);
  animation: drift-b 42s var(--ease-soft) infinite alternate;
}
.aura span:nth-child(3) {
  bottom: -16%;
  right: 14%;
  width: 44vw;
  height: 44vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle at 50% 50%, rgba(112, 90, 220, .40), rgba(95, 232, 166, .10) 52%, transparent 72%);
  animation: drift-c 50s var(--ease-soft) infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6%, 7%, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to   { transform: translate3d(8%, -6%, 0) scale(.94); }
}
@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(.96); }
  to   { transform: translate3d(-9%, -5%, 0) scale(1.1); }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #0a0912;
  font-weight: 700;
}
.skip:focus { left: 16px; }

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

.ico { width: 18px; height: 18px; flex: none; }
.ico--16 { width: 16px; height: 16px; }
.ico--18 { width: 18px; height: 18px; }
.ico--20 { width: 20px; height: 20px; }
.ico--dc { width: 19px; height: 15px; }

.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-46);
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .04);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-62);
}

.chip {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--ink-80);
  background: rgba(255, 255, 255, .05);
  box-shadow: var(--glass-edge);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-62);
}
.status--block { margin-top: 26px; }
.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(95, 232, 166, .12);
  animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(95, 232, 166, .12); }
  50%      { box-shadow: 0 0 0 8px rgba(95, 232, 166, .04); }
}

/* --------------------------------------------------------------- boutons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  overflow: hidden;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--full { display: flex; width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .08s; }

/* reflet qui traverse le bouton au survol */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}
.btn:hover::after { animation: sheen .75s var(--ease) forwards; }
@keyframes sheen {
  from { transform: translateX(-120%); opacity: 1; }
  to   { transform: translateX(120%); opacity: 0; }
}

.btn--primary {
  background: linear-gradient(160deg, #9a7ef5, #7a58e8);
  color: #fff;
  box-shadow: 0 18px 40px -22px var(--vio-glow), var(--glass-edge-strong);
}
.btn--primary:hover { box-shadow: 0 24px 50px -22px rgba(139, 108, 240, .75), var(--glass-edge-strong); }

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink-80);
}
.btn--outline:hover {
  border-color: var(--vio-line);
  color: var(--ink);
  background: rgba(255, 255, 255, .05);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink-80);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: var(--glass-edge);
}
.btn--ghost:hover { border-color: var(--vio-line); color: var(--ink); }

/* --------------------------------------------------------------- header */

.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.hdr.is-stuck {
  background: rgba(12, 10, 22, .55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, .9), var(--glass-edge);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hdr.is-stuck { background: rgba(10, 9, 18, .97); }
}

.hdr__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
  transition: height .35s var(--ease);
}
.hdr.is-stuck .hdr__bar { height: 62px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-right: auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--vio-lit), #5b41b8);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 20px -10px var(--vio-glow), var(--glass-edge-strong);
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease);
}
.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 12px 26px -10px rgba(139, 108, 240, .7), var(--glass-edge-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-62);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--vio-lit);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, .07);
  box-shadow: var(--glass-edge);
}
.nav a.is-active::after { transform: scaleX(0); }

.hdr__cta { flex: none; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-edge);
  cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block;
  width: 16px;
  height: 1.6px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .2s var(--ease);
}
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  overflow: hidden;
  max-height: 0;
  border-bottom: 1px solid transparent;
  background: rgba(12, 10, 22, .72);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  transition: max-height .38s var(--ease), border-color .38s var(--ease);
}
.nav-mobile.is-open { max-height: 340px; border-bottom-color: var(--line); }
.nav-mobile__inner { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 18px; }
.nav-mobile a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-62);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .2s var(--ease);
}
.nav-mobile.is-open a { opacity: 1; transform: none; }
.nav-mobile.is-open a:nth-child(1) { transition-delay: .04s; }
.nav-mobile.is-open a:nth-child(2) { transition-delay: .08s; }
.nav-mobile.is-open a:nth-child(3) { transition-delay: .12s; }
.nav-mobile.is-open a:nth-child(4) { transition-delay: .16s; }
.nav-mobile.is-open a:nth-child(5) { transition-delay: .2s; }
.nav-mobile a.is-active { color: var(--ink); }
.nav-mobile a:last-child { border-bottom: 0; }

/* ----------------------------------------------------------------- hero */

.hero { padding: clamp(48px, 9vw, 104px) 0 clamp(36px, 6vw, 68px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.hero__name {
  margin: 14px 0 0;
  font-size: clamp(58px, 12vw, 132px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.05em;
  background: linear-gradient(178deg, #ffffff 30%, rgba(255, 255, 255, .68));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 46ch;
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.62;
  color: var(--ink-62);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* entrée en cascade au chargement */
.hero__main > *,
.hero .idcard {
  animation: rise .9s var(--ease-soft) both;
}
.hero__main > :nth-child(1) { animation-delay: .05s; }
.hero__main > :nth-child(2) { animation-delay: .12s; }
.hero__main > :nth-child(3) { animation-delay: .19s; }
.hero__main > :nth-child(4) { animation-delay: .26s; }
.hero .idcard { animation-delay: .3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.idcard {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow), var(--glass-edge-strong);
  overflow: hidden;
}
/* halo qui suit le curseur */
.idcard::before,
.wcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .07), transparent 65%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.idcard:hover::before,
.wcard:hover::before { opacity: 1; }

.idcard__list { position: relative; }
.idcard__list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.idcard__list > div:first-child { padding-top: 0; }
.idcard__list > div:last-child { border-bottom: 0; }
.idcard dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-34);
  padding-top: 2px;
}
.idcard dd { margin: 0; font-size: 15px; color: var(--ink-80); }
.idcard__links {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.idcard__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-80);
  transition: border-color .25s var(--ease), color .25s var(--ease),
              background .25s var(--ease), transform .25s var(--ease);
}
.idcard__links a:hover {
  border-color: var(--vio-line);
  color: var(--ink);
  background: rgba(139, 108, 240, .14);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------- bandes */

.band { padding: var(--band) 0; }
.band--tight { padding: clamp(28px, 4vw, 44px) 0; }
.band--top { padding-top: clamp(28px, 4vw, 48px); }

.shead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.shead__title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.shead__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-62);
  transition: color .25s var(--ease);
}
.shead__link:hover { color: var(--ink); }
.shead__link .ico { transition: transform .25s var(--ease); }
.shead__link:hover .ico { transform: translateX(4px); }

/* ---------------------------------------------------------------- faits */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--glass-edge);
}
.fact {
  padding: 22px 20px;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s var(--ease);
}
.fact:hover { background: rgba(255, 255, 255, .07); }
.fact__value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.04em;
}
.fact__label {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-46);
}

/* -------------------------------------------------------------- travaux */

.wgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

.wcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--glass-soft);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease-soft), box-shadow .4s var(--ease);
}
.wcard:hover {
  border-color: var(--vio-line);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift), 0 0 44px -22px var(--vio-glow), var(--glass-edge-strong);
}

.wcard__shot {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #07060d;
  overflow: hidden;
}
.wcard__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 9, 18, .45));
  opacity: .9;
  transition: opacity .4s var(--ease);
}
.wcard:hover .wcard__shot::after { opacity: .5; }
.wcard__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  transition: transform .7s var(--ease-soft);
}
.wcard:hover .wcard__img { transform: scale(1.035); }

.wcard__body { position: relative; padding: 22px clamp(20px, 2.4vw, 26px) 24px; }
.wcard__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-46);
}
.wcard__title {
  margin-top: 12px;
  font-size: clamp(22px, 2.6vw, 27px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.wcard__desc {
  margin-top: 9px;
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink-62);
}
.wcard__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-80);
  transition: color .25s var(--ease);
}
.wcard:hover .wcard__more { color: var(--ink); }
.wcard__more .ico { transition: transform .3s var(--ease); }
.wcard:hover .wcard__more .ico { transform: translateX(5px); }

.wrows { margin-top: clamp(16px, 2.2vw, 24px); border-top: 1px solid var(--line); }

.wrow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1.5fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 12px 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease);
}
.wrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015) 60%, transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.wrow:hover::before { opacity: 1; }
.wrow:hover { padding-left: 16px; }
.wrow > * { position: relative; }
.wrow__head { display: flex; flex-direction: column; gap: 3px; }
.wrow__name { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.wrow__kind { font-size: 13.5px; color: var(--ink-46); }
.wrow__desc { font-size: 15px; line-height: 1.55; color: var(--ink-62); }
.wrow__end { display: inline-flex; align-items: center; gap: 14px; color: var(--ink-46); }
.wrow__go { transition: transform .3s var(--ease), color .25s var(--ease); }
.wrow:hover .wrow__go { transform: translateX(5px); color: var(--ink); }

/* -------------------------------------------------------- page / projet */

.phero { padding: clamp(44px, 7vw, 88px) 0 0; }
.phero--case { padding-bottom: clamp(20px, 3vw, 32px); }
.phero > .wrap > * { animation: rise .8s var(--ease-soft) both; }
.phero > .wrap > :nth-child(1) { animation-delay: .04s; }
.phero > .wrap > :nth-child(2) { animation-delay: .1s; }
.phero > .wrap > :nth-child(3) { animation-delay: .17s; }
.phero > .wrap > :nth-child(4) { animation-delay: .24s; }

.phero__title {
  margin-top: 14px;
  max-width: 20ch;
  font-size: clamp(34px, 6.2vw, 62px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.045em;
  background: linear-gradient(178deg, #ffffff 34%, rgba(255, 255, 255, .70));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.phero__lead {
  max-width: 62ch;
  margin-top: 20px;
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  line-height: 1.62;
  color: var(--ink-62);
}

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-34);
}
.crumb a { color: var(--ink-62); transition: color .25s var(--ease); }
.crumb a:hover { color: var(--ink); }

.case__cover {
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--glass-soft);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow), var(--glass-edge-strong);
  overflow: hidden;
}
.case__cover-img { width: 100%; border-radius: var(--r-md); }

.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.case__section + .case__section { margin-top: clamp(30px, 4vw, 46px); }
.case__h2 {
  margin-bottom: 14px;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: -.03em;
}
.case__body p {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-62);
}
.case__body p + p { margin-top: 14px; }

.case__list { margin-top: 16px; }
.case__list li {
  position: relative;
  max-width: 68ch;
  padding: 11px 0 11px 22px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-80);
  transition: padding-left .3s var(--ease), color .25s var(--ease);
}
.case__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vio);
  box-shadow: 0 0 0 0 var(--vio-glow);
  transition: box-shadow .35s var(--ease), background .25s var(--ease);
}
.case__list li:hover { padding-left: 26px; color: var(--ink); }
.case__list li:hover::before { background: var(--vio-lit); box-shadow: 0 0 0 5px rgba(139, 108, 240, .14); }
.case__list li:last-child { border-bottom: 1px solid var(--line); }

.case__meta {
  position: sticky;
  top: 92px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow), var(--glass-edge-strong);
}
.case__meta > dl > div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.case__meta > dl > div:first-child { padding-top: 0; }
.case__meta dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-34);
}
.case__meta dd { margin: 5px 0 0; font-size: 15px; color: var(--ink-80); }
.case__meta .btn { margin-top: 18px; }

/* -------------------------------------------------------------- galerie */

.gallery__note {
  margin: -12px 0 26px;
  font-size: 14px;
  color: var(--ink-34);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.shot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass-soft);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--glass-edge);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .45s var(--ease-soft), box-shadow .35s var(--ease);
}
.shot:hover {
  border-color: var(--vio-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift), 0 0 36px -22px var(--vio-glow), var(--glass-edge-strong);
}
.shot:first-child { grid-column: 1 / -1; }
.shot__img { width: 100%; transition: transform .7s var(--ease-soft); }
.shot:hover .shot__img { transform: scale(1.015); }
.shot figcaption {
  position: relative;
  padding: 13px 16px 15px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-46);
  transition: color .25s var(--ease);
}
.shot:hover figcaption { color: var(--ink-62); }

/* ---------------------------------------------------------------- pager */

.pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pager__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass-soft);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--glass-edge);
  transition: border-color .3s var(--ease), transform .35s var(--ease-soft), box-shadow .3s var(--ease);
}
.pager__item:hover {
  border-color: var(--vio-line);
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, .9), var(--glass-edge-strong);
}
.pager__item--next { text-align: right; }
.pager__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-34);
}
.pager__name { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }

/* ------------------------------------------------------- listes / prose */

.links { border-top: 1px solid var(--line); }
.lrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 12px 19px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease);
}
.lrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 65%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lrow:hover::before { opacity: 1; }
.lrow:hover { padding-left: 16px; }
.lrow > * { position: relative; }
.lrow__name { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.025em; }
.lrow__meta { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-46); }
.lrow__arrow { color: var(--ink-34); transition: transform .3s var(--ease), color .25s var(--ease); }
.lrow:hover .lrow__arrow { color: var(--ink); transform: translate(4px, -4px); }
.lrow--primary { background: linear-gradient(90deg, var(--vio-soft), transparent 62%); }
.lrow--primary .lrow__name { color: var(--ink); }

.prose { max-width: 68ch; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--ink-62); }
.prose p + p { margin-top: 16px; }
.prose--narrow { margin-bottom: 28px; font-size: 16.5px; }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(34px, 5vw, 56px);
}
.value {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass-soft);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--glass-edge);
  transition: border-color .3s var(--ease), transform .35s var(--ease-soft), background .3s var(--ease);
}
.value:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  background: var(--glass);
}
.value h3 { font-size: 17px; font-weight: 700; letter-spacing: -.025em; }
.value p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-62); }

.stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
}
.stack__col h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-46);
}
.stack__col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-80);
  transition: padding-left .25s var(--ease), color .25s var(--ease);
}
.stack__col li:hover { padding-left: 8px; color: var(--ink); }

/* ------------------------------------------------------------------ cta */

.cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(620px 240px at 10% -10%, rgba(139, 108, 240, .22), transparent 68%),
    var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow), var(--glass-edge-strong);
  overflow: hidden;
}
.cta__text { position: relative; max-width: 52ch; }
.cta__title {
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.cta__desc { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-62); }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- footer */

.ftr { border-top: 1px solid var(--line); }
.ftr__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 14px;
  color: var(--ink-46);
}
.ftr__links { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr__links a { transition: color .25s var(--ease); }
.ftr__links a:hover { color: var(--ink); }

/* ------------------------------------------------------------- lightbox */

body.is-locked { overflow: hidden; }

.is-zoomable { cursor: zoom-in; }

.lbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 5, 12, .78);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.lbox.is-open { display: flex; animation: fade .3s var(--ease) both; }
.lbox.is-open .lbox__fig { animation: pop .4s var(--ease-soft) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.lbox__fig {
  max-width: 1280px;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: rgba(10, 9, 18, .8);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), var(--glass-edge-strong);
  overflow: hidden;
}
.lbox__img { width: 100%; max-height: 78vh; object-fit: contain; }
.lbox__cap {
  padding: 13px 18px 15px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-62);
}
.lbox__close {
  position: absolute;
  top: clamp(14px, 3vw, 26px);
  right: clamp(14px, 3vw, 26px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.lbox__close:hover { border-color: var(--ink-46); background: rgba(255, 255, 255, .12); transform: rotate(90deg); }

/* ------------------------------------------------------------ animation */

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(.992);
  transition: opacity .75s var(--ease-soft), transform .75s var(--ease-soft);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .case { grid-template-columns: minmax(0, 1fr); }
  .case__meta { position: static; order: -1; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .idcard { max-width: 460px; }
}

@media (max-width: 860px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: grid; place-items: center; }
  .nav-mobile { display: block; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wgrid, .gallery, .pager { grid-template-columns: minmax(0, 1fr); }
  .shot:first-child { grid-column: auto; }
  .values, .stack { grid-template-columns: minmax(0, 1fr); }
  .wrow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .wrow__end { justify-content: space-between; margin-top: 4px; }
  .cta { flex-direction: column; align-items: flex-start; }
  /* les halos sont dimensionnés en vw : sur mobile il faut les élargir
     pour qu'il reste de la matière derrière le verre */
  .aura span { filter: blur(60px); opacity: .6; }
  .aura span:nth-child(1) { width: 116vw; height: 116vw; right: -24%; top: -12%; }
  .aura span:nth-child(2) { width: 108vw; height: 108vw; left: -34%; top: 28%; }
  .aura span:nth-child(3) { width: 104vw; height: 104vw; right: -18%; bottom: -14%; }
}

@media (max-width: 520px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
  .idcard__list > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}
