/* ==========================================================================
   Portfolio — Marketing digital, contenu & expériences de marque
   ========================================================================== */

:root {
  color-scheme: only light;
  --paper: #F4EFE9;
  --paper-2: #ECE4DB;
  --white: #FFFDFB;
  --ink: #16120F;
  --ink-2: #4A433D;
  --muted: #8A8178;
  --line: rgba(22, 18, 15, .12);
  --accent: #E2492F;
  --accent-ink: #B9321C;
  --blush: #F2D2C7;
  --sand: #EADBC4;
  --sage: #C9CFB6;
  --lagoon: #2F8F8A;
  --lagoon-pale: #CFE1DC;
  --night: #1F1B18;

  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 3.4vw, 56px);
  --nav-h: 76px;
  --radius: clamp(18px, 2vw, 28px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 30px 60px -28px rgba(48, 28, 18, .38), 0 10px 24px -14px rgba(48, 28, 18, .18);
  --shadow-s: 0 14px 30px -14px rgba(48, 28, 18, .32);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 99px;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 400 12px/1.2 var(--mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 0 rgba(226, 73, 47, .5); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(226, 73, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 73, 47, 0); } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font: 400 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2);
}

.link-u { position: relative; display: inline-flex; align-items: center; gap: .4em; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); transform-origin: left; }
.link-u .ext { width: 1em; height: 1em; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 26px; border-radius: 99px; font-weight: 600; font-size: 15px;
  transition: transform .5s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); }

[data-magnetic] { transition: transform .6s var(--ease); will-change: transform; }

/* ---------- Curseur ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); transition: opacity .3s; }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(22, 18, 15, .35);
  display: grid; place-items: center;
}
.cursor__ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink);
  transform: scale(0); transition: transform .5s var(--ease);
}
.cursor__label {
  position: relative; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease);
}
.cursor.is-link .cursor__ring { border-color: var(--accent); }
.cursor.is-link .cursor__ring::before { transform: scale(.35); background: var(--accent); }
.cursor.is-label .cursor__ring { border-color: transparent; }
.cursor.is-label .cursor__ring::before { transform: scale(2.2); }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
.contact .cursor__ring { border-color: rgba(255, 255, 255, .4); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  transition: transform .6s var(--ease), background .4s, box-shadow .4s;
}
.nav.is-scrolled { background: rgba(244, 239, 233, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__mark {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font: 400 17px/1 var(--serif);
  transition: transform .6s var(--ease);
}
.nav__mark em { color: var(--accent); }
.nav__brand:hover .nav__mark { transform: rotate(-12deg); }
.nav__name { font-weight: 600; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 30px; font-size: 14.5px; }
.nav__links a { position: relative; color: var(--ink-2); transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: translateX(-50%) scale(1); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 1px solid var(--ink); border-radius: 99px; font-size: 14px; font-weight: 600;
  transition: transform .6s var(--ease), background .3s, color .3s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mmenu[hidden] { display: none; }
.mmenu {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 24px) var(--gutter) 48px;
}
.mmenu nav { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.mmenu a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font: 400 clamp(2.2rem, 10vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.02em;
  opacity: 0; transform: translateY(20px); animation: mm-in .7s var(--ease) forwards;
}
.mmenu a:nth-child(2) { animation-delay: .05s; } .mmenu a:nth-child(3) { animation-delay: .1s; }
.mmenu a:nth-child(4) { animation-delay: .15s; } .mmenu a:nth-child(5) { animation-delay: .2s; }
.mmenu small { font: 400 12px var(--mono); color: var(--accent); }
@keyframes mm-in { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 13vw, 200px) var(--gutter); position: relative; }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px; margin-bottom: clamp(56px, 7vw, 110px); }
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-title {
  grid-column: 1 / span 9;
  font: 350 clamp(2.5rem, 6.2vw, 6.4rem)/.96 var(--serif); letter-spacing: -.035em;
}
.sec-title em, .brands__title em, .about__title em, .contact__title em, .chapter__title em { color: var(--accent); font-weight: 300; }
.sec-intro { grid-column: 9 / -1; align-self: end; color: var(--ink-2); max-width: 34ch; }
.sec-head--split .sec-title { grid-column: 1 / span 8; }

/* ---------- Reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(14% 10% 14% 10% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto;
  column-gap: 24px;
  padding: calc(var(--nav-h) + 28px) var(--gutter) 40px;
}
.hero__meta { grid-column: 1 / -1; grid-row: 1; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; z-index: 4; }
.hero__title {
  grid-column: 1 / span 8; grid-row: 2; align-self: center; position: relative; z-index: 3;
  font: 340 clamp(3rem, 7.6vw, 8.8rem)/.9 var(--serif); letter-spacing: -.045em;
  margin-top: 4vh;
}
.hero__title em { color: var(--accent); font-weight: 300; }
.line { display: block; overflow: hidden; padding: 0 .08em .08em 0; margin: 0 -.08em -.08em 0; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(108%); transition: transform 1.3s var(--ease); }
.js .line:nth-child(2) > span { transition-delay: .08s; }
.js .line:nth-child(3) > span { transition-delay: .16s; }
.js .line:nth-child(4) > span { transition-delay: .24s; }
.is-loaded .line > span { transform: none; }

.hero__aside { grid-column: 1 / span 5; grid-row: 3; position: relative; z-index: 4; padding-top: 32px; }
.hero__sub { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); max-width: 40ch; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.hero__brands { display: flex; align-items: center; gap: 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__brands ul { display: flex; gap: 22px; align-items: center; }
.hero__brands img { height: 32px; width: auto; opacity: .75; filter: grayscale(1); transition: opacity .3s, filter .3s, transform .5s var(--ease); }
.hero__brands img:hover { opacity: 1; filter: none; transform: translateY(-3px); }

.js .hero__sub, .js .hero__actions, .js .hero__brands, .js .hero__meta { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero__meta { transition-delay: .1s; } .js .hero__sub { transition-delay: .5s; }
.js .hero__actions { transition-delay: .6s; } .js .hero__brands { transition-delay: .75s; }
.is-loaded .hero__sub, .is-loaded .hero__actions, .is-loaded .hero__brands, .is-loaded .hero__meta { opacity: 1; transform: none; }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 40px; display: none; z-index: 4;
  display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl;
  font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.hero__scroll span { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scrollline 2.2s var(--ease-io) infinite; }
@keyframes scrollline { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Composition */
.hero__stage {
  grid-column: 7 / -1; grid-row: 1 / 4; align-self: center;
  position: relative; width: 100%; max-width: 860px; justify-self: end;
  aspect-ratio: 1 / .98; margin-top: calc(var(--nav-h) * .5);
  container-type: size;
}
.h-el { position: absolute; will-change: transform; }
.h-in { transition: opacity 1s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .h-in { opacity: 0; transform: translateY(60px) scale(.94); }
.is-loaded .h-in { opacity: 1; transform: none; }
.h-float { animation: float 8s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(.4deg); } }

.h-browser { top: 3%; left: 0; width: 44%; z-index: 2; }
.h-browser .browser { rotate: -3deg; }
.h-badge { top: 0; right: 3%; width: 19%; z-index: 1; }
.h-laptop { top: 25%; left: 7%; width: 74%; z-index: 1; }
.h-sticker-1 { top: 17%; left: 49%; z-index: 4; }
.h-phone { top: 29%; right: 0; width: 26.5%; z-index: 3; }
.h-phone .phone { rotate: 5deg; }
.h-polaroid { top: 64%; left: 0; width: 25%; z-index: 4; }
.h-polaroid .polaroid { rotate: -7deg; }
.h-swatch { top: 79%; left: 31%; width: 20%; z-index: 4; }
.h-swatch .swatch { rotate: 3deg; }
.h-sticker-2 { top: 90%; left: 55%; z-index: 4; }

.h-cursor {
  position: absolute; top: 0; left: 0; z-index: 6; pointer-events: none;
  display: flex; align-items: flex-start; gap: 2px;
  translate: 58cqw 12cqh;
  animation: fakecursor 13s var(--ease-io) infinite 2.2s;
}
.h-cursor svg { width: 22px; height: 22px; fill: var(--ink); stroke: var(--white); stroke-width: 1.5; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); animation: fakeclick 13s infinite 2.2s; }
.h-cursor span { margin-top: 16px; background: var(--accent); color: var(--white); font: 500 11px/1 var(--mono); padding: 5px 8px; border-radius: 4px 99px 99px 99px; }
.js .h-cursor { opacity: 0; transition: opacity .8s 1.6s; }
.is-loaded .h-cursor { opacity: 1; }
@keyframes fakecursor {
  0% { translate: 58cqw 12cqh; }
  16%, 22% { translate: 21cqw 55cqh; }
  38%, 44% { translate: 80cqw 74cqh; }
  60%, 66% { translate: 38cqw 86cqh; }
  82% { translate: 30cqw 14cqh; }
  100% { translate: 58cqw 12cqh; }
}
@keyframes fakeclick { 0%, 17%, 20%, 39%, 42%, 61%, 64%, 100% { transform: scale(1); } 18.5%, 40.5%, 62.5% { transform: scale(.78); } }
.ig__heart { animation: like 13s infinite 2.2s; }
@keyframes like {
  0%, 40% { color: inherit; fill: none; transform: scale(1); }
  41% { color: var(--accent); fill: var(--accent); transform: scale(1.35); }
  43%, 95% { color: var(--accent); fill: var(--accent); transform: scale(1); }
  100% { color: inherit; fill: none; }
}
.h-phone .ig__heart { fill: currentColor; fill-opacity: 0; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 34s linear infinite; }
.marquee span { font: 350 clamp(1.8rem, 3.6vw, 3.4rem)/1 var(--serif); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.marquee em { color: var(--accent); text-transform: none; }
.marquee i { font-style: normal; color: var(--accent); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   MOCKUPS (construits en CSS, tailles relatives au conteneur)
   ========================================================================== */
.media { position: relative; overflow: hidden; }
.media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: img-in .8s var(--ease); }
.media.has-img > .ph { visibility: hidden; }
@keyframes img-in { from { opacity: 0; transform: scale(1.04); } }

/* Placeholders illustrés — remplacés automatiquement par les vraies images */
.ph { position: absolute; inset: 0; overflow: hidden; }
.ph--perfume { background: radial-gradient(120% 90% at 30% 15%, #FCEBE4 0%, #F0C7B8 55%, #DE9F8E 100%); }
.ph--perfume.ph--alt { background: radial-gradient(120% 90% at 70% 15%, #FBEFD9 0%, #EFD2A8 55%, #D7A777 100%); }
.ph--perfume::after {
  content: ""; position: absolute; left: 50%; bottom: 12%; width: 48%; height: 6%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(110, 40, 25, .28), transparent); border-radius: 50%;
}
.bottle {
  position: absolute; left: 50%; bottom: 15%; width: 34%; aspect-ratio: 3 / 3.7; translate: -50% 0; z-index: 1;
  border-radius: 16% 16% 20% 20% / 12% 12% 16% 16%;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .7) 0 8%, transparent 22% 70%, rgba(255, 255, 255, .45) 80%, transparent 92%),
    linear-gradient(to top, rgba(226, 110, 80, .62) 0 64%, rgba(255, 255, 255, .28) 64%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), inset 0 -10px 18px rgba(150, 50, 30, .18);
}
.ph--alt .bottle { background:
    linear-gradient(100deg, rgba(255, 255, 255, .7) 0 8%, transparent 22% 70%, rgba(255, 255, 255, .45) 80%, transparent 92%),
    linear-gradient(to top, rgba(205, 140, 60, .6) 0 70%, rgba(255, 255, 255, .28) 70%);
  border-radius: 50% 50% 22% 22% / 34% 34% 16% 16%; }
.bottle::before {
  content: ""; position: absolute; left: 31%; right: 31%; bottom: 100%; height: 30%;
  background: linear-gradient(90deg, #241c18, #6a574e 45%, #241c18); border-radius: 3px 3px 1px 1px;
}
.bottle::after { content: ""; position: absolute; left: 24%; right: 24%; top: 46%; height: 15%; background: rgba(255, 253, 251, .78); border-radius: 2px; }

.ph--ocean { background: linear-gradient(#F7DCC6 0%, #F2C4A6 40%, #A9D6CF 40.5%, #4FA6A1 72%, #2A7C7C 100%); }
.ph--ocean.ph--alt { background: linear-gradient(#CDE8E6 0%, #F4E3CF 44%, #8CCBC4 44.5%, #3F9894 74%, #23696B 100%); }
.ph--ocean::before {
  content: ""; position: absolute; left: 60%; top: 18%; width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: #FFF4E8; box-shadow: 0 0 40px 10px rgba(255, 238, 220, .7);
}
.ph--ocean::after {
  content: ""; position: absolute; inset: 46% 0 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .22) 0 1px, transparent 1px 11px);
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.ph--sunset { background: linear-gradient(#F4B99C 0%, #E9876A 38%, #C85E4C 52%, #6B4A5E 52.5%, #3D2E43 100%); }
.ph--sunset::before {
  content: ""; position: absolute; left: 50%; top: 34%; width: 34%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: #FCE0C2; box-shadow: 0 0 60px 20px rgba(252, 200, 160, .5);
  clip-path: inset(0 0 46% 0);
}
.ph--sunset::after {
  content: ""; position: absolute; inset: 53% 0 0;
  background: repeating-linear-gradient(to bottom, rgba(252, 200, 160, .25) 0 1px, transparent 1px 9px);
}
.ph--abstract { background: #E9E2D6; }
.ph--abstract::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); right: -8%; top: 10%; }
.ph--abstract::after { content: ""; position: absolute; width: 46%; height: 60%; background: #9AA581; left: 10%; bottom: -6%; border-radius: 999px 999px 0 0; }
.ph--abstract.ph--alt { background: #2B2522; }
.ph--abstract.ph--alt::after { background: var(--sage); }
.ph--portrait { background: linear-gradient(160deg, #EBDCCB, #E8C3B3); }
.ph--portrait::before {
  content: ""; position: absolute; left: 50%; top: 24%; width: 30%; aspect-ratio: 1 / 1.18; translate: -50% 0; border-radius: 50%;
  background: #D8AE98;
}
.ph--portrait::after {
  content: ""; position: absolute; left: 50%; bottom: -10%; width: 72%; height: 44%; translate: -50% 0;
  background: #C98F7B; border-radius: 50% 50% 0 0 / 70% 70% 0 0;
}
.ph__note {
  position: absolute; left: 50%; bottom: 7%; translate: -50% 0; z-index: 1;
  font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  background: rgba(22, 18, 15, .35); padding: 6px 10px; border-radius: 99px; white-space: nowrap;
}

/* Laptop */
.laptop { container-type: inline-size; position: relative; width: 100%; }
.laptop__lid {
  background: #1B1816; padding: 2.2cqw 2.2cqw 2.8cqw; border-radius: 2.6cqw 2.6cqw .8cqw .8cqw;
  box-shadow: inset 0 0 0 .3cqw #3A3431, var(--shadow);
}
.laptop__screen { position: relative; aspect-ratio: 16 / 10; border-radius: .7cqw; overflow: hidden; background: var(--white); container-type: inline-size; }
.laptop__base {
  position: relative; height: 2.8cqw; margin: 0 -6.5%;
  background: linear-gradient(#E3DED9, #B6AFA8 70%, #8F8780);
  border-radius: .4cqw .4cqw 4cqw 4cqw / .4cqw .4cqw 2.4cqw 2.4cqw;
  box-shadow: 0 2.4cqw 3cqw -1.6cqw rgba(40, 25, 15, .45);
}
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; translate: -50% 0; background: #A49C95; border-radius: 0 0 1.2cqw 1.2cqw; }

/* Fake site */
.site { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 3cqw 4.4cqw; background: #FBF6F2; color: var(--ink); }
.site__nav { display: flex; align-items: center; justify-content: space-between; }
.site__logo { font: 500 2.8cqw/1 var(--serif); font-style: italic; letter-spacing: -.02em; }
.site__links { display: flex; gap: 2.4cqw; }
.site__links i { width: 6cqw; height: .9cqw; border-radius: 1cqw; background: #DDD2C8; }
.site__cart { width: 3cqw; height: 3cqw; border-radius: 50%; border: .35cqw solid var(--ink); }
.site__hero { flex: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.6cqw; margin-top: 3.4cqw; min-height: 0; }
.site__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2.2cqw; }
.site__tag { font: 400 1.7cqw/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.site__copy b { font: 350 6.2cqw/.95 var(--serif); letter-spacing: -.03em; }
.site__copy b em { color: var(--accent); }
.site__btn { background: var(--ink); color: var(--white); font: 600 1.7cqw/1 var(--sans); padding: 1.5cqw 2.8cqw; border-radius: 9cqw; }
.site__media { border-radius: 1.6cqw; }
.site__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8cqw; margin-top: 2.8cqw; height: 10cqw; }
.site__row i { border-radius: 1.2cqw; background: #EFE4DB; }
.site__row i:nth-child(2) { background: var(--blush); } .site__row i:nth-child(3) { background: #E8DCCB; }
.site--studio { background: #1F1B18; color: var(--paper); }
.site--studio .site__links i { background: #4A423C; }
.site--studio .site__cart { border-color: var(--paper); border-radius: .6cqw; }
.site--studio .site__btn { background: var(--paper); color: var(--ink); }
.site--studio .site__tag { color: var(--sage); }
.site--studio .site__row i { background: #2E2824; }
.site--studio .site__row i:nth-child(2) { background: var(--accent); } .site--studio .site__row i:nth-child(3) { background: var(--sage); }

/* Phone */
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 19;
  background: #141110; border-radius: 15% / 7.1%; padding: 3.4%;
  box-shadow: inset 0 0 0 2px #2E2926, inset 0 0 0 3px #0C0A09, var(--shadow);
}
.phone__screen { position: relative; height: 100%; border-radius: 12.5% / 5.9%; overflow: hidden; background: var(--white); container-type: inline-size; }
.phone__screen::before {
  content: ""; position: absolute; top: 3cqw; left: 50%; translate: -50% 0; z-index: 5;
  width: 30cqw; height: 8.6cqw; border-radius: 9cqw; background: #000;
}

/* Instagram-like post */
.ig { height: 100%; display: flex; flex-direction: column; padding-top: 14cqw; font: 500 3.9cqw/1.35 var(--sans); color: var(--ink); }
.ig__head { display: flex; align-items: center; gap: 2.6cqw; padding: 2.6cqw 4cqw; }
.ig__avatar { width: 9cqw; height: 9cqw; border-radius: 50%; background: conic-gradient(from 200deg, #F2B34E, var(--accent), #C2417A, #F2B34E); padding: .7cqw; position: relative; }
.ig__avatar::after { content: ""; position: absolute; inset: .9cqw; border-radius: 50%; background: var(--blush); border: .7cqw solid var(--white); }
.ig__user { font-weight: 700; }
.ig__more { margin-left: auto; letter-spacing: -.1em; }
.ig__media { aspect-ratio: 4 / 5; flex: none; }
.ig__actions { display: flex; gap: 3.6cqw; padding: 3cqw 4cqw 1.6cqw; }
.ig__actions svg { width: 7cqw; height: 7cqw; }
.ig__actions .sp { margin-left: auto; }
.ig__likes { padding: 0 4cqw; font-weight: 700; }
.ig__caption { padding: .8cqw 4cqw; }
.ig__caption b { margin-right: 1cqw; }
.ig__lines { display: flex; flex-direction: column; gap: 1.6cqw; padding: 1.6cqw 4cqw; }
.ig__lines i { height: 1.8cqw; border-radius: 2cqw; background: #EEE6DF; }
.ig__lines i + i { width: 60%; }

/* Story */
.story {
  container-type: inline-size; position: relative; width: 100%; aspect-ratio: 9 / 16;
  border-radius: 8% / 4.5%; overflow: hidden; background: #2B2522; box-shadow: var(--shadow);
}
.story--full { aspect-ratio: auto; height: 100%; border-radius: 0; box-shadow: none; }
.story__media { position: absolute; inset: 0; }
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .28), transparent 24%, transparent 60%, rgba(0, 0, 0, .35)); z-index: 1; }
.story__bars { position: absolute; top: 4cqw; left: 4cqw; right: 4cqw; display: flex; gap: 1.6cqw; z-index: 3; }
.story--full .story__bars { top: 15cqw; }
.story__bars i { flex: 1; height: .9cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .45); }
.story__bars i.on { background: #fff; }
.story__head { position: absolute; top: 8.5cqw; left: 4cqw; z-index: 3; display: flex; align-items: center; gap: 2.4cqw; color: #fff; font: 700 4.4cqw/1 var(--sans); }
.story--full .story__head { top: 19.5cqw; }
.story__av { width: 8cqw; height: 8cqw; border-radius: 50%; background: var(--blush); border: .6cqw solid #fff; }
.story__text { position: absolute; left: 7cqw; right: 7cqw; bottom: 26cqw; z-index: 3; color: #fff; font: 350 11cqw/.92 var(--serif); letter-spacing: -.02em; }
.story__cta { position: absolute; bottom: 6cqw; left: 5cqw; right: 5cqw; z-index: 3; border: 1px solid rgba(255, 255, 255, .7); border-radius: 20cqw; color: #fff; font: 500 4cqw/1 var(--sans); padding: 3.6cqw 5cqw; }

/* Browser */
.browser { container-type: inline-size; background: var(--white); border-radius: clamp(6px, 1vw, 14px); overflow: hidden; box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 1.4cqw; padding: 2.2cqw 3cqw; background: #F1ECE6; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.browser__bar i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #E06A55; }
.browser__bar i:nth-child(2) { background: #EDBA4E; } .browser__bar i:nth-child(3) { background: #79B77C; }
.browser__url { flex: 1; margin-left: 3cqw; background: var(--white); border-radius: 3cqw; padding: 1.2cqw 3cqw; font: 400 2.6cqw/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.browser__screen { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; }

/* Dashboard */
.dash { padding: 4.4cqw; font: 600 3.6cqw/1.2 var(--sans); }
.dash__head { display: flex; justify-content: space-between; align-items: center; }
.dash__chip { font: 500 2.6cqw/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--accent); color: #fff; padding: 1.2cqw 2.2cqw; border-radius: 4cqw; }
.dash__chart { width: 100%; height: 24cqw; margin: 3cqw 0; overflow: visible; }
.dash__area { fill: rgba(226, 73, 47, .1); }
.dash__line { fill: none; stroke: var(--accent); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .dash__line { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) 1.2s; }
.is-loaded .dash__line { stroke-dashoffset: 0; }
.dash__kpis { display: grid; gap: 2cqw; }
.dash__kpis span { display: grid; grid-template-columns: 1fr; gap: 1cqw; font: 400 2.6cqw/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dash__kpis i { display: block; height: 1.8cqw; border-radius: 2cqw; background: linear-gradient(90deg, var(--ink) var(--w), #EFE6DE 0); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.4cqw; margin: 4cqw 0; }
.cal i { aspect-ratio: 1; border-radius: 1.6cqw; background: #F1EAE3; }
.cal i.on { background: var(--accent); } .cal i.on2 { background: var(--blush); }

/* Polaroid, photo, swatch, sticker, stamp */
.polaroid { background: var(--white); padding: 6% 6% 0; box-shadow: var(--shadow); }
.polaroid .media { aspect-ratio: 1; }
.polaroid figcaption { padding: 9% 2% 10%; text-align: center; font: italic 400 clamp(11px, 1.1vw, 16px)/1 var(--serif); color: var(--ink-2); }
.photo { border-radius: clamp(10px, 1.2vw, 18px); box-shadow: var(--shadow); }
.swatch { container-type: inline-size; background: var(--white); border-radius: clamp(10px, 1.2vw, 18px); padding: 10%; box-shadow: var(--shadow-s); }
.swatch__row { display: flex; gap: 4cqw; }
.swatch__row i { flex: 1; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.swatch__type { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8cqw; font: 350 26cqw/.9 var(--serif); }
.swatch__type small { font: 400 6.5cqw/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sticker {
  display: inline-flex; align-items: center; gap: .4em; white-space: nowrap;
  font: 500 clamp(10.5px, .85vw, 13px)/1 var(--mono); letter-spacing: .07em; text-transform: uppercase;
  background: var(--white); color: var(--ink); padding: .9em 1.2em; border-radius: 99px;
  box-shadow: var(--shadow-s); rotate: -4deg;
}
.sticker--accent { background: var(--accent); color: var(--white); rotate: 5deg; }
.sticker--ink { background: var(--ink); color: var(--paper); rotate: -3deg; }
.sticker--lagoon { background: var(--lagoon); color: var(--white); rotate: 4deg; }
.stamp {
  display: grid; place-items: center; text-align: center; width: clamp(92px, 9vw, 132px); aspect-ratio: 1 / 1.15;
  padding: 10px; background: var(--white); rotate: 8deg; box-shadow: var(--shadow-s);
  font: 500 clamp(9.5px, .75vw, 11.5px)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lagoon);
  outline: 1.5px dashed var(--lagoon); outline-offset: -8px;
}
.stamp b { font: 400 26px/1 var(--serif); }
.logo-chip { display: inline-flex; background: var(--white); padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow-s); }
.logo-chip img { height: 34px; width: auto; }

/* Badge rotatif */
.badge { width: 100%; height: auto; animation: spin 22s linear infinite; }
.badge__bg { fill: var(--ink); }
.badge text { font: 500 14.5px var(--mono); letter-spacing: 3.4px; fill: var(--paper); }
.badge__star { fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tablet, grid, mail, poster, flyer, chat, mobile site */
.tablet { container-type: inline-size; background: #141110; border-radius: 6% / 4.5%; padding: 3.6%; aspect-ratio: 3 / 4; box-shadow: inset 0 0 0 2px #2E2926, var(--shadow); }
.tablet__screen { height: 100%; border-radius: 2.6cqw; overflow: hidden; background: var(--white); padding: 4cqw; }
.grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.grid9 i { aspect-ratio: 4 / 5; border-radius: 1.4cqw; background: var(--sage); position: relative; overflow: hidden; }
.grid9 i:nth-child(2) { background: var(--accent); } .grid9 i:nth-child(3) { background: #F1E6DA; }
.grid9 i:nth-child(4) { background: #1F1B18; } .grid9 i:nth-child(5) { background: var(--blush); }
.grid9 i:nth-child(6) { background: #9AA581; } .grid9 i:nth-child(7) { background: #F1E6DA; }
.grid9 i:nth-child(8) { background: var(--sage); } .grid9 i:nth-child(9) { background: var(--accent); }
.grid9 i:nth-child(odd)::after { content: "Aa"; position: absolute; left: 10%; bottom: 8%; font: 350 9cqw/1 var(--serif); color: rgba(22, 18, 15, .75); }
.grid9 i:nth-child(4)::after, .grid9 i:nth-child(9)::after { color: var(--paper); }
.grid9 i:nth-child(even)::before { content: ""; position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%; right: 12%; top: 14%; background: rgba(255, 255, 255, .55); }

.mail { container-type: inline-size; background: var(--white); border-radius: clamp(8px, 1vw, 14px); overflow: hidden; box-shadow: var(--shadow); }
.mail__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6cqw 8cqw 8cqw; gap: 3.4cqw; }
.mail__logo { font: italic 500 5cqw/1 var(--serif); }
.mail__hero { width: 100%; aspect-ratio: 16 / 10; border-radius: 2cqw; }
.mail__title { font: 350 7cqw/1 var(--serif); letter-spacing: -.02em; }
.mail__title em { color: var(--accent); }
.mail__text { width: 86%; height: 1.8cqw; border-radius: 2cqw; background: #EEE6DF; }
.mail__text--s { width: 60%; margin-top: -1.6cqw; }
.mail__btn { background: var(--ink); color: #fff; font: 600 3.2cqw/1 var(--sans); padding: 3cqw 6cqw; border-radius: 9cqw; }
.mail__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; width: 100%; margin-top: 2cqw; }
.mail__grid i { aspect-ratio: 1; border-radius: 2cqw; background: var(--blush); }
.mail__grid i:nth-child(2) { background: #EFD9C2; } .mail__grid i:nth-child(3) { background: #F1E6DA; }

.poster { container-type: inline-size; position: relative; aspect-ratio: 3 / 4; background: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.poster .media { position: absolute; inset: 6cqw 6cqw 34cqw; }
.poster b { position: absolute; left: 8cqw; bottom: 12cqw; font: 350 13cqw/.9 var(--serif); letter-spacing: -.03em; }
.poster b em { color: var(--lagoon); }
.poster span { position: absolute; left: 8cqw; bottom: 6cqw; font: 400 3.6cqw/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.poster--dark { background: #2A2230; color: var(--paper); }
.poster--dark .media { inset: 0; }
.poster--dark .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(30, 20, 30, .75)); }
.poster--dark b { z-index: 1; } .poster--dark b em { color: #F6C9AC; }
.poster--dark span { z-index: 1; color: rgba(244, 239, 233, .75); }
.flyer { container-type: inline-size; aspect-ratio: 1.6 / 1; background: var(--lagoon); color: var(--white); border-radius: clamp(6px, .8vw, 12px); padding: 8%; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.flyer span { font-size: 9cqw; line-height: 1; color: #F6C9AC; }
.flyer b { font: 350 13cqw/1 var(--serif); font-style: italic; }
.flyer i { height: 2.2cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .4); }
.flyer i.s { width: 50%; }

.chat { container-type: inline-size; background: var(--white); border-radius: 22px; padding: 7% 6%; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.chat__status { display: flex; align-items: center; gap: 2cqw; font: 400 3.6cqw/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2cqw; }
.chat__status i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #5DB075; }
.bubble { font: 500 4.8cqw/1.38 var(--sans); padding: 3.6cqw 5cqw; border-radius: 6cqw; max-width: 84%; }
.bubble--in { background: #F1ECE6; border-bottom-left-radius: 1.6cqw; }
.bubble--out { background: var(--ink); color: var(--paper); align-self: flex-end; border-bottom-right-radius: 1.6cqw; }
.chat__typing { display: inline-flex; gap: 1.6cqw; background: #F1ECE6; padding: 4cqw 5cqw; border-radius: 6cqw; align-self: flex-start; }
.chat__typing i { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-1.2cqw); opacity: 1; } }

.msite { height: 100%; padding: 15cqw 6cqw 6cqw; display: flex; flex-direction: column; gap: 4cqw; background: #1F1B18; color: var(--paper); }
.msite__nav { display: flex; justify-content: space-between; align-items: center; font: italic 500 6cqw/1 var(--serif); }
.msite__nav i { width: 8cqw; height: 3cqw; border-block: .8cqw solid var(--paper); }
.msite__hero { aspect-ratio: 1; border-radius: 4cqw; }
.msite__title { font: 350 10cqw/.95 var(--serif); letter-spacing: -.02em; }
.msite__title em { color: var(--sage); }
.msite__line { height: 2.4cqw; border-radius: 2cqw; background: #3A332E; }
.msite__line--s { width: 60%; margin-top: -2cqw; }
.msite__btn { align-self: flex-start; background: var(--paper); color: var(--ink); font: 600 4.4cqw/1 var(--sans); padding: 4cqw 7cqw; border-radius: 10cqw; }

/* ==========================================================================
   EXPERTISES
   ========================================================================== */
.xp-list { position: relative; border-top: 1px solid var(--ink); --vx: 50vw; --vy: 0px; --vr: 0deg; }
.xp-row {
  display: grid; grid-template-columns: minmax(48px, 1fr) 7fr 4fr; column-gap: 24px; align-items: center;
  padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.xp-row__num { font: 400 13px/1 var(--mono); color: var(--accent); align-self: start; padding-top: .9em; }
.xp-row__title {
  font: 350 clamp(2.4rem, 6vw, 6.2rem)/.95 var(--serif); letter-spacing: -.04em; text-transform: uppercase;
  transition: transform .8s var(--ease);
}
.xp-row__title span { display: inline; }
.xp-row__title em { text-transform: lowercase; font-weight: 300; color: var(--ink); transition: color .5s; }
.xp-row__body { display: grid; gap: 18px; color: var(--ink-2); max-width: 44ch; transition: transform .8s var(--ease); }
.xp-row:hover .xp-row__title { transform: translateX(clamp(12px, 2vw, 32px)); }
.xp-row:hover .xp-row__title em { color: var(--accent); }
.xp-list:hover .xp-row:not(:hover) { opacity: .35; }

.xp-visual { pointer-events: none; }
.xpv { position: relative; }
.xpv__st { position: absolute; right: -8%; bottom: -6%; z-index: 2; }
.xpv--stories { display: flex; }
.xpv--stories .story { flex: none; width: 46%; }
.xpv--stories .story:nth-child(1) { rotate: -9deg; translate: 14% 8%; }
.xpv--stories .story:nth-child(2) { z-index: 1; }
.xpv--stories .story:nth-child(2) { margin-left: -14%; }
.xpv--stories .story:nth-child(3) { rotate: 9deg; translate: -14% 8%; margin-left: -14%; }
.xpv--chat .chat { width: 100%; }

@media (hover: hover) and (min-width: 900px) {
  .xp-visual {
    position: absolute; top: 0; left: 0; z-index: 5; width: clamp(260px, 22vw, 340px);
    transform: translate3d(calc(var(--vx) - 50%), calc(var(--vy) - 50%), 0) rotate(var(--vr));
    opacity: 0; scale: .7; transition: opacity .45s var(--ease), scale .7s var(--ease);
  }
  .xp-row.is-hover .xp-visual { opacity: 1; scale: 1; }
  .xpv--stories { width: 118%; margin-left: -9%; }
}

/* ==========================================================================
   EXPÉRIENCES
   ========================================================================== */
.exp { background: var(--paper-2); }
.exp__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 96px); }
.exp__stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.exp__panel { position: relative; width: 100%; height: min(84svh, 780px); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.exp__counter {
  position: absolute; right: 24px; bottom: 22px; z-index: 10;
  font: 400 12px/1 var(--mono); letter-spacing: .1em; color: var(--ink-2);
  background: var(--white); padding: 9px 14px; border-radius: 99px; box-shadow: var(--shadow-s);
}
.exp__current { color: var(--accent); }
.scenes { position: absolute; inset: 0; }

.scene { position: absolute; inset: 0; background: var(--scene-bg); opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; overflow: hidden; }
.scene.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.scene--adopt { --scene-bg: var(--blush); }
.scene--nosybe { --scene-bg: var(--lagoon-pale); }
.scene--collab { --scene-bg: var(--night); }
.scene__num {
  position: absolute; right: -2%; top: -6%;
  font: 300 clamp(9rem, 20vw, 20rem)/1 var(--serif); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(22, 18, 15, .18);
}
.scene--collab .scene__num { -webkit-text-stroke-color: rgba(244, 239, 233, .14); }
.sc-el { position: absolute; transition: opacity .8s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.scene:not(.is-active) .sc-el { opacity: 0; transform: translateY(50px) scale(.96); transition-delay: 0s; }
.sc-par { will-change: transform; }

.sc-logo { top: 6%; left: 6%; z-index: 6; }
.sc-a-laptop { left: 5%; top: 32%; width: 62%; z-index: 1; }
.sc-a-phone { right: 7%; top: 13%; width: 27%; z-index: 3; }
.sc-a-phone .phone { rotate: 4deg; }
.sc-a-pack { left: 40%; bottom: 5%; width: 21%; z-index: 4; }
.sc-a-pack .polaroid { rotate: -6deg; }
.sc-a-st1 { top: 21%; left: 30%; z-index: 5; }
.sc-a-st2 { bottom: 12%; right: 6%; z-index: 5; }

.sc-n-land { left: 6%; top: 18%; width: 57%; z-index: 1; }
.sc-n-land .photo { aspect-ratio: 4 / 3; rotate: -2deg; }
.sc-n-port { left: 15%; bottom: 5%; width: 29%; z-index: 2; }
.sc-n-port .photo { aspect-ratio: 3 / 4; rotate: 3deg; }
.sc-n-story { right: 6%; top: 20%; width: 28%; z-index: 3; }
.sc-n-story .phone { rotate: -4deg; }
.sc-n-stamp { left: 50%; bottom: 9%; z-index: 4; }
.sc-n-st1 { top: 8%; right: 8%; z-index: 5; }

.sc-c-browser { left: 5%; top: 18%; width: 72%; z-index: 1; }
.sc-c-browser .browser { rotate: -2deg; }
.sc-c-tablet { right: 5%; bottom: 6%; width: 29%; z-index: 3; }
.sc-c-tablet .tablet { rotate: 5deg; }
.sc-c-swatch { left: 9%; bottom: 7%; width: 23%; z-index: 2; }
.sc-c-swatch .swatch { rotate: -5deg; }
.sc-c-st1 { top: 9%; right: 8%; z-index: 5; }

.chapter { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 10vh 0; }
.chapter__visual { display: none; }
.chapter__idx { font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.chapter__logo { height: clamp(40px, 4vw, 56px); width: auto; align-self: flex-start; }
.chapter__kicker { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.chapter__title { font: 350 clamp(2rem, 3.6vw, 3.6rem)/1 var(--serif); letter-spacing: -.035em; max-width: 14ch; }
.chapter__text { color: var(--ink-2); max-width: 46ch; }
.chapter > * { transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .chapter:not(.is-current) > *:not(.chapter__visual) { opacity: .28; }

/* ==========================================================================
   MARQUES
   ========================================================================== */
.brands { padding-bottom: clamp(80px, 10vw, 160px); }
.brands__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(48px, 7vw, 120px); }
.brands__title { font: 350 clamp(2.5rem, 6.2vw, 6.4rem)/.96 var(--serif); letter-spacing: -.035em; text-align: right; margin-left: auto; }
.brands__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.brand:nth-child(1) { grid-column: 1 / span 4; }
.brand:nth-child(2) { grid-column: 5 / span 4; margin-top: clamp(40px, 8vw, 140px); }
.brand:nth-child(3) { grid-column: 9 / span 4; margin-top: clamp(20px, 3vw, 60px); }
.brand__link {
  position: relative; display: grid; place-items: center; gap: 22px;
  aspect-ratio: 1 / .8; border-top: 1px solid var(--ink); padding: 40px 20px;
}
.brand__halo {
  position: absolute; left: 50%; top: 48%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--blush), rgba(242, 210, 199, 0));
  transform: translate(-50%, -50%) scale(.3); opacity: 0; transition: transform 1s var(--ease), opacity .6s;
}
.brand:nth-child(2) .brand__halo { background: radial-gradient(closest-side, var(--lagoon-pale), rgba(207, 225, 220, 0)); }
.brand:nth-child(3) .brand__halo { background: radial-gradient(closest-side, var(--sage), rgba(201, 207, 182, 0)); }
.brand__link img { position: relative; width: min(78%, 260px); height: auto; transition: transform .9s var(--ease), filter .5s; filter: grayscale(1) contrast(1.05); }
.brand__cap {
  position: relative; font: 400 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease);
}
.brand__link:hover .brand__halo, .brand__link:focus-visible .brand__halo { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.brand__link:hover img, .brand__link:focus-visible img { transform: translateY(-8px) scale(1.05); filter: none; }
.brand__link:hover .brand__cap, .brand__link:focus-visible .brand__cap { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   PROJETS
   ========================================================================== */
.projects__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(56px, 7vw, 120px); align-items: start; }
.project { display: block; position: relative; }
.p1 { grid-column: 1 / span 7; }
.p2 { grid-column: 9 / span 4; margin-top: clamp(40px, 12vw, 220px); }
.p3 { grid-column: 2 / span 4; }
.p4 { grid-column: 7 / span 6; margin-top: clamp(20px, 8vw, 140px); }
.p5 { grid-column: 1 / span 6; }
.p6 { grid-column: 8 / span 5; margin-top: clamp(40px, 14vw, 240px); }

.p-visual { position: relative; aspect-ratio: var(--ar); background: var(--bg); border-radius: var(--radius); overflow: hidden; }
.p-visual__inner { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.project:hover .p-visual__inner, .project:focus-visible .p-visual__inner { transform: scale(1.04); }
.pv { position: absolute; transition: transform 1.2s var(--ease); }
.project:hover .pv:nth-child(odd) { transform: translateY(-3%); }
.project:hover .pv:nth-child(even) { transform: translateY(3%); }

.pv1-a { left: 17%; top: 9%; width: 27%; } .pv1-a .phone { rotate: -5deg; }
.pv1-b { left: 53%; top: 15%; width: 27%; } .pv1-b .phone { rotate: 5deg; }
.pv1-c { right: 7%; top: 8%; z-index: 2; }
.pv2-a { left: 3%; top: 22%; width: 40%; } .pv2-a .story { rotate: -7deg; }
.pv2-b { left: 30%; top: 11%; width: 40%; z-index: 2; }
.pv2-c { left: 57%; top: 24%; width: 40%; } .pv2-c .story { rotate: 7deg; }
.pv3-a { left: 13%; top: 8%; width: 74%; } .pv3-a .mail { rotate: -2deg; }
.pv3-b { right: 7%; bottom: 8%; z-index: 2; }
.pv4-a { left: 10%; top: 13%; width: 70%; }
.pv4-b { right: 7%; bottom: 7%; width: 17%; z-index: 2; } .pv4-b .phone { rotate: 6deg; }
.pv5-a { left: 9%; top: 11%; width: 40%; } .pv5-a .poster { rotate: -4deg; }
.pv5-b { right: 9%; top: 17%; width: 40%; } .pv5-b .poster { rotate: 4deg; }
.pv5-c { left: 31%; bottom: 7%; width: 36%; z-index: 2; } .pv5-c .flyer { rotate: -2deg; }
.pv6-a { left: 8%; top: 9%; width: 60%; } .pv6-a .tablet { rotate: -4deg; }
.pv6-b { right: 8%; bottom: 8%; width: 30%; z-index: 2; } .pv6-b .phone { rotate: 6deg; }
.pv6-c { left: 10%; bottom: 10%; z-index: 3; }

.project__meta { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; padding-top: 20px; }
.project__num { font: 400 12px/1.6 var(--mono); color: var(--accent); }
.project__brand { font: 400 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.project__title { font: 350 clamp(1.35rem, 2vw, 2rem)/1.1 var(--serif); letter-spacing: -.02em; margin-top: 4px; transition: color .4s; }
.project:hover .project__title { color: var(--accent); }
.project__type { font: 400 11px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: right; max-width: 18ch; }

/* Modale projet */
.pm { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; }
.pm[hidden] { display: none; }
.pm__backdrop { position: absolute; inset: 0; background: rgba(22, 18, 15, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s var(--ease); }
.pm__panel {
  position: relative; width: 100%; height: calc(100svh - 24px); max-width: 1500px; margin: 0 12px;
  background: var(--paper); border-radius: var(--radius) var(--radius) 0 0;
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(100%); transition: transform .8s var(--ease);
}
.pm.is-open .pm__backdrop { opacity: 1; }
.pm.is-open .pm__panel { transform: none; }
.pm__top { display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(16px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.pm__nav { display: flex; gap: 8px; }
.pm__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.pm__btn svg { width: 18px; height: 18px; }
.pm__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pm__close { background: var(--ink); color: var(--paper); }
.pm__close:hover { background: var(--accent); border-color: var(--accent); }
.pm__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.pm__content {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 72px);
  padding: clamp(20px, 3vw, 48px) clamp(16px, 3vw, 40px) 64px;
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.pm.is-switching .pm__content { opacity: 0; transform: translateX(calc(var(--dir, 1) * -24px)); }
.pm__visual .p-visual { position: sticky; top: 0; clip-path: none !important; }
.pm__visual .p-visual__inner { animation: pm-zoom 1.2s var(--ease); }
@keyframes pm-zoom { from { transform: scale(1.08); } }
.pm__text { display: flex; flex-direction: column; gap: 22px; }
.pm__brand { font: 400 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pm__title { font: 350 clamp(2.2rem, 4.2vw, 4.4rem)/.98 var(--serif); letter-spacing: -.035em; }
.pm__details { display: grid; gap: 0; margin-top: 12px; }
.pm__details div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.pm__details dt { font: 400 11.5px/1.7 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pm__details dd { color: var(--ink-2); }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.about__visual { grid-column: 1 / span 5; position: relative; }
.about__frame { position: relative; aspect-ratio: 4 / 5; }
.about__arch {
  position: absolute; inset: 14% 0 0; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  background: radial-gradient(90% 70% at 50% 30%, #F7DDD3, var(--blush) 55%, #E7B3A2);
}
.about__arch::before, .about__arch::after { content: ""; position: absolute; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .55); }
.about__arch::before { inset: 6% 6% 0; }
.about__arch::after { inset: 13% 13% 0; border-color: rgba(255, 255, 255, .35); }
.about__cutout { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 0 0 0 round 0 0 var(--radius) var(--radius)); }
.media__img--contain { object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 30px 40px rgba(80, 30, 20, .22)); }
.ph--cutout { display: grid; place-items: center; padding-top: 14%; }
.ph--cutout__mono { font: 300 clamp(7rem, 16vw, 14rem)/1 var(--serif); letter-spacing: -.06em; color: rgba(255, 253, 251, .9); }
.ph--cutout__mono em { color: var(--accent); }
.about__badge { position: absolute; width: clamp(96px, 10vw, 150px); right: -6%; bottom: 14%; z-index: 2; }
.about__hello { position: absolute; left: -2%; top: 18%; z-index: 2; font-size: 13px; }
.about__text { grid-column: 7 / span 6; display: grid; gap: 32px; }
.about__title { font: 350 clamp(2rem, 3.6vw, 3.6rem)/1.04 var(--serif); letter-spacing: -.03em; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; color: var(--ink-2); }
.about__traits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.about__traits li { display: grid; gap: 6px; padding: 18px 16px 0 0; }
.about__traits b { font: 400 1.35rem/1.1 var(--serif); font-style: italic; }
.about__traits span { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   APPROCHE
   ========================================================================== */
.approach { background: var(--paper-2); }
.steps { position: relative; --p: 0; }
.steps__track { position: absolute; left: 0; right: 0; top: clamp(44px, 5vw, 72px); height: 1px; background: var(--line); }
.steps__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p)); }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; display: grid; gap: 14px; padding-top: 0; }
.step__num {
  font: 300 clamp(4rem, 8vw, 8rem)/.9 var(--serif); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--ink); transition: color .6s var(--ease), -webkit-text-stroke-color .6s;
  background: var(--paper-2); padding-right: 16px; justify-self: start; position: relative;
}
.step h3 { font: 400 clamp(1.4rem, 2vw, 2rem)/1 var(--serif); font-style: italic; margin-top: 18px; }
.step p { color: var(--ink-2); max-width: 28ch; }
.step::before {
  content: ""; position: absolute; top: clamp(44px, 5vw, 72px); left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--ink); translate: 0 -50%; z-index: 1; display: none;
}
.step.is-on .step__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step > *:not(.step__num) { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .step:not(.is-on) > *:not(.step__num) { opacity: .25; transform: translateY(14px); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--ink); color: var(--paper); padding: clamp(96px, 13vw, 200px) var(--gutter) 32px; border-radius: var(--radius) var(--radius) 0 0; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -20vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(226, 73, 47, .22), transparent); pointer-events: none;
}
.contact .eyebrow { color: rgba(244, 239, 233, .55); }
.contact__inner { position: relative; }
.contact__q { font: 350 clamp(1.4rem, 2.6vw, 2.4rem)/1.15 var(--serif); font-style: italic; max-width: 22ch; color: rgba(244, 239, 233, .8); }
.contact__title { font: 300 clamp(4.4rem, 17vw, 19rem)/.86 var(--serif); letter-spacing: -.06em; margin-top: 16px; white-space: nowrap; }
.contact__row { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 96px); }
.contact__cta {
  position: relative; display: grid; place-items: center; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: var(--white);
}
.contact__cta:hover { background: var(--paper); color: var(--ink); }
.contact__ring { position: absolute; inset: 6%; width: 88%; animation: spin 18s linear infinite; }
.contact__ring text { font: 500 13.5px var(--mono); letter-spacing: 3.4px; fill: currentColor; }
.contact__arrow { width: 34%; height: 34%; transition: transform .6s var(--ease); }
.contact__cta:hover .contact__arrow { transform: rotate(45deg); }
.contact__links { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }
.contact__links li { display: grid; gap: 10px; }
.contact__links .link-u { font: 350 clamp(1.3rem, 2.2vw, 2rem)/1.2 var(--serif); }
.contact__email { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.copy { display: inline-flex; align-items: center; gap: 6px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 239, 233, .7); border: 1px solid rgba(244, 239, 233, .25); padding: 8px 12px; border-radius: 99px; transition: background .3s, color .3s; }
.copy svg { width: 14px; height: 14px; }
.copy:hover, .copy.is-done { background: var(--paper); color: var(--ink); }
.footer { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(80px, 10vw, 160px); padding-top: 24px; border-top: 1px solid rgba(244, 239, 233, .15); font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(244, 239, 233, .55); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .hero__stage { grid-column: 7 / -1; }
  .hero__title { font-size: clamp(3rem, 6.4vw, 8rem); }
  .xp-row { grid-template-columns: minmax(40px, .6fr) 7fr 4.5fr; }
}

@media (max-width: 999px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero { grid-template-rows: auto auto auto auto; row-gap: 0; }
  .hero__title { grid-column: 1 / -1; grid-row: 2; margin-top: 8vh; font-size: clamp(2.9rem, 11.5vw, 6rem); }
  .hero__aside { grid-column: 1 / span 10; grid-row: 3; }
  .hero__stage { grid-column: 1 / -1; grid-row: 4; justify-self: center; width: min(100%, 640px); margin: 56px 0 24px; }
  .hero__scroll { display: none; }

  .sec-title, .sec-head--split .sec-title { grid-column: 1 / -1; }
  .sec-intro { grid-column: 1 / span 10; }

  .xp-row { grid-template-columns: 1fr; row-gap: 18px; }
  .xp-row__num { padding-top: 0; }
  .xp-list:hover .xp-row:not(:hover) { opacity: 1; }
  .xp-visual { width: min(100%, 360px); margin-top: 12px; }

  .exp__grid { grid-template-columns: 1fr; }
  .exp__stage { display: none; }
  .chapter { min-height: 0; padding: 0 0 clamp(72px, 12vw, 120px); }
  .chapter__visual { display: block; position: relative; width: 100%; aspect-ratio: 1 / 1.02; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
  .chapter__visual .scene { opacity: 1; visibility: visible; }
  .js .chapter:not(.is-current) > *:not(.chapter__visual) { opacity: 1; }

  .brands__title { text-align: left; margin-left: 0; }
  .brand:nth-child(n) { grid-column: span 4; }

  .projects__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .p1, .p4, .p5 { grid-column: 1 / -1; margin-top: 0; }
  .p2, .p3, .p6 { grid-column: span 3; margin-top: 0; }
  .p3 { grid-column: 4 / span 3; }
  .p2 { margin-top: 0; }

  .pm__content { grid-template-columns: 1fr; }
  .pm__visual .p-visual { position: relative; max-height: 60svh; margin: 0 auto; }

  .about__visual { grid-column: 2 / span 10; max-width: 460px; justify-self: center; width: 100%; margin-bottom: 64px; }
  .about__text { grid-column: 1 / -1; }

  .steps__track { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__fill { transform-origin: top; transform: scaleY(var(--p)); }
  .steps__list { grid-template-columns: 1fr; gap: 48px; padding-left: 36px; }
  .step::before { display: block; top: .4em; left: -36px; translate: 0 0; }
  .step__num { font-size: 3.6rem; background: none; }
  .step h3 { margin-top: 4px; }
}

@media (max-width: 640px) {
  .hero__meta .hero__domains { display: none; }
  .hero__aside { grid-column: 1 / -1; }
  .hero__actions { gap: 20px; }
  .hero__brands { gap: 14px; }
  .hero__brands ul { gap: 14px; }
  .hero__brands img { height: 26px; }
  .sticker { font-size: 9.5px; }
  .h-sticker-2 { left: 46%; }

  .xp-row__title { font-size: clamp(2.1rem, 10.5vw, 3rem); }

  .brands__row { grid-template-columns: 1fr; row-gap: 0; }
  .brand:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .brand__link { aspect-ratio: auto; padding: 48px 20px; }
  .brand__cap { clip-path: none; }
  .brand__link img { filter: none; }

  .projects__grid { grid-template-columns: 1fr; }
  .project:nth-child(n) { grid-column: 1 / -1; }
  .project__meta { grid-template-columns: auto 1fr; }
  .project__type { grid-column: 2; text-align: left; }

  .pm__panel { margin: 0; height: calc(100svh - 12px); }
  .pm__details div { grid-template-columns: 1fr; gap: 6px; }

  .about__cols { grid-template-columns: 1fr; }
  .about__traits { grid-template-columns: 1fr; }
  .about__traits li { padding: 16px 0; border-bottom: 1px solid var(--line); }

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

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .h-cursor { display: none; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   DÉFILEMENT PAR AXES — chaque section glisse par-dessus la précédente
   ========================================================================== */
.stack { position: sticky; top: var(--stick, 0px); transform-origin: 50% var(--origin, 50%); }
.stack::after {
  content: ""; position: absolute; inset: 0; z-index: 40; pointer-events: none;
  background: var(--ink); opacity: var(--shade, 0); border-radius: inherit;
}
.stack--panel { background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -30px 60px -34px rgba(48, 28, 18, .4); }
.exp.stack--panel, .approach.stack--panel { background: var(--paper-2); }
.contact.stack--panel { background: var(--ink); }
.hero.stack { background: var(--paper); }

/* Pagination des axes */
.axes {
  position: fixed; right: 20px; top: 50%; z-index: 80; translate: 0 -50%;
  display: flex; flex-direction: column; gap: 12px;
  color: #fff; mix-blend-mode: difference;
}
.axes a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 0; }
.axes b { font-weight: 400; opacity: .55; transition: opacity .3s; }
.axes span { opacity: 0; transform: translateX(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.axes i { width: 16px; height: 1px; background: currentColor; opacity: .5; transition: width .6s var(--ease), opacity .3s; }
.axes a.is-active b { opacity: 1; }
.axes a.is-active i { width: 34px; opacity: 1; }
.axes a.is-active span, .axes a:hover span, .axes a:focus-visible span { opacity: 1; transform: none; }
.axes a:hover i { opacity: 1; }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 110; background: var(--accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }

@media (max-width: 999px) {
  .axes { display: none; }
  .stack--panel { border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stack { position: relative; top: 0; }
}
.hero__scroll { display: none; }

/* ==========================================================================
   Univers Nocibé + logos officiels
   ========================================================================== */
.scene--nocibe { --scene-bg: #E6E0EC; }
.ph--lilac { background: radial-gradient(120% 90% at 30% 15%, #F6F2FA 0%, #DCCDE8 55%, #B7A0CC 100%); }
.ph--lilac .bottle {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .7) 0 8%, transparent 22% 70%, rgba(255, 255, 255, .45) 80%, transparent 92%),
    linear-gradient(to top, rgba(140, 100, 190, .55) 0 58%, rgba(255, 255, 255, .28) 58%);
  border-radius: 10% 10% 12% 12% / 8% 8% 10% 10%;
}
.ph--lilac::after { background: radial-gradient(closest-side, rgba(70, 40, 100, .25), transparent); }
.ph--makeup {
  background:
    radial-gradient(circle at 26% 30%, #E39A86 0 11%, transparent 11.5%),
    radial-gradient(circle at 50% 30%, #C8735F 0 11%, transparent 11.5%),
    radial-gradient(circle at 74% 30%, #F2C3B3 0 11%, transparent 11.5%),
    radial-gradient(circle at 26% 56%, #B88CB8 0 11%, transparent 11.5%),
    radial-gradient(circle at 50% 56%, #E6B87A 0 11%, transparent 11.5%),
    radial-gradient(circle at 74% 56%, #8E5A6E 0 11%, transparent 11.5%),
    linear-gradient(#F6E9E3, #EBCFC5);
}
.ph--makeup::before {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: 12%; height: 18%; translate: -50% 0; rotate: 18deg;
  border-radius: 40% 40% 6% 6%; background: linear-gradient(#C2414F 0 38%, #2B2326 38%);
  box-shadow: 0 8px 14px -6px rgba(60, 20, 20, .4);
}
.ph--makeup.ph--dark {
  background:
    radial-gradient(circle at 30% 34%, #E39A86 0 13%, transparent 13.5%),
    radial-gradient(circle at 62% 30%, #B88CB8 0 9%, transparent 9.5%),
    radial-gradient(circle at 70% 58%, #E6B87A 0 11%, transparent 11.5%),
    linear-gradient(#3A2C38, #241A22);
}
.sticker--plum { background: #4B2E4F; color: var(--white); rotate: 4deg; }
.stamp { color: #4B2E4F; outline-color: #4B2E4F; }

/* Logos : proportions très différentes → boîte commune */
.hero__brands img, .logo-chip img, .chapter__logo, .brand__link img { object-fit: contain; object-position: left center; }
.hero__brands img { height: 24px; width: 104px; }
.logo-chip img { height: 30px; width: 130px; }
.chapter__logo { height: clamp(36px, 3.4vw, 48px); width: clamp(150px, 15vw, 210px); }
.brand__link img { width: min(72%, 240px); height: 72px; object-position: center; }
.about__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-bottom: 4px; }
.about__facts li { display: grid; gap: 6px; font: 400 clamp(1.05rem, 1.3vw, 1.25rem)/1.25 var(--serif); max-width: 34ch; }

/* ==========================================================================
   Parcours réel — Club TT Blagnac, retail, disponibilité
   ========================================================================== */
.hero__avail, .contact__avail {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1.3 var(--sans); padding: 9px 14px 9px 12px; border-radius: 99px;
  background: var(--white); box-shadow: var(--shadow-s);
}
.hero__meta { align-items: center; }
.contact__avail { margin-top: 20px; background: rgba(244, 239, 233, .08); color: var(--paper); box-shadow: none; border: 1px solid rgba(244, 239, 233, .18); }

.chapter__role { font-size: 14px; color: var(--ink-2); }
.chapter__role b { color: var(--ink); font-weight: 600; }
.chapter__name { font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--serif); font-style: italic; letter-spacing: -.02em; }
.logo-chip--text { font: 600 14px/1 var(--sans); letter-spacing: .01em; padding: 14px 18px; }

/* Tennis de table */
.ph--sport { background: linear-gradient(160deg, #2F63B0, #1C3D78); }
.ph--sport.ph--alt { background: linear-gradient(160deg, #F29455, #D7532C); }
.ph--sport::before {
  content: ""; position: absolute; inset: 30% 12% 16%;
  border: 2px solid rgba(255, 255, 255, .85);
  background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, .85) calc(50% - 1px) calc(50% + 1px), transparent 0);
  transform: perspective(240px) rotateX(38deg); transform-origin: bottom;
}
.ph--sport.ph--alt::before { background-color: rgba(28, 61, 120, .55); }
.ph--sport::after {
  content: ""; position: absolute; left: 62%; top: 16%; width: 9%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #FFB27A 60%, #E8743B);
  box-shadow: 0 0 18px rgba(255, 190, 140, .8);
}
.ph--sport.ph--alt::after { background: radial-gradient(circle at 35% 35%, #fff, #F3EEE6 70%, #D8D0C4); }
.scene--club { --scene-bg: #DCE6F2; }

/* Communiqué de presse */
.doc { container-type: inline-size; background: var(--white); aspect-ratio: 1 / 1.3; padding: 9% 9% 11%; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.doc__head { display: flex; justify-content: space-between; gap: 4cqw; font: 400 3.4cqw/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 3.4cqw; border-bottom: 1px solid var(--line); }
.doc__title { font: 350 9cqw/1 var(--serif); letter-spacing: -.02em; margin-top: 2cqw; }
.doc__title em { color: #2F63B0; }
.doc__media { aspect-ratio: 16 / 9; border-radius: 1cqw; }
.doc__lines { display: grid; gap: 2.6cqw; }
.doc__lines i { height: 1.8cqw; border-radius: 2cqw; background: #ECE6E0; }
.doc__lines i.s { width: 55%; }

/* Post (article / LinkedIn, sans marque) */
.post { container-type: inline-size; background: var(--white); border-radius: clamp(10px, 1.2vw, 16px); padding: 6%; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.post__head b { font: 700 4.4cqw/1.1 var(--sans); }
.post__head { display: flex; align-items: center; gap: 3.4cqw; }
.post__head span:last-child { display: grid; gap: 1cqw; }
.post__head small { font: 400 3.2cqw/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post__av { width: 11cqw; height: 11cqw; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--sage), #9AA581); flex: none; }
.post__lines { display: grid; gap: 2.2cqw; }
.post__lines i { height: 1.8cqw; border-radius: 2cqw; background: #ECE6E0; }
.post__lines i.s { width: 60%; }
.post__media { aspect-ratio: 1.91 / 1; border-radius: 2cqw; }
.post__title { font: 350 6.4cqw/1.05 var(--serif); letter-spacing: -.02em; }
.post__title em { color: var(--accent); }
.post__bar { display: flex; justify-content: space-between; padding-top: 3cqw; border-top: 1px solid var(--line); font: 400 3.2cqw/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* Présentoir de parfums */
.shelf { container-type: inline-size; background: #FFF8F4; border-radius: clamp(10px, 1.2vw, 16px); padding: 7% 7% 4%; display: grid; gap: 14px; box-shadow: var(--shadow); }
.shelf__row { display: flex; align-items: flex-end; justify-content: space-around; height: 30cqw; border-bottom: 2.6cqw solid #E9CFC3; }
.shelf__row i {
  --glass: linear-gradient(100deg, rgba(255, 255, 255, .7) 0 10%, transparent 26% 70%, rgba(255, 255, 255, .4) 82%, transparent 94%);
  position: relative; width: 13cqw; height: 18cqw; border-radius: 2.6cqw 2.6cqw 1.6cqw 1.6cqw;
  background: var(--glass), linear-gradient(to top, #E8907A 0 62%, #F7E3DC 62%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 6px 10px -6px rgba(120, 50, 30, .45);
}
.shelf__row i::before { content: ""; position: absolute; left: 32%; right: 32%; bottom: 100%; height: 5cqw; background: linear-gradient(90deg, #241c18, #6a574e 45%, #241c18); border-radius: 1cqw 1cqw 0 0; }
.shelf__row i:nth-child(2) { height: 22cqw; background: var(--glass), linear-gradient(to top, #D9A76A 0 66%, #F8EBDA 66%); }
.shelf__row i:nth-child(3) { height: 16cqw; border-radius: 50% 50% 2cqw 2cqw / 34% 34% 2cqw 2cqw; background: var(--glass), linear-gradient(to top, #B98BC4 0 60%, #F1E8F4 60%); }
.shelf__row i:nth-child(4) { height: 20cqw; background: var(--glass), linear-gradient(to top, #8FB9B4 0 58%, #E8F2F0 58%); }
.shelf__row + .shelf__row i:nth-child(1) { height: 20cqw; }
.shelf__row + .shelf__row i:nth-child(2) { height: 15cqw; }
.shelf__row + .shelf__row i:nth-child(4) { height: 22cqw; }

/* Positions des scènes */
.sc-n2-chat { right: 5%; top: 21%; width: 36%; z-index: 3; }
.sc-n2-chat .chat { rotate: 3deg; }
.sc-a2-shelf { left: 6%; top: 25%; width: 56%; z-index: 1; }
.sc-a2-shelf .shelf { rotate: -2deg; }
.sc-a2-chat { right: 5%; top: 12%; width: 36%; z-index: 3; }
.sc-a2-chat .chat { rotate: 3deg; }
.sc-a2-pack { right: 9%; bottom: 6%; width: 24%; z-index: 4; }
.sc-a2-pack .polaroid { rotate: 6deg; }
.sc-a2-st1 { left: 10%; bottom: 10%; z-index: 5; }
.sc-t-doc { left: 6%; top: 19%; width: 42%; z-index: 1; }
.sc-t-doc .doc { rotate: -3deg; }
.sc-t-phone { right: 8%; top: 11%; width: 27%; z-index: 3; }
.sc-t-phone .phone { rotate: 5deg; }
.sc-t-pola { left: 43%; bottom: 5%; width: 22%; z-index: 4; }
.sc-t-pola .polaroid { rotate: -6deg; }
.sc-t-st1 { top: 8%; left: 38%; z-index: 5; }
.sc-t-st2 { bottom: 9%; right: 5%; z-index: 5; }
.sc-c2-post { right: 5%; bottom: 6%; width: 36%; z-index: 3; }
.sc-c2-post .post { rotate: 4deg; }
.sc-c2-st2 { left: 8%; bottom: 10%; z-index: 5; }

/* Positions des projets */
.q1-a { left: 17%; top: 9%; width: 27%; } .q1-a .phone { rotate: -5deg; }
.q1-b { left: 53%; top: 15%; width: 27%; } .q1-b .phone { rotate: 5deg; }
.q1-c { right: 7%; top: 8%; z-index: 2; }
.q2-a { left: 10%; top: 11%; width: 80%; } .q2-a .post { rotate: -2deg; }
.q2-b { right: 8%; bottom: 9%; z-index: 2; }
.q3-a { left: 15%; top: 8%; width: 70%; } .q3-a .doc { rotate: -2deg; }
.q3-b { right: 7%; bottom: 8%; z-index: 2; }
.q4-a { left: 10%; top: 13%; width: 70%; }
.q4-b { right: 7%; bottom: 7%; width: 17%; z-index: 2; } .q4-b .phone { rotate: 6deg; }
.q4-c { left: 7%; bottom: 9%; z-index: 3; }
.q5-a { left: 8%; top: 12%; width: 62%; } .q5-a .shelf { rotate: -2deg; }
.q5-b { right: 8%; bottom: 8%; width: 30%; z-index: 2; } .q5-b .polaroid { rotate: 5deg; }
.q5-c { left: 9%; bottom: 11%; z-index: 3; }
.q6-a { left: 10%; top: 8%; width: 62%; } .q6-a .photo { aspect-ratio: 4 / 5; rotate: -2deg; }
.q6-b { right: 8%; bottom: 8%; width: 36%; z-index: 2; } .q6-b .polaroid { rotate: 6deg; }
.q6-c { left: 8%; bottom: 9%; z-index: 3; }

@media (max-width: 640px) {
  .hero__avail { font-size: 12px; }
  .chapter__role { font-size: 13px; }
}

.hero__brands img, .brand__link img { filter: grayscale(1) brightness(.62); }
.hero__brands img:hover, .brand__link:hover img, .brand__link:focus-visible img { filter: none; }
@media (max-width: 640px) { .brand__link img { filter: none; } }


/* ==========================================================================
   HERO — couverture de magazine
   ========================================================================== */
.hero { grid-template-rows: auto 1fr; row-gap: 24px; padding-bottom: clamp(32px, 5vh, 64px); }
.hero__intro { grid-column: 1 / span 6; grid-row: 2; align-self: center; position: relative; z-index: 3; }
.hero__intro .hero__title { margin: 22px 0 0; font-size: clamp(2.8rem, 5.9vw, 7.6rem); }
.hero__intro .hero__sub { margin-top: 28px; }
.hero__avail { order: 0; }
.js .hero__avail { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.is-loaded .hero__avail { opacity: 1; transform: none; }

.hero__cover {
  grid-column: 7 / -1; grid-row: 2; align-self: center; justify-self: center;
  width: min(100%, calc((100svh - var(--nav-h) - 140px) * .8), 600px);
  padding: 3% 9% 4% 3%;
}
.covers { position: relative; aspect-ratio: 4 / 5; width: 100%; transform-style: preserve-3d; will-change: transform; }
.js .covers { opacity: 0; translate: 0 70px; scale: .94; transition: opacity 1s var(--ease) .15s, translate 1.4s var(--ease) .15s, scale 1.4s var(--ease) .15s; }
.is-loaded .covers { opacity: 1; translate: 0 0; scale: 1; }

.cover { position: absolute; inset: 0; border-radius: 4px; }
.cover--back { box-shadow: var(--shadow); transition: rotate 1.2s var(--ease) .7s, translate 1.2s var(--ease) .7s; }
.cover--back span { position: absolute; top: 3.2%; right: 5%; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.cover--b1 { background: linear-gradient(160deg, #5C6B4A, #3E4A33); rotate: 5deg; translate: 5% 1%; }
.cover--b2 { background: linear-gradient(160deg, #2F63B0, #1C3D78); rotate: 10deg; translate: 10% 3%; }
.js .cover--back { rotate: 0deg; translate: 0 0; }
.is-loaded .cover--b1 { rotate: 5deg; translate: 5% 1%; }
.is-loaded .cover--b2 { rotate: 10deg; translate: 10% 3%; }

.cover--front {
  container-type: size; overflow: hidden; rotate: -2deg;
  background:
    radial-gradient(60% 46% at 52% 62%, rgba(255, 246, 240, .9), transparent 70%),
    linear-gradient(170deg, #F6D9CE 0%, #F0C2B2 55%, #E5A693 100%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 40px 80px -36px rgba(70, 25, 12, .55), 0 14px 30px -18px rgba(70, 25, 12, .35);
}
.cover--front::after {
  content: ""; position: absolute; inset: -10%; z-index: 8; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .38) 48%, transparent 58%);
  translate: -70% 0; animation: sheen 8s ease-in-out infinite 2.4s;
}
@keyframes sheen { 0%, 70% { translate: -70% 0; } 100% { translate: 70% 0; } }

.cv { position: absolute; }
.cv-in { transition: opacity .9s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .cv-in { opacity: 0; transform: translateY(24px); }
.is-loaded .cv-in { opacity: 1; transform: none; }

.cv-strip {
  top: 0; left: 4.5cqw; right: 4.5cqw; z-index: 4; display: flex; justify-content: space-between; gap: 2cqw;
  padding: 2.8cqh 0 1.6cqh; border-bottom: 1px solid rgba(22, 18, 15, .3);
  font: 500 max(8.5px, 2.2cqw)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}

.cv-mast { top: 7cqh; left: 0; right: 0; z-index: 1; text-align: center; }
.mast { margin: 0; white-space: nowrap; font: 300 26cqw/.82 var(--serif); letter-spacing: -.05em; color: var(--ink); }
.mast-l { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em 0; margin-top: -.14em; }
.mast-l > span { display: inline-block; }
.js .mast-l > span { transform: translateY(105%); transition: transform 1.2s var(--ease); }
.mast-l:nth-child(2) > span { transition-delay: .06s; } .mast-l:nth-child(3) > span { transition-delay: .12s; }
.mast-l:nth-child(4) > span { transition-delay: .18s; } .mast-l:nth-child(5) > span { transition-delay: .24s; }
.is-loaded .mast-l > span { transform: none; }
.mast sup { font: italic 400 8.5cqw/1 var(--serif); letter-spacing: 0; color: var(--accent); vertical-align: top; position: relative; top: 1.5cqw; margin-left: 1cqw; }

.cv-portrait { left: 8cqw; right: 8cqw; bottom: 0; height: 79cqh; z-index: 2; }
.cv-portrait .cv-in, .cv-portrait__img { position: absolute; inset: 0; }
.cv-portrait__img .media__img--contain { filter: drop-shadow(0 20px 30px rgba(90, 30, 15, .25)); }
.cv-portrait .ph--cutout { padding-top: 22%; }

.cv-left, .cv-right { z-index: 3; display: grid; gap: 3cqh; }
.cv-left { left: 4.5cqw; top: 40cqh; width: 25cqw; }
.cv-right { right: 4.5cqw; top: 33cqh; width: 25cqw; text-align: right; }
.cl { font: 400 max(11px, 3.6cqw)/1.08 var(--serif); letter-spacing: -.01em; color: var(--ink); text-shadow: 0 1px 12px rgba(255, 240, 232, .7); }
.cl em { color: var(--accent-ink); }
.cl b { display: block; margin-bottom: 1cqh; font: 600 max(8px, 2cqw)/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); text-shadow: none; }
.cl--big { font-size: max(14px, 5.6cqw); font-style: italic; line-height: .98; }

.cv-tag { left: 3.5cqw; bottom: 15cqh; width: 24cqw; z-index: 4; }
.tag { position: relative; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; rotate: -12deg; box-shadow: 0 12px 24px -12px rgba(120, 30, 10, .6); }
.tag__ring { position: absolute; inset: 4%; width: 92%; animation: spin 20s linear infinite; }
.tag__ring text { font: 500 13px var(--mono); letter-spacing: 2.6px; fill: currentColor; }
.tag__in { display: grid; text-align: center; gap: .6cqw; }
.tag__in b { font: italic 400 6cqw/1 var(--serif); }
.tag__in small { font: 500 max(7px, 1.9cqw)/1.15 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

.cv-seen { left: 3.5cqw; bottom: 3.5cqh; z-index: 4; }
.seen { display: flex; align-items: center; gap: 2.4cqw; background: var(--white); padding: 1.4cqh 2.6cqw; border-radius: 99px; box-shadow: var(--shadow-s); }
.seen small { font: 500 max(7.5px, 1.8cqw)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.seen img { height: 3cqh; width: 11cqw; object-fit: contain; }

.cv-barcode { right: 4.5cqw; bottom: 3.5cqh; width: 17cqw; z-index: 4; }
.barcode { background: var(--white); padding: 1.6cqw 1.6cqw 1cqw; display: grid; gap: .8cqw; box-shadow: var(--shadow-s); }
.barcode i { height: 6cqh; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 3px, var(--ink) 3px 4px, transparent 4px 7px, var(--ink) 7px 10px, transparent 10px 11px, var(--ink) 11px 12px, transparent 12px 15px); }
.barcode span { font: 500 max(6.5px, 1.6cqw)/1 var(--mono); letter-spacing: .06em; text-align: center; }

.cv-cursor { animation-name: covercursor; z-index: 7; }
@keyframes covercursor {
  0% { translate: 70cqw 18cqh; }
  16%, 22% { translate: 50cqw 34cqh; }
  38%, 44% { translate: 16cqw 72cqh; }
  60%, 66% { translate: 80cqw 86cqh; }
  82% { translate: 82cqw 42cqh; }
  100% { translate: 70cqw 18cqh; }
}

@media (hover: none) {
  .covers { animation: sway 9s ease-in-out infinite 2s; }
}
@keyframes sway { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(1deg) translateY(-6px); } }

@media (max-width: 999px) {
  .hero { grid-template-rows: auto auto auto; row-gap: 8px; }
  .hero__cover { grid-column: 1 / -1; grid-row: 2; width: min(100%, 540px); padding: 3% 10% 5% 4%; margin: 4px auto 16px; }
  .hero__intro { grid-column: 1 / -1; grid-row: 3; }
  .hero__intro .hero__title { font-size: clamp(2.7rem, 11.5vw, 5.6rem); }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 12px); }
  .hero__cover { padding: 2% 9% 5% 2%; }
  .cover--back span { font-size: 9px; }
  .hero__avail { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-cursor, .cover--front::after { display: none; }
}

.cv-left { top: 30cqh; }
.cv-right { top: 35cqh; }
.cv-tag { width: 21cqw; bottom: 12cqh; }
@container (max-width: 440px) { .cv-strip__mid { display: none; } }

/* Couverture immobile, titre compact sur mobile */
@media (hover: none) { .covers { animation: none; } }
@media (max-width: 999px) {
  .hero__intro .hero__title { font-size: clamp(2rem, 8.2vw, 3rem); line-height: 1.04; letter-spacing: -.03em; margin-top: 18px; }
  .hero__title .line, .hero__title .line > span { display: inline; }
  .js .hero__title .line > span { transform: none; }
  .js .hero__title { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) .3s, transform .9s var(--ease) .3s; }
  .is-loaded .hero__title { opacity: 1; transform: none; }
  .hero__intro .hero__sub { margin-top: 16px; font-size: 16px; }
}

/* ==========================================================================
   Carrousel de couvertures
   ========================================================================== */
.covers { cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cover { container-type: size; overflow: hidden; transition: rotate .8s var(--ease), translate .8s var(--ease); }
.covers .cover[data-pos="0"] { z-index: 3; rotate: -2deg; translate: 0 0; }
.covers .cover[data-pos="1"] { z-index: 2; rotate: 5deg; translate: 5% 1%; }
.covers .cover[data-pos="2"] { z-index: 1; rotate: 10deg; translate: 10% 3%; }
.js body:not(.is-loaded) .covers .cover[data-pos] { rotate: -2deg; translate: 0 0; }
.covers .cover.is-out { rotate: -16deg; translate: -118% 7%; }
.covers .cover.no-trans { transition: none; }
.covers .cover:not([data-pos="0"]) { box-shadow: var(--shadow); }

/* N°02 — Parcours */
.cover--parcours { background: linear-gradient(160deg, #5C6B4A, #36412C); color: var(--paper); }
.cover--projets { background: linear-gradient(160deg, #2F63B0, #1A386E); color: var(--white); }
.cover--parcours .cv-strip, .cover--projets .cv-strip { border-bottom-color: rgba(255, 255, 255, .35); }
.cv-mast2 { top: 8.5cqh; left: 5cqw; right: 5cqw; }
.mast2 { margin: 0; font: 300 21cqw/.86 var(--serif); letter-spacing: -.05em; }
.mast2__kicker { margin: 2.6cqh 0 0; max-width: 72cqw; font: 400 max(12px, 4.6cqw)/1.1 var(--serif); }
.mast2__kicker em { color: #F6C9AC; }
.timeline { position: absolute; left: 5cqw; right: 5cqw; top: 40cqh; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .3); }
.timeline li { display: grid; grid-template-columns: 17cqw 1fr; align-items: baseline; padding: 2cqh 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.tl__year { font: 300 6.2cqw/1 var(--serif); letter-spacing: -.02em; }
.tl__body b { display: block; font: 600 max(11px, 3.6cqw)/1.15 var(--sans); }
.tl__body small { display: block; margin-top: .6cqh; font: 400 max(8px, 2.3cqw)/1.3 var(--mono); letter-spacing: .03em; opacity: .75; }
.cv-edu { left: 5cqw; right: 27cqw; bottom: 4cqh; display: grid; gap: 1.8cqh; }
.cv-edu p { margin: 0; font: 400 max(10px, 2.9cqw)/1.25 var(--serif); }
.cv-edu small { display: block; margin-bottom: .6cqh; font: 500 max(7.5px, 1.9cqw)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.cv-edu i { font-style: normal; opacity: .7; }
.cover--parcours .cv-barcode, .cover--projets .cv-barcode { color: var(--ink); }

/* N°03 — Projets */
.cover--projets .mast2__kicker em { color: #FFD2B8; }
.cv-grid { left: 5cqw; right: 5cqw; top: 37cqh; bottom: 13cqh; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 2.2cqw; }
.cv-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 1.4cqw; background: var(--white); }
.cv-grid .ph { inset: 0 0 24% 0; }
.cv-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; display: flex; align-items: center; padding: 0 1.6cqw; font: 500 max(7px, 1.9cqw)/1.1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.cv-sticker { left: 5cqw; bottom: 3.6cqh; }
.cv-sticker .sticker { font-size: max(9px, 2.2cqw); rotate: -3deg; }

/* Navigation */
.covers__nav { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.cn-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.cn-btn svg { width: 16px; height: 16px; }
.cn-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cn-dots { display: flex; gap: 8px; }
.cn-dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(22, 18, 15, .2); transition: width .5s var(--ease), background .3s; }
.cn-dots button.is-on { width: 26px; background: var(--ink); }
.cn-label { min-width: 15ch; text-align: center; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.js .covers__nav { opacity: 0; transition: opacity .8s var(--ease) 1.3s; }
.is-loaded .covers__nav { opacity: 1; }

/* Mobile : plus de titre ni de sous-titre sous le magazine */
@media (max-width: 999px) {
  .hero__intro .hero__title, .hero__intro .hero__sub {
    position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__intro .hero__actions { margin-top: 0; }
  .covers__nav { margin-top: 20px; }
}
@media (max-width: 640px) {
  .cn-label { min-width: 0; font-size: 10px; }
}

.timeline { top: 35cqh; }
.timeline li { padding: 1.6cqh 0; }
.cv-edu { bottom: 4.5cqh; }

/* ==========================================================================
   Logos en couleurs d'origine
   ========================================================================== */
.hero__brands img, .brand__link img, .brand__link:hover img { filter: none; }

/* ==========================================================================
   Mobile : À propos court, Expériences en carrousel
   ========================================================================== */
.m-only, .exp__dots { display: none; }

@media (max-width: 999px) {
  .m-only { display: revert; }
  .m-hide { display: none; }

  /* À propos */
  .about__visual { max-width: 330px; margin-bottom: 36px; }
  .about__text { gap: 22px; }
  .about__title { font-size: clamp(1.6rem, 7.4vw, 2.3rem); line-height: 1.08; }
  .about__cols { display: none; }
  .about__lead { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
  .about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .about__facts li { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-s); font: 600 15px/1.25 var(--sans); max-width: none; }
  .about__facts li:last-child { grid-column: 1 / -1; background: var(--ink); color: var(--paper); }
  .about__facts li:last-child .eyebrow { color: rgba(244, 239, 233, .6); }
  .about__traits { display: flex; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .about__traits li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; }
  .about__traits b { font-size: 1.05rem; }
  .about__traits span { display: none; }

  /* Expériences : cartes à faire glisser */
  .exp__chapters {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 22px; scrollbar-width: none;
  }
  .exp__chapters::-webkit-scrollbar { display: none; }
  .chapter {
    flex: 0 0 86%; scroll-snap-align: center; scroll-snap-stop: always; min-height: 0; padding: 12px 12px 22px; gap: 12px;
    background: var(--white); border-radius: 24px; box-shadow: var(--shadow-s);
    transition: transform .6s var(--ease), opacity .6s var(--ease);
  }
  .js .chapter:not(.is-current) { transform: scale(.93); opacity: .5; }
  .chapter > *:not(.chapter__visual) { padding: 0 6px; }
  .chapter__visual { margin-bottom: 4px; border-radius: 16px; }
  .chapter__text { display: none; }
  .chapter__title { font-size: clamp(1.4rem, 6.4vw, 1.8rem); max-width: none; }
  .chapter .tags { gap: 6px; }
  .chapter .tags li { font-size: 10.5px; padding: 6px 10px; }
  .chapter__visual .scene:not(.is-active) .sc-el { opacity: 0; transform: translateY(40px) scale(.94); transition-delay: 0s; }
  .exp__dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; }
  .exp__dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(22, 18, 15, .2); transition: width .5s var(--ease), background .3s; }
  .exp__dots button.is-on { width: 26px; background: var(--ink); }
  .exp__dots span { margin-left: 10px; font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--ink-2); }
}

@media (max-width: 999px) { .chapter__visual .sc-logo { display: none; } }

@media (max-width: 999px) { .about__title { order: 1; } .about__lead { order: 2; } .about__facts { order: 3; } .about__traits { order: 4; } }

@media (max-width: 999px) { .about__facts li.m-hide { display: none; } }

/* ==========================================================================
   MOBILE — une section = un écran, tout se manipule au doigt
   ========================================================================== */
.swipe-dots { display: none; }

@media (max-width: 999px) {
  /* Chaque axe occupe un écran */
  main > .stack--panel, main > .stack { min-height: 100svh; }
  .section { padding: calc(var(--nav-h) + 14px) var(--gutter) 26px; }
  .sec-head { margin-bottom: 18px; row-gap: 10px; }
  .sec-title, .sec-head--split .sec-title { font-size: clamp(1.75rem, 7.6vw, 2.5rem); line-height: 1.02; }
  .sec-intro { display: none; }

  /* Points de navigation des listes glissables */
  .swipe-dots, .exp__dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
  .swipe-dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(22, 18, 15, .2); transition: width .5s var(--ease), background .3s; }
  .swipe-dots button.is-on { width: 26px; background: var(--ink); }
  .swipe-dots span { margin-left: 8px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: opacity .4s; }

  [data-swipe] {
    position: relative; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
  }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * { scroll-snap-align: center; scroll-snap-stop: always; transition: transform .5s var(--ease), opacity .5s var(--ease); }
  [data-swipe] > *:not(.is-centered) { transform: scale(.95); opacity: .6; }

  /* ---------- Expertises : 3 cartes ---------- */
  .marquee { padding: 12px 0; }
  .marquee span { font-size: 1.5rem; }
  .expertises.section { padding-top: 26px; }
  .xp-list { border-top: 0; }
  .xp-row {
    flex: 0 0 84%; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 18px;
    background: var(--white); border: 0; border-radius: 22px; box-shadow: var(--shadow-s);
  }
  .xp-row__num { padding: 0; }
  .xp-row__title { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
  .xp-row:hover .xp-row__title { transform: none; }
  .xp-row__body { gap: 10px; font-size: 14px; line-height: 1.45; }
  .xp-row .tags li { font-size: 10px; padding: 6px 9px; }
  .xp-visual {
    order: -1; width: 100%; height: 28svh; margin: 0; display: flex; align-items: center; justify-content: center;
    overflow: hidden; border-radius: 16px; background: var(--paper-2);
  }
  .xp-visual .xpv { width: min(68%, 230px); }
  .xpv__st { right: -4%; bottom: -2%; }

  /* ---------- Expériences : la section se fige, les cartes défilent ---------- */
  .exp.section { padding: 0; height: 400svh; }
  .exp__pin {
    position: sticky; top: 0; height: 100svh; overflow: hidden;
    display: flex; flex-direction: column; padding: calc(var(--nav-h) + 12px) 0 18px;
  }
  .exp .sec-head { padding: 0 var(--gutter); margin-bottom: 14px; }
  .exp__grid { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0; }
  .exp__chapters {
    flex: 1; min-height: 0; display: flex; gap: 14px; overflow: visible; scroll-snap-type: none;
    margin: 0; padding: 0 8vw; will-change: transform; touch-action: pan-y;
  }
  .chapter {
    flex: 0 0 84vw; height: 100%; display: flex; flex-direction: column; gap: 8px;
    padding: 10px 10px 16px; background: var(--white); border-radius: 22px; box-shadow: var(--shadow-s);
  }
  .chapter__visual { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; margin-bottom: 2px; }
  .chapter__idx { font-size: 11px; }
  .chapter__logo { height: 30px; width: 130px; }
  .chapter__name { font-size: 1.5rem; }
  .chapter__role { font-size: 12.5px; line-height: 1.35; }
  .chapter__title { font-size: clamp(1.25rem, 5.6vw, 1.6rem); line-height: 1.05; }
  .chapter .tags li:nth-child(n+4) { display: none; }
  .exp__dots { margin-top: 12px; }

  /* ---------- Projets : 6 cartes à faire glisser ---------- */
  .projects__grid { row-gap: 0; }
  .project, .project:nth-child(n) { flex: 0 0 78%; margin-top: 0; grid-column: auto; }
  .projects__grid .p-visual { aspect-ratio: 4 / 5; }
  .project__meta { grid-template-columns: auto 1fr; gap: 10px; padding-top: 12px; }
  .project__type { display: none; }
  .project__title { font-size: 1.25rem; }

  /* ---------- À propos : tout sur un écran ---------- */
  .about.section {
    display: grid; grid-template-columns: 42% 1fr; column-gap: 14px; row-gap: 14px; align-content: center;
    grid-template-areas: "eye eye" "photo facts" "title title" "lead lead" "traits traits";
  }
  .about__text { display: contents; }
  .about__text > .eyebrow { grid-area: eye; }
  .about__visual { grid-area: photo; max-width: none; width: 100%; margin: 0; align-self: center; }
  .about__facts { grid-area: facts; grid-template-columns: 1fr; gap: 8px; align-self: center; }
  .about__facts li { padding: 10px 12px; font-size: 13px; border-radius: 14px; gap: 4px; }
  .about__facts li:last-child { grid-column: auto; }
  .about__facts .eyebrow { font-size: 10px; }
  .about__title { grid-area: title; font-size: clamp(1.2rem, 5.4vw, 1.6rem); line-height: 1.15; }
  .about__lead { grid-area: lead; font-size: 14.5px; line-height: 1.45; }
  .about__traits { grid-area: traits; }
  .about__traits li { padding: 7px 13px; }
  .about__traits b { font-size: .95rem; }
  .about__badge { width: 62px; right: -10%; bottom: 6%; }
  .about__hello { display: none; }

  /* ---------- Approche : 2 × 2 ---------- */
  .steps__track, .step::before { display: none; }
  .steps__list { grid-template-columns: 1fr 1fr; gap: 12px; padding-left: 0; }
  .step { gap: 6px; padding: 14px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-s); }
  .step__num { font-size: 2.6rem; padding: 0; background: none; }
  .step h3 { font-size: 1.15rem; margin-top: 2px; }
  .step p { font-size: 13px; line-height: 1.4; }
  .js .step:not(.is-on) > *:not(.step__num) { opacity: 1; transform: none; }

  /* ---------- Marques ---------- */
  .brands__head { margin-bottom: 18px; }
  .brands__title { font-size: clamp(1.75rem, 7.6vw, 2.5rem); }
  .brand__link { padding: 28px 16px; gap: 12px; }
  .brand__link img { height: 54px; }

  /* ---------- Contact ---------- */
  .contact { padding: calc(var(--nav-h) + 20px) var(--gutter) 24px; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
  .contact__row { margin-top: 32px; gap: 28px; }
  .footer { margin-top: 40px; }
}

@media (max-width: 999px) {
  .expertises.section, .brands.section, .projects.section, .approach.section { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .stack--panel:has(> .expertises) { display: flex; flex-direction: column; }
  .stack--panel:has(> .expertises) > .expertises { flex: 1; min-height: 0; }
}

/* ==========================================================================
   Liens entreprises, logos ESP, icônes, footer
   ========================================================================== */
.chapter__link {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--accent-ink);
  padding: 8px 12px; border: 1px solid rgba(226, 73, 47, .3); border-radius: 99px;
  transition: background .3s, color .3s;
}
.chapter__link svg { width: 12px; height: 12px; }
.chapter__link:hover { background: var(--accent); color: var(--white); }

.edu-logo { display: block; height: max(16px, 4.2cqw); width: auto; margin: .4cqh 0 1cqh; }
.fact-logo { display: block; height: 22px; width: auto; margin: 2px 0 4px; }
.about__facts li:last-child .fact-logo { filter: invert(1); }

.contact .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.contact .ico { width: 16px; height: 16px; --in-glyph: var(--ink); }

.footer {
  display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 28px;
  margin-top: clamp(64px, 9vw, 140px); padding-top: 28px; border-top: 1px solid rgba(244, 239, 233, .15);
  font: 400 13px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: rgba(244, 239, 233, .7);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand .nav__mark { background: var(--paper); color: var(--ink); flex: none; }
.footer__brand p { display: grid; gap: 2px; margin: 0; }
.footer__brand b { color: var(--paper); font-weight: 600; font-size: 15px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a { color: rgba(244, 239, 233, .8); transition: color .3s; }
.footer__nav a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; }
.social {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(244, 239, 233, .25); color: var(--paper); --in-glyph: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--paper); color: var(--ink); --in-glyph: var(--paper); transform: translateY(-3px); }
.footer__bottom {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid rgba(244, 239, 233, .1);
  font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 239, 233, .5);
}

@media (max-width: 999px) {
  .hero__meta { display: none; }
  .hero__cover { margin-top: 0; }
  .chapter__link { padding: 6px 10px; font-size: 11px; }
  .chapter__visual + .chapter__idx { margin-top: 2px; }

  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; margin-top: 28px; padding-top: 22px; }
  .footer__brand { flex-direction: column; gap: 8px; }
  .footer__nav { justify-content: center; gap: 6px 16px; }
  .footer__bottom { justify-content: center; flex-direction: column; align-items: center; gap: 8px; padding-top: 14px; }
  .contact__links { gap: 18px; }
  .contact__links .link-u { font-size: 1.15rem; word-break: break-all; }
}

@media (max-width: 999px) {
  .contact { padding-top: calc(var(--nav-h) + 6px); }
  .contact__q { font-size: 1.15rem; }
  .contact__avail { margin-top: 12px; font-size: 12px; }
  .contact__title { font-size: clamp(3.6rem, 19vw, 6rem); margin-top: 8px; }
  .contact__row { margin-top: 18px; gap: 18px; flex-direction: row; align-items: center; flex-wrap: nowrap; }
  .contact__cta { width: 104px; flex: none; }
  .contact__links { flex-direction: column; gap: 12px; min-width: 0; }
  .contact__links .link-u { font-size: 1rem; }
  .copy { padding: 6px 9px; }
  .footer { margin-top: 20px; gap: 14px; }
}

/* ==========================================================================
   Éditeur WordPress (projet La Collab) + photo de conseil (Adopt)
   ========================================================================== */
.wp { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f0f0f1; color: #1d2327; }
.wp__bar { height: 4.2cqw; flex: none; display: flex; align-items: center; gap: 2cqw; padding: 0 2cqw; background: #1d2327; color: #f0f0f1; font: 500 1.6cqw/1 var(--sans); }
.wp__logo { width: 2.8cqw; height: 2.8cqw; border-radius: 50%; border: .25cqw solid #f0f0f1; display: grid; place-items: center; font: 700 1.6cqw/1 Georgia, serif; }
.wp__bar-r { margin-left: auto; opacity: .8; }
.wp__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 17cqw 1fr 19cqw; }
.wp__side { display: flex; flex-direction: column; padding-top: 1cqw; background: #1d2327; }
.wp__side span { padding: 1.15cqw 1.6cqw; font: 400 1.45cqw/1 var(--sans); color: #c3c4c7; }
.wp__side span.on { background: #2271b1; color: #fff; }
.wp__editor { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.wp__toolbar { height: 4.6cqw; flex: none; display: flex; align-items: center; gap: 1.4cqw; padding: 0 1.6cqw; border-bottom: 1px solid #dcdcde; }
.wp__toolbar i { width: 2.2cqw; height: 2.2cqw; border-radius: .4cqw; background: #e0e0e0; }
.wp__plus { width: 2.6cqw; height: 2.6cqw; display: grid; place-items: center; border-radius: .4cqw; background: #1d2327; color: #fff; font: 600 2cqw/1 var(--sans); }
.wp__save { margin-left: auto; padding: 1cqw 1.6cqw; border-radius: .4cqw; background: #2271b1; color: #fff; font: 600 1.4cqw/1 var(--sans); }
.wp__canvas { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1.6cqw; padding: 3cqw 5cqw; overflow: hidden; }
.wp__title { font: 400 3.6cqw/1.05 var(--serif); letter-spacing: -.02em; }
.wp__title em { color: var(--accent); }
.wp__p { display: grid; gap: 1cqw; margin: 0; }
.wp__p i { height: 1.1cqw; border-radius: 1cqw; background: #e7e7e7; }
.wp__p i.s { width: 60%; }
.wp__img { flex: 1; min-height: 8cqw; border-radius: .5cqw; box-shadow: 0 0 0 .3cqw #2271b1; }
.wp__sel { position: absolute; top: 0; left: 0; z-index: 2; padding: .5cqw .9cqw; background: #2271b1; color: #fff; font: 500 1.1cqw/1 var(--sans); }
.wp__panel { display: flex; flex-direction: column; gap: 1.6cqw; padding: 2cqw 1.6cqw; border-left: 1px solid #dcdcde; background: #fff; font: 400 1.3cqw/1.2 var(--sans); color: #50575e; }
.wp__panel b { font: 600 1.5cqw/1 var(--sans); color: #1d2327; }
.wp__panel span { display: flex; justify-content: space-between; gap: 1cqw; }
.wp__panel em { font-style: normal; color: #2271b1; }
.wp__toggle { position: relative; width: 3.6cqw; height: 2cqw; border-radius: 2cqw; background: #2271b1; }
.wp__toggle::after { content: ""; position: absolute; top: .3cqw; right: .3cqw; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #fff; }
.sticker--wp { background: #2271b1; color: var(--white); rotate: -3deg; }

.sc-a2-photo { left: 6%; top: 19%; width: 50%; z-index: 1; }
.sc-a2-photo .photo { aspect-ratio: 4 / 5; rotate: -2deg; }
.q5-a { left: 8%; top: 8%; width: 58%; }
.q5-a .photo { aspect-ratio: 4 / 5; rotate: -2deg; }

/* Expertises : visuels avec vraies photos */
.xpv--mkt .post { width: 100%; rotate: -2deg; }
.xpv__chip {
  position: absolute; left: -8%; top: 18%; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 99px; background: var(--ink); color: var(--paper);
  font: 500 10.5px/1 var(--mono); letter-spacing: .04em; white-space: nowrap; box-shadow: var(--shadow-s); rotate: -4deg;
}
.xpv__chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.xpv--client .photo { aspect-ratio: 4 / 5; rotate: 2deg; }
.xpv__bubble { position: absolute; left: -10%; bottom: 22%; z-index: 2; margin: 0; max-width: 72%; font: 500 13px/1.3 var(--sans); padding: 10px 13px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-s); }
@media (max-width: 999px) {
  .xp-visual .xpv--client { width: min(54%, 190px); }
  .xpv__chip { left: -4%; font-size: 9.5px; }
  .xpv__bubble { left: -14%; font-size: 11px; }
}

/* ==========================================================================
   Magazine : pages qui se tournent
   ========================================================================== */
.covers .cover { transform-origin: left center; }
.covers .cover[data-pos="0"] { rotate: -2deg; translate: 0 0; }
.covers .cover[data-pos="1"] { rotate: -2deg; translate: 1.4% 1.2%; }
.covers .cover[data-pos="2"] { rotate: -2deg; translate: 2.8% 2.4%; }
.covers .cover:not([data-pos="0"]) { filter: brightness(.94); }
.covers .cover.is-turned { animation: pageTurn 1s var(--ease-io) forwards; pointer-events: none; }
.covers .cover.is-returning { animation: pageReturn 1s var(--ease-io) forwards; }
@keyframes pageTurn {
  0% { transform: perspective(1800px) rotateY(0); opacity: 1; }
  50% { transform: perspective(1800px) rotateY(-90deg); }
  80% { opacity: 1; }
  100% { transform: perspective(1800px) rotateY(-178deg); opacity: 0; }
}
@keyframes pageReturn {
  0% { transform: perspective(1800px) rotateY(-178deg); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: perspective(1800px) rotateY(-90deg); }
  100% { transform: perspective(1800px) rotateY(0); opacity: 1; }
}

/* Verso des pages (visible pendant qu'elles tournent) */
.page-back { position: absolute; inset: 0; z-index: 30; opacity: 0; pointer-events: none; transform: scaleX(-1); background: #FBF6F1; color: var(--ink); }
.page-back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(60, 30, 20, .14)); }
.cover.is-turned .page-back { animation: backShow 1s linear forwards; }
.cover.is-returning .page-back { animation: backHide 1s linear forwards; }
@keyframes backShow { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes backHide { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
.pb { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3.4cqh; padding: 9cqh 8cqw; }
.pb__kicker { font: 500 max(9px, 2.4cqw)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-bottom: 2cqh; border-bottom: 1px solid var(--line); }
.pb__title { margin: 0; font: 350 9cqw/1 var(--serif); letter-spacing: -.03em; }
.pb__title em { color: var(--accent); }
.pb__text { margin: 0; font: 400 max(11px, 3.6cqw)/1.45 var(--sans); color: var(--ink-2); }
.pb__sign { margin: 0; font: italic 400 7cqw/1 var(--serif); }
.pb__toc { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 1.6cqh; border-top: 1px solid var(--line); padding-top: 2cqh; }
.pb__toc li { display: flex; gap: 3cqw; font: 400 max(12px, 4cqw)/1 var(--serif); }
.pb__toc b { font: 500 max(9px, 2.4cqw)/1.6 var(--mono); color: var(--accent); }
.pb__tags { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 1.6cqw; }
.pb__tags li { padding: 1.4cqw 2.4cqw; border: 1px solid var(--line); border-radius: 99px; font: 500 max(9px, 2.5cqw)/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }

/* Coin corné sur la couverture */
.cover--front { clip-path: polygon(0 0, 100% 0, 100% 89%, 86.5% 100%, 0 100%); }
.fold {
  position: absolute; right: 0; bottom: 0; z-index: 9; width: 13.5cqw; height: 11cqh;
  background: linear-gradient(to top left, transparent 50%, #FBF1EC 50%, #F0DCD3);
  filter: drop-shadow(-3px -3px 4px rgba(70, 25, 12, .2));
}
.fold span {
  position: absolute; left: 6%; top: 30%; rotate: -39deg;
  font: 600 max(7px, 1.8cqw)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}

.cover--front .cv-barcode { bottom: 14cqh; }
.timeline { top: 33cqh; }
.timeline li { padding: 1.3cqh 0; }
.cv-edu { bottom: 3.5cqh; gap: 1cqh; }
.edu-logo { height: max(14px, 3.6cqw); margin: .2cqh 0 .6cqh; }

.xpv__chip { top: auto; bottom: 30%; }

/* ==========================================================================
   Menu mobile : ouverture en douceur
   ========================================================================== */
.mmenu {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  visibility: hidden; pointer-events: none;
  clip-path: circle(0 at calc(100% - var(--gutter) - 22px) calc(var(--nav-h) / 2));
  transition: clip-path .65s var(--ease-io), visibility 0s linear .65s;
}
.mmenu.is-open {
  visibility: visible; pointer-events: auto;
  clip-path: circle(160% at calc(100% - var(--gutter) - 22px) calc(var(--nav-h) / 2));
  transition: clip-path .8s var(--ease-io), visibility 0s;
}
.mmenu a, .mmenu__foot {
  animation: none; opacity: 0; transform: translateY(34px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.mmenu.is-open a, .mmenu.is-open .mmenu__foot {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  transition-delay: calc(.22s + var(--i) * .06s);
}
.mmenu nav a { position: relative; overflow: hidden; }
.mmenu nav a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.mmenu.is-open nav a::after { transform: scaleX(1); transition-delay: calc(.35s + var(--i) * .06s); }
.mmenu__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mmenu__avail { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 12px/1.3 var(--sans); color: var(--ink-2); }
.mmenu__social { display: flex; gap: 8px; }
.mmenu .social { border-color: var(--line); color: var(--ink); --in-glyph: var(--paper); }
.mmenu .social:hover { background: var(--ink); color: var(--paper); --in-glyph: var(--ink); }
/* le nom et le bouton restent au-dessus du menu */
.nav.is-menu { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (prefers-reduced-motion: reduce) {
  .mmenu, .mmenu.is-open { clip-path: none; transition: none; }
}

.mmenu .mmenu__social a.social { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; font-size: 0; opacity: 1; transform: none; }
.mmenu .mmenu__social a.social::after { display: none; }

.cv-grid__img { position: absolute; inset: 0 0 24% 0; }
.cv-grid .cv-grid__img .ph { inset: 0; }

/* ==========================================================================
   Expertises : cartes mobiles retravaillées
   ========================================================================== */
@media (max-width: 999px) {
  .xp-row { position: relative; padding: 0; gap: 0; overflow: hidden; border-radius: 24px; }
  .xp-visual { height: 36svh; max-height: 330px; border-radius: 0; }
  .xp-row:nth-child(1) .xp-visual { background: #DCE6F2; }
  .xp-row:nth-child(2) .xp-visual { background: var(--blush); }
  .xp-row:nth-child(3) .xp-visual { background: #EADBC4; }
  .xp-visual .xpv { width: min(66%, 250px); }
  .xp-visual .xpv--stories { width: min(80%, 290px); }
  .xp-visual .xpv--client { width: min(56%, 210px); }
  .xp-row__num {
    position: absolute; top: 14px; left: 14px; z-index: 3;
    padding: 7px 11px; border-radius: 99px; background: var(--white); color: var(--accent);
    font-size: 12px; box-shadow: var(--shadow-s);
  }
  .xp-row__title { padding: 18px 18px 0; font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1; }
  .xp-row__body { padding: 10px 18px 20px; gap: 12px; max-width: none; }
  .xp-row__body p { margin: 0; }
  .xp-row .tags li:nth-child(n+4) { display: none; }
}

/* ==========================================================================
   Expertises (sans photos) → Projets filtrés
   ========================================================================== */
.xp-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; justify-self: start;
  font: 600 14px/1 var(--sans); color: var(--ink); padding: 11px 16px; border: 1px solid var(--ink); border-radius: 99px;
  transition: background .3s, color .3s, gap .4s var(--ease);
}
.xp-link svg { width: 16px; height: 16px; }
.xp-link:hover { background: var(--ink); color: var(--paper); gap: 12px; }

.pfilters { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 clamp(32px, 4vw, 56px); }
.pfilters button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 99px;
  border: 1px solid var(--line); font: 500 14px/1 var(--sans); color: var(--ink-2); background: var(--white);
  transition: background .3s, color .3s, border-color .3s;
}
.pfilters button sup { font: 500 10px/1 var(--mono); opacity: .6; }
.pfilters button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.project[hidden] { display: none; }
.project.is-shown { animation: projIn .7s var(--ease) both; }
@keyframes projIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }

@media (min-width: 1000px) {
  .projects__grid.is-filtered { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .projects__grid.is-filtered .project { grid-column: auto; margin-top: 0; }
  .projects__grid.is-filtered .p-visual { aspect-ratio: 4 / 5; }
}

@media (max-width: 999px) {
  .pfilters { margin: 0 calc(-1 * var(--gutter)) 14px; padding: 0 var(--gutter); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pfilters::-webkit-scrollbar { display: none; }
  .pfilters button { flex: none; padding: 9px 14px; font-size: 13px; }

  /* Expertises : 3 cartes empilées, lisibles d'un coup d'œil */
  .xp-list { display: grid; gap: 10px; margin: 0; padding: 0; overflow: visible; }
  .xp-row {
    flex: none; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px;
    padding: 16px 16px 18px; border-radius: 20px; transform: none; opacity: 1; box-shadow: none;
  }
  .xp-row:nth-child(1) { background: #DCE6F2; }
  .xp-row:nth-child(2) { background: var(--blush); }
  .xp-row:nth-child(3) { background: #EADBC4; }
  .xp-row__num { position: static; grid-row: 1 / span 2; padding: 0; background: none; box-shadow: none; font: 300 2.4rem/.9 var(--serif); color: var(--accent); }
  .xp-row__title { padding: 0; font-size: clamp(1.3rem, 6vw, 1.6rem); }
  .xp-row__body { padding: 0; gap: 10px; }
  .xp-row__body p { font-size: 13.5px; line-height: 1.4; }
  .xp-row .tags { display: none; }
  .xp-link { padding: 9px 14px; font-size: 13px; background: rgba(255, 255, 255, .6); border-color: rgba(22, 18, 15, .25); }
}

/* Mobile : chaque section couvre tout l'écran, barre d'adresse cachée ou non
   (évite qu'on voie les sections précédentes en dessous pendant le scroll) */
@media (max-width: 999px) {
  main > .stack--panel, main > .stack,
  .expertises.section, .brands.section, .projects.section, .approach.section, .contact {
    min-height: 100vh;
    min-height: 100lvh;
  }
  .stack { will-change: auto; }
}

/* Mobile : pas d'empilement collant (la barre d'adresse le rend instable).
   Les sections pleine hauteur défilent simplement l'une après l'autre. */
@media (max-width: 999px) {
  .stack { position: relative; top: auto; }
  .stack::after { display: none; }
  .stack--panel { box-shadow: 0 -18px 40px -30px rgba(48, 28, 18, .35); }
}

/* Mobile : profondeur retrouvée (la section qui sort recule et s'assombrit) */
@media (max-width: 999px) {
  .stack::after { display: block; }
  .stack { transform-origin: 50% 0; }
}

/* Code-barre en image : reste lisible même si le navigateur force le mode sombre */
.barcode-img { display: block; width: 100%; height: auto; box-shadow: var(--shadow-s); }

/* À propos sur ordinateur : tout tient sur un écran */
@media (min-width: 1000px) {
  .about.section { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 48px; min-height: 100vh; align-content: center; }
  .about__visual { grid-column: 1 / span 5; max-width: 470px; justify-self: center; width: 100%; }
  .about__frame { width: min(100%, calc((100vh - var(--nav-h) - 120px) * .8)); aspect-ratio: 4 / 5; margin: 0 auto; }
  .about__text { gap: 22px; }
  .about__title { font-size: clamp(1.8rem, 2.6vw, 2.7rem); line-height: 1.08; }
  .about__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .about__facts li { max-width: none; padding: 12px 14px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-s); font: 500 14px/1.35 var(--sans); }
  .about__facts li:last-child { background: var(--ink); color: var(--paper); }
  .about__facts li:last-child .eyebrow { color: rgba(244, 239, 233, .6); }
  .about__facts .eyebrow { font-size: 10.5px; }
  .about__cols { font-size: 15px; line-height: 1.55; gap: 20px; }
  .about__traits li { padding-top: 14px; }
  .about__traits b { font-size: 1.2rem; }
}

@media (min-width: 1000px) {
  .about__cols { grid-template-columns: 1fr; }
  .about__cols p + p { display: none; }
  .about__text { gap: 18px; }
  .about.section { padding-top: calc(var(--nav-h) + 16px); padding-bottom: 32px; }
}
