/* ============================================================
   AXEL ARRIGHI — portfolio. Système visuel fusion :
   ossature galerie façon Calot + narration immersive Mondrian.
   Léger : 0 build, 1 CSS partagé, GSAP via CDN (dégradé si absent).
   ============================================================ */
/* ============ TABLEAU PALETTES (swap via html[data-theme]) ============ */
:root {
  --paper: #f4ede0;
  --paper-2: #ece2cf;
  --ink: #132e35;
  --ink-soft: #3c545b;
  --petrol: #1e4a56;
  --orange: #e79a5b;
  --red: #c9503f;
  --mint: #9fc5b8;
  --gold: #c9a227;
  --night: #101418;
  --line: rgba(19, 46, 53, 0.16);
  --ease-epic: cubic-bezier(0.75, 0.25, 0.25, 0.75);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --gutter: clamp(16px, 3vw, 44px);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
  --font-nav: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
}
/* 1 — Original (référence Beige / Petrol) */
html[data-theme="original"] { --paper:#f4ede0; --paper-2:#ece2cf; --ink:#132e35; --ink-soft:#3c545b; --petrol:#1e4a56; --orange:#e79a5b; --red:#c9503f; --mint:#9fc5b8; --gold:#c9a227; --night:#101418; --line:rgba(19,46,53,.16); }
/* 2 — Velin Noir — papier vélin & encre de Chine (Akelarre, gravure) */
html[data-theme="velin-noir"] { --paper:#FFFCF8; --paper-2:#F2F0E8; --ink:#0E0E0E; --ink-soft:#5A5A5A; --petrol:#1A1A1A; --orange:#C9A57A; --red:#B5443E; --mint:#A8B5B0; --gold:#B89A4A; --night:#060606; --line:rgba(14,14,14,.14); }
/* 3 — Tabac Miel — Sandrine, salle d'attente (★ évolution Brown Cream) */
html[data-theme="tabac-miel"] { --paper:#F7F0DC; --paper-2:#EEE6C8; --ink:#2B1A0E; --ink-soft:#6B5A46; --petrol:#3A2E22; --orange:#D9A05A; --red:#B84A2E; --mint:#9BB5A3; --gold:#C9A227; --night:#1A120E; --line:rgba(43,26,14,.15); }
/* 4 — Pierre Mousse — Kosmogonia, genèse organique */
html[data-theme="pierre-mousse"] { --paper:#F2EFE7; --paper-2:#E6E2D8; --ink:#1E3329; --ink-soft:#4A5E52; --petrol:#1F3A2E; --orange:#C9A86A; --red:#A84A3D; --mint:#9BB0A0; --gold:#B89A3A; --night:#0F1F18; --line:rgba(30,51,41,.16); }
/* 5 — Ardoise Craie — galerie froide, fait pop Sandrine */
html[data-theme="ardoise"] { --paper:#F8F6F0; --paper-2:#ECEAE6; --ink:#1F242E; --ink-soft:#5A6170; --petrol:#2E3440; --orange:#D0A074; --red:#B85A5A; --mint:#9AA8B5; --gold:#C2A75A; --night:#0F141E; --line:rgba(31,36,46,.16); }
/* 6 — Sable Lapis — Egypte, occult, or (triptyque) */
html[data-theme="sable-lapis"] { --paper:#F5EDD6; --paper-2:#EDE3C2; --ink:#0F1D2F; --ink-soft:#4A5A6B; --petrol:#162A4A; --orange:#D9A05A; --red:#B94A3D; --mint:#8FB0B8; --gold:#C9A227; --night:#070E1E; --line:rgba(15,29,47,.16); }
/* 7 — Brown Cream — conservée pour comparaison (atelier) */
html[data-theme="brown-cream"] { --paper:#FAF3E6; --paper-2:#EDE6D6; --ink:#3E2723; --ink-soft:#6B5548; --petrol:#4A2C1D; --orange:#D98A4A; --red:#B94A2E; --mint:#B8A89A; --gold:#B8922E; --night:#1A120E; --line:rgba(62,39,35,.16); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-width: none; scroll-behavior: auto; }
html::-webkit-scrollbar { display: none; }
html.lenis-lock { overflow: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* grain papier subtil */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: var(--ink); }

.wrap { width: min(1560px, 100% - var(--gutter) * 2); margin-inline: auto; }
section { position: relative; }

/* ————— typographie ————— */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0.005em;
  font-weight: 400;
}
.eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-soft); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.55; max-width: 56ch; }
.mask-line { display: block; overflow: hidden; }
.mask-line > span { display: block; }

/* ————— progression scroll ————— */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1500;
  background: transparent; }
#progress i { display: block; height: 100%; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left; }

/* ————— header 3 zones (façon Calot) ————— */
header.site {  position: fixed; inset: 0 0 auto 0; z-index: 1000;  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  padding: 0 var(--gutter);
  font-family: var(--font-nav);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;  background: var(--paper);  transition: color 0.6s var(--ease-epic);}
/* Navbar adaptative (pilotée par JS) : texte papier sur fond sombre, encre sinon. */
header.site.on-dark { color: var(--paper); }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-size: 20px; letter-spacing: 0.08em; }
.brand img { width: 48px; height: 64px; object-fit: contain; }
/* logo inline SVG : plus de carré bleu, couleur suit la palette */
.brand .logo { width: 34px; height: 34px; display: block; flex: none; color: var(--ink); }
.brand .logo path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.nav-mid { display: flex; gap: 26px; padding-top: 8px; }
.nav-right { display: flex; gap: 22px; justify-content: end; padding-top: 8px; align-items: center; }
/* soulignement à balayage */
.u-link { position: relative; padding-bottom: 2px; white-space: nowrap; }
.u-link::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out); }
.u-link.active::before { transform: scaleX(1); }
.u-link:hover::before { transform: scaleX(1); }
.lang-toggle button {
  background: none; border: 0; color: inherit; font: inherit; letter-spacing: 0.15em;
  padding: 5px 10px; cursor: pointer; opacity: 0.45; }
.lang-toggle button.active { opacity: 1; background: currentColor; }
.lang-toggle button.active span { filter: invert(1); }
#burger { display: none; background: none; border: 0; color: inherit; font: inherit;
  letter-spacing: 0.22em; cursor: pointer; padding-top: 8px; }

/* ————— hero monumental ————— */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: end;
  padding: calc(70px + 4vh) 0 0; overflow: clip; }
.hero-type { font-size: clamp(3rem, 12.5vw, 15rem); white-space: nowrap; }
.hero-type .row { display: flex; align-items: baseline; gap: 3vw; }
.hero-type .idx { font-family: var(--font-body); font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  letter-spacing: 0.3em; }
.hero-media { position: relative; margin-top: 2vh; }
.hero-media .frame { overflow: hidden; }
.hero-media img { width: 100%; height: clamp(320px, 62vh, 640px); object-fit: cover; }
.hero-cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 0 26px; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-soft); }
.scroll-cue { display: flex; align-items: center; gap: 14px; padding: 0 0 30px;
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; }
.scroll-cue .bar { display: none; }
.scroll-cue .bar { width: 1px; height: 56px; background: var(--ink); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; inset: 0; background: var(--red);
  animation: cue 1.8s var(--ease-epic) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ————— chapitres 01–04 ————— */
.chapters { padding: 12vh 0 4vh; }
.chapter { border-top: 1px solid var(--line); padding: 7vh 0; display: grid;
  grid-template-columns: 110px 1fr; gap: clamp(16px, 3vw, 48px); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.ch-num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ch-body h3 { font-size: clamp(2.6rem, 7vw, 6.4rem); }
.ch-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 26px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); }
.ch-meta b { color: var(--paper); background: var(--ink); padding: 3px 10px; font-weight: 600; }
/* vignette façon Calot : titre qui remonte au hover */
.poster-link { display: block; position: relative; overflow: hidden; background: var(--paper-2); }
.poster-link img { width: 100%; height: clamp(280px, 52vh, 520px); object-fit: cover;
  transition: transform 1s var(--ease-epic), filter 1s var(--ease-epic); }
.poster-link:hover img { transform: scale(1.045); }
.poster-link .veil { position: absolute; inset: auto 0 0 0; padding: 22px;
  background: linear-gradient(transparent, rgba(16, 20, 24, 0.72)); color: #fff;
  display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.poster-link .veil .t { overflow: hidden; }
.poster-link .veil .t span { display: block; transform: translateY(110%);
  transition: transform 0.55s var(--ease-epic); font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; }
.poster-link:hover .veil .t span { transform: translateY(0); }
.poster-link .veil .go { font-size: 11px; letter-spacing: 0.3em; border: 1px solid #fff;
  padding: 8px 14px; white-space: nowrap; }

/* ————— bandeau panoramique pinné ————— */
.hscroll { background: var(--night); color: var(--paper); overflow: clip; }
.hscroll .pin { height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hscroll .track { display: flex; gap: 4vw; padding: 0 var(--gutter) 0 20vw; align-items: center;
  width: max-content; will-change: transform; }
.hscroll figure { flex: none; }
.hscroll .quote { flex: none; width: 60vw; display: flex;
  justify-content: center; text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 3rem); text-transform: uppercase; line-height: 1.05; }
.hscroll .quote span { display: block; max-width: 24ch; }
.hscroll img.pano { height: 62vh; width: auto; max-width: none; }
.hscroll .tall { height: 78vh; width: auto; max-width: none; }

/* ————— manifeste plein écran ————— */
.manifesto { padding: 20vh 0; text-align: center; }
.manifesto p { font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.9rem, 5.2vw, 4.6rem); line-height: 1.02; max-width: 20ch; margin-inline: auto; }
.manifesto p em { font-style: normal; color: var(--red); }

/* ————— showreel ————— */
.reel { background: var(--ink); color: var(--paper); padding: 12vh 0; }
.reel-stage { position: relative; margin-top: 34px; }
.reel-stage img, .reel-stage video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.reel-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; }
.reel-play span { width: 108px; height: 108px; border: 1px solid var(--paper); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--paper); background: rgba(16, 20, 24, 0.35);
  backdrop-filter: blur(4px); transition: transform 0.4s var(--ease-epic), background 0.4s; }
.reel-play:hover span { transform: scale(1.1); background: var(--red); border-color: var(--red); }

/* ————— grilles galerie ————— */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); align-items: stretch; grid-auto-flow: dense; }
.gallery > * { min-width: 0; align-self: stretch; }
.g4 { grid-column: span 4; } .g5 { grid-column: span 5; } .g6 { grid-column: span 6; }
.g7 { grid-column: span 7; } .g8 { grid-column: span 8; } .g12 { grid-column: span 12; }
.tirage { background: #fbf7ec; padding: 12px 12px 0; box-shadow: 0 1px 2px rgba(19,46,53,.18),
  0 12px 32px -12px rgba(19,46,53,.35); display: flex; flex-direction: column; height: 100%; min-height: 0; }
.tirage img { width: 100%; height: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; }
.tirage figcaption { display: flex; justify-content: space-between; gap: 10px;
  padding: 12px 4px 14px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); }
.g-item { cursor: zoom-in; }
.g-item img { aspect-ratio: 16/10; }
.g-item.tall img { aspect-ratio: 3/4; }
.g-item.square img { aspect-ratio: 1/1; }
.g-item.wide img { aspect-ratio: 21/9; }
.tarot-card .name { margin-top: 14px; text-align: center; font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); }

/* ————— filtres BY PROJECT / BY COLOR ————— */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 34px; }
.filters button { background: none; border: 1px solid var(--ink); color: var(--ink);
  font: inherit; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  padding: 9px 18px; cursor: pointer; transition: all 0.3s var(--ease-out); }
.filters button:hover { background: var(--ink); color: var(--paper); }
.filters button.active { background: var(--ink); color: var(--paper); }
.g-item.hidden { display: none; }

/* ————— notes de décor (View Notes) ————— */
.notes { margin-top: 8vh; border-top: 1px solid var(--line); }
.notes details { border-bottom: 1px solid var(--line); }
.notes summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 20px 4px; font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); text-transform: uppercase; }
.notes summary::-webkit-details-marker { display: none; }
.notes summary .plus { font-family: var(--font-body); font-size: 1.6rem; line-height: 1;
  transition: transform 0.4s var(--ease-epic); }
.notes details[open] summary .plus { transform: rotate(45deg); }
.notes .note-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 34px; padding: 0 4px 28px; color: var(--ink-soft); }
.notes .note-body b { display: block; color: var(--ink); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 6px; }

/* ————— séquences scrub (nid / egypte) ————— */
.scrub-stage { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--night); will-change: transform, opacity; }
.scrub-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: opacity, transform, filter; }
.scrub-stage img:not(:first-child) { opacity: 0; } /* repli sans JS : 1re image */
.scrub-cap { display: flex; justify-content: space-between; padding: 12px 2px 0;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); }
/* pin spacing : évite le saut quand GSAP pin */
.pin-spacer .scrub-stage { margin-top: 0 !important; margin-bottom: 0 !important; }
@media (min-width: 901px) {
  .scrub-stage.is-pinned { box-shadow: 0 20px 60px rgba(16,20,24,.18); }
}

/* ————— tarot : éventail (repli sans JS) + carousel coverflow GSAP ————— */
.tarot-fan { display: flex; justify-content: center; perspective: 1200px;
  padding: 6vh 0 8vh; }
.tarot-card { width: min(200px, 34vw); margin-inline: -34px; cursor: pointer;
  transition: margin 0.6s var(--ease-epic); outline-offset: 4px; }
.tarot-card .inner { position: relative; aspect-ratio: 5/8; transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-epic); }
.tarot-card .face { position: absolute; inset: 0; backface-visibility: hidden;
  -webkit-backface-visibility: hidden; border: 1px solid var(--gold);
  box-shadow: 0 24px 50px -20px rgba(16,20,24,.55); background: var(--night); }
.tarot-card .face img { width: 100%; height: 100%; object-fit: contain; }
.tarot-card .back { transform: rotateY(180deg); }
.tarot-card.flipped .inner { transform: rotateY(180deg); }
.tarot-fan:not(.is-carousel):hover .tarot-card { margin-inline: -8px; }

/* mode carousel : le JS ajoute .is-carousel, GSAP pilote les positions */
.tarot-carousel { perspective: 1400px; }
.tarot-fan.is-carousel { display: block; position: relative; height: clamp(400px, 46vw, 560px);
  padding: 0; margin-top: 26px; cursor: grab; touch-action: pan-y; user-select: none; }
.tarot-fan.is-carousel:active { cursor: grabbing; }
.tarot-fan.is-carousel .tarot-card { position: absolute; left: 50%; top: 0;
  width: min(240px, 58vw); margin: 0; will-change: transform; }
.tarot-fan.is-carousel .tarot-card .name { transition: opacity 0.4s var(--ease-out); }
.tarot-fan.is-carousel .tarot-card:not(.is-active) .name { opacity: 0.35; }
.tarot-fan.is-carousel .tarot-card.is-active .face.front {
  box-shadow: 0 30px 70px -18px rgba(16,20,24,.6), 0 0 0 1px var(--gold); }
/* titre de l'arcane active + contrôles */
.tarot-title { text-align: center; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; min-height: 1.1em; margin-top: 4px; }
.tarot-ui { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 14px; }
.tarot-ui button { background: none; border: 1px solid var(--ink); color: var(--ink);
  font: inherit; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  padding: 10px 20px; cursor: pointer; transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.tarot-ui button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.tarot-ui button:disabled { opacity: 0.3; cursor: default; }
.tarot-count { font-size: 11px; letter-spacing: 0.3em; color: var(--ink-soft); min-width: 64px; text-align: center; }
.tarot-hint { text-align: center; margin-top: 12px; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 900px) {
  .tarot-fan.is-carousel { height: clamp(360px, 118vw, 500px); }
}

/* ————— comparatif avant/après ————— */
.compare { position: relative; overflow: hidden; user-select: none; }
.compare img { width: 100%; display: block; pointer-events: none; }
.compare .after { position: absolute; top: 0; bottom: 0; left: 0; overflow: hidden;
  width: 50%; border-right: 2px solid var(--paper); }
.compare .after img { height: 100%; max-width: none; object-fit: cover; }
.compare input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: ew-resize; }

/* ————— lightbox ————— */
#lightbox { position: fixed; inset: 0; z-index: 2500; background: rgba(16, 20, 24, 0.94);
  display: none; align-items: center; justify-content: center; padding: 4vmin; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; }
#lightbox .close { position: absolute; top: 18px; right: 24px; background: none; border: 0;
  color: #fff; font-size: 13px; letter-spacing: 0.3em; cursor: pointer; }

/* ————— about / contact ————— */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 70px);
  padding: 16vh 0 8vh; align-items: start; }
.timeline { border-top: 1px solid var(--line); margin-top: 34px; }
.timeline .t-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline .t-date { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.timeline .t-row p { color: var(--ink-soft); margin-top: 4px; max-width: 62ch; }
.btn { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--ink);
  padding: 14px 26px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate; transition: color 0.35s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease-epic); }
.btn:hover { color: var(--paper); }
.btn:hover::after { transform: scaleY(1); }
.btn.solid { background: var(--ink); color: var(--paper); }
.contact-hero { padding: 20vh 0 10vh; }
.contact-hero a.mail { font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.8rem, 6.5vw, 5.6rem); line-height: 1; word-break: break-all; }
footer.site { border-top: 1px solid var(--line); margin-top: 10vh; padding: 34px 0 44px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); }

/* ————— nav prev/next projets ————— */
.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 10vh; }
.pn a { padding: 5vh var(--gutter); display: flex; flex-direction: column; gap: 12px; }
.pn a:last-child { text-align: right; border-left: 1px solid var(--line); align-items: flex-end; }
.pn .k { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); }
.pn .t { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3rem);
  text-transform: uppercase; line-height: 1; transition: transform 0.45s var(--ease-epic); }
.pn a:hover .t { transform: translateX(12px); }
.pn a:last-child:hover .t { transform: translateX(-12px); }

/* ————— page projet : hero ————— */
.proj-hero { padding: calc(90px + 6vh) 0 5vh; }
.proj-hero h1 { font-size: clamp(3.4rem, 12vw, 11rem); }
.proj-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px; margin: 30px 0 40px; border-block: 1px solid var(--line); padding-block: 18px; }
.proj-facts b { display: block; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 4px; }
/* ————— Illustrations : rythme éditorial ————— */
.page-illus-hero { padding-bottom: 3.5vh; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.page-illus-hero .proj-facts { margin-bottom: 0; }
.section-head { display: grid; grid-template-columns: 340px 1fr; gap: 28px 40px; align-items: start; margin-bottom: 34px; }
.section-head .section-desc { font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.55; color: var(--ink-soft); max-width: 52ch; margin: 0; }
.section-egypte { background: color-mix(in srgb, var(--paper-2) 62%, var(--paper) 38%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9vh 0 7vh; }
.section-egypte .scrub-stage { max-width: 1160px; margin-inline: auto; box-shadow: 0 1px 2px rgba(16,20,24,.10), 0 18px 48px -16px rgba(16,20,24,.28); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.section-egypte .scrub-cap { max-width: 1160px; margin-inline: auto; }
.section-tarot { padding: 9vh 0 6vh; border-bottom: 1px solid var(--line); }
.section-encres { padding: 8vh 0 4vh; }
.section-encres .encres-grid { gap: 28px; margin-top: 0; }
.section-encres .encres-grid .tirage { padding: 14px 14px 0; }
.section-encres .encres-grid .tirage img { aspect-ratio: 4/3; }
.section-encres .notes { margin-top: 6vh; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-egypte { padding: 6vh 0 5vh; }
  .section-tarot { padding: 6vh 0 4vh; }
}
.proj-facts b { display: block; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 4px; }

/* ————— responsive ————— */
@media (max-width: 900px) {
  .nav-mid, .nav-right .u-link { display: none; }
  #burger { display: block; }
  header.site.open .nav-mid { display: flex; position: fixed; inset: 0; z-index: 2000; background: var(--ink);
    color: var(--paper); flex-direction: column; align-items: center; justify-content: center;
    gap: 30px; font-size: 15px; }
  header.site.open .nav-mid a { color: var(--paper); }
  /* menu ouvert : le bouton reste EXACTEMENT à sa place (même absolu que fermé) */
  header.site.open #burger { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); z-index: 2001; color: var(--paper); }
  .chapter { grid-template-columns: 1fr; }
  .ch-num { -webkit-text-stroke-width: 1px; }
  .g4, .g5, .g6, .g7, .g8 { grid-column: span 12; }
  .about-grid { grid-template-columns: 1fr; }
  .hscroll .pin { height: auto; padding: 10vh 0; }
  .hscroll .track { width: auto; max-width: 100%; flex-direction: column; align-items: stretch; padding-left: var(--gutter); }
  .hscroll img.pano, .hscroll .tall { width: 100%; height: auto; }
  .hscroll .quote { width: auto; }
  .tarot-fan:not(.is-carousel) .tarot-card { margin-inline: -22px; }
  .pn { grid-template-columns: 1fr; }
  .pn a:last-child { border-left: 0; border-top: 1px solid var(--line); text-align: left; align-items: flex-start; }
  .pn a:last-child:hover .t { transform: translateX(12px); }
}
/* ============================================================
   V2 — maquette : navbar blanche logo centré + pill,
   footer vert en V, galeries justifiées 100% sans crop,
   carousels, marquee demo-reel, cercles projets, page CV.
   ============================================================ */
:root { --green: #0c4f3c; }
body { background: #fff; }

/* ————— navbar maquette ————— */
header.site {
  position: sticky; top: 0;
  background: #fff; color: #111;
  grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(20px, 4vw, 60px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}
header.site .nav-mid { padding-top: 0; gap: clamp(14px, 2vw, 30px); }
header.site .nav-mid a, header.site .nav-right a.insta-link { color: #111; }
header.site .u-link.active { }
header.site .brand { justify-content: center; }
header.site .brand img { width: auto; height: clamp(150px, 15vw, 230px); object-fit: contain; }
header.site .brand .brand-name { display: none; }
header.site .nav-right { padding-top: 0; gap: 18px; align-items: center; }
/* navbar opaque : le texte reste encre même au-dessus d'un fond sombre */
header.site.on-dark { color: #111; }
.insta-link { display: inline-flex; align-items: center; }
.insta-link svg { width: 22px; height: 22px; }
/* lien Instagram réservé au menu mobile ouvert : invisible partout ailleurs */
.menu-insta { display: none; }
.pill {
  display: inline-block; border: 2.5px solid var(--green); color: var(--green);
  border-radius: 999px; padding: 18px 34px; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.pill:hover { background: var(--green); color: #fff; }
header.site.scrolled { background: #fff; }
/* navbar : disparaît en scrollant vers le bas, réapparaît vers le haut */
header.site { transition: transform 0.3s var(--ease-out), color 0.6s var(--ease-epic); }
header.site.nav-hidden { transform: translateY(-101%); }
/* header en flow (sticky) : plus besoin de big padding, juste un peu d'air */
main.v2 { padding-top: clamp(28px, 4vw, 56px); }
/* portfolio : galerie collée à la navbar, zéro espace */
body.portfolio main.v2 { padding-top: 0; }
body.portfolio .jsec { padding-top: 0; }

/* ————— footer vert en V ————— */
footer.vfoot {
  background: var(--green); color: #fff; border: 0; margin-top: 0;
  clip-path: polygon(0 0, 50% 34px, 100% 0, 100% 100%, 0 100%);
  padding: 110px clamp(20px, 8vw, 120px) 46px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: clamp(15px, 1.8vw, 24px); letter-spacing: 0.02em; text-transform: none;
}
footer.vfoot a { text-decoration: underline; text-underline-offset: 4px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
footer.vfoot .sep { margin: 0 10px; opacity: 0.7; }

/* ————— galeries justifiées : 100% de la ligne, zéro crop —————
   Lignes calculées au build (SSR) en % : fluides sans JS. */
/* ————— apparition des images : reveal premium au chargement + au scroll —————
   Le JS ajoute .js-fade sur <html>, pose --d (cascade au load, stagger court au
   scroll) puis .seen via IO. La carte se révèle dès qu'elle approche (même si son
   image charge encore) ; l'image fond séparément via .ld quand elle est décodée.
   Sans JS (ou mouvement réduit) : images visibles immédiatement. */
html.js-fade .jgal figure,
html.js-fade .car-card {
  opacity: 0;
  transform: translateY(30px) scale(0.99);
  filter: blur(8px) saturate(0.9);
  transform-origin: 50% 60%;
  will-change: opacity, transform, filter;
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
html.js-fade .jgal figure img,
html.js-fade .car-card img {
  transform: scale(1.05);
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.8s ease, transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms, var(--d, 0ms);
}
html.js-fade .jgal figure.seen,
html.js-fade .car-card.seen {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}
html.js-fade .jgal figure.seen img,
html.js-fade .car-card.seen img {
  transform: scale(1);
}
html.js-fade .jgal figure.ld img,
html.js-fade .car-card.ld img {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  html.js-fade .jgal figure,
  html.js-fade .car-card,
  html.js-fade .jgal figure img,
  html.js-fade .car-card img {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
.jgal { display: block; }
.jgal .jrow { display: flex; gap: 1.25%; width: 100%; margin-bottom: 1.25%; }
.jgal .jrow:last-child { margin-bottom: 0; }
/* ————— masonry 2 colonnes (galeries naturelles) : aucun creux, zéro crop ————— */
@media (max-width: 700px) {
  .jgal .ncols { flex-direction: column; }
}
.jgal figure {
  margin: 0; padding: 0; background: #fff; overflow: hidden;
  flex: none; cursor: zoom-in;
}
.jgal figure img { width: 100%; height: 100%; object-fit: contain; display: block; }
.jsec { padding: 0 0 10px; }
.jsec-head { display: flex; align-items: baseline; gap: 16px; margin: 0 0 16px; flex-wrap: wrap; }
.jsec-head h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1; }
.jsec-head .count { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); }
.jsec-head .sub { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.fullbleed { width: 100%; }
.fullbleed .jsec-head { width: min(1560px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ————— carousels (pas de crop : contain) ————— */
.car { position: relative; }
.car-track {
  display: flex; gap: 0; overflow-x: auto; overflow-y: hidden; padding: 6px 6vw 10px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-card { flex: 0 0 auto; scroll-snap-align: center; background: #f1e8d3; margin: 0; padding: 0; }
.car-card img { height: clamp(300px, 44vh, 470px); width: auto; max-width: 86vw; object-fit: contain; display: block; }
.car-card figcaption { padding: 10px 4px 12px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
/* tarot : cartes portrait → format carte, bien plus grand que le carousel standard */
#car-i-tarot .car-card img { height: clamp(540px, 80vh, 860px); }
.car-btn {
  position: absolute; top: 42%; z-index: 3; width: 54px; height: 54px;
  background: rgba(255, 255, 255, 0.88); border: 0; border-radius: 4px;
  font-size: 24px; line-height: 1; cursor: pointer; color: #111;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.car-btn.prev { left: 14px; } .car-btn.next { right: 14px; }
.car-btn:hover { background: #fff; }

/* ————— marquee demo-reel ————— */
.marquee {
  overflow: hidden; white-space: nowrap; padding: 26px 0 8px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-inner { display: inline-block; animation: mq 30s linear infinite; }
.marquee-inner span {
  display: inline-block; font-size: clamp(2rem, 5vw, 4.2rem); color: #111;
  padding-right: 0.6em;
}
@keyframes mq { to { transform: translateX(-50%); } }
/* ————— text loop : bande verte collée à la navbar (demo-reel) —————
   Texte défilant le long d'un chemin SVG (ligne = curviness 0),
   ruban vert footer (#0c4f3c), texte blanc. */
.text-loop { display: block; width: 100%; overflow: hidden; }
.text-loop-svg { display: block; width: 100%; height: auto; }
.text-loop-path {
  fill: none; stroke: var(--green); stroke-width: 32;
  stroke-linecap: round; stroke-linejoin: round;
}
.text-loop-measure { visibility: hidden; }
.text-loop-text, .text-loop-measure {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 600; letter-spacing: 1px;
}
.text-loop-text { fill: #fff; }
@media (prefers-reduced-motion: reduce) { .text-loop-text { opacity: 1; } }

/* ————— player demo-reel page blanche ————— */
body.reel-page { background: #fff; }
body.reel-page header.site { position: relative; }
.reel-page main.v2 { padding-bottom: 0; padding-top: 0; }
.reel-center { width: min(1080px, 100% - var(--gutter) * 2); margin: 26px auto 0; }
.reel-frame { position: relative; background: #000; aspect-ratio: 16/9; cursor: pointer; overflow: hidden; }
.reel-frame video { width: 100%; height: 100%; display: block; }
.reel-title {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3.2vh; color: #fff;
  text-align: center; pointer-events: none; padding: 20px;
  transition: opacity 0.4s ease;
}
.reel-title .k { font-size: clamp(11px, 1.4vw, 17px); letter-spacing: 0.55em; opacity: 0.75; }
.reel-title h2 { font-size: clamp(2rem, 6vw, 4.6rem); letter-spacing: 0.22em; font-weight: 400; }
.reel-title .mail { font-size: clamp(11px, 1.5vw, 17px); letter-spacing: 0.3em; opacity: 0.7; }
.reel-frame.is-playing .reel-title { opacity: 0; }
.reel-play-big {
  position: absolute; inset: 0; margin: auto; width: 104px; height: 104px; border-radius: 50%;
  border: 0; background: rgba(20, 20, 20, 0.55); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease;
}
.reel-play-big:hover { background: rgba(20, 20, 20, 0.8); transform: scale(1.06); }
.reel-play-big:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.reel-play-big svg { width: 40px; height: 40px; }
.reel-play-big .ic-play { margin-left: 6px; }
.reel-play-big .ic-pause { display: none; }
.reel-frame.is-playing .reel-play-big { opacity: 0; pointer-events: none; transform: scale(0.9); }
.reel-frame.is-playing .reel-play-big .ic-play { display: none; }
.reel-frame.is-playing .reel-play-big .ic-pause { display: block; margin-left: 0; }
.reel-frame.is-playing:hover .reel-play-big { opacity: 1; pointer-events: auto; }
.reel-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.25); cursor: pointer; transition: height 0.2s ease; }
.reel-frame:hover .reel-progress { height: 5px; }
.reel-progress i { display: block; height: 100%; width: 0%; background: #fff; }
.reel-full {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(20, 20, 20, 0.55); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease, background 0.3s ease;
}
.reel-frame:hover .reel-full { opacity: 1; pointer-events: auto; }
.reel-full:hover { background: rgba(20, 20, 20, 0.85); }
.reel-full:focus-visible { opacity: 1; pointer-events: auto; outline: 2px solid #fff; outline-offset: 2px; }
.reel-full svg { width: 18px; height: 18px; }
.reel-frame:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; }
.reel-frame:fullscreen video { width: 100%; height: 100%; object-fit: contain; }
.reel-mail { text-align: center; padding: 26px 0 60px; color: #333; letter-spacing: 0.06em; }

/* ————— page projets : 3 cercles ————— */
.choses { display: flex; justify-content: space-between; padding: 10px 0 0; font-size: 15px; }
/* ————— page projets : une seule ligne horizontale + accordéon léger —————
   3 panneaux flex:1, le survolé s'ouvre (flex-grow), les autres se resserrent.
   Uniquement image + titre. */
.pfeat-list {
  display: flex; gap: 10px; align-items: stretch;
  width: min(1560px, 100% - var(--gutter) * 2); margin-inline: auto;
  height: clamp(440px, 66svh, 760px);
  padding-bottom: 12px;
}
.pfeat {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  flex: 1 1 0; min-width: 0; border-radius: 16px; background: #111;
  container-type: inline-size;
  transition: flex-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  animation: pfeat-in 1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.pfeat:nth-child(2) { animation-delay: 90ms; }
.pfeat:nth-child(3) { animation-delay: 180ms; }
@keyframes pfeat-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.pfeat:hover, .pfeat:focus-visible { flex-grow: 2.6; outline: none; }
.pfeat:focus-visible { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px currentColor; }
.pfeat img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
  filter: brightness(0.94) saturate(0.96);
  transition: transform 1.2s var(--ease-epic), filter 0.6s ease;
  user-select: none; -webkit-user-drag: none;
}
.pfeat:hover img, .pfeat:focus-visible img { transform: scale(1.05); filter: brightness(1) saturate(1); }
/* les panneaux non survolés se font discrets : léger assombrissement */
.pfeat-list:has(.pfeat:hover) .pfeat:not(:hover) img { filter: brightness(0.68) saturate(0.88); }
.pfeat::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: 1;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); pointer-events: none;
  transition: opacity 0.6s ease;
}
.pfeat-list:has(.pfeat:hover) .pfeat:not(:hover)::after { opacity: 0.7; }
.pfeat-name {
  position: absolute; left: clamp(18px, 2vw, 32px); bottom: clamp(16px, 2.4vh, 28px); z-index: 2;
  color: #fff; font-size: clamp(2rem, 3.4vw, 3.9rem); line-height: 0.9; letter-spacing: 0.01em;
  /* le titre suit la largeur de SON panneau (pas du viewport) : quand le panneau
     se resserre au survol du voisin, le texte rétrécit au lieu d'être écrasé.
     1re déclaration = repli navigateurs sans container queries. */
  font-size: clamp(1.4rem, 11cqi, 3.9rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); white-space: nowrap;
}
@media (max-width: 900px) {
  .pfeat-list { flex-direction: column; height: auto; max-height: none; min-height: 0; }
  .pfeat { flex: none; height: 58svh; min-height: 360px; }
  .pfeat:hover { flex-grow: 0; }
  .pfeat-list:has(.pfeat:hover) .pfeat:not(:hover) img { filter: brightness(0.94) saturate(0.96); }
  .pfeat-name { font-size: clamp(2.4rem, 12vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pfeat, .pfeat img, .pfeat::after { transition: none; animation: none; }
}

/* ————— page CV / à propos façon capture ————— */
.cv-bg { position: relative; background: #0c0c0e; }
/* l'ancien voile fixe est désactivé : l'image vit dans .about-black et file sous la navbar */
body.cv-bg::before { display: none; }
.cv-bg main { position: relative; z-index: 1; }
body.cv-bg main.v2 { padding-top: 0; }
/* la falaise est incrustée dans la navbar : barre fixe transparente, sans ombre (comme avant) */
body.cv-bg header.site { position: absolute; background: transparent; box-shadow: none; }
body.cv-bg header.site.on-dark { color: #fff; }
body.cv-bg header.site.on-dark .nav-mid a,
body.cv-bg header.site.on-dark .nav-right a.insta-link { color: #fff; }
body.cv-bg header.site .pill { border-color: #fff; color: #fff; }
body.cv-bg header.site .pill:hover { background: #fff; color: #111; }
/* le brush blanc attaque direct le footer : pas d'encoche en V, jonction nette */
body.cv-bg footer.vfoot { clip-path: none; padding-top: clamp(40px, 6vh, 70px); }
.cv-grid { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: clamp(24px, 4vw, 70px); align-items: start; }
.cv-photo { background: #111; }
.cv-photo img { width: 100%; height: auto; display: block; filter: grayscale(1); }
.cv-grid h1 { font-size: clamp(2rem, 4vw, 3.4rem); color: #fff; font-weight: 400; margin-bottom: 34px; }
.cv-grid .body-w { color: #fff; max-width: 62ch; }
.cv-grid .body-w p { margin-bottom: 18px; font-size: 15.5px; line-height: 1.65; }
.cv-grid .body-w a { text-decoration: underline; }
.cv-dl { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn.light { border-color: #fff; color: #fff; }
.btn.light::after { background: #fff; }
.btn.light:hover { color: #111; }

@media (max-width: 900px) {
  /* 3 colonnes explicites : burger | logo | nav-right (vide, équilibrée) —
     plus de retour à la ligne, tout centré verticalement */
  header.site { grid-template-columns: 1fr auto 1fr; padding: 0 18px; align-items: center; min-height: 76px; }
  header.site .brand { order: 2; justify-content: center; align-self: center; }
  header.site .brand img { width: auto; height: 96px; }
  header.site .nav-mid { order: 1; }
  header.site .nav-right { order: 1; justify-content: flex-start; }
  /* "Menu" à droite, centré verticalement + grosse zone tactile.
     Position absolue : insensible à la grille, toujours à sa place. */
  #burger {
    display: flex; align-items: center;
    position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    min-height: 48px; min-width: 48px; padding: 14px 0 14px 20px;
    font-size: 13px;
  }
  /* Instagram caché de la barre : il vit dans le menu ouvert */
  .nav-right .insta-link { display: none; }
  header.site.open .menu-insta {
    display: inline-flex; align-items: center; gap: 12px;
    margin-top: 14px; padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--paper); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  }
  header.site.open .menu-insta svg { width: 22px; height: 22px; }
  .pill { display: none; }
  .cv-grid { grid-template-columns: 1fr; }
  /* about : l'override desktop 2 colonnes ne doit pas s'appliquer sur mobile */
  .about-black .cv-grid { grid-template-columns: 1fr; }
  footer.vfoot { font-size: 16px; padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
}
/* ————— séparateurs abstraits (page Sandrine : carousel → décors) —————
   Frise de shapes Memphis : arche pétrole + barre verte + disque abricot +
   anneau + ellipse crème + point. Pur SVG, aucun texte. */
.abs-sep {
  width: 100%; overflow: clip;
  margin-block: clamp(26px, 5vh, 52px);
}
.abs-sep svg {
  display: block; width: 100%;
  height: clamp(72px, 8vw, 120px);
}
.abs-sep--major svg { height: clamp(96px, 11vw, 160px); }
.abs-sep--flip svg { transform: scaleX(-1); }

/* ————— hero compact page Sandrine (sticky navbar : pas de gros padding) ————— */
.sand-hero { padding: 0 0 2vh; }
.sand-hero h1 { font-size: clamp(2rem, 5.5vw, 4rem); }

/* ————— transition brush : le blanc bascule au noir (page Sandrine) —————
   Coup de pinceau horizontal aux bords rugueux (filtre SVG) + éclaboussures,
   qui recouvre le blanc et ouvre la section galeries sur fond noir. */
.brush-sep { line-height: 0; margin-bottom: -1px; }
.brush-sep svg { display: block; width: 100%; height: clamp(64px, 9vw, 130px); }
.sand-black {
  background: #0c0c0e;
  padding: clamp(8px, 2vh, 24px) 0 clamp(30px, 6vh, 72px);
}
.sand-black .jsec + .jsec { margin-top: clamp(20px, 4vh, 48px); }
.sand-black .jgal figure { background: #0c0c0e; }
/* ————— transition brush inversée : le noir bascule au blanc (page Sandrine) —————
   Même coup de pinceau, retourné verticalement : la peinture blanche recouvre
   le noir et ouvre la suite de la galerie sur fond blanc. */
.brush-sep--rev { background: #0c0c0e; margin-bottom: -1px; }
.sand-white {
  background: #fff;
  padding: clamp(8px, 2vh, 24px) 0 clamp(30px, 6vh, 72px);
}
.sand-white .jsec + .jsec { margin-top: clamp(20px, 4vh, 48px); }
.sand-white .jgal figure { background: #fff; }

/* ————— about : intro noire + brush vers le blanc (comme Sandrine) ————— */
.about-black {
  position: relative; background: #0c0c0e; color: #fff;
  /* dégage la navbar fixe : l'image file jusque sous la barre (comme avant) */
  padding: clamp(190px, 24vw, 300px) 0 0;
  overflow: clip;
}
.about-black::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/full/k-falaise-1600.webp") center / cover no-repeat;
  filter: grayscale(1) brightness(0.85); opacity: 0.55;
}
.about-black .wrap { position: relative; }
/* le brush reste sur l'image en continu (pas de coupure noire) */
.about-black .brush-sep--rev { background: transparent; }
/* le SVG doit passer AU-DESSUS du voile image ::before (sinon le blanc est voilé) */
.about-black .brush-sep { position: relative; }
@media (max-width: 900px) {
  .about-black { padding-top: 140px; }
}
.about-black .cv-grid { padding: 4vh 0 3vh; }
@media (min-width: 901px) {
  .about-black .cv-grid {
    align-items: center;
    grid-template-columns: minmax(260px, 380px) minmax(0, 620px);
    justify-content: center;
  }
}
.cv-grid .cv-body { color: #fff; max-width: 62ch; }
.cv-grid .cv-body p { margin-bottom: 18px; font-size: 15.5px; line-height: 1.65; }
.cv-grid .cv-body a { text-decoration: underline; }
.cv-contact {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin: 26px 0 0; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  overflow-wrap: anywhere;
}
.cv-contact a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .cv-photo { margin: 0; }
  .cv-contact { font-size: 11px; letter-spacing: 0.14em; gap: 8px 16px; }
  .cv-dl .btn { flex: 1 1 200px; text-align: center; }
}
.about-white {
  background: #fff;
  padding: clamp(8px, 2vh, 24px) 0 clamp(30px, 6vh, 72px);
}

/* ————— Kosmogonia : ouverture solo réduite (pas plein cadre) ————— */
#g-k-ouverture { width: min(1100px, 100%); margin-inline: auto; }

/* ————— Kosmogonia : brush vert + carousels collés sur fond vert ————— */
.brush-sep--out { background: #0c4f3c; }
.k-green { background: #0c4f3c; }
.k-green .jsec { padding: 0; }
.k-green .car-track { padding-top: 0; padding-bottom: 0; }
.k-green .car-card { background: transparent; }
.k-green .car-card figcaption { display: none; }
.choses--titre { font-size: 19px; }
/* Kosmogonia : carousels bien plus grands */
body.kosmogonia .car-card img { height: clamp(440px, 72vh, 760px); }
/* Illustrations : pyramides + tarot en très grand, apparition immédiate sans fondu */
#car-i-egy .car-card { background: #0c0c0e; }
/* Kosmogonia : carousel chrysalides sur fond blanc = cartes transparentes, adieu le beige */
#car-k-chrys .car-card { background: transparent; }
#car-i-egy .car-card img, #car-i-tarot .car-card img { height: clamp(520px, 82vh, 880px); max-width: 92vw; }
#car-i-egy .car-card, #car-i-egy .car-card img,
#car-i-tarot .car-card, #car-i-tarot .car-card img {
  opacity: 1; transform: none; filter: none; transition: none;
}
@media (max-width: 700px) {
  #car-i-tarot .car-card img { height: 62vh; }
  /* mobile : image pilotée par la largeur = carte plaquée, zéro bande beige */
  #car-i-egy .car-card img { height: auto; width: 94vw; max-width: 94vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
