/* Noisel — concept STUDIO. VOIX : luxe sombre, lent, sensuel. IDÉE : le chocolat comme matière, versé, tempéré, cassé.
   COULEURS : cacao profond #120b08, ivoire #efe6d8, or mat #c9a36b. TYPO : Bodoni Moda (titres), Manrope (texte). */
@font-face { font-family: "Bodoni Moda"; src: url(../polices/bodoni-moda-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(../polices/bodoni-moda-latin-400-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../polices/manrope-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../polices/manrope-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root { --fond: #120b08; --fond-2: #1b120d; --encre: #efe6d8; --encre-2: #b9a896; --or: #c9a36b; --marge: clamp(20px, 4.5vw, 72px); --serif: "Bodoni Moda", Didot, Georgia, serif; --sans: "Manrope", system-ui, sans-serif; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 clamp(15px, .45vw + 13px, 18px)/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; color: var(--or); }
::selection { background: var(--or); color: var(--fond); }
:focus-visible { outline: 1px solid var(--or); outline-offset: 4px; }
.evitement { position: absolute; left: -9999px; } .evitement:focus { left: 12px; top: 12px; z-index: 99; background: var(--encre); color: var(--fond); padding: 10px 14px; }

.sur-titre { font: 500 11px/1.2 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--encre-2); margin: 0 0 22px; }
.geant { font: 400 clamp(84px, 19vw, 330px)/.82 var(--serif); letter-spacing: -.04em; margin: 0; }
.titre-xl { font: 400 clamp(40px, 6.4vw, 104px)/1.02 var(--serif); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.titre-l { font: 400 clamp(30px, 3.8vw, 60px)/1.08 var(--serif); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.texte { color: var(--encre-2); max-width: 46ch; margin: 0; }
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.mot > span { display: inline-block; will-change: transform; }

.entete { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--marge); mix-blend-mode: difference; }
.marque { font: 400 15px/1 var(--serif); letter-spacing: .5em; text-decoration: none; }
.entete nav { display: flex; gap: clamp(16px, 3vw, 44px); font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.entete nav a { text-decoration: none; opacity: .85; } .entete nav a:hover { opacity: 1; }
@media (max-width: 640px) { .entete nav a:not(:last-child) { display: none; } .entete { mix-blend-mode: normal; background: linear-gradient(180deg, rgb(18 11 8 / .92), rgb(18 11 8 / 0)); padding-bottom: 34px; } }

/* Scène versée : la toile reste épinglée en CSS ; GSAP lit la progression */
.scene { position: relative; height: 300vh; background: #050302; }
.scene__cadre { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene__toile { position: absolute; inset: 0; width: 100%; height: 100%; }
.versee__voile { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgb(18 11 8 / .7) 100%), linear-gradient(180deg, rgb(18 11 8 / .55), transparent 30%, transparent 70%, rgb(18 11 8 / .85)); }
.versee__titre { position: absolute; left: var(--marge); bottom: clamp(36px, 8vh, 96px); }
.versee__phrase { position: absolute; right: var(--marge); top: 44%; margin: 0; font: 400 clamp(28px, 3.6vw, 58px)/1.05 var(--serif); text-align: right; opacity: 0; max-width: 11ch; }
.versee__indice { position: absolute; right: var(--marge); bottom: clamp(36px, 8vh, 96px); margin: 0; font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--encre-2); }
@media (max-width: 640px) { .versee__phrase { top: auto; bottom: 34vh; left: var(--marge); right: auto; text-align: left; } }

.manifeste { padding: clamp(120px, 22vh, 240px) var(--marge); }
.grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); align-items: end; }
.manifeste .sur-titre { grid-column: 1 / -1; }
.manifeste .titre-xl { grid-column: 1 / span 9; }
.manifeste__image { grid-column: 7 / span 6; margin: clamp(60px, 10vw, 140px) 0 0; overflow: hidden; aspect-ratio: 4 / 3; }
.manifeste__image img, .creation img, .panneau__img img { width: 100%; height: 100%; object-fit: cover; }
.manifeste .texte { grid-column: 2 / span 4; grid-row: 3; align-self: start; margin-top: clamp(60px, 10vw, 140px); }
@media (max-width: 860px) { .manifeste .titre-xl, .manifeste__image, .manifeste .texte { grid-column: 1 / -1; grid-row: auto; } .manifeste .texte { margin-top: 32px; } }

/* Défilement horizontal épinglé */
.matiere { position: relative; height: 320vh; overflow-x: clip; }
.matiere__piste { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 0 var(--marge); width: max-content; }
.matiere__intro { width: min(34vw, 460px); flex: none; }
.panneau { margin: 0; width: min(52vw, 760px); flex: none; }
.panneau__img { aspect-ratio: 3 / 2; overflow: hidden; }
.panneau figcaption { display: flex; gap: 16px; align-items: baseline; margin-top: 18px; color: var(--encre-2); }
.panneau figcaption span { font: italic 400 28px/1 var(--serif); color: var(--or); }
@media (max-width: 760px) { .matiere { height: auto; } .matiere__piste { position: relative; height: auto; width: auto; flex-direction: column; align-items: stretch; padding: 100px var(--marge); } .matiere__intro, .panneau { width: auto; } }

.creations { padding: clamp(120px, 20vh, 220px) var(--marge); background: var(--fond-2); }
.creations__tete { margin-bottom: clamp(60px, 10vw, 140px); }
.creations__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(60px, 9vw, 140px) clamp(16px, 2vw, 32px); }
.creation { grid-column: 1 / span 6; }
.creation--decale { grid-column: 8 / span 5; margin-top: clamp(80px, 14vw, 220px); }
.creation:nth-child(3) { grid-column: 2 / span 5; }
.creation:nth-child(4) { grid-column: 9 / span 4; }
.creation figure { margin: 0 0 22px; overflow: hidden; aspect-ratio: 4 / 5; }
.creation:nth-child(1) figure { aspect-ratio: 4 / 3; }
.creation > div { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; }
.creation .num { grid-row: span 2; font: italic 400 15px/1.6 var(--serif); color: var(--or); }
.creation h3 { margin: 0; font: 400 clamp(24px, 2.2vw, 34px)/1.1 var(--serif); }
.creation p { margin: 0; color: var(--encre-2); max-width: 32ch; }
@media (max-width: 760px) { .creation, .creation--decale, .creation:nth-child(3), .creation:nth-child(4) { grid-column: 1 / -1; margin-top: 0; } }

.atelier { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.atelier__cadre { position: relative; height: 100%; overflow: hidden; }
.atelier__toile, .atelier__repli { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.atelier__repli { z-index: 0; } .atelier__toile { z-index: 1; }
.atelier.webgl .atelier__repli { visibility: hidden; }
.atelier__citation { position: absolute; z-index: 2; left: var(--marge); right: var(--marge); bottom: clamp(40px, 10vh, 110px); margin: 0; max-width: 18ch; text-shadow: 0 2px 30px rgb(0 0 0 / .5); }
.atelier__citation footer { margin-top: 18px; font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--encre); }
.atelier__cadre::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(18 11 8 / .75), transparent 55%), linear-gradient(180deg, rgb(18 11 8 / .5), transparent 25%, transparent 55%, rgb(18 11 8 / .85)); pointer-events: none; }

.fin { padding: clamp(140px, 24vh, 260px) var(--marge); display: grid; gap: 34px; justify-items: start; }
.fin .texte { max-width: 60ch; }
.bouton { display: inline-flex; padding: 18px 28px; border: 1px solid var(--or); color: var(--or); text-decoration: none; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; transition: background .4s, color .4s; }
.bouton:hover { background: var(--or); color: var(--fond); }
.pied { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; padding: 40px var(--marge) 80px; border-top: 1px solid rgb(239 230 216 / .12); font-size: 13px; color: var(--encre-2); }
.credit { font-size: 12px; letter-spacing: .1em; text-decoration: none; opacity: .75; }
.bandeau-concept { position: fixed; left: 50%; bottom: 14px; translate: -50% 0; z-index: 60; margin: 0; padding: 9px 14px; border-radius: 99px; background: rgb(10 7 5 / .75); border: 1px solid rgb(239 230 216 / .16); font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; pointer-events: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

@media (prefers-reduced-motion: reduce) {
  .scene, .matiere { height: auto; }
  .scene__cadre { position: relative; height: 90vh; }
  .versee__phrase { opacity: 1; position: relative; inset: auto; padding: 0 var(--marge); text-align: left; max-width: none; }
  .versee__cadre-calme { display: block; }
  .matiere__piste { position: relative; height: auto; width: auto; flex-direction: column; align-items: stretch; padding: 100px var(--marge); }
  .matiere__intro, .panneau { width: auto; }
  .versee__indice { display: none; }
}
