/* =========================================================
   ARDO SOW · Portfolio
   Direction : éditorial, typographique
   2 thèmes : MODE JOUR (clair, défaut) + MODE NUIT (sombre)
   Jetons sémantiques cohérents (les noms --ink / --cream sont
   conservés mais redéfinis par thème : --ink = fond, --cream = texte).
   Marque : zéro dégradé (glows = aplats flous), zéro tiret cadratin.
   ========================================================= */

:root {
  /* Typo (constant) */
  --sans:  "Figtree", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono:  "Space Mono", ui-monospace, monospace;

  /* Layout (constant) */
  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1600px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* ===== MODE JOUR (par défaut, clair) ===== */
  --ink:        #F5F1E9;   /* fond (crème doux) */
  --ink-2:      #FFFFFF;   /* surfaces (cartes) */
  --ink-3:      #FBF7EF;   /* surfaces hautes */
  --cream:      #1A141F;   /* texte principal (encre) */
  --muted:      #595563;   /* texte secondaire */
  --faint:      #9A93A3;   /* texte tertiaire */
  --line:       #E4DDD0;   /* bordures */
  --line-soft:  #EFE9DD;

  --yellow: #C28A00;       /* jaune assombri, lisible sur clair */
  --violet: #6E1E82;       /* violet charte */
  --teal:   #006E6E;       /* teal charte */
  --blue:   #2F6FA8;       /* bleu assombri */
  --accent: var(--violet);
  --nav-bg: rgba(245, 241, 233, 0.80);
  --glow-1: 0.16;
  --glow-2: 0.10;
}

:root[data-theme="dark"] {
  /* ===== MODE NUIT (sombre) ===== */
  --ink:        #0C0A0E;
  --ink-2:      #131017;
  --ink-3:      #1B1722;
  --cream:      #F4EEE4;
  --muted:      #9A93A3;
  --faint:      #5A5462;
  --line:       #262030;
  --line-soft:  #1C1824;

  --yellow: #FAC81E;
  --violet: #A24BC0;
  --teal:   #19B5B5;
  --blue:   #5499CB;
  --accent: var(--yellow);
  --nav-bg: rgba(12, 10, 14, 0.72);
  --glow-1: 0.28;
  --glow-2: 0.12;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }

/* Scroll natif fluide pour les ancres (fallback si JS off) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease) 0.2s;
}
.loader.is-done { transform: translateY(-101%); }
.loader__inner {
  display: flex; align-items: baseline; gap: clamp(16px, 4vw, 40px);
  font-family: var(--mono);
}
.loader__name {
  font-size: clamp(1.2rem, 4vw, 2rem);
  letter-spacing: 0.3em; font-weight: 700;
}
.loader__count {
  font-size: clamp(3rem, 14vw, 9rem);
  color: var(--accent); font-weight: 700; line-height: 1;
}

/* =========================================================
   CURSEUR
   ========================================================= */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; mix-blend-mode: difference; }
.cursor {
  width: 36px; height: 36px; border: 1px solid var(--cream);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s;
}
.cursor-dot {
  width: 5px; height: 5px; background: var(--cream);
  transform: translate(-50%, -50%);
}
.cursor.is-link { width: 64px; height: 64px; background: var(--cream); }
.cursor.is-view { width: 90px; height: 90px; background: var(--cream); }
.cursor.is-view::after {
  content: "VOIR"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.15em; color: var(--ink);
  mix-blend-mode: normal;
}
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* =========================================================
   PROGRESSION
   ========================================================= */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 200; transition: width 0.1s linear;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: transform 0.5s var(--ease), background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  mix-blend-mode: normal;
}
/* L'effet d'inversion sur le hero n'a de sens que sur fond sombre */
:root[data-theme="dark"] .nav:not(.is-scrolled) { mix-blend-mode: difference; }
.nav.is-scrolled {
  padding: 14px var(--pad);
  mix-blend-mode: normal;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }

.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.nav__mark {
  font-family: var(--mono); font-weight: 700; font-size: 0.85rem;
  border: 1px solid var(--cream); border-radius: 50%;
  width: 34px; height: 34px; display: grid; place-items: center;
  transition: transform 0.5s var(--ease);
}
.nav__brand:hover .nav__mark { transform: rotate(360deg); }
.nav__name { font-size: 0.98rem; letter-spacing: 0.01em; }

.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__links a {
  font-size: 0.86rem; font-weight: 500; position: relative;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.nav__links a span { font-family: var(--mono); font-size: 0.6rem; color: var(--accent); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: currentColor; transition: width 0.4s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84rem; font-weight: 600;
  background: var(--cream); color: var(--ink);
  padding: 11px 18px; border-radius: 100px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.nav__cta:hover { background: var(--accent); }
.nav__cta svg { transition: transform 0.3s var(--ease); }
.nav__cta:hover svg { transform: translate(2px, -2px); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

/* Bascule jour / nuit */
.nav__theme {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--cream);
  display: inline-grid; place-items: center; flex: none;
  transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.nav__theme:hover { border-color: var(--accent); color: var(--accent); transform: rotate(25deg); }
.nav__theme svg { width: 17px; height: 17px; }
.nav__theme .ico-sun { display: none; }
.nav__theme .ico-moon { display: block; }
:root[data-theme="dark"] .nav__theme .ico-sun { display: block; }
:root[data-theme="dark"] .nav__theme .ico-moon { display: none; }

.nav__burger { display: none; width: 34px; height: 34px; position: relative; }
.nav__burger span {
  position: absolute; left: 6px; right: 6px; height: 1.6px; background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 140;
  background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
  visibility: hidden;
}
.menu.is-open { transform: translateY(0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 600; line-height: 1.05;
  display: flex; align-items: baseline; gap: 14px;
}
.menu__links a span { font-family: var(--mono); font-size: 0.9rem; color: var(--accent); }
.menu__foot {
  margin-top: 48px; display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
}
.menu__foot a { color: var(--cream); }

/* =========================================================
   UTILITAIRES TYPO / SECTIONS
   ========================================================= */
.eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(25,181,181,0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(25,181,181,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(25,181,181,0); }
  100% { box-shadow: 0 0 0 0 rgba(25,181,181,0); }
}

.section-head {
  display: flex; align-items: baseline; gap: 18px;
  padding-bottom: 28px; margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.section-num { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); }
.section-label {
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); font-weight: 400;
}

.hl { color: var(--cream); }
em { color: var(--cream); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 0 var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(110px);
  opacity: 0.5; z-index: 0; pointer-events: none;
}
.hero__glow--1 { width: 46vw; height: 46vw; background: var(--violet); top: -10vw; right: -8vw; opacity: var(--glow-1); }
.hero__glow--2 { width: 34vw; height: 34vw; background: var(--teal); bottom: -6vw; left: 18vw; opacity: var(--glow-2); }

.hero__top {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 120px; gap: 16px;
}
.eyebrow--right { color: var(--faint); }

.hero__title {
  position: relative; z-index: 2;
  font-weight: 500; line-height: 0.84; letter-spacing: -0.03em;
  font-size: clamp(4.5rem, 19vw, 19rem);
  margin: auto 0;
}
.hero__title .line { display: block; overflow: hidden; }
.line--serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; color: var(--cream);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.2em;
}
.hero__roles {
  font-family: var(--sans); font-style: normal; font-weight: 600;
  font-size: clamp(0.95rem, 2.4vw, 2rem); letter-spacing: -0.01em;
  color: var(--accent); align-self: center;
  height: 1.3em; overflow: hidden; position: relative;
  display: inline-block; min-width: 11ch; vertical-align: middle;
}
.hero__roles span {
  display: block; height: 1.3em; line-height: 1.3em;
  transition: transform 0.7s var(--ease);
}

.hero__bottom {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap; padding-top: 24px;
}
.hero__lead {
  max-width: 30ch; font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.4; color: var(--muted); font-weight: 400;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.92rem; font-weight: 600; padding: 15px 26px;
  border-radius: 100px; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--solid { background: var(--accent); color: var(--ink); }
.btn--solid:hover { background: var(--cream); }
.btn--solid svg { transition: transform 0.3s var(--ease); }
.btn--solid:hover svg { transform: translate(3px, -3px); }
.btn--ghost { border: 1px solid var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: var(--cream); color: var(--ink); }

.hero__roleline {
  position: relative; z-index: 2;
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
  border-top: 1px solid var(--line-soft); padding-top: 18px; margin-top: 28px;
}
.hero__roleline i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.hero__scroll {
  position: absolute; bottom: 28px; right: var(--pad); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 0; overflow: hidden; background: var(--ink);
}
.marquee__track {
  display: flex; align-items: center; gap: 32px; width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee__track span {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem); color: var(--cream); white-space: nowrap;
}
.marquee__track i { color: var(--accent); font-size: 1.3rem; font-style: normal; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS génériques (spacing + bandes alternées)
   ========================================================= */
.about, .work, .ecosystem { padding: clamp(80px, 12vw, 170px) var(--pad); }
.about { border-top: 1px solid var(--line); }
.work { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ecosystem { border-top: 1px solid var(--line); }

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 6vw, 90px);
  align-items: start;
}
.about__big {
  font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.18;
  font-weight: 400; letter-spacing: -0.02em; color: var(--muted);
}
.about__big .hl { color: var(--cream); font-style: italic; font-family: var(--serif); }
.about__col { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.about__col p { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); line-height: 1.6; max-width: 52ch; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  margin-top: clamp(50px, 7vw, 90px);
}
.stat { background: var(--ink); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.stat__num {
  font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 600; line-height: 1;
  letter-spacing: -0.03em; color: var(--cream);
}
.stat__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* Certs */
.certs {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.certs__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.certs__list { display: flex; gap: 12px; flex-wrap: wrap; }
.certs__list li {
  font-size: 0.86rem; font-weight: 500; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 100px; color: var(--cream);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.certs__list li:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* =========================================================
   WORK / PROJECTS
   ========================================================= */
.work__intro {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--cream); margin-bottom: 20px;
}
.work__intro span { color: var(--faint); font-family: var(--mono); font-size: 0.8rem; }

.projects { border-top: 1px solid var(--line); }
.project {
  border-bottom: 1px solid var(--line); position: relative;
  --pc: var(--yellow);
}
.project[data-accent="violet"] { --pc: var(--violet); }
.project[data-accent="teal"]   { --pc: var(--teal); }
.project[data-accent="blue"]   { --pc: var(--blue); }
.project[data-accent="yellow"] { --pc: var(--yellow); }

.project__row {
  display: grid;
  grid-template-columns: 60px minmax(0, 2.4fr) minmax(0, 1.4fr) minmax(0, 1.2fr) 40px;
  align-items: center; gap: 20px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  position: relative; z-index: 1;
  transition: padding 0.5s var(--ease), color 0.4s;
}
.project__idx { font-family: var(--mono); font-size: 0.78rem; color: var(--faint); transition: color 0.4s; }
.project__title {
  font-size: clamp(1.5rem, 3.4vw, 2.9rem); font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.02; transition: transform 0.5s var(--ease);
}
.project__client { font-size: 0.98rem; color: var(--muted); transition: color 0.4s; }
.project__role { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.project__arrow { color: var(--faint); justify-self: end; transition: transform 0.5s var(--ease), color 0.4s; }

/* survol : ligne d'accent qui se remplit + décalage */
.project::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--pc); opacity: 0.07; transition: width 0.6s var(--ease); z-index: 0;
}
.project:hover::before { width: 100%; }
.project:hover .project__idx { color: var(--pc); }
.project:hover .project__title { transform: translateX(16px); }
.project:hover .project__arrow { transform: translate(6px, -6px); color: var(--pc); }
.project:hover .project__row { padding-left: 24px; }

/* détail dépliable */
.project__detail {
  max-height: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s;
  opacity: 0;
}
.project:hover .project__detail { max-height: 240px; opacity: 1; }
.project__detail > * { position: relative; z-index: 1; }
.project__detail p {
  max-width: 70ch; color: var(--muted); font-size: 1rem; line-height: 1.55;
  padding: 0 0 18px 80px;
}
.project__tags { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 0 28px 80px; }
.project__tags span {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--cream);
}

/* =========================================================
   ECOSYSTEM
   ========================================================= */
.ecosystem__intro {
  font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.18; letter-spacing: -0.02em;
  max-width: 22ch; color: var(--muted); margin-bottom: clamp(40px, 6vw, 70px);
}
.ecosystem__intro em { font-family: var(--serif); color: var(--cream); }

.ventures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.venture {
  --vc: var(--violet);
  position: relative; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 3vw, 44px); min-height: 270px;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}
.venture[data-accent="violet"] { --vc: var(--violet); }
.venture[data-accent="teal"]   { --vc: var(--teal); }
.venture[data-accent="yellow"] { --vc: var(--yellow); }
.venture[data-accent="blue"]   { --vc: var(--blue); }
.venture::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: var(--vc); filter: blur(80px); opacity: 0; top: -60px; right: -60px;
  transition: opacity 0.5s; pointer-events: none;
}
a.venture:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--vc) 60%, var(--line)); }
a.venture:hover::after { opacity: 0.22; }

.venture__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; position: relative; z-index: 1; }
.venture__name { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em; }
.venture__status {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; border: 1px solid var(--line); color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.venture[data-accent] .venture__status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vc);
}
.venture--soon .venture__status { color: var(--faint); }
.venture__desc {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem); color: var(--muted); line-height: 1.55;
  margin: 22px 0 24px; position: relative; z-index: 1; max-width: 44ch;
}
.venture__link {
  font-family: var(--mono); font-size: 0.78rem; color: var(--cream);
  display: inline-flex; align-items: center; gap: 7px; position: relative; z-index: 1;
  transition: gap 0.3s var(--ease), color 0.3s;
}
a.venture:hover .venture__link { gap: 12px; color: var(--vc); }
.venture--soon .venture__link { color: var(--faint); }

/* =========================================================
   CLIENTS
   ========================================================= */
.clients { padding: clamp(50px, 7vw, 90px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients__label {
  text-align: center; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 34px;
}
.clients__marquee { overflow: hidden; }
.clients__track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  animation: scroll-x 32s linear infinite;
}
.clients__track span {
  font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.02em;
  color: var(--muted); white-space: nowrap; transition: color 0.3s;
}
.clients__track:hover span { color: var(--cream); }
.clients__track i { color: var(--accent); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(90px, 14vw, 200px) var(--pad);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.contact__glow {
  position: absolute; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  border-radius: 50%; background: var(--accent); filter: blur(140px); opacity: 0.1;
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.contact .section-num { position: relative; z-index: 1; }
.contact__title {
  position: relative; z-index: 1;
  font-size: clamp(3rem, 11vw, 10rem); font-weight: 500; line-height: 0.92;
  letter-spacing: -0.03em;
}
.contact__title-serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.contact__lead { position: relative; z-index: 1; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 40ch; }

/* Formulaire */
.contact__form {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; margin-top: 18px; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--cream);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 16px 9px; transition: border-color 0.3s, background 0.3s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field label {
  position: absolute; left: 16px; top: 16px; font-size: 1rem; color: var(--muted);
  pointer-events: none; transition: top 0.2s var(--ease), font-size 0.2s var(--ease), color 0.2s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 8px; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--mono); color: var(--accent);
}
.contact__form .btn--solid { justify-content: center; padding: 17px 26px; }

.contact__alt {
  position: relative; z-index: 1; margin-top: 4px;
  font-family: var(--mono); font-size: 0.78rem; color: var(--muted);
  transition: color 0.3s;
}
.contact__alt:hover { color: var(--accent); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: clamp(50px, 7vw, 90px) var(--pad) 34px; border-top: 1px solid var(--line); }
.footer__top { overflow: hidden; padding-bottom: clamp(40px, 6vw, 80px); }
.footer__big {
  display: block; font-size: clamp(2.6rem, 11vw, 11rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 0.9; color: var(--ink-3);
  -webkit-text-stroke: 1px var(--line); color: transparent;
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}
.footer__big:hover { color: var(--cream); -webkit-text-stroke-color: var(--cream); }

.footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px;
  padding: clamp(34px, 4vw, 50px) 0; border-top: 1px solid var(--line);
}
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__head { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.footer__col p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; max-width: 34ch; }
.footer__col a, .footer__col span:not(.footer__head) { color: var(--muted); font-size: 0.94rem; transition: color 0.3s; width: fit-content; }
.footer__col a:hover { color: var(--cream); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.72rem; color: var(--faint);
}
.footer__top-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); transition: color 0.3s; }
.footer__top-btn:hover { color: var(--accent); }
.footer__top-btn svg { transition: transform 0.3s var(--ease); }
.footer__top-btn:hover svg { transform: translateY(-3px); }

/* =========================================================
   REVEAL (scroll)
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-text] .inner, [data-reveal-text] { }
.line .inner { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.line.is-in .inner { transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ventures { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .project__row { grid-template-columns: 44px 1fr 40px; }
  .project__client, .project__role { display: none; }
  .project__detail p, .project__tags { padding-left: 60px; }
}
@media (max-width: 600px) {
  .hero__top { padding-top: 96px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__top .eyebrow { font-size: 0.6rem; letter-spacing: 0.12em; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .project__detail p, .project__tags { padding-left: 0; }
  .project:hover .project__title { transform: translateX(8px); }
  .contact__form { grid-template-columns: 1fr; }
}

/* =========================================================
   MOTION RÉDUITE
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .line .inner { transform: none; }
  .loader { display: none; }
}
