/* =========================================================
   Hermann Nyama — Portfolio
   Palette & logo: brand kit · Layout & feel: KOTA-inspired
   ========================================================= */

/* Couleurs, polices, espacements : voir tokens.css (généré depuis design-tokens.json) */

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

html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }

body {
  background: var(--forest-deep);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--cream); color: var(--forest); }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { opacity: .55; }
.light { font-weight: 250; }

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .7;
}

.h2 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 96px);
  line-height: .95;
  letter-spacing: -.035em;
  margin: 14px 0 0;
}

.section-head { margin-bottom: clamp(40px, 6vw, 88px); }
.section-head--split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}
.section-note { max-width: 340px; margin: 0; opacity: .7; font-size: 15px; }

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / .6);
  animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(var(--accent-rgb) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0); } }

/* ============ PRELOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--forest);
  display: grid; place-items: center;
  transition: transform 1s var(--ease) .1s;
}
.loader__mark {
  width: 96px; height: 88px; color: var(--cream);
  clip-path: inset(100% 0 0 0);
  animation: markIn 1.1s var(--ease) .15s forwards;
}
@keyframes markIn { to { clip-path: inset(0 0 0 0); } }
.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 13px; opacity: .8;
}
.loader__count {
  font-family: var(--f-display); font-variation-settings: "wdth" 125;
  font-weight: 800; font-size: clamp(48px, 9vw, 120px); line-height: .8; letter-spacing: -.04em;
}
.loader.is-done { transform: translateY(-100%); }

/* ============ CURSOR ============ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--cream);
  pointer-events: none; mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s;
}
.cursor__label {
  font-size: 12px; font-weight: 600; color: var(--forest);
  opacity: 0; transform: scale(.6); transition: .3s var(--ease); white-space: nowrap;
}
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-media {
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  mix-blend-mode: normal; background: var(--cream);
}
.cursor.is-media .cursor__label { opacity: 1; transform: none; }
/* 2026-12-01 : le petit point du curseur disparaît au-dessus du portrait d'À propos (on voit la photo se révéler) */
.cursor.is-cache { opacity: 0; transition: opacity .2s; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============ NAV (pills) ============ */
.nav {
  position: fixed; top: 14px; left: var(--gutter); right: var(--gutter); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__right { display: flex; gap: 8px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  background: rgb(var(--forest-2-rgb) / .55);
  border: 1px solid rgb(var(--cream-rgb) / .14);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(var(--white-rgb) / .08), 0 8px 24px rgb(var(--black-rgb) / .18);
  color: var(--cream);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
.pill:hover { transform: translateY(-1px); }
.pill--logo { white-space: nowrap; padding: 0 18px 0 14px; font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 700; letter-spacing: -.01em; }
.pill__mark { width: 22px; height: 20px; flex-shrink: 0; }
.pill--links { gap: 4px; padding: 0 6px; }
.pill--links a { padding: 8px 14px; border-radius: 999px; opacity: .75; transition: background .3s, opacity .3s; }
.pill--links a:hover, .pill--links a.is-active { background: rgb(var(--cream-rgb) / .12); opacity: 1; }
.pill--menu { width: 46px; padding: 0; justify-content: center; flex-direction: column; gap: 5px; display: none; }
.pill--menu span { width: 16px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.pill--light { background: rgb(var(--cream-rgb) / .9); color: var(--forest); border-color: rgb(var(--forest-rgb) / .12); }

/* Bouton de langue FR / EN (même famille que les pastilles du menu) */
.pill--lang { gap: 6px; padding: 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
/* 2026-12-01 (audit) : « FR » assez contrasté (4,5:1 minimum), mais toujours plus pâle que la langue proposée */
.pill--lang__ici { opacity: .72; }
.pill--lang__sep { opacity: .5; font-weight: 400; }
.pill--lang:hover .pill--lang__ici { opacity: 1; }
.pill--lang:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.menu__langue {
  align-self: flex-start; margin-bottom: 18px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgb(var(--cream-rgb) / .3); font-weight: 600; font-size: 15px;
}
.menu__langue i { font-style: normal; opacity: .6; }
/* 2026-12-01 : flèche ↗ vectorielle (au lieu du caractère, affiché en emoji sur iPhone) */
.fleche-svg { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; }
/* Sur téléphone, le menu du haut manque de place : le choix de langue est dans le menu mobile */
@media (max-width: 760px) { .nav .pill--lang { display: none; } }

/* Nav over light sections */
.nav.on-light .pill:not(.pill--light) {
  background: rgb(var(--cream-rgb) / .62);
  color: var(--forest);
  border-color: rgb(var(--forest-rgb) / .1);
}
.nav.on-light .pill--links a:hover, .nav.on-light .pill--links a.is-active { background: rgb(var(--forest-rgb) / .08); }

/* "Me contacter" — inverted pill with rolling label + spinning monogram */
.nav .pill.pill--cta {
  padding: 0 18px 0 5px; gap: 10px;
  background: var(--cream); color: var(--forest); border-color: transparent;
}
.nav.on-light .pill.pill--cta { background: var(--forest); color: var(--cream); border-color: transparent; }
.cta__badge {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--forest); color: var(--cream);
  transition: transform .7s var(--ease), background .4s, color .4s;
}
.nav.on-light .cta__badge { background: var(--cream); color: var(--forest); }
.cta__badge svg { width: 17px; height: 16px; }
.cta__roll { display: grid; height: 1.3em; overflow: hidden; line-height: 1.3; }
.cta__roll span { transition: transform .55s var(--ease); white-space: nowrap; }
.pill--cta:hover .cta__roll span, .pill--cta[aria-expanded="true"] .cta__roll span { transform: translateY(-100%); }
.pill--cta:hover .cta__badge { transform: rotate(-360deg); }
.pill--cta[aria-expanded="true"] .cta__badge { transform: rotate(-180deg) scale(.9); }
.pill--cta .dot { margin-left: 2px; }

/* Contact card — a business card that drops in from the nav */
.ccard {
  position: fixed; z-index: 95;
  top: calc(14px + 46px + 10px); right: var(--gutter);
  width: min(420px, calc(100vw - var(--gutter) * 2));
  perspective: 1200px;
  pointer-events: none;
}
.ccard__card {
  position: relative;
  background: var(--forest); color: var(--cream);
  border-radius: 22px; padding: 30px 28px 24px;
  box-shadow: 0 40px 80px rgb(var(--shadow-rgb) / .45), inset 0 1px 0 rgb(var(--white-rgb) / .06);
  transform-origin: 85% 0;
  opacity: 0; transform: rotateX(-35deg) translateY(-14px) scale(.94);
  transition: opacity .35s var(--ease), transform .7s var(--ease);
  overflow: hidden;
}
.ccard__card::after { /* subtle paper grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ccard.is-open { pointer-events: auto; }
.ccard.is-open .ccard__card { opacity: 1; transform: none; }
.crop { position: absolute; width: 12px; height: 12px; border-color: rgb(var(--cream-rgb) / .35); border-style: solid; border-width: 0; }
.crop--tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.crop--tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.crop--bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.crop--br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }
.ccard__front > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ccard.is-open .ccard__front > * { opacity: 1; transform: none; }
.ccard.is-open .ccard__front > :nth-child(2) { transition-delay: .06s; }
.ccard.is-open .ccard__front > :nth-child(3) { transition-delay: .12s; }
.ccard.is-open .ccard__front > :nth-child(4) { transition-delay: .18s; }
.ccard.is-open .ccard__front > :nth-child(5) { transition-delay: .24s; }
.ccard.is-open .ccard__front > :nth-child(6) { transition-delay: .3s; }
.ccard__head { display: flex; align-items: flex-end; gap: 16px; }
.ccard__mark { width: 62px; height: 57px; flex-shrink: 0; }
.ccard__name { margin: 0; display: flex; flex-direction: column; font-family: var(--f-display); font-variation-settings: "wdth" 125; line-height: .95; }
.ccard__name span { font-weight: 300; font-size: 26px; letter-spacing: -.02em; }
.ccard__name b { font-weight: 900; font-size: 30px; letter-spacing: .02em; }
.ccard__role { margin: 20px 0 0; font-size: 15px; line-height: 1.45; }
.ccard__role span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.ccard__status { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 18px; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgb(var(--cream-rgb) / .07); }
.ccard__rows { display: grid; border-top: 1px solid rgb(var(--cream-rgb) / .14); }
.ccard__row {
  display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid rgb(var(--cream-rgb) / .14);
  text-align: left; font-size: 14px; width: 100%;
}
.ccard__row small { font-size: 11px; opacity: .55; }
.ccard__row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard__row em { font-style: normal; font-size: 11px; opacity: .55; transition: opacity .3s; }
button.ccard__row:hover em { opacity: 1; }
button.ccard__row:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.ccard__socials { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.ccard__socials a {
  padding: 7px 13px; border-radius: 999px; font-size: 13px;
  border: 1px solid rgb(var(--cream-rgb) / .2); transition: background .3s, color .3s;
}
.ccard__socials a:hover { background: var(--cream); color: var(--forest); }
.ccard__cta {
  display: flex; justify-content: space-between; align-items: center;
  height: 56px; padding: 0 8px 0 22px; border-radius: 999px;
  background: var(--cream); color: var(--forest); font-weight: 600; font-size: 15px;
}
.ccard__cta i {
  font-style: normal; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest); color: var(--cream);
  transition: transform .5s var(--ease);
}
.ccard__cta:hover i { transform: rotate(45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--forest);
  padding: calc(var(--nav-h) + 40px) var(--gutter) var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 37px);
  transition: clip-path .8s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 37px); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 800;
  font-size: clamp(32px, 11vw, 72px); line-height: 1.05; letter-spacing: -.04em; /* 2026-12-01 : « Disciplines » tient à 320 px */
  padding: 6px 0; border-bottom: 1px solid rgb(var(--cream-rgb) / .1);
  display: flex; align-items: baseline; gap: 14px;
}
.menu__links small { font-family: var(--f-body); font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: .5; }
.menu__foot { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin: 0; }
body.menu-open .pill--menu span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .pill--menu span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; background: var(--cream); color: var(--forest); }
/* 2026-12-02 : la mise en page du Hero est portée par sa « scène » (fixe à l'écran pendant la transition) */
.hero__stage {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 150px;
  text-align: center;
}
/* Transition immersive Hero → À propos (classe .hero--trans posée par script.js, sauf pause / mouvement réduit) :
   la scène reste fixe pendant ~1,3 écran de défilement; les mots s'écartent, la pastille grandit en cadre (.hero__fly)
   qui finit posé exactement sur la photo d'À propos. */
.hero--trans { height: 200vh; height: 200svh; }
.hero--trans .hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.hero--trans .hero__title .w { will-change: transform, opacity; }
.hero__fly { display: none; }
.hero--trans .hero__fly {
  display: block; position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  overflow: hidden; background: var(--cream); opacity: 0;
  box-shadow: 0 30px 70px rgb(var(--forest-rgb) / .22);
  will-change: transform, width, height, border-radius, opacity;
}
.hero__fly img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 0; }
/* À propos pendant le relais : sa photo arrive déjà dévoilée, et n'apparaît qu'une fois le cadre volant posé */
.ap--relais .ap__cadre { clip-path: none !important; visibility: hidden; }
.ap--relais .ap__plan { scale: 1 !important; }
.ap--relais.ap--pose .ap__cadre { visibility: visible; }
.ap--relais:not(.ap--pose) .ap__photo::before { opacity: 0 !important; }
.hero__watermark {
  position: absolute; right: -8vw; bottom: -12vw;
  width: min(70vw, 980px); height: auto; aspect-ratio: 125 / 114;
  color: var(--sage); opacity: .1; pointer-events: none;
}
.hero__title {
  position: relative;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 125;
  font-size: clamp(34px, 9.6vw, 168px);
  line-height: .92; letter-spacing: -.045em;
  margin: 0;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title .line { display: flex; align-items: center; justify-content: center; gap: .18em; flex-wrap: nowrap; }
.hero__title .w { display: inline-block; overflow: hidden; padding: .04em 0 .1em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero__title .light { font-weight: 250; }
.hero__title .heavy { font-weight: 900; }
.hero__title .gap { width: .5em; }
.is-ready .hero__title .w > span { transform: none; }

.hero__pill {
  position: relative;
  display: inline-block;
  width: 0; height: .78em;
  border-radius: 999px; overflow: hidden;
  background: var(--video-bg);
  box-shadow: 0 10px 30px rgb(var(--forest-rgb) / .25);
  transition: width 1.2s var(--ease) .5s;
  flex-shrink: 0;
}
.is-ready .hero__pill { width: 1.3em; }
/* Pill ratio keeps the logo + name of the square video fully in frame */
.hero__pill video { width: 100%; height: 100%; object-fit: cover; }

.hero__rule { width: 72px; height: 2px; background: var(--forest); margin: clamp(28px, 3vw, 44px) auto 18px; position: relative; }
.hero__disciplines {
  position: relative; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px;
  font-family: var(--f-display); font-variation-settings: "wdth" 125;
  font-size: clamp(11px, 1vw, 14px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.hero__disciplines i { font-style: normal; opacity: .4; }

.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 52px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  font-size: 13px; text-align: left;
}
.hero__foot p { margin: 0; line-height: 1.4; }
.hero__foot .right { text-align: right; }
.hero__foot .hero__scroll { grid-column: 2; } /* 2026-11-24 : seul élément restant, gardé au centre */
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; opacity: .7; }
.hero__scroll-line { width: 1px; height: 44px; background: rgb(var(--forest-rgb) / .2); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--forest); animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

.reveal-up { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .reveal-up { opacity: 1; transform: none; }
.is-ready .hero__rule { transition-delay: .55s; }
.is-ready .hero__disciplines { transition-delay: .65s; }
.is-ready .hero__foot .reveal-up { transition-delay: .8s; }

/* ============ REEL ============ */
.reel {
  position: relative; z-index: 1; height: 260vh; background: var(--forest-deep);
  border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(var(--radius) * -1);
}
.reel__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.reel__row {
  --p: 0;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 2vw, 32px);
  font-family: var(--f-display); font-variation-settings: "wdth" 110;
  font-weight: 500; font-size: clamp(48px, 10vw, 170px); letter-spacing: -.05em; line-height: 1;
  text-transform: uppercase;
}
.reel__word { transition: none; will-change: transform, opacity; }
.reel__frame {
  position: relative; overflow: hidden; flex-shrink: 0;
  width: 2.3em; height: 1em; border-radius: 999px;
  background: var(--forest-2);
  border: 1px solid rgb(var(--cream-rgb) / .14);
  box-shadow: inset 0 1px 0 rgb(var(--white-rgb) / .08);
  will-change: width, height, border-radius;
}
.reel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__play {
  position: absolute; left: 50%; top: 50%;
  width: clamp(44px, 5vw, 72px); height: clamp(44px, 5vw, 72px); margin: calc(clamp(44px, 5vw, 72px) / -2);
  border-radius: 50%; display: grid; place-items: center;
  background: rgb(var(--cream-rgb) / .14); border: 1px solid rgb(var(--cream-rgb) / .3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), background .3s;
}
.reel__play svg { width: 40%; height: 40%; margin-left: 6%; }
.reel__frame:hover .reel__play { transform: scale(1.12); background: var(--cream); color: var(--forest); }
.reel__meta { position: absolute; font-size: 13px; opacity: .7; }
.reel__meta--tl { top: calc(50% - clamp(60px, 9vw, 140px)); left: max(var(--gutter), 12vw); }
.reel__meta--br { bottom: calc(50% - clamp(60px, 9vw, 140px)); right: max(var(--gutter), 12vw); }

/* ============ ABOUT ============ */
.about {
  background: var(--cream); color: var(--forest);
  padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 10vw, 140px);
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative; z-index: 2; margin-top: calc(var(--radius) * -1);
}
.about__text {
  font-family: var(--f-display); font-variation-settings: "wdth" 100;
  font-weight: 500; font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1.12; letter-spacing: -.03em;
  max-width: 1180px; margin: 20px 0 clamp(70px, 9vw, 130px);
}
.about__text .word { opacity: .14; transition: opacity .4s linear; }
.about__text .word.on { opacity: 1; }
/* About intro: collage on the left, text on the right */
.about__intro {
  display: grid; grid-template-columns: minmax(280px, .82fr) 1.4fr; gap: clamp(36px, 5vw, 90px);
  align-items: center; margin: 28px 0 clamp(70px, 9vw, 130px);
}
.about__intro .about__text { margin: 0; font-size: clamp(24px, 2.9vw, 46px); }

/* Collage — brand blocks + cut-outs of the same portrait, assembled on reveal */
.collage { position: relative; aspect-ratio: 4 / 4.8; width: 100%; }
.about { overflow-x: clip; } /* rotated collage pieces must not widen the page */
.collage > * {
  position: absolute; margin: 0;
  transform: translate(var(--fx, 0), var(--fy, 0)) rotate(calc(var(--r, 0deg) * 3)) scale(.86);
  opacity: 0;
  transition: transform 1.2s var(--ease) var(--d, 0s), opacity .7s var(--ease) var(--d, 0s);
}
.collage.in > * { transform: rotate(var(--r, 0deg)); opacity: 1; }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }

.collage__block { border-radius: calc(var(--radius) - 4px); }
.collage__block--sage { left: 0; top: 4%; width: 72%; height: 60%; background: var(--sage); --r: -6deg; --fx: -40px; --fy: -20px; }
.collage__block--forest {
  right: 0; bottom: 3%; width: 50%; height: 40%; background: var(--forest); --r: 4deg; --fx: 40px; --fy: 30px; --d: .08s;
  display: grid; place-items: center; overflow: hidden;
}
.collage__block--forest svg { width: 78%; height: auto; aspect-ratio: 125 / 114; color: var(--cream); opacity: .14; transform: translate(18%, 22%); }
.collage__main {
  left: 11%; top: 9%; width: 60%; aspect-ratio: 3 / 4;
  padding: 9px 9px 34px; background: var(--cream); border-radius: 10px;
  box-shadow: 0 26px 50px rgb(var(--forest-rgb) / .22);
  --r: 2.5deg; --fy: 50px; --d: .16s; z-index: 2;
}
.collage__main img { border-radius: 4px; object-position: 50% 28%; filter: grayscale(.25); }
.collage__main::after {
  content: "hermann.jpg"; position: absolute; left: 12px; bottom: 9px;
  font-size: 11px; letter-spacing: .06em; color: var(--forest); opacity: .6;
}
.collage__circle {
  right: 4%; top: 2%; width: 33%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--cream); box-shadow: 0 14px 30px rgb(var(--forest-rgb) / .2);
  --r: -8deg; --fx: 40px; --fy: -30px; --d: .26s; z-index: 3;
}
.collage__circle img { object-position: 49% 27%; transform: scale(2.6); transform-origin: 49% 27%; }
.collage__duo {
  left: 2%; bottom: 0; width: 34%; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: var(--forest); box-shadow: 0 14px 30px rgb(var(--forest-rgb) / .25);
  --r: -4deg; --fx: -40px; --fy: 40px; --d: .34s; z-index: 3;
}
.collage__duo img { filter: grayscale(1) contrast(1.15); mix-blend-mode: screen; opacity: .85; object-position: 52% 60%; transform: scale(1.8); transform-origin: 50% 62%; }
.collage__tape {
  width: 22%; height: 7%; background: rgb(var(--cream-rgb) / .72);
  box-shadow: 0 2px 6px rgb(var(--forest-rgb) / .08); z-index: 4; --d: .5s;
}
.collage__tape--a { left: 6%; top: 6%; --r: -32deg; }
.collage__tape--b { left: 56%; top: 62%; --r: 28deg; }
.collage__sticker {
  right: 8%; bottom: 40%; z-index: 5; padding: 9px 16px; border-radius: 999px;
  background: var(--forest); color: var(--cream); font-size: 13px; font-weight: 500; white-space: nowrap;
  --r: -7deg; --fx: 30px; --d: .6s;
}
.collage__note {
  right: 2%; bottom: 6%; z-index: 5; font-family: var(--f-display); font-variation-settings: "wdth" 120;
  font-weight: 800; font-size: 14px; color: var(--cream); letter-spacing: -.01em;
  --r: 4deg; --d: .7s;
}
/* Playful hover: the pieces breathe apart */
.collage.in:hover .collage__main { transform: rotate(-1deg) scale(1.02); }
.collage.in:hover .collage__circle { transform: rotate(-14deg) translate(8px, -6px); }
.collage.in:hover .collage__duo { transform: rotate(-9deg) translate(-8px, 6px); }
.collage.in:hover .collage__sticker { transform: rotate(-2deg) translateX(6px); }
.collage.in:hover .collage__main img { filter: none; }
.collage > * { transition-property: transform, opacity; }
.collage.in:hover > * { transition-delay: 0s; transition-duration: .7s; }

/* Fun fact stat */
.stat--fact .stat__label i { font-style: normal; color: var(--sage-2); margin-left: 4px; }
.stat--fact p { max-width: 330px; }

/* Portrait card in place of the third stat — same height as its neighbours */
.stat--portrait { margin: 0; display: flex; flex-direction: column; }
.portrait {
  position: relative; overflow: hidden;
  flex: 1; min-height: 240px; margin-top: 14px;
  border-radius: var(--radius);
  background: var(--cream-3);
  clip-path: inset(100% 0 0 0 round var(--radius));
  transition: clip-path 1.3s var(--ease) .15s;
}
.portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%;
  filter: grayscale(.35); transform: scale(1.35);
  transition: filter .9s var(--ease), transform 1.8s var(--ease) .15s;
}
/* Reveal: the frame wipes up while the photo settles from a zoom */
.stat--portrait.in .portrait { clip-path: inset(0 0 0 0 round var(--radius)); }
.stat--portrait.in .portrait img { transform: scale(1.06); }
.stat--portrait:hover .portrait img { filter: none; transform: scale(1); transition-delay: 0s; }
.portrait__tag {
  position: absolute; left: 12px; bottom: 12px;
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgb(var(--forest-rgb) / .55); color: var(--cream);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  font-size: 13px;
  transform: translateY(8px); opacity: .92; transition: transform .6s var(--ease), opacity .6s;
}
.portrait__tag b { font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 800; font-size: 14px; letter-spacing: -.02em; }
.portrait__tag span { opacity: .75; }
.stat--portrait:hover .portrait__tag { transform: none; opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); border-top: 1px solid rgb(var(--forest-rgb) / .15); }
.stat { padding-top: 22px; }
.stat__label { font-size: 13px; opacity: .6; }
.stat__num {
  display: block;
  font-family: var(--f-display); font-variation-settings: "wdth" 112;
  font-weight: 400; font-size: clamp(64px, 9vw, 140px); line-height: 1; letter-spacing: -.06em;
  margin: 14px 0 18px;
}
.stat p { margin: 0; max-width: 300px; font-size: 15px; opacity: .75; }

/* ============ DISCIPLINES (stack) ============ */
.disciplines { background: var(--cream); color: var(--forest); padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 160px); position: relative; z-index: 2; }
.stack { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 48px); }
.card {
  position: sticky; top: calc(var(--nav-h) + 16px + var(--i) * 18px);
  background: var(--forest); color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 44px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px);
  transform-origin: 50% 0;
  box-shadow: 0 -10px 40px rgb(var(--forest-deep-rgb) / .15);
  will-change: transform;
}
.card:nth-child(even) { background: var(--forest-2); }
.card__top {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 20px;
  border-bottom: 1px solid rgb(var(--cream-rgb) / .14); padding-bottom: clamp(16px, 2vw, 26px);
}
.card__num { font-size: 14px; opacity: .55; }
.card__title {
  margin: 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 120;
  font-weight: 800; font-size: clamp(30px, 4.6vw, 72px); line-height: 1; letter-spacing: -.04em;
}
.card__tag { font-size: 13px; opacity: .6; text-align: right; }
.card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.card__meta { margin: 0; display: grid; gap: 16px; }
.card__meta dt { font-size: 12px; opacity: .5; margin-bottom: 2px; }
.card__meta dd { margin: 0; font-size: 15px; }
.card__desc { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; opacity: .85; max-width: 46ch; }
.card__media {
  border-radius: calc(var(--radius) - 8px); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--forest-deep);
}
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; }
.card__media--banner { background: var(--banner); }
.card__media--banner img { object-fit: contain; transform: scale(1.35); transform-origin: 20% 50%; }
.card__media--photos { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; background: transparent; }
.card__media--photos .ph { border-radius: 12px; }

/* Browser mockup (web) */
.card__media--browser { background: var(--cream-3); display: grid; place-items: center; padding: 7%; }
.browser {
  width: 100%; height: 100%;
  border-radius: 12px; overflow: hidden;
  background: var(--forest);
  box-shadow: 0 30px 60px rgb(var(--forest-deep-rgb) / .35);
  display: flex; flex-direction: column;
}
.browser__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: var(--forest-2); font-size: 11px; color: rgb(var(--cream-rgb) / .55);
}
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--cream-rgb) / .22); }
.browser__bar span { margin: 0 auto; padding: 2px 16px; border-radius: 999px; background: rgb(var(--cream-rgb) / .06); }
.browser__screen {
  position: relative; flex: 1; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; padding: 0 9%;
}
.browser__screen p {
  position: relative; margin: 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 125;
  font-size: clamp(20px, 3vw, 46px); line-height: .95; letter-spacing: -.04em;
}
.browser__screen p .light { font-weight: 250; }
.browser__screen p b { font-weight: 900; }
.browser__screen small { position: relative; margin-top: 14px; font-size: clamp(7px, .7vw, 10px); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.browser__wm { position: absolute; right: -6%; bottom: -16%; width: 55%; height: auto; aspect-ratio: 125 / 114; color: var(--sage); opacity: .35; }

/* Photo placeholders — swap the .ph blocks for <img> once your photos are ready */
.ph {
  position: relative; overflow: hidden;
  display: grid; place-items: end start;
  background: var(--forest-2);
}
.ph::before { content: ""; position: absolute; inset: 0; }
.ph::after {
  content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph--a::before { background: radial-gradient(60% 50% at 35% 35%, var(--ph-a-1) 0%, transparent 70%), linear-gradient(160deg, var(--ph-a-2), var(--ph-a-3)); }
.ph--b::before { background: radial-gradient(70% 60% at 70% 30%, var(--ph-b-1) 0%, transparent 60%), linear-gradient(200deg, var(--ph-b-2), var(--ph-b-3)); }
.ph--c::before { background: linear-gradient(180deg, var(--ph-c-1) 0%, var(--ph-c-2) 45%, var(--ph-c-3) 100%); }
.ph > span {
  position: relative; z-index: 1; margin: 12px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgb(var(--forest-deep-rgb) / .45); color: var(--cream);
  backdrop-filter: blur(6px);
}

/* ============ PROJECTS ============ */
.projects { background: var(--forest-deep); padding: clamp(100px, 12vw, 180px) 0 clamp(60px, 8vw, 120px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px;
  border: 1px solid rgb(var(--cream-rgb) / .18); opacity: .75;
  transition: background .3s, color .3s, opacity .3s;
}
.chip:hover { opacity: 1; }
.chip.is-active { background: var(--cream); color: var(--forest); opacity: 1; border-color: var(--cream); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.proj { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.proj.is-hidden { display: none; }
.proj--wide { grid-column: 1 / -1; }
.proj__media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3.2; background: var(--forest-2);
}
.proj--wide .proj__media { aspect-ratio: 16 / 7; }
.proj__media > img, .proj__media > video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj:hover .proj__media > img, .proj:hover .proj__media > video { transform: scale(1.04); }
.proj__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 4px 0; }
.proj__info h3 { margin: 0; font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.proj__info span { font-size: 13px; opacity: .55; white-space: nowrap; }

/* Identity showcase */
.proj__media--identity {
  background: var(--cream); color: var(--forest);
  display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 60px);
}
.identity__mark { width: clamp(80px, 12vw, 190px); height: auto; aspect-ratio: 125 / 114; transition: transform 1.2s var(--ease); }
.proj:hover .identity__mark { transform: rotate(-6deg) scale(1.04); }
.identity__word { display: flex; flex-direction: column; font-family: var(--f-display); font-variation-settings: "wdth" 125; line-height: .95; letter-spacing: -.02em; }
.identity__word span { font-weight: 300; font-size: clamp(28px, 4.2vw, 68px); }
.identity__word b { font-weight: 900; font-size: clamp(32px, 4.8vw, 78px); letter-spacing: .02em; }
.identity__swatches { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 6px; }
.identity__swatches i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 1px solid rgb(var(--forest-rgb) / .2); }

/* Business card flip */
.proj__media--card { background: var(--cream-3); display: grid; place-items: center; perspective: 1400px; }
.bizcard {
  position: relative; width: 66%; aspect-ratio: 3.5 / 2;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-14deg);
  transition: transform 1.1s var(--ease);
}
.proj:hover .bizcard { transform: rotateX(4deg) rotateY(180deg); }
.bizcard__face {
  position: absolute; inset: 0; border-radius: 6px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 25px 50px rgb(var(--forest-deep-rgb) / .35);
  display: flex; align-items: center; padding: 8%;
}
.bizcard__front { background: var(--print-forest); color: var(--cream); justify-content: flex-end; }
.bizcard__front > svg { position: absolute; right: 12%; top: 18%; width: 24%; height: auto; aspect-ratio: 125 / 114; }
.bizcard__front p { position: absolute; right: 12%; bottom: 14%; margin: 0; display: flex; flex-direction: column; font-family: var(--f-display); font-variation-settings: "wdth" 125; line-height: 1; width: 24%; }
.bizcard__front p span { font-weight: 300; font-size: clamp(7px, .95vw, 14px); }
.bizcard__front p b { font-weight: 900; font-size: clamp(8px, 1.05vw, 16px); }
.bizcard__back { background: var(--cream); color: var(--print-forest); transform: rotateY(180deg); gap: 9%; }
.bizcard__back > svg { width: 28%; height: auto; aspect-ratio: 125 / 114; flex-shrink: 0; }
.bizcard__back div { display: flex; flex-direction: column; border-left: 2px solid var(--print-forest); padding-left: 9%; font-size: clamp(8px, .9vw, 13px); line-height: 1.35; }
.bizcard__back b { font-size: 1.15em; }
.bizcard__back small { margin-top: 10px; opacity: .7; }

.proj__media--web { background: var(--sage); display: grid; place-items: center; padding: 5% 14% 0; align-items: end; }
.browser--lg { height: 92%; border-radius: 14px 14px 0 0; transition: transform 1.2s var(--ease); }
.proj:hover .browser--lg { transform: translateY(-3%); }

/* ============ PHOTO STRIP ============ */
.photo { background: var(--forest-deep); padding: clamp(60px, 8vw, 120px) 0 clamp(100px, 12vw, 180px); overflow: hidden; }
.strip {
  display: flex; gap: clamp(12px, 1.6vw, 24px); align-items: flex-end;
  padding: 0 var(--gutter); width: max-content;
  will-change: transform;
}
.shot { margin: 0; flex-shrink: 0; width: clamp(220px, 24vw, 380px); }
.shot .ph { aspect-ratio: 4 / 5; border-radius: calc(var(--radius) - 6px); }
.shot--tall .ph { aspect-ratio: 3 / 4.4; }
.shot--wide { width: clamp(300px, 36vw, 580px); }
.shot--wide .ph { aspect-ratio: 3 / 2; }
.shot figcaption { display: flex; justify-content: space-between; padding: 12px 2px 0; font-size: 13px; }
.shot figcaption span:last-child { opacity: .5; }

/* ============ PROCESS ============ */
/* 2026-11-24 : fond vert forêt de la charte (cartes crème dessus), demande du designer */
.process { background: var(--forest); color: var(--cream); padding: clamp(100px, 12vw, 180px) 0; border-radius: var(--radius) var(--radius) 0 0; }
.process .pstep { color: var(--forest); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.steps li {
  background: var(--cream); border-radius: calc(var(--radius) - 6px);
  padding: clamp(20px, 2vw, 30px); min-height: 280px;
  display: flex; flex-direction: column;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.steps li:hover { background: var(--forest); color: var(--cream); transform: translateY(-6px); }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; }
.step__top > span { font-size: 13px; opacity: .55; }
.step__icon {
  width: 56px; height: 56px; padding: 14px; border-radius: 50%;
  background: var(--cream-2); overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.steps li:hover .step__icon { background: rgb(var(--cream-rgb) / .1); transform: rotate(-10deg) scale(1.06); }
.step__icon .spin, .step__icon .pop, .step__icon .fly, .step__icon .pulse { transform-box: fill-box; transform-origin: center; transition: transform .7s var(--ease); }
.steps li:hover .step__icon .spin { transform: rotate(180deg); }
.steps li:hover .step__icon .pop { transform: translate(2px, -2px); fill: currentColor; }
.steps li:hover .step__icon .fly { transform: translate(3px, -3px); }
.steps li:hover .step__icon .pulse { transform: scaleX(1.25); }
.steps h3 {
  margin: auto 0 10px;
  font-family: var(--f-display); font-variation-settings: "wdth" 120;
  font-weight: 800; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.035em;
}
.steps p { margin: 0; font-size: 15px; opacity: .75; }

/* ---------- Four-step cards ---------- */
.process__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gutter); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.process__title {
  margin: 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 118;
  font-weight: 800; font-size: clamp(38px, 5.4vw, 84px); line-height: 1; letter-spacing: -.04em;
}
.process__title .light { font-weight: 250; }
.process__l1 { white-space: nowrap; } /* 2026-11-24 : « Mes quatre étapes » sur une seule ligne */
@media (max-width: 560px) { .process__title { font-size: 8.4vw; } }
.process__pill {
  display: inline-block; vertical-align: -.1em;
  width: 1.6em; height: .82em; border-radius: 999px; overflow: hidden;
  background: var(--forest-2); box-shadow: 0 0 0 1px rgb(var(--cream-rgb) / .18);
  transform: rotate(-4deg); transition: transform .6s var(--ease), width .6s var(--ease);
}
.process__pill img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 27%; transform: scale(2.3); transform-origin: 49% 27%; }
.process__title:hover .process__pill { transform: rotate(0); width: 2em; }
.process__intro { margin: 0; max-width: 440px; justify-self: end; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; opacity: .75; }

/* ---- Les 4 étapes (2026-12-02) : cartes égales, tout visible, STATIQUES au survol (demande du designer) ----
   Barre de couleur en haut + fin contour (inspiré de la référence, coins arrondis gardés).
   Icône au trait remplie d'un dégradé vert de la charte qui glisse doucement; grand numéro à droite.
   Sans animation (téléphone, tablette, pause, mouvement réduit) : simple grille. */
.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.pstep {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(300px, 28vw, 400px);
  background: var(--cream); border-radius: var(--radius);
  padding: calc(clamp(20px, 2vw, 30px) + 6px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px);
  box-shadow: inset 0 0 0 1px rgb(var(--forest-rgb) / .16); /* fin contour */
}
.pstep::before { /* barre de couleur en haut */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: var(--sage-2);
}
.pstep__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: clamp(20px, 2.4vw, 36px); }
.pstep__ic {
  display: block; flex-shrink: 0; width: clamp(48px, 4.2vw, 64px); aspect-ratio: 1;
  background: linear-gradient(90deg, var(--forest), var(--sage-2), var(--forest)); background-size: 200% 100%;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
  animation: pstep-degrade 6s linear infinite;
}
.pstep__ic--ecouter { --ic: url("../img/etapes/ecouter.svg"); }
.pstep__ic--explorer { --ic: url("../img/etapes/explorer.svg"); }
.pstep__ic--construire { --ic: url("../img/etapes/construire.svg"); }
.pstep__ic--livrer { --ic: url("../img/etapes/livrer.svg"); }
@keyframes pstep-degrade { to { background-position: -200% 0; } }
.anim-pause .pstep__ic { animation: none; }
@media (prefers-reduced-motion: reduce) { .pstep__ic { animation: none; } }
.pstep__n {
  font-family: var(--f-display); font-variation-settings: "wdth" 100; font-weight: 500;
  font-size: clamp(34px, 3vw, 48px); line-height: .9; letter-spacing: -.04em; opacity: .4;
}
.pstep h3 { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; letter-spacing: -.03em; }
.pstep > p { margin: auto 0 0; padding-top: 24px; font-size: 15px; line-height: 1.6; opacity: .72; }
.psteps .pstep[data-reveal] { transition-delay: calc(var(--i, 0) * .12s); }

/* Ordinateur avec animations (classe .is-pin posée par script.js) :
   la section reste fixe à l'écran (--pin-h de hauteur de défilement); la rangée glisse vers la gauche (--tx)
   et chaque carte monte du bas l'une après l'autre (--ty), au rythme exact du défilement. */
@media (min-width: 1025px) {
  .process.is-pin { height: var(--pin-h, 320vh); padding: 0; overflow: clip; } /* 2026-12-04 : 260 → 320vh, place pour la sortie des cartes */
  .process.is-pin > .container {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: clip; overflow-clip-margin: 0;
  }
  .process.is-pin .process__head { margin-bottom: clamp(32px, 4vw, 60px); }
  .process.is-pin .psteps {
    display: flex; gap: clamp(14px, 1.4vw, 22px); width: max-content;
    transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform;
  }
  .process.is-pin .pstep {
    flex: 0 0 auto; width: var(--carte-w, clamp(260px, 22vw, 380px)); height: min(clamp(380px, 32vw, 480px), 56vh); min-height: 0;
    transform: translate3d(0, var(--ty, 0px), 0); will-change: transform;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .psteps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .process__head { grid-template-columns: 1fr; }
  .process__intro { justify-self: start; }
  .psteps { grid-template-columns: 1fr; }
  .pstep { min-height: 0; } /* 2026-12-02 : sur téléphone, la carte prend la hauteur de son contenu */
  .pstep__top { margin-bottom: 18px; }
  .pstep > p { padding-top: 12px; }
}

/* ============ CONTACT ============ */
.contact { background: var(--cream); color: var(--forest); padding: clamp(100px, 12vw, 180px) 0 clamp(100px, 12vw, 160px); }
.contact__title {
  margin: 18px 0 clamp(40px, 5vw, 70px);
  font-family: var(--f-display); font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: clamp(52px, 12vw, 210px); line-height: .88; letter-spacing: -.055em;
}
.contact__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; border-top: 1px solid rgb(var(--forest-rgb) / .15); padding-top: 28px; }
.contact__row p { margin: 0; max-width: 380px; font-size: 17px; }
.contact__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--forest); color: var(--cream); }
.btn--dark span { transition: transform .4s var(--ease); }
.btn--dark:hover span { transform: translate(3px, -3px); }
.btn--ghost { border: 1px solid rgb(var(--forest-rgb) / .25); color: var(--forest); }
.btn--ghost:hover { background: rgb(var(--forest-rgb) / .06); }

/* ============ FOOTER (light) ============ */
.footer {
  position: relative; overflow: hidden;
  background: var(--white); color: var(--forest);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(var(--radius) * -1);
  padding-bottom: 20px;
}

/* Info grid */
.footer__grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 32px; align-items: start;
  padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
}
.footer__grid ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.footer__grid p { margin: 0; }
.footer__col a { position: relative; transition: opacity .3s; }
.footer__col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__logo { display: inline-flex; align-items: center; gap: 18px; }
.footer__logo svg { width: clamp(64px, 6vw, 92px); height: auto; aspect-ratio: 125 / 114; transition: transform .8s var(--ease); }
.footer__logo:hover svg { transform: rotate(-8deg) scale(1.05); }
.footer__logo > span { display: flex; flex-direction: column; font-family: var(--f-display); font-variation-settings: "wdth" 125; line-height: .92; }
.footer__logo > span span { font-weight: 300; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.02em; }
.footer__logo > span b { font-weight: 900; font-size: clamp(30px, 3vw, 46px); letter-spacing: .02em; }
.footer__tagline { margin-top: 22px !important; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .5; }

/* Social icons */
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgb(var(--forest-rgb) / .2);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s;
}
.socials a::after { display: none; }
.socials a:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); transform: translateY(-4px) rotate(-6deg); }
.socials svg { width: 22px; height: 22px; }
.socials svg text { fill: currentColor; font-family: var(--f-display); font-weight: 800; font-size: 13.5px; letter-spacing: -.6px; }
.socials svg.stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: currentColor; }

/* Local time: live analog watch (Ottawa) */
.tclock { margin-top: 16px; }
.tclock__face { width: clamp(130px, 11vw, 160px); height: auto; aspect-ratio: 1; overflow: visible; }
.tclock__rim { fill: var(--cream-2); stroke: rgb(var(--forest-rgb) / .18); stroke-width: 1; }
.tclock__ticks line { stroke: var(--forest); stroke-width: 1; opacity: .35; }
.tclock__ticks line.major { stroke-width: 2; opacity: .9; }
.tclock__h, .tclock__m, .tclock__s { stroke-linecap: round; transform-origin: 50px 50px; }
.tclock__h { stroke: var(--forest); stroke-width: 3.4; }
.tclock__m { stroke: var(--forest); stroke-width: 2.2; }
.tclock__s { stroke: var(--sage); stroke-width: 1; transition: transform .25s cubic-bezier(.4, 2.2, .5, 1); }
.tclock__pin { fill: var(--forest); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; border-top: 1px solid rgb(var(--forest-rgb) / .12); padding-top: 18px; margin-top: 18px;
}
.footer__bottom > span { opacity: .55; }
.totop { position: relative; width: 92px; height: 92px; display: grid; place-items: center; flex-shrink: 0; }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.totop__ring text { fill: var(--forest); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--f-body); font-weight: 500; }
.totop__arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: var(--cream); font-size: 18px;
  transition: transform .5s var(--ease);
}
.totop:hover .totop__arrow { transform: translateY(-4px) scale(1.08); }
.totop:hover .totop__ring { animation-duration: 4s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer — green palette */
.footer { background: var(--forest); color: var(--cream); }
.footer .label { color: var(--cream); }
.footer .socials a { border-color: rgb(var(--cream-rgb) / .25); }
.footer .socials a:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.footer .footer__bottom { border-top-color: rgb(var(--cream-rgb) / .14); }
.footer .totop__ring text { fill: var(--cream); }
.footer .totop__arrow { background: var(--cream); color: var(--forest); }

/* ============ MINI-GAME (kerning) ============ */
.game { background: var(--forest-deep); padding: clamp(100px, 12vw, 170px) 0 calc(clamp(100px, 12vw, 170px) + var(--radius)); }
.game__board {
  background: var(--forest-2);
  border: 1px solid rgb(var(--cream-rgb) / .1);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 32px);
}
.game__hud { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.game__hud b { font-weight: 600; }
.game__hint { opacity: .5; }
.game__total b { display: inline-block; min-width: 3ch; }
.game__stage {
  position: relative;
  display: grid; place-items: center;
  min-height: clamp(220px, 30vw, 380px);
  margin: 18px 0;
  border-radius: calc(var(--radius) - 8px);
  background:
    linear-gradient(rgb(var(--cream-rgb) / .05) 1px, transparent 1px) 0 0 / 100% 25%,
    var(--forest);
  overflow: hidden;
}
.game__stage::before, .game__stage::after { /* baseline + x-height guides */
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgb(var(--accent-rgb) / .35);
}
.game__stage::before { top: var(--base, 60%); }
.game__stage::after { top: var(--cap, 40%); }
.game__word {
  grid-area: 1 / 1;
  font-family: var(--f-display); font-variation-settings: "wdth" 100;
  font-weight: 700; font-size: var(--fs, 120px); line-height: 1; letter-spacing: 0;
  white-space: nowrap; user-select: none;
}
.game__word span { display: inline-block; }
.game__word--play span.movable {
  cursor: ew-resize; touch-action: none;
  border-radius: 6px; outline: none;
  transition: color .3s, background .3s;
}
.game__word--play span.movable:hover, .game__word--play span.movable:focus-visible { color: var(--mint); }
.game__word--play span.movable.dragging { color: var(--mint); }
.game__word--play span.fixed { opacity: .55; }
.game__word--play.locked span { transition: transform .9s var(--ease), color .3s; cursor: default; }
.game__word--ghost {
  color: transparent; -webkit-text-stroke: 1.5px rgb(var(--mint-rgb) / .8);
  opacity: 0; transition: opacity .5s var(--ease);
}
.game.show-ghost .game__word--ghost { opacity: 1; }
.game__result {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(16px, 3vw, 40px);
  min-height: 84px; padding: 4px 0 20px;
}
.game__score { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-display); font-variation-settings: "wdth" 120; }
.game__score span { font-weight: 800; font-size: clamp(48px, 6vw, 84px); letter-spacing: -.05em; line-height: 1; }
.game__score small { opacity: .5; font-size: 14px; }
.game__fact { margin: 0; max-width: 62ch; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5; opacity: 0; transform: translateY(8px); transition: .6s var(--ease); }
.game__fact b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 4px; }
.game.show-ghost .game__fact { opacity: 1; transform: none; }
.game__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--line { border: 1px solid rgb(var(--cream-rgb) / .25); color: var(--cream); }
.btn--line:hover { background: rgb(var(--cream-rgb) / .08); }

/* Pause typo — white version */
.game { background: var(--white); color: var(--forest); overflow-x: clip; }
.game .h2 { white-space: nowrap; }
/* the title widens while it "kerns" in — it must not push the intro paragraph around */
@media (min-width: 761px) {
  .game .section-head--split { flex-wrap: nowrap; }
  .game .section-head--split > div { flex: 1 1 0; min-width: 0; }
  .game .section-note { flex-shrink: 0; position: relative; z-index: 1; }
}
.game .game__board { background: var(--cream); border-color: rgb(var(--forest-rgb) / .08); }
.game .game__stage {
  background: linear-gradient(rgb(var(--forest-rgb) / .06) 1px, transparent 1px) 0 0 / 100% 25%, var(--white);
  box-shadow: inset 0 0 0 1px rgb(var(--forest-rgb) / .06);
}
.game .game__stage::before, .game .game__stage::after { background: rgb(var(--sage-rgb) / .45); }
.game .game__word--play span.movable:hover, .game .game__word--play span.movable:focus-visible,
.game .game__word--play span.movable.dragging { color: var(--sage-2); }
.game .game__word--ghost { -webkit-text-stroke-color: rgb(var(--sage-2-rgb) / .9); }
.game .game__fact b { color: var(--sage-2); }
.game .btn--light { background: var(--forest); color: var(--cream); }
.game .btn--light:hover { background: var(--forest-2); }
.game .btn--line { border-color: rgb(var(--forest-rgb) / .25); color: var(--forest); }
.game .btn--line:hover { background: rgb(var(--forest-rgb) / .06); }
.btn[hidden] { display: none; }

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 180;
  background: rgb(var(--forest-deep-rgb) / .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__video { width: min(1200px, 100%); max-height: 80vh; border-radius: var(--radius); background: var(--black); }
.modal__close { position: absolute; top: 14px; right: var(--gutter); }

/* Generic in-view reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============ PROJECTS — "Dig into our work" slider ============ */
.work { background: var(--cream); color: var(--forest); padding: clamp(110px, 13vw, 180px) 0 clamp(80px, 10vw, 130px); position: relative; z-index: 2; }
.work__head { display: grid; grid-template-columns: 1fr; gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.work__title {
  margin: 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 118;
  font-weight: 800; font-size: clamp(44px, 6.4vw, 104px); line-height: .96; letter-spacing: -.045em;
}
/* 2026-12-01 (choix du designer) : « projets » prend la même couleur que le reste du titre (vert forêt), sans pastille */
.work__title em { font-style: normal; font-weight: 900; color: inherit; }
.work__intro p { margin: 0 0 18px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; opacity: .75; }
.work__link { display: inline-flex; gap: 8px; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.work__link span { transition: transform .4s var(--ease); }
.work__link:hover span { transform: translateX(5px); }

.work__slider {
  display: flex; gap: clamp(14px, 1.8vw, 26px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter); scrollbar-width: none; cursor: grab; outline: none;
}
.work__slider::-webkit-scrollbar { display: none; }
.work__slider.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.work__slider.is-dragging .wcard { pointer-events: none; }
.wcard {
  position: relative; display: block; flex: 0 0 clamp(290px, 42vw, 620px); aspect-ratio: 1 / .97;
  overflow: hidden; scroll-snap-align: start; background: var(--forest-2); color: var(--cream);
  border-radius: var(--radius); isolation: isolate; /* 2026-11-24 : vignettes arrondies (isolation : le zoom reste dans l'arrondi) */
  user-select: none; -webkit-user-drag: none;
}
.wcard__media { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.wcard__media > img, .wcard__media > video { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.wcard__media .ph { position: absolute; inset: 0; }
.wcard__media.proj__media--identity { background: var(--cream-2); }
.wcard__media.proj__media--card { display: grid; place-items: center; perspective: 1400px; }
.wcard__media.proj__media--card .bizcard { width: 66%; }
.wcard:hover .bizcard { transform: rotateX(4deg) rotateY(180deg); }
.wcard__media.proj__media--web { padding: 12% 10% 0; display: grid; align-items: end; }
.wcard__media.proj__media--web .browser--lg { height: 88%; }
.wcard:hover .wcard__media { transform: scale(1.04); }

.wcard__over {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: clamp(22px, 3vw, 44px);
  background: linear-gradient(180deg, rgb(var(--forest-deep-rgb) / .35) 0%, rgb(var(--forest-deep-rgb) / .82) 100%);
  opacity: 1; transition: opacity .45s var(--ease);
}
/* 2026-12-01 (demande du designer) : le panneau est affiché par défaut; au survol, il s'efface et révèle
   l'image du projet dans ses vraies couleurs (le texte glisse vers le bas en partant, l'un après l'autre).
   Au clavier, le panneau reste visible pour que le texte soit lu. */
.wcard__over > * { transform: none; opacity: 1; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.wcard:hover .wcard__over { opacity: 0; }
.wcard:hover .wcard__over > * { transform: translateY(18px); opacity: 0; }
.wcard:hover .wcard__over > :nth-child(2) { transition-delay: .05s; }
.wcard:hover .wcard__over > :nth-child(3) { transition-delay: .1s; }
.wcard__client { font-size: 14px; opacity: .8; }
.wcard__over h3 {
  margin: 0; max-width: 14ch;
  font-family: var(--f-display); font-variation-settings: "wdth" 115;
  font-weight: 800; font-size: clamp(26px, 2.9vw, 46px); line-height: 1.02; letter-spacing: -.035em;
}
.wcard__tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wcard__tags li { padding: 6px 13px; border-radius: 999px; border: 1px solid rgb(var(--cream-rgb) / .55); font-size: 12.5px; }

.work__nav { display: flex; align-items: center; gap: 24px; margin-top: clamp(24px, 3vw, 40px); }
.work__bar { flex: 1; height: 2px; background: rgb(var(--forest-rgb) / .14); position: relative; overflow: hidden; border-radius: 2px; }
.work__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--forest); transition: width .3s var(--ease); }
.work__hint { font-size: 13px; opacity: .55; white-space: nowrap; }
.work__btns { display: flex; gap: 8px; }
.work__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(var(--forest-rgb) / .2);
  font-size: 18px; transition: background .3s, color .3s, transform .4s var(--ease);
}
.work__btn:hover { background: var(--forest); color: var(--cream); transform: scale(1.06); }
@media (hover: none) {
  .wcard__over { opacity: 1; background: linear-gradient(180deg, transparent 45%, rgb(var(--forest-deep-rgb) / .85) 100%); }
  .wcard__over > * { opacity: 1; transform: none; }
  .wcard__tags { display: none; }
}
@media (max-width: 760px) {
  .work__head { grid-template-columns: 1fr; }
  .wcard { flex-basis: 82vw; }
  .work__hint { display: none; }
}

/* Cursor bubble wraps two-word labels ("Voir le projet") */
.cursor.is-media { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.cursor.is-media .cursor__label { white-space: normal; text-align: center; line-height: 1.1; max-width: 70px; }

/* ============ CONTACT — image lands in the headline, page floods green ============ */
.contact {
  position: relative; z-index: 2;
  height: 260vh; padding: 0;
  background: var(--white); color: var(--cream);
}
/* The green flood lives on its own layer so it can shrink into a card at the end,
   uncovering the white "Pause typo" section behind */
.contact__bg {
  position: absolute; inset: 0;
  background: var(--flood, var(--cream));
  clip-path: inset(var(--ci-t, 0px) var(--ci-x, 0px) var(--ci-b, 0px) var(--ci-x, 0px) round var(--ci-r, 0px));
}
.contact__inner { transform: scale(var(--cscale, 1)); transform-origin: 50% 40%; }
.contact__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.contact__inner { position: relative; }
.contact__inner > .label, .contact__title, .contact__row {
  opacity: var(--tt, 0); transform: translateY(calc((1 - var(--tt, 0)) * 40px));
}
.contact__title {
  margin: 16px 0 clamp(36px, 5vw, 64px);
  font-family: var(--f-display); font-variation-settings: "wdth" 120;
  font-weight: 800; font-size: clamp(40px, 6.7vw, 124px); line-height: 1.02; letter-spacing: -.05em;
}
.contact__line { display: block; white-space: nowrap; }
.contact__line--2 { font-weight: 250; color: var(--mint); }
.contact__slot {
  display: inline-block; vertical-align: -.06em;
  width: 1.55em; height: .87em; border-radius: .14em;
  background: rgb(var(--cream-rgb) / .06);
}
.contact__verb { display: inline-grid; vertical-align: bottom; height: 1.08em; overflow: hidden; transition: width .6s var(--ease); }
.contact__verb > span {
  grid-area: 1 / 1; white-space: nowrap;
  transform: translateY(105%); opacity: 0;
  transition: transform .7s var(--ease), opacity .5s var(--ease);
}
.contact__verb > span.is-on { transform: none; opacity: 1; }
.contact__verb > span.is-out { transform: translateY(-105%); opacity: 0; }
.contact__row { border-top-color: rgb(var(--cream-rgb) / .2); }
.contact__row p { opacity: .8; }
.btn--light:hover { background: var(--white); }
.contact__fly {
  position: absolute; z-index: 3; overflow: hidden;
  left: 50%; top: 10%; width: 60vw; height: 34vw;
  border-radius: 18px; background: var(--forest-2);
  box-shadow: 0 30px 70px rgb(var(--forest-deep-rgb) / .35);
  will-change: left, top, width, height;
}
.contact__fly img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* 2026-12-01 : même ton que la photo de « Ce que je fais » (.wwd__cover) : noir et blanc contrasté + dégradé forêt profond */
.contact__fly img { filter: grayscale(1) contrast(1.12) brightness(.82); }
.contact__fly::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(var(--forest-deep-rgb) / .55) 0%, rgb(var(--forest-deep-rgb) / 0) 30%, rgb(var(--forest-deep-rgb) / .1) 55%, rgb(var(--forest-deep-rgb) / .85) 100%); }
@media (max-width: 760px) {
  .contact__title { font-size: clamp(30px, 10.4vw, 60px); }
  .contact__line { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .contact { height: auto; --flood: var(--forest); --tt: 1; }
  .contact__sticky { position: relative; height: auto; padding: 140px 0; }
}

/* ============ DISCIPLINES — pinned "what I do" sequence ============ */
.wwd { position: relative; height: 420vh; background: var(--cream); z-index: 2; } /* photo → disciplines → « h » qui grandit → rideau (2026-11-18) */
/* Le « h » de la dernière icône qui grandit jusqu'à couvrir l'écran (transformé par script.js) */
.wwd__hzoom { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; visibility: hidden; pointer-events: none; overflow: visible; }
.wwd__hzoom-h { fill: var(--cream); }

/* Transition to Projets — the last card becomes a full-screen curtain */
.wwd__expand {
  position: absolute; inset: 0; z-index: 5; visibility: hidden; overflow: hidden;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center;
  will-change: opacity; /* apparaît quand le « h » couvre l'écran (script.js) */
}
.wwd__expand-wm {
  position: absolute; right: -8%; bottom: -18%;
  width: min(70vw, 900px); height: auto; aspect-ratio: 125 / 114;
  color: var(--cream); opacity: calc(var(--x, 0) * .06);
  transform: rotate(calc((1 - var(--x, 0)) * -12deg)) scale(calc(.8 + var(--x, 0) * .2));
}
.wwd__expand-inner {
  position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2vh, 26px);
  opacity: clamp(0, calc((var(--x, 0) - .45) * 2.2), 1);
  transform: translateY(calc((1 - var(--x, 0)) * 60px)) scale(calc(.86 + var(--x, 0) * .14));
}
.wwd__expand-title {
  margin: 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 125;
  font-size: clamp(56px, 11vw, 200px); line-height: .9; letter-spacing: -.055em;
}
.wwd__expand-title .light { font-weight: 250; }
.wwd__expand-title b { font-weight: 900; }
.wwd__expand-count { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.wwd__expand-cue { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; opacity: .8; }
.wwd__expand-cue i {
  font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--forest); animation: cueBounce 1.6s var(--ease) infinite;
}
@keyframes cueBounce { 50% { transform: translateY(6px); } }

/* À propos → process: the process sheet slides over À propos */
.about > .container { transform-origin: 50% 0; will-change: transform, opacity; }
.process { position: relative; z-index: 3; margin-top: calc(var(--radius) * -1); box-shadow: 0 -30px 70px rgb(var(--forest-rgb) / .1); }
/* 2026-11-24 : transitions adoucies — chaque section suivante glisse par-dessus comme une feuille arrondie
   (Process → Disciplines, Disciplines → Projets), la précédente s'enfonce (script.js) */
.process > .container { transform-origin: 50% 0; will-change: transform, opacity; }
.wwd { margin-top: calc(var(--radius) * -1); border-radius: var(--radius) var(--radius) 0 0; z-index: 4; box-shadow: 0 -30px 70px rgb(var(--shadow-rgb) / .35); }
.work { margin-top: calc(var(--radius) * -1); border-radius: var(--radius) var(--radius) 0 0; z-index: 5; box-shadow: 0 -30px 70px rgb(var(--shadow-rgb) / .35); }
.wwd__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* Step 1 — magazine cover that grows to full screen (scale driven by JS) */
.wwd__cover {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--forest); color: var(--cream);
  transform: scale(var(--cs, .42)); border-radius: calc(28px / var(--cs, .42));
  will-change: transform;
}
.wwd__cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 24%;
  filter: grayscale(1) contrast(1.12) brightness(.82);
  transform: scale(var(--is, 1.15));
}
.wwd__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--forest-deep-rgb) / .55) 0%, rgb(var(--forest-deep-rgb) / 0) 30%, rgb(var(--forest-deep-rgb) / .1) 55%, rgb(var(--forest-deep-rgb) / .85) 100%); }
.wwd__mag { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; /* 2026-11-24 : en-tête retiré, le titre reste en bas */ padding: clamp(84px, 9vh, 110px) var(--gutter) var(--gutter); }
.wwd__masthead {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid rgb(var(--cream-rgb) / .4);
  font-family: var(--f-display); font-variation-settings: "wdth" 125;
  font-weight: 700; font-size: clamp(12px, 1.1vw, 16px); letter-spacing: .12em; text-transform: uppercase;
}
.wwd__mag-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.wwd__headline {
  margin: 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: clamp(64px, 13vw, 230px); line-height: .82; letter-spacing: -.055em; text-transform: uppercase;
}
/* Disciplines qui défilent à droite de « Ce que je fais. » (2026-11-17).
   Le JS met .is-active / .is-past selon le défilement; le monogramme « h » se transforme
   pour chaque discipline : grille (graphisme), fenêtre (web), écho (motion), viseur (photo). */
.wwd__mag-foot { justify-content: space-between; gap: clamp(24px, 3vw, 56px); } /* disciplines à l'extrémité droite (2026-11-18) */
.wwd__headline { flex: 0 0 auto; } /* le titre garde ses 2 lignes; c'est le bloc des disciplines qui rétrécit */
.wwd__disc {
  flex: 0 1 clamp(280px, 26vw, 420px); min-width: 260px; padding-bottom: clamp(6px, 1.4vw, 22px);
  opacity: var(--dv, 1); transform: translateY(calc((1 - var(--dv, 1)) * 30px));
}
.wwd__disc-ticks { display: flex; gap: 6px; margin-bottom: 16px; }
.wwd__disc-ticks i { flex: 1; height: 2px; border-radius: 2px; background: rgb(var(--cream-rgb) / .3); transition: background .5s var(--ease); }
.wwd__disc-ticks i.is-on { background: var(--cream); }
.wwd__disc-fen { position: relative; height: clamp(96px, 8.4vw, 132px); overflow: hidden; }
.wwd__slide {
  position: absolute; inset: 0; display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px);
  transform: translateY(105%); opacity: 0;
  transition: transform .9s var(--ease), opacity .6s var(--ease);
}
.wwd__slide.is-active { transform: none; opacity: 1; }
.wwd__slide.is-past { transform: translateY(-105%); opacity: 0; }
.wwd__slide-txt { display: grid; gap: 4px; min-width: 0; }
.wwd__slide-num { font-size: 12px; letter-spacing: .14em; opacity: .85; }
.wwd__slide-nom {
  font-family: var(--f-display); font-variation-settings: "wdth" 120;
  font-weight: 800; font-size: clamp(22px, 2.3vw, 38px); line-height: 1; letter-spacing: -.035em;
}
.wwd__slide-desc { font-size: 14px; line-height: 1.4; }

/* L'icône : cercle + monogramme, qui se transforme quand sa diapositive arrive */
.wwd__ic { width: clamp(84px, 7.6vw, 120px); height: auto; flex-shrink: 0; overflow: visible; color: var(--cream); }
.wwd__ic .ic-rond { fill: rgb(var(--forest-deep-rgb) / .35); stroke: rgb(var(--cream-rgb) / .5); stroke-width: 1.5; }
.wwd__ic .ic-trait { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wwd__ic .ic-point { fill: currentColor; }
.wwd__ic .ic-h, .wwd__ic .ic-deco, .wwd__ic .ic-deco * { transform-box: fill-box; transform-origin: center; }
.wwd__ic .ic-h { transition: transform 1s var(--ease) .15s, opacity .8s var(--ease) .15s, filter .9s var(--ease) .2s; }
.wwd__ic .ic-deco * { transition: stroke-dashoffset 1.2s var(--ease), opacity .8s var(--ease), transform 1s var(--ease); }

/* 01 Graphisme : la grille de construction se trace, puis le « h » s'y pose */
.wwd__slide--grille .ic-trait { stroke-dasharray: 420; stroke-dashoffset: 420; opacity: .45; }
.wwd__slide--grille .ic-cercle { stroke-dasharray: 190; stroke-dashoffset: 190; opacity: .8; }
.wwd__slide--grille .ic-h { transform: scale(.4) rotate(-20deg); opacity: 0; }
.wwd__slide--grille.is-active .ic-trait { stroke-dashoffset: 0; }
.wwd__slide--grille.is-active .ic-h { transform: none; opacity: 1; transition-delay: .55s; }

/* 02 Web : la fenêtre s'ouvre, le « h » apparaît comme une page qui charge */
.wwd__slide--fenetre .ic-trait { stroke-dasharray: 280; stroke-dashoffset: 280; }
.wwd__slide--fenetre .ic-point { opacity: 0; transform: scale(0); }
.wwd__slide--fenetre .ic-h { transform: translateY(14px); opacity: 0; }
.wwd__slide--fenetre.is-active .ic-trait { stroke-dashoffset: 0; }
.wwd__slide--fenetre.is-active .ic-point { opacity: 1; transform: none; transition-delay: .5s; }
.wwd__slide--fenetre.is-active .ic-point:nth-of-type(2) { transition-delay: .6s; }
.wwd__slide--fenetre.is-active .ic-point:nth-of-type(3) { transition-delay: .7s; }
.wwd__slide--fenetre.is-active .ic-h { transform: none; opacity: 1; transition-delay: .7s; }

/* 03 Motion : le « h » arrive en glissant et laisse une traînée d'échos */
.wwd__slide--mouvement .ic-h { transform: translateX(-34px); opacity: 0; }
.wwd__slide--mouvement .ic-echo { fill: currentColor; opacity: 0; transform: translateX(-20px); }
.wwd__slide--mouvement .ic-vitesse { stroke-dasharray: 20; stroke-dashoffset: 20; }
.wwd__slide--mouvement.is-active .ic-h { transform: none; opacity: 1; transition-delay: .1s; }
.wwd__slide--mouvement.is-active .ic-echo--1 { opacity: .35; transform: none; transition-delay: .25s; }
.wwd__slide--mouvement.is-active .ic-echo--2 { opacity: .15; transform: none; transition-delay: .35s; }
.wwd__slide--mouvement.is-active .ic-vitesse { stroke-dashoffset: 0; transition-delay: .3s; }

/* 04 Photo : le viseur se resserre et le « h » devient net (mise au point) */
.wwd__slide--objectif .ic-coin { transform: scale(1.25); opacity: 0; }
.wwd__slide--objectif .ic-rec { opacity: 0; }
.wwd__slide--objectif .ic-h { filter: blur(5px); opacity: .3; transform: scale(1.12); }
.wwd__slide--objectif.is-active .ic-coin { transform: none; opacity: 1; }
.wwd__slide--objectif.is-active .ic-rec { opacity: 1; transition-delay: .9s; animation: recClignote 1.4s steps(1) 1.2s infinite; }
.wwd__slide--objectif.is-active .ic-h { filter: none; opacity: 1; transform: none; transition-delay: .45s; }
@keyframes recClignote { 50% { opacity: 0; } }
@media (min-width: 861px) and (max-width: 1100px) {
  .wwd__mag-foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .wwd__disc { flex: none; width: min(420px, 100%); align-self: flex-end; }
}


@media (max-width: 860px) {
  .wwd { height: 385vh; }
  .wwd__mag-foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .wwd__disc { flex: none; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wwd { height: auto; }
  .wwd__sticky { position: relative; height: auto; overflow: visible; }
  .wwd__hzoom { display: none; }
  .wwd__cover { position: relative; height: auto; min-height: 90vh; transform: none; border-radius: 0; }
  .wwd__mag { position: relative; min-height: 90vh; gap: 40px; }
  /* Sans animation : les 4 disciplines sont listées, icônes dans leur état final */
  .wwd__disc-ticks { display: none; }
  .wwd__disc-fen { height: auto; display: grid; gap: 14px; }
  .wwd__slide, .wwd__slide.is-past { position: relative; transform: none; opacity: 1; }
  .wwd__ic { width: 64px; }
  .wwd__ic * { transition: none !important; animation: none !important; stroke-dashoffset: 0 !important; filter: none !important; }
  .wwd__slide .ic-h, .wwd__slide .ic-coin, .wwd__slide .ic-point { opacity: 1 !important; transform: none !important; }
  .wwd__slide .ic-echo--1 { opacity: .35 !important; transform: none !important; }
  .wwd__slide .ic-echo--2 { opacity: .15 !important; transform: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { min-height: 220px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .pill--links { display: none; }
  .pill--menu { display: inline-flex; }
  .nav .pill.pill--cta { padding: 0 4px; }
  .ccard__row { grid-template-columns: 1fr auto; row-gap: 2px; }
  .ccard__row small { grid-column: 1 / -1; }
  .ccard__card { padding: 26px 22px 20px; }
  .pill--cta .cta__roll, .pill--cta .dot { display: none; }
  .ccard { top: calc(14px + 44px + 10px); }
  .pill { height: 44px; }

  .hero__stage { padding-bottom: 170px; }
  .hero__title .line { flex-wrap: wrap; }
  .hero__foot { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .hero__scroll { display: none; }

  .reel { height: 200vh; }
  .reel__meta { display: none; }

  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 22px 0 30px; border-bottom: 1px solid rgb(var(--forest-rgb) / .12); }
  .stat__num { margin: 6px 0 10px; }
  .portrait { min-height: 380px; }
  .about__intro { grid-template-columns: 1fr; }
  .collage { max-width: 420px; margin: 0 auto; }

  .card { grid-template-columns: 1fr; top: calc(var(--nav-h) + 8px + var(--i) * 10px); }
  .card__top { grid-template-columns: auto 1fr; }
  .card__tag { grid-column: 1 / -1; text-align: left; }
  .card__media { order: -1; grid-row: 2; }
  .card__body { gap: 20px; }

  .grid { grid-template-columns: 1fr; }
  .proj--wide .proj__media { aspect-ratio: 4 / 3.2; }
  .proj__media--identity { flex-direction: column; gap: 18px; }
  .proj__media--web { padding: 8% 6% 0; }
  .bizcard { width: 78%; }

  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__brand, .footer__time { grid-column: 1 / -1; }
  .game__hint { display: none; }
  .game__result { grid-template-columns: 1fr; gap: 8px; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .contact__actions, .contact__actions .btn { width: 100%; justify-content: center; }
  .btn--ghost .copy-text { overflow: hidden; text-overflow: ellipsis; }
  .card__media--photos { grid-template-columns: 1fr 1fr; }
  .card__media--photos .ph--c { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reel { height: auto; }
  .reel__sticky { position: relative; height: auto; padding: 120px 0; }
}

/* ============ ACCESSIBILITÉ ET PIED DE PAGE (J6) ============ */
/* Lien « Aller au contenu » : premier élément atteint au clavier, visible seulement quand il a le focus */
.aller-contenu {
  position: fixed; left: 16px; top: -100px; z-index: 100000;
  padding: 12px 18px; border-radius: 999px; background: var(--forest); color: var(--cream);
  font-weight: 600; text-decoration: none;
}
.aller-contenu:focus { top: 16px; outline: 3px solid var(--mint); outline-offset: 2px; }
/* Le focus ne se cache jamais sous le menu fixe */
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
:focus-visible { outline-offset: 3px; }
.footer__legal a { margin-left: 14px; text-decoration: underline; text-underline-offset: 3px; }
.symboles-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Remplacent d'anciens styles écrits dans le HTML (interdits par la CSP du J6) */
.marge-haut-32 { margin-top: 32px; }
.is-fit-contain { object-fit: contain !important; }

/* Bouton « Mettre les animations en pause » (WCAG 2.2.2) : tout s'arrête */
.anim-pause *, .anim-pause *::before, .anim-pause *::after { animation-play-state: paused !important; }
.aller-contenu--2:focus { top: 64px; }
button.aller-contenu { border: 0; font: inherit; cursor: pointer; }
.footer__anim {
  margin-left: 14px; padding: 0; border: 0; background: none; color: inherit; font: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.footer__anim:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* Réduire les animations : les boucles infinies s'arrêtent aussi (au lieu de tourner très vite) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Contrastes WCAG 1.4.3 (J6) : textes secondaires un peu moins transparents (minimum 4,5:1) */
.pill--links a { opacity: .9; }
.muted { opacity: .74; }
.stat__label { opacity: .74 !important; }
.stat__label i, .hero__disciplines i { opacity: .7 !important; }
.work__hint { opacity: .74 !important; }
.game__hint, .game__score small { opacity: .74 !important; }
.browser__bar span { color: rgb(var(--cream-rgb) / .72) !important; }

/* Très petits écrans (320 px) : le menu du haut tient dans la largeur (reflow, WCAG 1.4.10) */
@media (max-width: 360px) {
  .nav { gap: 6px; }
  .nav__right { gap: 6px; }
  .pill--logo { padding: 0 12px 0 10px; gap: 7px; font-size: 12.5px; }
}

/* ============ ACCENT BRUN (charte du designer, 2026-11-16) ============
   Seulement sur les fonds clairs : 9:1 sur crème (AAA), mais 1,5:1 sur forêt (illisible).
   Survols seulement (le contour au clavier reste celui d'avant, choix du designer). */
.steps li:hover { background: var(--brown); }
.steps li:hover .step__top > span { opacity: .8; } /* crème sur brun : 4,5:1 minimum */
.work__btn:hover { background: var(--brown); border-color: var(--brown); }
.work__link { transition: color .3s; }
.work__link:hover { color: var(--brown); }
.nav.on-light .pill--links a:hover { color: var(--brown); }

/* ============ LOGO OFFICIEL (2026-11-18) ============
   #hn-logo = « h » + « Hermann NYAMA » empilés (125 × 165); #hn-nom = le nom seul (125 × 41). */
.loader__mark { width: clamp(88px, 9vw, 120px); height: auto; aspect-ratio: 125.12 / 165.36; }
.pill--logo { padding: 0; width: 46px; justify-content: center; gap: 0; }
.pill--logo .pill__mark { width: 22px; height: 20px; }
.ccard__nom { width: clamp(150px, 16vw, 190px); height: auto; aspect-ratio: 125.12 / 41.2; color: inherit; }
.footer__logo svg.footer__lockup { width: clamp(110px, 10vw, 150px); aspect-ratio: 125.12 / 165.36; }
.identity__nom { width: clamp(150px, 22vw, 340px); height: auto; aspect-ratio: 125.12 / 41.2; }
.bizcard__front > svg.bizcard__nom { top: auto; bottom: 14%; right: 12%; width: 42%; aspect-ratio: 125.12 / 41.2; }

/* ============ MENU PLUS CRÉATIF (2026-11-18) ============ */
/* Ordinateur : une pastille glisse sous le lien survolé ou la section en cours; fine barre de progression de la page */
.pill--links { position: relative; }
.pill--links a { position: relative; z-index: 1; }
.pill--links a:hover, .pill--links a.is-active,
.nav.on-light .pill--links a:hover, .nav.on-light .pill--links a.is-active { background: transparent; }
.pill__indic {
  position: absolute; top: 6px; bottom: 6px; left: 0; z-index: 0; pointer-events: none;
  width: var(--iw, 0px); transform: translateX(var(--ix, 0px)); opacity: var(--io, 0);
  border-radius: 999px; background: rgb(var(--cream-rgb) / .16);
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s, background .4s;
}
.nav.on-light .pill__indic { background: rgb(var(--forest-rgb) / .1); }
.pill__prog {
  position: absolute; left: 20px; right: 20px; bottom: 4px; height: 2px; border-radius: 2px; pointer-events: none;
  background: currentColor; opacity: .45; transform-origin: left center; transform: scaleX(var(--np, 0));
}

/* Téléphone : le menu plein écran — mots qui montent un à un, grand « h » qui pivote, section en cours marquée */
.menu { overflow: hidden; }
.menu__wm {
  position: absolute; right: -28vw; bottom: -12vh; width: 115vw; height: auto; aspect-ratio: 125 / 114;
  color: var(--cream); opacity: .05; pointer-events: none;
  transform: rotate(-18deg) scale(.85); transition: transform 1.2s var(--ease) .1s;
}
.menu.is-open .menu__wm { transform: none; }
.menu__links, .menu__langue, .menu__bas { position: relative; }
.menu__links a { position: relative; }
.menu__mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.menu__mot > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
.menu.is-open .menu__mot > span { transform: none; }
.menu.is-open .menu__links a:nth-child(1) .menu__mot > span { transition-delay: .22s; }
.menu.is-open .menu__links a:nth-child(2) .menu__mot > span { transition-delay: .29s; }
.menu.is-open .menu__links a:nth-child(3) .menu__mot > span { transition-delay: .36s; }
.menu.is-open .menu__links a:nth-child(4) .menu__mot > span { transition-delay: .43s; }
.menu.is-open .menu__links a:nth-child(5) .menu__mot > span { transition-delay: .5s; }
.menu__links a > i { margin-left: auto; font-style: normal; font-size: .45em; opacity: 0; transform: translateX(-12px); transition: opacity .4s, transform .5s var(--ease); }
.menu__links a:hover > i, .menu__links a:focus-visible > i, .menu__links a.is-active > i { opacity: 1; transform: none; }
.menu__links a.is-active small { color: var(--mint); opacity: 1; }
.menu__bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.menu__logo { width: 64px; height: auto; aspect-ratio: 125.12 / 165.36; color: var(--cream); opacity: 0; transform: translateY(14px); transition: opacity .6s .55s, transform .8s var(--ease) .55s; }
.menu.is-open .menu__logo { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .menu__mot > span, .menu__wm, .menu__logo { transform: none !important; transition: none !important; opacity: 1; }
  .menu__wm { opacity: .05; }
}

/* ============ EFFET VERRE (2026-11-23) ============
   Verre fumé vert : fond translucide + flou de ce qui est derrière + fin reflet clair en haut.
   La teinte reste assez foncée pour garder le contraste du texte crème (4,5:1 et plus). */
.wwd__disc, .pj-hero2 .pj-back--clair, .pj-hero2 .pj-hero2__bas > .label {
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgb(var(--cream-rgb) / .18);
  box-shadow: inset 0 1px 0 rgb(var(--white-rgb) / .14), 0 18px 40px rgb(var(--black-rgb) / .22);
}
/* Disciplines sur la photo : une plaque de verre */
.wwd__disc { padding: 18px 20px 20px; border-radius: 24px; background: rgb(var(--forest-deep-rgb) / .42); }
.wwd__disc .ic-rond { fill: rgb(var(--cream-rgb) / .06); }
/* Cartes des projets : 2026-11-24, le panneau de verre est retiré, l'effet de survol d'origine est remis
   (voile vert sur toute la carte, le texte monte) à la demande du designer */
/* Carte « Me contacter » : verre fumé vert, on devine la page derrière */
.ccard__card {
  background: rgb(var(--forest-rgb) / .9); /* .9 : ses petits textes à 60 % restent au-dessus de 4,5:1 même devant une section crème */
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgb(var(--cream-rgb) / .16);
  box-shadow: 0 40px 80px rgb(var(--shadow-rgb) / .45), inset 0 1px 0 rgb(var(--white-rgb) / .16);
}
/* Hero des pages projet : bouton retour et étiquette en pastilles de verre */
.pj-hero2 .pj-back--clair { background: rgb(var(--forest-deep-rgb) / .35); }
.pj-hero2 .pj-back--clair:hover { background: var(--cream); }
.pj-hero2 .pj-hero2__bas > .label {
  justify-self: start; padding: 8px 14px; border-radius: 999px; opacity: 1;
  background: rgb(var(--forest-deep-rgb) / .38);
}
/* Navigateurs sans flou, ou visiteurs qui demandent moins de transparence : fond plein */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .wwd__disc, .pj-hero2 .pj-back--clair, .pj-hero2 .pj-hero2__bas > .label { background: rgb(var(--forest-deep-rgb) / .85); }
  .ccard__card { background: var(--forest); }
}
@media (prefers-reduced-transparency: reduce) {
  .wwd__disc, .pj-hero2 .pj-back--clair, .pj-hero2 .pj-hero2__bas > .label { background: rgb(var(--forest-deep-rgb) / .9); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ccard__card { background: var(--forest); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ============ À PROPOS (2026-11-30) : simple, deux colonnes, microanimations ============
   Couleurs de la charte. Les animations d'arrivée n'existent qu'avec .ap--anim (posée par script.js
   quand les animations sont permises); .in est ajoutée quand la section entre à l'écran. */
.ap { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(48px, 7vw, 120px); align-items: center; }

/* Photo : bloc vert forêt décalé derrière, qui pivote au survol; la photo s'incline vers la souris */
.ap__photo { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: center; } /* 2026-12-01 : anneau d'outils retiré, la photo reprend de la place */
.ap__photo::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: var(--forest);
  transform: translate(18px, 18px); transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.ap__photo:hover::before { transform: translate(-16px, 16px) rotate(-3deg); }
.ap__cadre {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--cream);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
}

/* Illustration au ton de la marque (2026-11-30) : le ton est appliqué au fichier lui-même (apropos-illustration-ton-*.webp).
   Plan plus haut que le cadre pour la parallaxe. */
.ap__plan { position: absolute; inset: -6% 0; isolation: isolate; background: var(--cream); transform: translateY(var(--py, 0px)); }
.ap__plan img, .ap__reel {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  transform-origin: 50% 20%; animation: ap-souffle 14s ease-in-out infinite alternate; /* 2026-12-01 : zoom lent, comme une respiration */
}
@keyframes ap-souffle { from { scale: 1; } to { scale: 1.06; } }
/* Pinceau (2026-12-01) : canevas où script.js peint la vraie photo aux endroits survolés; elle s'efface doucement ensuite */
.ap__reel { pointer-events: none; }

/* Texte (2026-12-01 : décalé vers la droite sur ordinateur, à la demande du designer) */
@media (min-width: 861px) { .ap__texte { padding-left: clamp(24px, 5vw, 96px); } }
.ap__titre {
  margin: 16px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5vw, 80px); line-height: .95; letter-spacing: -.04em;
  overflow: hidden; padding-bottom: .08em; /* masque : le titre monte de dessous la ligne */
}
.ap__titre-in { display: inline-block; }
/* Petit trait brun qui se dessine sous le titre */
.ap__trait { display: block; width: 64px; height: 3px; margin-top: clamp(18px, 2vw, 26px); border-radius: 3px; background: var(--brown); transform-origin: 0 50%; }
.ap__recit { margin-top: clamp(20px, 2.4vw, 32px); max-width: 40ch; }
/* 2026-12-01 : moins de vide au-dessus de la section (l'anneau d'outils occupe déjà de la place) */
.about:has(.ap) { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(56px, 7vw, 100px); }
.ap__recit p {
  margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.45; letter-spacing: -.015em;
}
.ap__recit p + p { margin-top: .9em; }



/* ---- Arrivée à l'écran (seulement avec .ap--anim) ---- */
.ap__m { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ap.vu .ap__m { overflow: visible; }
.ap--anim .ap__w { display: inline-block; transform: translateY(110%); }
.ap--anim.in .ap__w { transform: none; transition: transform .9s var(--ease) calc(var(--l, 0) * 90ms + 250ms); }
.ap--anim .ap__etiquette { opacity: 0; transform: translateY(16px); }
.ap--anim.in .ap__etiquette { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.ap--anim .ap__titre-in { transform: translateY(105%); }
.ap--anim.in .ap__titre-in { transform: none; transition: transform 1.1s var(--ease) .1s; }
.ap--anim .ap__trait { transform: scaleX(0); }
.ap--anim.in .ap__trait { transform: none; transition: transform .9s var(--ease) .55s; }
/* Photo : se dévoile de bas en haut, puis le projecteur s'ouvre une fois sur le visage */
.ap--anim .ap__cadre { clip-path: inset(100% 0 0 0 round var(--radius)); }
.ap--anim .ap__plan { scale: 1.18; }
.ap--anim .ap__photo::before { opacity: 0; transform: translate(0, 0); }
.ap--anim.in .ap__cadre {
  clip-path: inset(0 0 0 0 round var(--radius));
  transition: clip-path 1.2s var(--ease), transform .5s var(--ease);
}
.ap--anim.in .ap__plan { scale: 1; transition: scale 1.6s var(--ease); }
.ap--anim.in .ap__photo::before { opacity: 1; transform: translate(18px, 18px); transition-delay: .5s; }
.ap--anim.in .ap__photo:hover::before { transform: translate(-16px, 16px) rotate(-3deg); transition-delay: 0s; }


@media (max-width: 860px) {
  .ap { grid-template-columns: 1fr; }
  .ap__photo { max-width: 360px; width: calc(100% - 24px); justify-self: start; margin: 0 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap__cadre, .ap__plan, .ap__photo::before { transition: none; }
}
.anim-pause .ap__plan img, .anim-pause .ap__reel { animation: none; }
@media (prefers-reduced-motion: reduce) { .ap__plan img, .ap__reel { animation: none; } }

/* ============ GLASSMORPHISME SUR TOUT LE SITE (2026-11-24, intensité « immersive ») ============
   1. Auras : grandes taches de couleur floues (charte) derrière les sections, pour que le verre se voie.
      Fixes (pas d'animation : de grandes surfaces repeintes en continu ralentiraient le site).
   2. Deux recettes de verre : clair (sur fonds crème) et sombre (sur fonds vert forêt).
   Repli : fond plus opaque si le navigateur ne floute pas ou si le visiteur demande moins de transparence. */
/* 2026-11-24 (ajusté) : auras uniformes. Elles sont fixées à l'écran (background-attachment: fixed) au lieu
   d'être étirées sur la hauteur de chaque section : même lumière partout, plus de cercles visibles.
   Très grandes, très douces et qui se chevauchent; script.js les fait glisser légèrement au défilement
   (variables --a1x … --a3y; immobiles si les animations sont en pause ou si le visiteur demande moins de mouvement). */
/* 2026-11-24 (ajusté encore) : plus d'auras ni de verre sur les fonds crème (demande du designer).
   Le verre reste seulement sur les fonds vert forêt (Process, pied de page, galeries, menu). */
:root {
  --a1x: 0%; --a1y: 0%; --a2x: 0%; --a2y: 0%; --a3x: 0%; --a3y: 0%;
  --aura-sombre:
    radial-gradient(75vmax 60vmax at calc(10% + var(--a1x)) calc(10% + var(--a1y)), rgb(var(--sage-rgb) / .5), transparent 100%),
    radial-gradient(70vmax 60vmax at calc(90% + var(--a2x)) calc(45% + var(--a2y)), rgb(var(--mint-rgb) / .1), transparent 100%),
    radial-gradient(80vmax 60vmax at calc(45% + var(--a3x)) calc(100% + var(--a3y)), rgb(var(--forest-3-rgb) / .8), transparent 100%);
  --verre-flou: blur(20px) saturate(160%);
}
.process { background-image: var(--aura-sombre); background-attachment: fixed; } /* 2026-12-01 : plus d'aura ni de verre sur le pied de page */

/* Process (2026-11-25, demande du designer) : les 4 cartes sont blanches, texte vert forêt, sur le fond vert */
/* 2026-12-02 : ombre + fin contour, et plus aucun changement au survol (cartes statiques) */
.process .pstep { background: var(--white); color: var(--forest); box-shadow: inset 0 0 0 1px rgb(var(--forest-rgb) / .16), 0 24px 50px rgb(var(--shadow-rgb) / .3); }
.footer__bottom > span { opacity: .82; } /* contraste ≥ 4,5:1 même sur l'aura sauge */
/* Contraste ≥ 4,5:1 même là où plusieurs auras se superposent */
.footer .label { opacity: .9; }
.process .pstep > p { opacity: .85; } /* contraste du texte des 4 étapes */
.socials a:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }

/* Menu téléphone : verre fumé vert (la barre du haut sur fond clair reste comme avant) */
.menu { background: rgb(var(--forest-deep-rgb) / .84); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .menu { background: var(--forest); }
}
@media (prefers-reduced-transparency: reduce) {
  .menu { background: var(--forest); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ============ CARTES PROJETS (2026-12-01) ============
   Le survol « noir et blanc » du 2026-11-30 est retiré : retour au survol d'avant (visuel en couleur, panneau
   qui apparaît au survol avec sur-titre, accroche et étiquettes; voir .wcard__over plus haut). On garde le contour clavier. */
.wcard:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }

/* ============ TONS ALTERNÉS (2026-12-02, demande du designer) ============
   Accueil seulement (classe html.tons-alternes posée par script.js). Chaque section a son propre fond FIXE,
   sans fondu animé : Hero crème → À propos vert → 4 étapes crème → Disciplines vert → Projets crème → Contact vert
   → pied de page crème. Plus de feuilles arrondies qui se recouvrent (ni ombre, ni enfoncement). */
html.tons-alternes .hero, html.tons-alternes .about, html.tons-alternes .process, html.tons-alternes .wwd,
html.tons-alternes .work, html.tons-alternes .footer { margin-top: 0; border-radius: 0; box-shadow: none; background-image: none; }
.about { background: var(--forest); color: var(--cream); }
.process { background: var(--cream); background-image: none; color: var(--forest); }
.wwd { background: var(--forest); }
/* Contact : à la fin, son panneau vert rétrécit en carte sur le crème du pied de page */
html.tons-alternes .contact { background: var(--cream); }

/* À propos sur vert */
.about .ap__titre, .about .ap__recit { color: var(--cream); }
.ap__photo::before { background: var(--sage); }
.ap__trait { background: var(--sage-2); }

/* 4 étapes sur crème : cartes vert forêt, texte crème, contour clair, barre sauge, icônes en dégradé crème → sauge */
.process .pstep { background: var(--forest); color: var(--cream); box-shadow: inset 0 0 0 1px rgb(var(--cream-rgb) / .14), 0 24px 50px rgb(var(--shadow-rgb) / .22); }
.process .pstep__ic { background-image: linear-gradient(90deg, var(--cream), var(--sage-2), var(--cream)); }
.process .pstep__n { opacity: .5; }

/* Pied de page crème (accueil seulement : les pages projet gardent leur pied de page vert) */
html.tons-alternes .footer { background: var(--cream); color: var(--forest); }
html.tons-alternes .footer .label { color: var(--forest); }
html.tons-alternes .footer .socials a { border-color: rgb(var(--forest-rgb) / .2); }
html.tons-alternes .footer .socials a:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
html.tons-alternes .footer .footer__bottom { border-top-color: rgb(var(--forest-rgb) / .12); }
html.tons-alternes .footer .totop__ring text { fill: var(--forest); }
html.tons-alternes .footer .totop__arrow { background: var(--forest); color: var(--cream); }

/* Hero → À propos sans coupure (2026-12-02) :
   1. le logo en filigrane s'efface vers le bas (masque en dégradé) : il ne touche jamais le bord de la scène,
      donc on ne le voit plus jamais coupé net;
   2. le bas du Hero se fond en dégradé du crème vers le vert d'À propos : pas de ligne entre les deux. */
.hero__watermark {
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 72%);
          mask-image: linear-gradient(180deg, #000 25%, transparent 72%);
}
/* 2026-12-02 (suite) : plus de dégradé vert en bas du Hero (refusé), ni de voile. Le portrait prend tout l'écran,
   et la scène passe au vert derrière lui (.is-verte, script.js) : aucune coupure crème / vert visible.
   Le crème est porté par la scène; la section dessous est verte : aucun fil crème à la jonction avec « Mon histoire ». */
html.tons-alternes .hero.hero--trans { background: var(--forest); }
html.tons-alternes .hero--trans .hero__stage { background: var(--cream); }
html.tons-alternes .hero--trans .hero__stage.is-verte { background: var(--forest); }
.hero__stage.is-verte .hero__watermark { opacity: 0; } /* le filigrane ne réapparaît pas sur le vert */
/* Même correction pour le « h » en filigrane du rideau « Voir les projets » : il s'efface avant le bord */
.wwd__expand-wm {
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 20%, transparent 70%);
}

/* ============ HEADER ÉDITORIAL (2026-12-02, demande du designer) ============
   Plus de pastilles ni de cercles : logo seul à gauche, liens en texte avec un trait qui se dessine au survol
   (et sous la section en cours), langue en petit, « Me contacter » en lien texte souligné avec une flèche.
   Couleurs : crème sur les sections vertes, vert forêt sur les sections claires (.nav.on-light, déjà géré). */
.nav { top: 20px; }
.nav .pill, .nav.on-light .pill:not(.pill--light), .nav .pill.pill--cta, .nav.on-light .pill.pill--cta {
  height: auto; padding: 6px 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.nav .pill { color: var(--cream); }
.nav.on-light .pill:not(.pill--light), .nav.on-light .pill.pill--cta { color: var(--forest); }
.nav .pill:hover { transform: none; }
.nav .pill--logo { width: auto; }
.nav .pill--logo .pill__mark { width: 38px; height: 35px; transition: transform .6s var(--ease); }
.nav .pill--logo:hover .pill__mark { transform: rotate(-8deg); }
.nav .pill--links { gap: clamp(20px, 2.4vw, 38px); }
.nav .pill--links a { padding: 4px 0; border-radius: 0; opacity: .9; font-size: 14px; letter-spacing: .01em; }
.nav .pill--links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right center; transition: transform .5s var(--ease);
}
.nav .pill--links a:hover, .nav .pill--links a.is-active { opacity: 1; }
.nav .pill--links a:hover::after, .nav .pill--links a.is-active::after { transform: scaleX(1); transform-origin: left center; }
.nav.on-light .pill--links a:hover { color: var(--forest); }
.nav .pill__indic, .nav .pill__prog { display: none; }
.nav__right { gap: clamp(18px, 2.2vw, 32px); align-items: center; }
.nav .pill--lang { font-size: 12px; }
.nav .pill.pill--cta { gap: 8px; font-weight: 600; }
.nav .pill--cta .cta__roll { border-bottom: 1.5px solid currentColor; }
.cta__fleche { display: inline-flex; transition: transform .45s var(--ease); }
.pill--cta:hover .cta__fleche, .pill--cta[aria-expanded="true"] .cta__fleche { transform: translate(3px, -3px); }
.nav .pill--menu { width: 40px; height: 40px; padding: 0; }
@media (max-width: 860px) {
  .nav .pill--cta .cta__roll { display: grid; }   /* le lien texte reste lisible sur téléphone (plus de cercle seul) */
  .nav .pill--cta { font-size: 13px; }
}
@media (max-width: 380px) { .nav .pill--cta .cta__roll span { font-size: 12px; } }

/* (2026-12-02 : les vagues entre sections sont retirées, remplacées par la révélation par masque, voir script.js) */

/* ============ GRAIN FIN SUR LES FONDS CRÈME (2026-12-02) ============
   Léger bruit immobile (comme un papier photo mat) pour que le crème ne paraisse pas trop plat. */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .15 0 0 0 0 .09 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
html.tons-alternes .process, html.tons-alternes .work, html.tons-alternes .contact, html.tons-alternes .footer,
html.tons-alternes .hero:not(.hero--trans), html.tons-alternes .hero--trans .hero__stage:not(.is-verte) {
  background-image: var(--grain);
}
.nav .pill.pill--cta { color: var(--cream); }
.nav.on-light .pill.pill--cta { color: var(--forest); }

/* 4 étapes → Ce que je fais (2026-12-02) : Disciplines redevient une feuille arrondie qui glisse par-dessus
   (effet d'avant, demande du designer); script.js enfonce les 4 étapes derrière elle. */
html.tons-alternes .wwd {
  margin-top: calc(var(--radius) * -1); border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -30px 70px rgb(var(--shadow-rgb) / .35);
}

/* ============ BANDEAU DU HEADER (2026-12-02) ============
   Dès qu'on défile, un bandeau de la couleur de la section (légèrement translucide et flouté) passe derrière
   le header : le contenu ne glisse plus sous les liens. Invisible tout en haut de la page. */
.nav::before {
  content: ""; position: fixed; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none;
  height: calc(20px + 46px + 12px);
  background: rgb(var(--forest-rgb) / .9);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgb(var(--cream-rgb) / .08);
  opacity: 0; transform: translateY(-100%);
  transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .4s var(--ease);
}
.nav.on-light::before { background: rgb(var(--cream-rgb) / .9); border-bottom-color: rgb(var(--forest-rgb) / .08); }
.nav.is-defile::before { opacity: 1; transform: none; }
@media (max-width: 860px) { .nav::before { height: calc(20px + 44px + 10px); } }

/* ============ BANDEAU DES SPÉCIALITÉS (2026-12-02, demande du designer) ============
   « Ce que je fais » : fond vert forêt PLEIN (plus de verre translucide ni de flou), texte crème.
   Bloc un peu plus large et nom plus compact : « Photographie » tient en entier. */
.wwd__disc {
  background: var(--forest); color: var(--cream);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0; box-shadow: 0 18px 40px rgb(var(--black-rgb) / .22);
  flex-basis: clamp(300px, 30vw, 460px);
}
.wwd__disc .ic-rond { fill: rgb(var(--cream-rgb) / .08); }
.wwd__slide-nom { font-variation-settings: "wdth" 100; font-size: clamp(20px, 2vw, 32px); overflow-wrap: anywhere; }
@media (max-width: 760px) { .wwd__disc { background: var(--forest); } }
/* 2026-12-02 : séparateurs retirés; l'écart entre les éléments est donné par la mise en page */
.hero__disciplines { gap: 4px clamp(18px, 2vw, 28px); }
.ccard__heure { display: inline-flex; gap: 10px; }

/* Bandeau du header INVERSÉ (2026-12-02, demande du designer) : une fois le bandeau affiché, il contraste avec la
   section dessous. Section verte → bandeau crème, texte vert; section crème → bandeau vert, texte crème.
   Tout en haut de la page (pas de bandeau) : rien ne change. */
.nav.is-defile:not(.on-light)::before { background: rgb(var(--cream-rgb) / .94); border-bottom-color: rgb(var(--forest-rgb) / .08); }
.nav.is-defile.on-light::before { background: rgb(var(--forest-rgb) / .94); border-bottom-color: rgb(var(--cream-rgb) / .08); }
.nav.is-defile:not(.on-light) .pill, .nav.is-defile:not(.on-light) .pill.pill--cta { color: var(--forest); }
.nav.is-defile.on-light .pill:not(.pill--light), .nav.is-defile.on-light .pill.pill--cta { color: var(--cream); }
.nav.is-defile.on-light .pill--links a:hover { color: var(--cream); }

/* ============ INVITATION À DÉFILER (2026-12-02, demande du designer) ============
   L'indicateur « Défiler » est retiré. Ordinateur : le curseur devient « Défiler ↓ » sur le Hero (data-cursor).
   Téléphone : tant qu'on n'a pas fait le premier geste, les mots du titre s'écartent et se rapprochent doucement
   (aperçu de la transition qui suit). Arrêté en pause ou en mouvement réduit. */
@keyframes hero-invite-g { 0%, 100% { translate: 0 0; } 50% { translate: -10px 0; } }
@keyframes hero-invite-d { 0%, 100% { translate: 0 0; } 50% { translate: 10px 0; } }
.hero--invite .hero__title .w[data-cote="-1"] { animation: hero-invite-g 2.8s ease-in-out infinite; }
.hero--invite .hero__title .w[data-cote="1"] { animation: hero-invite-d 2.8s ease-in-out infinite; }
.anim-pause .hero--invite .hero__title .w { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero--invite .hero__title .w { animation: none; } }

/* ============ NAVIGATION CENTRÉE (2026-12-03, demande du designer) ============
   Avant : flex « space-between », donc les liens se plaçaient entre le logo (étroit) et le bloc de droite (large) :
   ~70 px trop à gauche. Grille à 3 colonnes égales : les liens sont au vrai centre de la page. */
@media (min-width: 861px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav > .pill--logo { justify-self: start; }
  .nav > .nav__right { justify-self: end; }
}

/* ============ 4 ÉTAPES : CARTES CLAIRES (2026-12-03, demande du designer) ============
   Fond : crème de la charte sans grain (le grain le grisait). Cartes blanches, petit trait brun sous le titre.
   Icône et numéro plus foncés (forêt). Deux effets au choix, posés sur la liste .psteps :
     .psteps--ombre : ombre portée douce (par défaut)
     .psteps--verre : effet verre (blanc translucide, flou, liseré clair) */
html.tons-alternes .process { background-image: none; }
.process .pstep {
  background: var(--white); color: var(--forest); overflow: visible;
  padding-top: clamp(20px, 2vw, 30px);
}
.process .pstep::before { display: none; } /* ancienne barre du haut */
.process .pstep__ic { background-image: linear-gradient(90deg, var(--forest), var(--sage), var(--forest)); }
.process .pstep__n { color: var(--forest); opacity: .9; }
.process .pstep h3::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 16px; border-radius: 3px; background: var(--brown); }
.process .pstep > p { opacity: .85; }

/* Ombre portée */
.psteps--ombre .pstep {
  box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / .06), 0 10px 24px -6px rgb(var(--shadow-rgb) / .14), 0 30px 60px -12px rgb(var(--shadow-rgb) / .16);
}
/* Effet verre */
.psteps--verre .pstep {
  background: rgb(var(--white-rgb) / .55);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgb(var(--white-rgb) / .9), inset 0 1px 0 rgb(var(--white-rgb) / 1), 0 20px 50px -10px rgb(var(--shadow-rgb) / .14);
}
/* Le verre a besoin de quelque chose derrière lui : un halo sauge très doux sous la rangée de cartes */
.process:has(.psteps--verre) .psteps::before {
  content: ""; position: absolute; inset: 10% -5% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 25% 60%, rgb(var(--sage-2-rgb) / .35), transparent 70%),
              radial-gradient(35% 55% at 75% 40%, rgb(var(--brown-rgb) / .12), transparent 70%);
  filter: blur(20px);
}
.process:has(.psteps--verre) .psteps { position: relative; isolation: isolate; }
@media (min-width: 1025px) {
  .process.is-pin .psteps { padding: 0 0 24px; } /* place pour l'ombre */
}
/* ============ EFFET VERRE, SUITE (2026-12-03, demande du designer) ============
   Même recette que les cartes des 4 étapes : translucide + flou + liseré clair + ombre douce. */

/* À propos : la forme décalée derrière la photo devient une plaque de verre clair sur le vert */
.ap__photo::before {
  background: linear-gradient(135deg, rgb(var(--cream-rgb) / .22), rgb(var(--cream-rgb) / .08));
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgb(var(--cream-rgb) / .3), inset 0 1px 0 rgb(var(--white-rgb) / .35), 0 24px 50px rgb(var(--black-rgb) / .3);
}

/* Ce que je fais : la petite carte des disciplines redevient du verre fumé vert sur la photo */
.wwd__disc {
  background: rgb(var(--forest-deep-rgb) / .38);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgb(var(--cream-rgb) / .22);
  box-shadow: inset 0 1px 0 rgb(var(--white-rgb) / .18), 0 18px 40px rgb(var(--black-rgb) / .25);
}
@media (max-width: 760px) { .wwd__disc { background: rgb(var(--forest-deep-rgb) / .55); } }

/* Projets : boutons ← → en verre clair */
.work__btn {
  background: rgb(var(--white-rgb) / .55); border-color: rgb(var(--white-rgb) / .9);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(var(--white-rgb) / 1), 0 10px 24px -6px rgb(var(--shadow-rgb) / .18);
}
.work__btn:hover { background: var(--brown); border-color: var(--brown); color: var(--cream); }

@media (prefers-reduced-transparency: reduce) {
  .ap__photo::before { background: var(--sage); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .wwd__disc { background: var(--forest); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .work__btn, .psteps--verre .pstep { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* ============ À PROPOS : TEXTE PLUS LARGE (2026-12-03, demande du designer) ============
   Le texte était limité à 40 caractères par ligne (≈ 370 px) : il paraissait étroit et haut.
   Il occupe maintenant toute sa colonne (≈ 65 caractères par ligne). */
.ap__recit { max-width: 62ch; }
@media (min-width: 861px) { .ap__texte { padding-left: clamp(16px, 2.5vw, 48px); } }
/* ============ CURSEUR SANS POINT (2026-12-04, demande du designer) ============
   Le petit point qui suivait la souris est retiré : la flèche normale du système reste.
   La bulle à texte (« Voir le projet », « Défiler ↓ », « Lire »…) apparaît toujours au-dessus des visuels. */
.cursor:not(.is-media) { opacity: 0; }
/* 2026-12-04 : en sortant vers le haut, les cartes passent SOUS le titre « Mes quatre étapes » (il reste lisible) */
.process.is-pin .process__head { position: relative; z-index: 2; }