/* =========================================================
   DA — modifie les couleurs ici pour changer tout le site
   ========================================================= */
:root {
  /* DA sombre « cinéma » : --paper = fond, --ink = texte */
  --paper: #0b0b0c;
  --paper-2: #151517;
  --deep: #050506;
  --ink: #eceae4;
  --ink-2: #c9c6be;
  --muted: #8a877f;
  --line: rgba(236, 234, 228, 0.13);
  --accent: #c6ff3d;
  --accent-ink: #0b0b0c;
  --accent-rgb: 198, 255, 61;

  /* Typo — proposition 02 (Montserrat + Instrument Serif).
     Pour tester la 03 : --f-display: var(--f-serif) */
  --f-display: "Montserrat", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-sans: "Montserrat", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 900;
  --display-tracking: -0.04em;

  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (hover: hover) { body, a, button { cursor: none; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.accent { color: var(--accent); }

/* ---------- Grain ---------- */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: 0.07;
  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");
}

/* ---------- Curseur ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 1001; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor::before {
  content: ""; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid currentColor; color: var(--ink); mix-blend-mode: difference;
  transition: transform .35s var(--ease-out), background .3s, border-color .3s;
  background: radial-gradient(circle, var(--ink) 0 2px, transparent 2.5px);
}
.cursor.is-hover::before { transform: scale(.6); background: var(--accent); border-color: var(--accent); }
.cursor.has-label::before { transform: scale(2.6); }
.cursor__label {
  position: absolute; transform: translate(-50%, -50%); color: var(--accent-ink);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transition: opacity .2s;
}
.cursor.has-label .cursor__label { opacity: 1; }

/* ---------- Transition de page : rideau noir + ligne néon ---------- */
.veil { position: fixed; inset: 0; z-index: 1000; pointer-events: none; background: var(--deep); transform: translateY(101%); display: grid; place-items: center; }
.veil::before, .veil::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 24px rgba(var(--accent-rgb), .7); }
.veil::before { top: 0; }
.veil::after { bottom: 0; }
.veil__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .3s .25s; }
.veil.is-covering { transform: translateY(0); transition: transform .65s var(--ease); pointer-events: auto; }
.veil.is-covering .veil__label { opacity: 1; }
.veil.is-leaving { transform: translateY(-101%); transition: transform .9s var(--ease) .1s; }
.veil.no-anim, .veil.no-anim .veil__label { transition: none !important; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  mix-blend-mode: difference; color: #fff;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 20px; }
.nav__logo small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.nav__links { display: flex; gap: clamp(14px, 2.5vw, 34px); }
.nav__links a { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; padding: 7px 12px; display: flex; gap: 8px; align-items: center; }
.nav__cta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9dff6a; box-shadow: 0 0 0 0 #9dff6a; animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__logo small { display: none; }
}

/* ---------- Coins façon viseur ---------- */
.brackets { position: relative; padding: 14px 16px; }
.brackets::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --b: 1px; --l: 10px; --col: currentColor;
  background:
    linear-gradient(var(--col) 0 0) top left / var(--l) var(--b), linear-gradient(var(--col) 0 0) top left / var(--b) var(--l),
    linear-gradient(var(--col) 0 0) top right / var(--l) var(--b), linear-gradient(var(--col) 0 0) top right / var(--b) var(--l),
    linear-gradient(var(--col) 0 0) bottom left / var(--l) var(--b), linear-gradient(var(--col) 0 0) bottom left / var(--b) var(--l),
    linear-gradient(var(--col) 0 0) bottom right / var(--l) var(--b), linear-gradient(var(--col) 0 0) bottom right / var(--b) var(--l);
  background-repeat: no-repeat; opacity: .5;
}

/* =========================================================
   COUVERTURES GÉNÉRÉES (visuels provisoires)
   ========================================================= */
.cover {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: var(--c); color: var(--e);
  display: grid; grid-template-rows: auto 1fr auto auto; padding: 7% 8%;
  container-type: inline-size;
}
.cover--img { padding: 0; display: block; }
.cover--img img { width: 100%; height: 100%; object-fit: cover; }
.cover__top, .cover__foot { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: max(7px, 3.6cqw); letter-spacing: .08em; text-transform: uppercase; opacity: .85; position: relative; z-index: 2; }
.cover__title { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: 11.5cqw; line-height: .95; position: relative; z-index: 2; margin-bottom: 5%; }
.cover--photo .cover__title { font-family: var(--f-serif); text-transform: none; font-size: 17cqw; line-height: .9; letter-spacing: -.02em; }
.cover__art { position: absolute; inset: 0; z-index: 1; }
.cover::after { /* texture papier */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: multiply; opacity: .5;
  background: radial-gradient(ellipse at 30% 20%, transparent 40%, rgba(0,0,0,.25) 100%);
}
.motif-cercle .cover__art { background: radial-gradient(circle at 50% 45%, var(--e) 0 24%, transparent 24.5%), radial-gradient(circle at 50% 45%, transparent 0 31%, var(--e) 31.3% 31.8%, transparent 32%); opacity: .9; }
.motif-soleil .cover__art { background: radial-gradient(circle at 50% 62%, var(--e) 0 20%, transparent 20.5%), repeating-linear-gradient(0deg, transparent 0 9px, var(--c) 9px 14px), linear-gradient(transparent 58%, var(--e) 58% 100%); -webkit-mask: linear-gradient(transparent 22%, #000 22%); mask: linear-gradient(transparent 22%, #000 22%); opacity: .95; }
.motif-bandes .cover__art { background: repeating-linear-gradient(-12deg, transparent 0 18px, color-mix(in srgb, var(--e) 85%, transparent) 18px 22px); opacity: .55; }
.motif-grille .cover__art { background: linear-gradient(90deg, var(--e) 1px, transparent 1px) 0 0 / 12.5% 12.5%, linear-gradient(var(--e) 1px, transparent 1px) 0 0 / 12.5% 12.5%; opacity: .28; }
.motif-grille .cover__art::after { content: ""; position: absolute; left: 25%; top: 25%; width: 37.5%; height: 25%; background: var(--e); }
.motif-arche .cover__art { background: radial-gradient(ellipse 34% 26% at 50% 40%, var(--e) 0 99%, transparent 100%), linear-gradient(var(--e) 0 0) 50% 70% / 68% 34% no-repeat; -webkit-mask: linear-gradient(#000, #000); opacity: .9; }
.motif-arche .cover__art::after { content: ""; position: absolute; left: 30%; right: 30%; top: 30%; bottom: 18%; border-radius: 999px 999px 0 0; background: var(--c); opacity: .9; }
.motif-diag .cover__art { background: linear-gradient(115deg, transparent 48%, var(--e) 48% 62%, transparent 62%), linear-gradient(115deg, transparent 66%, var(--e) 66% 69%, transparent 69%); opacity: .9; }
.cover__play { position: absolute; z-index: 2; left: 50%; top: 45%; width: 18cqw; height: 18cqw; translate: -50% -50%; border-radius: 50%; background: var(--c); border: 1px solid var(--e); }
.cover__play::after { content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border-left: 5cqw solid var(--e); border-top: 3cqw solid transparent; border-bottom: 3cqw solid transparent; }
.cover--video::before { /* bande type cassette */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4%; z-index: 2;
  background: repeating-linear-gradient(90deg, var(--e) 0 6px, transparent 6px 10px); opacity: .5;
}

/* ---------- Tranche ---------- */
.spine {
  width: 100%; height: 100%; background: var(--c); color: var(--e); position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 12px 0;
  box-shadow: inset 2px 0 0 rgba(255,255,255,.12), inset -3px 0 6px rgba(0,0,0,.25);
}
.spine::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 30%, transparent 70%, rgba(0,0,0,.22)); pointer-events: none; }
.spine__badge { font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; border: 1px solid currentColor; padding: 3px 2px; writing-mode: vertical-rl; }
.spine__title { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(12px, 1.25vw, 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 70%; }
.spine--photo .spine__title { font-family: var(--f-serif); text-transform: none; font-size: clamp(16px, 1.8vw, 25px); letter-spacing: 0; }
.spine__year { font-family: var(--f-mono); font-size: 10px; }
.spine--video::after { content: ""; position: absolute; left: 22%; right: 22%; top: 30%; height: 14px; border: 1px solid currentColor; border-radius: 7px; opacity: .5; }

/* =========================================================
   ACCUEIL
   ========================================================= */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  display: grid; grid-template-columns: 1fr minmax(0, 1.1fr) 1fr; padding: 0 var(--gutter);
}
.hero::before { content: ""; position: absolute; left: 50%; bottom: -20%; width: 70vw; height: 90%; translate: -50% 0; background: radial-gradient(ellipse at 50% 60%, rgba(var(--accent-rgb), .13), transparent 62%); pointer-events: none; z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.65)); pointer-events: none; z-index: 2; }
.hero__left { align-self: center; position: relative; z-index: 3; padding-top: 4vh; }
.hero__index { margin-bottom: 18px; color: var(--muted); }
.hero__name { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(48px, 7.4vw, 136px); line-height: .9; margin: 0; white-space: nowrap; }
.hero__name .line { display: block; overflow: hidden; padding: .12em 0 .04em; margin-top: -.12em; }
.hero__name .char { display: inline-block; will-change: transform; }
.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 7px; }
.hero__facts li { display: flex; gap: 10px; align-items: center; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.hero__facts li.is-accent { color: var(--accent); margin-top: 4px; }
.hero__facts li.is-accent::before { border-radius: 50%; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); animation: ping 2s infinite; }
.portrait--alt img { object-fit: cover; object-position: 50% 20%; }
.portrait--base img { filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }

.hero__portrait { position: absolute; left: 50%; bottom: 0; width: min(44vw, 640px); height: 88%; translate: -50% 0; z-index: 2; }
.portrait { position: absolute; inset: 0; }
.portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.portrait--ph { display: grid; place-items: end center; }
.portrait__ph {
  width: 78%; height: 92%; border-radius: 48% 48% 0 0 / 34% 34% 0 0;
  background: radial-gradient(circle at 50% 25%, #2a2a2e, #18181b 60%, #0f0f11); box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.portrait__ph b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(90px, 14vw, 230px); color: rgba(236,234,228,.85); line-height: 1; letter-spacing: -.04em; }
.portrait__ph i { position: absolute; bottom: 18px; font-style: normal; color: rgba(236,234,228,.4); }
.portrait--alt { -webkit-mask-image: radial-gradient(circle var(--r, 0px) at var(--mx, 50%) var(--my, 50%), #000 92%, transparent 100%); mask-image: radial-gradient(circle var(--r, 0px) at var(--mx, 50%) var(--my, 50%), #000 92%, transparent 100%); }
.portrait--alt .portrait__ph { background: var(--accent); }
.portrait--alt .portrait__ph b { color: var(--accent-ink); font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(40px, 5vw, 80px); text-align: center; line-height: .95; letter-spacing: 0; }
.portrait--alt .portrait__ph i { color: rgba(11,11,12,.55); }

.hero__bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; z-index: 4; display: flex; justify-content: space-between; align-items: center; }
.hero__btn { display: inline-flex; align-items: center; gap: 10px; }
.hero__btn .ic { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.hero__btn .ic::after { content: ""; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin-left: 2px; }
.hero__cta { background: var(--accent); color: var(--accent-ink); padding: 11px 16px; display: inline-flex; gap: 10px; align-items: center; transition: background .3s; }
.hero__cta:hover { background: var(--ink); }
.hero__scroll { display: flex; gap: 8px; align-items: center; }
.hero__scroll span { width: 1px; height: 26px; background: var(--ink); transform-origin: top; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: 80px; }
  .hero__left { align-self: start; padding-top: 0; }
  .hero__name { font-size: clamp(44px, 13vw, 100px); }
  .hero__portrait { width: 86vw; height: 58%; }
  .hero__scroll { display: none; }
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Savoir-faire (scroll horizontal) ---------- */
.dark { background: var(--deep); color: var(--ink); }
.dark .mono.muted, .dark .muted { color: #8b867d; }
.disc { position: relative; overflow: hidden; }
.disc__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; position: relative; }
.disc__head { position: absolute; top: 90px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: end; gap: 20px; z-index: 2; }
.disc__head h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 4vw, 60px); line-height: 1; margin: 0; max-width: 14ch; }
.disc__head h2 em { color: var(--accent); }
.disc__track { display: flex; width: max-content; padding-left: var(--gutter); }
.disc__panel { width: min(88vw, 1200px); flex-shrink: 0; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; padding-right: 8vw; padding-top: 80px; }
.disc__num { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(140px, 24vw, 380px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--accent); position: relative; }
.disc__num span { position: absolute; inset: 0; color: var(--accent); -webkit-text-stroke: 0; clip-path: inset(var(--fill, 100%) 0 0 0); }
.disc__body h3 { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(38px, 5vw, 80px); line-height: .92; margin: 0 0 18px; }
.disc__body p { max-width: 42ch; color: #c8c3b9; font-size: 16px; margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.tags span { border: 1px solid rgba(239,236,230,.25); padding: 5px 9px; border-radius: 999px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.disc__covers { display: flex; gap: 12px; }
.disc__covers a { width: clamp(80px, 9vw, 130px); aspect-ratio: 5/7; transition: transform .5s var(--ease-out); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.disc__covers a:hover { transform: translateY(-10px) rotate(-2deg); }
.disc__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 1px; background: rgba(239,236,230,.18); }
.disc__progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.disc__count { position: absolute; right: var(--gutter); bottom: 48px; }
@media (max-width: 800px) {
  .disc__pin { height: auto; padding: 100px 0 60px; }
  .disc__head { position: static; padding: 0 var(--gutter) 30px; flex-direction: column; align-items: start; }
  .disc__track { flex-direction: column; width: auto; padding: 0 var(--gutter); gap: 70px; }
  .disc__panel { width: auto; grid-template-columns: 1fr; padding: 0; gap: 10px; }
  .disc__num { font-size: 42vw; }
  .disc__progress, .disc__count { display: none; }
}

/* ---------- Titres de section ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 70px; }
.section-head h2 { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(42px, 6.5vw, 110px); line-height: .9; margin: 0; }
.section-head h2 em { font-family: var(--f-serif); text-transform: none; font-weight: 400; color: var(--accent); }

/* ---------- Sélection ---------- */
.selection { padding: 120px var(--gutter) 140px; }
.selection .section-head h2 { color: var(--ink); }
.sel__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.sel__card { display: block; grid-column: span 3; }
.sel__card:nth-child(1) { grid-column: 1 / span 5; }
.sel__card:nth-child(2) { grid-column: 7 / span 4; margin-top: 18vh; }
.sel__card:nth-child(3) { grid-column: 2 / span 4; margin-top: -6vh; }
.sel__card:nth-child(4) { grid-column: 8 / span 5; margin-top: 4vh; }
.sel__media { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.sel__media .cover { transition: transform 1s var(--ease-out); }
.sel__card:hover .sel__media .cover { transform: scale(1.05); }
.sel__meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 12px; }
.sel__meta h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); margin: 0; line-height: 1; }
.sel__more { display: flex; justify-content: center; margin-top: 90px; }
.btn-big { display: inline-flex; align-items: center; gap: 18px; font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(24px, 3.8vw, 56px); line-height: 1; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.btn-big span { display: inline-block; transition: transform .5s var(--ease-out); color: var(--accent); }
.btn-big:hover span { transform: translateX(14px) rotate(-45deg); }
@media (max-width: 760px) {
  .sel__card, .sel__card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--accent); color: var(--accent-ink); padding: 140px var(--gutter) 30px; position: relative; overflow: hidden; }
.contact__kicker { margin-bottom: 30px; opacity: .8; }
.contact__title { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(48px, 10vw, 190px); line-height: .86; margin: 0 0 50px; }
.contact__title em { font-family: var(--f-serif); text-transform: none; font-weight: 400; letter-spacing: -.02em; }
.contact__mail { font-family: var(--f-serif); font-size: clamp(26px, 4vw, 60px); border-bottom: 1px solid currentColor; display: inline-flex; gap: 14px; align-items: baseline; }
.contact__mail small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.contact__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; margin-top: 110px; padding-top: 20px; border-top: 1px solid rgba(11,11,12,.25); }
.contact__links { display: flex; gap: 22px; flex-wrap: wrap; }
.contact__links a:hover { text-decoration: underline; }

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

/* =========================================================
   PROJETS — bibliothèque
   ========================================================= */
.lib-page { height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto; }
.lib-top { padding: 76px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; z-index: 3; }
.tabs { display: inline-flex; border: 1px solid var(--line); padding: 3px; gap: 2px; background: rgba(21,21,23,.7); backdrop-filter: blur(6px); }
.tab { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; position: relative; transition: color .3s; }
.tab sup { font-size: 8px; margin-left: 3px; opacity: .6; }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.tab:not([aria-selected="true"]):not(:disabled):hover { background: var(--paper-2); }
.tab:disabled, .chip:disabled { opacity: .3; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.chips__label { color: var(--muted); margin-right: 6px; }
.chip { font-size: 10px; padding: 6px 11px 6px 9px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; transition: border-color .3s, background .3s; }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--u) 50%, var(--u2, var(--u)) 50%); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.chip:not(:disabled):hover { border-color: var(--u2, var(--u)); }
.chip[aria-pressed="true"] { border-color: var(--u2, var(--u)); background: color-mix(in srgb, var(--u2, var(--u)) 18%, transparent); }
.uni-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--u) 50%, var(--u2, var(--u)) 50%); box-shadow: 0 0 0 1px rgba(255,255,255,.25); margin-right: 8px; vertical-align: 1px; }
.spine__uni { position: absolute; left: 0; right: 0; top: 0; height: 7px; background: linear-gradient(var(--u) 0 4px, var(--u2, var(--u)) 4px 7px); z-index: 1; }
.lib-word {
  position: absolute; left: 0; right: 0; top: 50%; translate: 0 -58%; text-align: center; pointer-events: none; z-index: 0;
  font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(70px, 16vw, 300px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(236,234,228,.09);
  white-space: nowrap; transition: opacity .5s;
}
.shelf { position: relative; perspective: 2400px; perspective-origin: 50% 40%; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden; }
.shelf__stage { position: absolute; left: 0; right: 0; top: 50%; height: var(--H); margin-top: calc(var(--H) / -2 - 10px); transform-style: preserve-3d; }
.shelf__floor { position: absolute; left: 0; right: 0; top: calc(50% + var(--H) / 2 - 10px); height: 60px; background: radial-gradient(ellipse 45% 50% at 50% 0, rgba(var(--accent-rgb),.10), transparent 70%); pointer-events: none; }
.book { position: absolute; left: 50%; top: 0; width: var(--C); height: var(--H); margin-left: calc(var(--C) / -2); transform-style: preserve-3d; will-change: transform; }
.book__box { position: absolute; inset: 0; transform-style: preserve-3d; }
.book__face { position: absolute; top: 0; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.book__front { left: 0; width: 100%; transform: translateZ(calc(var(--S) / 2)); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.book__back { left: 0; width: 100%; transform: rotateY(180deg) translateZ(calc(var(--S) / 2)); background: var(--c, #222); filter: brightness(.7); }
.book__spine { left: 50%; width: var(--S); margin-left: calc(var(--S) / -2); transform: rotateY(-90deg) translateZ(calc(var(--C) / 2)); }
.book__top { left: 0; width: 100%; height: var(--S); top: 0; transform-origin: top; transform: translateZ(calc(var(--S) / -2)) rotateX(90deg); background: repeating-linear-gradient(90deg, #3a3a3e 0 2px, #2a2a2d 2px 3px); }
.book.is-hidden { visibility: hidden; }
.book__front .cover { pointer-events: none; }

.lib-info { text-align: center; padding: 0 var(--gutter); position: relative; z-index: 3; min-height: 98px; }
.lib-info__row { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 5vw, 60px); }
.lib-arrow { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 16px; transition: background .3s, color .3s; }
.lib-arrow:hover { background: var(--ink); color: var(--paper); }
.lib-info__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; margin: 0; color: var(--accent); min-width: 8ch; }
.lib-info__meta { margin-top: 8px; color: var(--muted); }
.lib-info__open { margin-top: 10px; display: inline-flex; gap: 8px; border-bottom: 1px solid currentColor; }
.lib-swap { animation: swap .5s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

.lib-timeline { padding: 18px var(--gutter) 18px; position: relative; z-index: 3; }
.tlbar { position: relative; height: 34px; }
.tlbar__track { position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line); }
.tlbar__tick { position: absolute; top: 6px; width: 1px; height: 9px; background: var(--muted); padding: 0; }
.tlbar__tick::before { content: ""; position: absolute; inset: -10px -6px; }
.tlbar__year { position: absolute; top: 20px; translate: -50% 0; color: var(--muted); font-size: 9px; }
.tlbar__dot { position: absolute; top: 5px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.18); }
.lib-foot { display: flex; justify-content: space-between; padding: 0 var(--gutter) 16px; color: var(--muted); }
.lib-hint { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; color: var(--muted); white-space: nowrap; }

/* ---------- Fiche projet ---------- */
.detail { position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transition: opacity .45s, visibility 0s .45s; }
.detail.is-open { visibility: visible; opacity: 1; transition: opacity .45s; }
.detail__bg { position: fixed; inset: 0; background: var(--paper); opacity: 0; transition: opacity .5s; pointer-events: none; }
.detail.is-open .detail__bg { opacity: 1; }
.detail__close { position: fixed; top: 16px; left: var(--gutter); z-index: 5; border: 1px solid var(--ink); padding: 7px 12px; background: var(--paper); display: flex; gap: 8px; }
.detail__close:hover { background: var(--ink); color: var(--paper); }
.detail__head { position: relative; display: grid; grid-template-columns: 1fr minmax(0, .9fr); gap: clamp(24px, 5vw, 90px); align-items: center; min-height: 100svh; padding: 90px var(--gutter) 60px; max-width: 1400px; margin: 0 auto; }
.detail__text > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.detail.is-ready .detail__text > * { opacity: 1; transform: none; }
.detail.is-ready .detail__text > *:nth-child(2) { transition-delay: .06s; }
.detail.is-ready .detail__text > *:nth-child(3) { transition-delay: .12s; }
.detail.is-ready .detail__text > *:nth-child(4) { transition-delay: .18s; }
.detail.is-ready .detail__text > *:nth-child(5) { transition-delay: .24s; }
.detail.is-ready .detail__text > *:nth-child(6) { transition-delay: .3s; }
.detail__kicker { color: var(--accent); margin-bottom: 14px; }
.detail__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(48px, 7vw, 120px); line-height: .9; letter-spacing: -.02em; margin: 0 0 18px; color: var(--accent); }
.detail__desc { font-size: 17px; max-width: 44ch; margin: 0 0 26px; }
.detail__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 30px; max-width: 460px; margin: 0 0 30px; }
.detail__dl dt { color: var(--muted); }
.detail__dl dd { margin: 2px 0 0; }
.detail__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--accent); color: var(--accent); padding: 10px 14px; transition: background .3s, color .3s; }
.btn:hover, .btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.detail__cover { aspect-ratio: 5/7; width: min(100%, 460px); justify-self: center; position: relative; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.detail__media { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter) 60px; display: grid; gap: clamp(12px, 2vw, 24px); grid-template-columns: repeat(6, 1fr); }
.detail__media > * { grid-column: span 3; }
.detail__media > .embed, .detail__media > .media--wide { grid-column: 1 / -1; }
.detail__media .media--tall { grid-column: span 2; }
.media { overflow: hidden; background: var(--paper-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--ph { aspect-ratio: 4/3; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, var(--paper)); border: 1px dashed color-mix(in srgb, var(--c) 60%, transparent); color: var(--muted); }
.media--wide.media--ph { aspect-ratio: 16/7; }
.embed { aspect-ratio: 16/9; background: #000; }
.embed iframe, .embed video { width: 100%; height: 100%; border: 0; display: block; }
.detail__nav { max-width: 1400px; margin: 0 auto; padding: 40px var(--gutter) 80px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.detail__nav button { text-align: left; }
.detail__nav button:last-child { text-align: right; }
.detail__nav b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px, 3vw, 44px); line-height: 1.05; margin-top: 4px; }
.detail__nav button:hover b { color: var(--accent); }
.flyer { position: fixed; z-index: 70; pointer-events: none; transform-origin: 0 0; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
@media (max-width: 860px) {
  .detail__head { grid-template-columns: 1fr; min-height: 0; padding-top: 80px; }
  .detail__cover { order: -1; width: min(70vw, 340px); }
  .detail__media > *, .detail__media .media--tall { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   POCHETTES CLUBS — dégradé premium + logo blanc, sans texte
   ========================================================= */
.cover--club { padding: 0; display: block; isolation: isolate; background: var(--g); }
.cover--jda {
  --g: radial-gradient(120% 75% at 15% -5%, rgba(138,173,220,.55), transparent 60%),
       radial-gradient(80% 60% at 110% 110%, rgba(138,173,220,.18), transparent 70%),
       linear-gradient(165deg, #2a3768 0%, #1E274A 45%, #0b0f20 100%);
}
.cover--elan {
  --g: radial-gradient(120% 75% at 15% -5%, rgba(255,120,130,.45), transparent 60%),
       radial-gradient(80% 60% at 110% 110%, rgba(255,255,255,.08), transparent 70%),
       linear-gradient(165deg, #e8203b 0%, #D40E2A 35%, #A80824 70%, #3d0510 100%);
}
.cover--club::before { /* reflet satiné */
  content: ""; position: absolute; inset: -20%; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.10) 47%, rgba(255,255,255,.02) 53%, transparent 60%);
}
.cover--club::after { /* grain + filet intérieur */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: overlay; opacity: .35;
  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");
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.cover__logo {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; height: auto;
  width: var(--lw, 50%); filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
.cover--jda .cover__logo { --lw: 55%; }
.cover--elan .cover__logo { --lw: 44%; }

/* tranches aux couleurs du club */
.spine--club { background: linear-gradient(180deg, color-mix(in srgb, var(--u) 80%, #fff 8%), var(--u) 40%, color-mix(in srgb, var(--u) 60%, #000)); color: #fff; }

/* vignette visuelle (sélection, savoir-faire) */
.cover--visual { padding: 0; display: block; background: #111; }
.cover--visual img { width: 100%; height: 100%; object-fit: cover; }
.cover--visual.is-video::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 15cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='white'/%3E%3C/svg%3E") center/55% no-repeat; backdrop-filter: blur(6px); mix-blend-mode: normal; opacity: 1; border: 1px solid rgba(255,255,255,.4); }

/* ---------- Fiche : médias réels ---------- */
.detail__media .media img { height: auto; display: block; }
.detail__media--solo { display: flex; justify-content: center; }
.detail__media--solo > .media { width: min(100%, 620px); }
.detail__media--grid { display: block; columns: 3 260px; column-gap: clamp(12px, 2vw, 22px); }
.detail__media--grid > .media { break-inside: avoid; margin: 0 0 clamp(12px, 2vw, 22px); }
.detail__media--photo.detail__media--grid { columns: 2 340px; }
.embed--vertical { aspect-ratio: 9/16; width: min(100%, 420px, calc((100svh - 120px) * 9 / 16)); border-radius: 6px; overflow: hidden; }
.embed--vertical video { object-fit: cover; }

/* ---------- Fond animé du hero ---------- */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- Contact : formulaire + réseaux ---------- */
.contact__box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 60px); align-items: end; max-width: 1100px; }
.cform { display: grid; gap: 16px; padding: clamp(20px, 3vw, 36px); border: 1.5px solid var(--accent-ink); background: rgba(11,11,12,.04); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__field { display: grid; gap: 8px; }
.cform__field > span { font-size: 11px; opacity: .75; }
.cform__title { margin: 0 0 6px; font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(24px, 2.8vw, 40px); line-height: 1; }
.cform input, .cform textarea {
  font: 500 16px/1.4 var(--f-sans); color: var(--accent-ink); background: transparent; border: 0; border-bottom: 1.5px solid rgba(11,11,12,.35);
  padding: 8px 0; outline: none; resize: vertical; border-radius: 0; transition: border-color .25s;
}
.cform textarea { border: 1.5px solid rgba(11,11,12,.35); padding: 12px 14px; min-height: 130px; }
.cform input:focus, .cform textarea:focus { border-color: var(--accent-ink); }
.cform textarea::placeholder { color: rgba(11,11,12,.45); }
.cform__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cform__send { background: var(--accent-ink); color: var(--accent); border: 0; padding: 15px 26px; font-size: 13px; cursor: pointer; display: inline-flex; gap: 12px; align-items: center; transition: transform .3s var(--ease-out), background .3s; }
.cform__send:hover { transform: translateY(-2px); }
.cform__send i { font-style: normal; transition: transform .3s var(--ease-out); }
.cform__send:hover i { transform: translateX(4px); }
.cform.is-sending .cform__send { opacity: .6; pointer-events: none; }
.cform__status { margin: 0; font-size: 11px; }
.contact__social { display: flex; flex-direction: column; gap: 12px; }
.social { width: 64px; height: 64px; display: grid; place-items: center; border: 1.5px solid var(--accent-ink); border-radius: 50%; transition: background .3s, color .3s, transform .3s var(--ease-out); }
.social svg { width: 26px; height: 26px; }
.social:hover { background: var(--accent-ink); color: var(--accent); transform: rotate(-8deg); }
@media (max-width: 700px) {
  .contact__box { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
  .contact__social { flex-direction: row; }
}

/* ---------- Tranches : logo + nom ---------- */
.spine--club { justify-content: flex-start; gap: 14px; padding: 14px 0; background: var(--g); }
.spine--jda { --g: linear-gradient(90deg, #121a38, #1E274A 40%, #2a3768 60%, #141c3a); }
.spine--elan { --g: linear-gradient(90deg, #8f0620, #D40E2A 40%, #e3263f 60%, #9a0722); }
.spine__logo { width: 62%; height: auto; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.spine--club .spine__title { font-size: clamp(11px, 1.05vw, 15px); max-height: calc(100% - 90px); }
.spine__name { margin: auto 0; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: .02em; text-transform: uppercase; font-size: clamp(14px, 1.5vw, 22px); white-space: nowrap; }
.lib-timeline.is-off .tlbar { opacity: 0; pointer-events: none; }
.tlbar { transition: opacity .4s; }

/* ---------- Fiche collection : projets ---------- */
.items { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter) 70px; display: grid; gap: clamp(14px, 2vw, 26px) clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.items--video { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.item { display: grid; gap: 10px; text-align: left; padding: 0; color: inherit; }
.item__media { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.items--video .item__media { aspect-ratio: 9/16; }
.item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; }
.item:hover .item__media img { transform: scale(1.04); }
.item__count { position: absolute; right: 8px; top: 8px; font-style: normal; font-size: 10px; background: rgba(11,11,12,.75); color: var(--ink); padding: 4px 7px; backdrop-filter: blur(4px); }
.item__count::before { content: "▦ "; opacity: .7; }
.item__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='white'/%3E%3C/svg%3E") center/55% no-repeat; border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); transition: transform .4s var(--ease-out); }
.item:hover .item__play { transform: scale(1.1); }
.item__cap { display: grid; gap: 4px; }
.item__cap b { font-weight: 700; font-size: 14px; line-height: 1.25; }
.item__cap .mono { color: var(--muted); font-size: 10px; }

/* ---------- Visionneuse ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5,5,6,.96); display: grid; grid-template-columns: 70px 1fr 70px; grid-template-rows: 1fr auto; align-items: center; padding: 60px 10px 18px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.lb.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.lb__stage { grid-column: 2; height: 100%; min-height: 0; display: grid; place-items: center; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: calc(100svh - 140px); object-fit: contain; display: block; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb__stage video { background: #000; }
.lb__arrow { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; justify-self: center; font-size: 17px; transition: background .3s, color .3s; }
.lb__arrow:hover { background: var(--ink); color: var(--paper); }
.lb__close { position: absolute; top: 16px; left: var(--gutter); border: 1px solid var(--ink); padding: 7px 12px; }
.lb__close:hover { background: var(--ink); color: var(--paper); }
.lb__cap { grid-column: 1 / -1; text-align: center; display: grid; gap: 5px; padding-top: 14px; }
.lb__cap b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); color: var(--accent); }
.lb__cap .mono { color: var(--muted); font-size: 10px; }
@media (max-width: 700px) {
  .lb { grid-template-columns: 44px 1fr 44px; padding-inline: 0; }
  .lb__arrow { width: 36px; height: 36px; }
}

/* ---------- Accueil : décor plein écran ---------- */
.hero::before { display: none; }
.hero__bg { z-index: 0; }
.hero__left { grid-column: 1 / span 2; }
.hero__name { font-size: clamp(56px, 9vw, 170px); text-shadow: 0 10px 60px rgba(0,0,0,.5); }

/* ---------- Mini-bibliothèque ---------- */
.mini-shelf { display: flex; justify-content: center; align-items: flex-end; gap: clamp(18px, 3vw, 46px); flex-wrap: wrap; padding: 30px 0 10px; perspective: 1400px; }
.mini-book { display: grid; gap: 16px; justify-items: center; width: clamp(130px, 14vw, 200px); }
.mini-book__obj { position: relative; display: block; width: 100%; aspect-ratio: 5/7; transform-style: preserve-3d; transform: rotateY(28deg); transition: transform .8s var(--ease-out); }
.mini-book:hover .mini-book__obj { transform: rotateY(4deg) translateY(-10px); }
.mini-book__front { position: absolute; inset: 0; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); transform: translateZ(14px); }
.mini-book__front img { width: 100%; height: 100%; object-fit: cover; }
.mini-book__spine { position: absolute; top: 0; left: 0; width: 28px; height: 100%; transform-origin: left; transform: translateZ(14px) rotateY(-90deg); background: var(--g); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; overflow: hidden; }
.mini-book__spine img { width: 70%; }
.mini-book__spine b { writing-mode: vertical-rl; transform: rotate(180deg); font: 900 10px/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.mini-book__cap { text-align: center; display: grid; gap: 4px; }
.mini-book__cap b { font-family: var(--f-serif); font-weight: 400; font-size: 24px; line-height: 1; }
.mini-book__cap .mono { color: var(--muted); font-size: 10px; }
.mini-book[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s calc(var(--i) * .08s), transform 1s var(--ease-out) calc(var(--i) * .08s); }
.mini-book[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Contact : petite photo ---------- */
.cform__me { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.cform__me img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--accent-ink); }
.cform__me div { display: grid; gap: 3px; }
.cform__me b { font-weight: 800; font-size: 17px; }
.cform__me .mono { font-size: 10px; opacity: .7; }

/* ---------- Pochette d'album : logo + miniature ---------- */
.cover--album .cover__logo { top: 7%; translate: -50% 0; width: auto; height: 13%; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.cover__mini { position: absolute; z-index: 2; left: 50%; top: 27%; translate: -50% 0; width: 66%; aspect-ratio: 4/5; overflow: hidden;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.18); }
.cover__mini img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Petit livre 3D ---------- */
.bk { position: relative; display: block; width: 100%; aspect-ratio: 5/7; transform-style: preserve-3d; transform: rotateY(24deg); transition: transform .8s var(--ease-out); }
.bk__front { position: absolute; inset: 0; transform: translateZ(10px); box-shadow: 0 26px 46px -18px rgba(0,0,0,.75); }
.bk__front .cover { width: 100%; height: 100%; }
.bk__spine { position: absolute; top: 0; left: 0; width: 20px; height: 100%; transform-origin: left; transform: translateZ(10px) rotateY(-90deg); background: var(--g); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 0; overflow: hidden; }
.bk__spine img { width: 72%; }
.bk__spine b { writing-mode: vertical-rl; transform: rotate(180deg); font: 900 8px/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; }
a:hover > .bk { transform: rotateY(6deg) translateY(-10px); }

/* Au bord du terrain */
.disc__covers { perspective: 1000px; gap: 18px; }
.disc__covers a { box-shadow: none; aspect-ratio: auto; }
.disc__covers a:hover { transform: none; }

/* Accueil : livres des clubs qui se chevauchent */
.mini-shelf { gap: 0; padding: 40px 0 20px; perspective: 1600px; }
.club-book { display: grid; gap: 18px; justify-items: center; width: clamp(180px, 20vw, 280px); position: relative; z-index: 1; transition: z-index 0s .2s; }
.club-book + .club-book { margin-left: clamp(-150px, -9vw, -80px); }
.club-book .bk { transform: rotateY(32deg); }
.club-book + .club-book .bk { transform: rotateY(32deg) translateZ(-40px); }
.club-book:hover { z-index: 3; transition: z-index 0s; }
.club-book:hover .bk { transform: rotateY(4deg) translateY(-14px) translateZ(30px); }
.club-book .bk__spine { width: 30px; }
.club-book .bk__spine b { font-size: 11px; }
.club-book__cap { text-align: center; display: grid; gap: 4px; }
.club-book__cap b { font-family: var(--f-serif); font-weight: 400; font-size: 28px; line-height: 1; }
.club-book__cap .mono { color: var(--muted); font-size: 10px; }

/* Miniature fondue dans le dégradé (remplace le cadre posé) */
.cover__mini { top: 16%; left: 0; right: 0; bottom: 0; translate: none; width: auto; aspect-ratio: auto; box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 58%, #000 35%, rgba(0,0,0,.55) 62%, transparent 92%);
          mask-image: radial-gradient(ellipse 78% 70% at 50% 58%, #000 35%, rgba(0,0,0,.55) 62%, transparent 92%); }
.cover__mini img { filter: saturate(.92) contrast(1.04); }
.cover--album::before { z-index: 3; }
.cover--album .cover__mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--tint) 0%, transparent 40%, transparent 70%, var(--tint) 100%); mix-blend-mode: multiply; }
.cover--jda { --tint: rgba(30,39,74,.85); }
.cover--elan { --tint: rgba(168,8,36,.75); }
.cover--album .cover__logo { z-index: 4; }

/* ---------- Petites étagères (accueil) ---------- */
.ms { position: relative; height: var(--H); perspective: 1600px; transform-style: preserve-3d; transition: width .6s var(--ease-out); max-width: 100%; }
.ms .ms__book { position: absolute; left: 50%; top: 0; width: var(--C); height: var(--H); margin-left: calc(var(--C) / -2); aspect-ratio: auto; box-shadow: none;
  transition: transform .7s cubic-bezier(.7,0,.2,1); will-change: transform; }
.ms .ms__book:hover { transform: none; }
.ms .book__spine .spine__title { font-size: 11px; }
.ms .book__spine .spine__logo { width: 68%; }
.disc__covers.ms { gap: 0; display: block; margin-top: 8px; }
.mini-wrap { display: flex; justify-content: center; padding: 40px 0 10px; }
.mini-cap { display: flex; justify-content: center; gap: 40px; margin-bottom: 30px; }
.mini-cap a { display: grid; gap: 4px; text-align: center; }
.mini-cap b { font-family: var(--f-serif); font-weight: 400; font-size: 26px; line-height: 1; }
.mini-cap .mono { color: var(--muted); font-size: 10px; }
.mini-cap a:hover b { color: var(--accent); }

/* ===== Pochette d'album v3 : image pleine face + dégradé du bas vers le haut + logo en bas ===== */
.cover--album .cover__mini { inset: 0; top: 0; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; z-index: 1; }
.cover--album .cover__mini img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.cover--album .cover__mini::after { content: ""; position: absolute; inset: 0; mix-blend-mode: normal;
  background: linear-gradient(0deg, var(--g-bot) 0%, var(--g-bot) 14%, var(--g-mid) 34%, transparent 62%); }
.cover--jda { --g-bot: #0e1430; --g-mid: rgba(30,39,74,.78); }
.cover--elan { --g-bot: #6e0418; --g-mid: rgba(168,8,36,.72); }
.cover--album .cover__logo { top: auto; bottom: 7%; height: 15%; width: auto; translate: -50% 0; z-index: 4; }
.cover--elan.cover--album .cover__logo { height: 17%; }
.cover--album::before { z-index: 3; }

/* Tranches : logos de même hauteur */
.spine__logo { width: auto !important; height: calc(var(--S, 50px) * .6); max-width: 82%; object-fit: contain; }

/* ---------- Accueil : finitions ---------- */
.hero__bottom { justify-content: center; }
.hero__bottom .hero__scroll { position: absolute; right: 0; }
.btn-big { border-bottom: 0; padding-bottom: 0; }
.spine--logo { justify-content: flex-start; padding-top: calc(var(--S, 50px) * .35); }
.lib-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 4vw, 70px); margin: 20px 0 40px; }
.lib-club a { display: grid; gap: 10px; max-width: 320px; }
.lib-club--left a { justify-self: end; text-align: right; margin-left: auto; }
.lib-club--right a { text-align: left; }
.lib-club b { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: .95; transition: color .3s; }
.lib-club a:hover b { color: var(--accent); }
.lib-club p { margin: 0; color: #c8c3b9; font-size: 14px; line-height: 1.5; }
.lib-club__years { color: var(--accent); font-size: 10px; }
.lib-club__count { color: var(--muted); font-size: 10px; }
.lib-row .mini-wrap { padding: 20px 0; }
@media (max-width: 800px) {
  .lib-row { grid-template-columns: 1fr; text-align: center; }
  .lib-club--left a, .lib-club--right a { text-align: center; margin: 0 auto; }
  .lib-club--right { order: 3; }
}

/* ===== Hero : nom géant + avatar 3D + icônes ===== */
.hero__left { position: absolute; inset: 0; padding: 0 var(--gutter); pointer-events: none; z-index: 3; }
.hero__name { position: absolute; left: 0; right: 0; top: 13vh; text-align: center; white-space: nowrap; font-size: clamp(64px, 14.5vw, 260px); line-height: .82;
  background: linear-gradient(180deg, #ffffff 0%, #d9dde6 45%, #7d8596 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.hero__name .line { display: inline-block; margin: 0 .12em; }
.hero__name .char { background: inherit; -webkit-background-clip: text; background-clip: text; }
.hero__facts { position: absolute; left: var(--gutter); bottom: 76px; margin: 0; pointer-events: auto; }
.hero__avatar { position: absolute; left: 50%; bottom: 0; width: min(46vw, 64vh, 640px); aspect-ratio: 1; z-index: 4; pointer-events: none; will-change: transform; }
.hero__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; opacity: 0; transition: opacity .25s;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.hero__avatar img.is-on { opacity: 1; }
.hero__icons { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__icons img { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; translate: -50% -50%; will-change: transform;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)) saturate(1.05); }
.hero__bottom { z-index: 5; }
@media (max-width: 900px) {
  .hero__name { top: 16vh; font-size: 15vw; }
  .hero__avatar { width: 92vw; }
  .hero__facts { bottom: 70px; }
  .hero__icons img { width: calc(var(--w) * 1.8); }
}
/* correctifs hero */
.hero__left { grid-area: auto; grid-column: auto; grid-row: auto; }
.hero__name { background: none; color: #e9ebf0; }
.hero__name .char { background: linear-gradient(180deg, #ffffff 10%, #cfd4de 55%, #7b8395 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.hero__left { align-self: stretch; justify-self: stretch; padding-top: 0; }
.hero__name { top: 12vh; font-size: clamp(56px, 11.5vw, 220px); }
.hero__name { font-size: clamp(48px, 9.2vw, 190px); top: 13vh; }
.hero__avatar { animation: avIn 1.4s .45s cubic-bezier(.16,1,.3,1) both; }
@keyframes avIn { from { opacity: 0; margin-bottom: -8vh; } to { opacity: 1; margin-bottom: 0; } }
.btn-big { transition: color .35s; } .btn-big:hover { color: var(--accent); }

/* ===== Hero épuré ===== */
.hero { background: radial-gradient(ellipse 55% 60% at 50% 78%, rgba(var(--accent-rgb), .10), transparent 70%), radial-gradient(ellipse 90% 80% at 50% 40%, #16171b 0%, #0b0b0c 70%); }
.hero::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); opacity: .06; mix-blend-mode: overlay; }
.hero__avatar { animation: avIn 1.4s .45s cubic-bezier(.16,1,.3,1) both; }
.av-head { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.av-head img, .av-head svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.av-head img { object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.hero__avatar { transform: translateX(-50%); }
.av-head .pose--face img { opacity: 1 !important; transition: none; }
.av-head img.pose { transition: none; }

/* Avatar : tête et buste séparés, seule la tête bouge */
.av-body, .av-head { position: absolute; inset: 0; }
.av-body img, .av-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.av-body { -webkit-mask-image: linear-gradient(to bottom, transparent 65%, #000 66.2%); mask-image: linear-gradient(to bottom, transparent 65%, #000 66.2%); }
.av-body img { filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.av-head { transform-origin: 50% 66%; -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 67.6%); mask-image: linear-gradient(to bottom, #000 66%, transparent 67.6%); }
.av-head img { filter: none; }
/* nom non coupé (O, Y) */
.hero__name .line { overflow: visible; padding: .14em .04em .12em; margin-top: -.14em; }
.hero__name .char { padding: 0 .015em .06em; margin: 0 -.015em; }
/* « Toute la bibliothèque » grossit au survol */
.btn-big { transition: color .35s, transform .5s var(--ease-out); transform-origin: center; }
.btn-big:hover { transform: scale(1.07); }
.av-body img { opacity: 1 !important; transition: none; }

/* ===== Memoji animé (test) ===== */
.hero__memoji { width: min(30vw, 48vh, 420px); aspect-ratio: 320 / 440; bottom: 4vh; }
.hero__memoji .mj { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 800% auto;
  background-position: calc(var(--c, 0) * 100% / 7) calc(var(--r, 0) * var(--rp, 0%));
  mix-blend-mode: screen; will-change: transform, background-position; }
/* nom : marge pour que A et Y ne soient pas rognés */
.hero__name .char { padding: 0 .09em .08em; margin: 0 -.09em; }
.disc__num span { clip-path: inset(var(--fill, 100%) -0.3em -0.3em -0.3em); }
/* Bitmoji : 3 angles empilés dans la tête */
.av-head .pose { position: absolute; inset: 0; width: 100%; height: 100%; }
.av-head img.pose { object-fit: contain; object-position: bottom; opacity: 0; }
.av-head .pose--face img, .av-head .pose--face svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.av-head .pose--face img { object-fit: contain; object-position: bottom; }
/* Memoji : deux calques qui se fondent pour des transitions douces */
.hero__memoji { width: min(34vw, 56vh, 480px); aspect-ratio: 1; bottom: 3vh; }
.mj-wrap { position: absolute; inset: 0; will-change: transform; }
.mj-wrap .mj { position: absolute; inset: 0; background-repeat: no-repeat; mix-blend-mode: screen; transition: opacity .14s linear; opacity: 0; }
.mj-wrap .mj { mix-blend-mode: normal; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
/* Memoji vivant (canvas) : grand, centré sous le nom */
.hero__memoji { width: min(44vw, 62vh, 620px); aspect-ratio: 1; bottom: auto; top: calc(13vh + 9.2vw * .82 * 1.05); left: 50%; }
.hero__memoji .mj-canvas { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
/* nom resserré */
.hero__name .line { margin: 0 .02em; }
/* « Toute la bibliothèque » : un peu d'air entre les lettres */
.btn-big { letter-spacing: -0.01em; }

/* ===== À propos : extrait sur l'accueil ===== */
.ab-teaser { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1100px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter); }
.ab-teaser__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 0 0 10px rgba(var(--accent-rgb), .06); }
.ab-teaser__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(.15); }
.ab-kicker { color: var(--accent); margin: 0 0 14px; }
.ab-teaser h2 { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(30px, 4vw, 58px); line-height: .95; margin: 0 0 18px; }
.ab-teaser h2 em, .ab-title em, .ab-head h2 em, .ab-cta h2 em { font-family: var(--f-serif); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--accent); }
.ab-teaser p:not(.ab-kicker) { color: #c8c3b9; font-size: 17px; line-height: 1.6; max-width: 52ch; margin: 0 0 22px; }
.ab-teaser__link { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--line); padding: 12px 18px; transition: background .3s, color .3s, border-color .3s; }
.ab-teaser__link:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (max-width: 700px) { .ab-teaser { grid-template-columns: 1fr; text-align: center; } .ab-teaser__img { width: 60vw; margin: 0 auto; } }

/* ===== Page À propos ===== */
.about-page main { overflow: hidden; }
.ab-hero { position: relative; min-height: 92svh; display: grid; place-content: center; text-align: center; padding: 120px var(--gutter) 60px; }
.ab-title { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(44px, 8vw, 130px); line-height: .9; margin: 0 0 28px; }
.ab-lead { max-width: 62ch; margin: 0 auto; color: #c8c3b9; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.65; }
.ab-icons img { position: absolute; left: var(--x); top: var(--y); width: var(--w); translate: -50% -50%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); pointer-events: none; will-change: transform; }
.ab-section { max-width: 1200px; margin: 0 auto; padding: clamp(60px, 10vh, 110px) var(--gutter); }
.ab-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 36px; }
.ab-head h2 { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(30px, 4.5vw, 64px); line-height: .95; margin: 0; }
.ab-path { display: grid; gap: 22px; }
.ab-step { display: grid; grid-template-columns: 140px 110px 1fr; gap: 28px; align-items: center; padding: 26px; border: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--u) 22%, transparent), transparent 55%); }
.ab-step__years { color: var(--accent); }
.ab-step__logo { width: 90px; height: 90px; display: grid; place-items: center; }
.ab-step__logo img { max-width: 100%; max-height: 100%; }
.ab-step h3 { font-family: var(--f-display); font-weight: var(--display-weight); text-transform: uppercase; font-size: 28px; margin: 0 0 4px; }
.ab-step p { margin: 6px 0 0; color: #c8c3b9; line-height: 1.6; }
.ab-step__link { display: inline-block; margin-top: 12px; color: var(--ink); border-bottom: 1px solid currentColor; }
.ab-step__link:hover { color: var(--accent); }
.ab-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.ab-card { padding: 28px; border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease-out); }
.ab-card:hover { border-color: var(--accent); transform: translateY(-6px); }
.ab-card__n { font-family: var(--f-display); font-weight: var(--display-weight); font-size: 46px; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.ab-card h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 20px; margin: 14px 0 10px; }
.ab-card p { color: #c8c3b9; line-height: 1.6; margin: 0; }
.ab-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-tool { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; transition: background .3s, color .3s; }
.ab-tool:hover { background: var(--accent); color: var(--accent-ink); }
.ab-cta { text-align: center; padding: clamp(80px, 14vh, 160px) var(--gutter); }
.ab-cta h2 { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(40px, 7vw, 110px); line-height: .9; margin: 0 0 30px; }
.ab-cta__links { display: grid; justify-items: center; gap: 22px; }
.ab-cta__alt { color: var(--muted); }
.ab-cta__alt:hover { color: var(--accent); }
@media (max-width: 760px) { .ab-step { grid-template-columns: 1fr; text-align: center; justify-items: center; } .ab-head { flex-direction: column; align-items: start; } .ab-icons img { width: calc(var(--w) * 1.8); } }

/* ===== À propos sur l'accueil (style « About me ») ===== */
.ab-teaser2 { position: relative; text-align: center; padding: clamp(110px, 18vh, 200px) var(--gutter); overflow: hidden; }
.ab-teaser2__icons img { position: absolute; left: var(--x); top: var(--y); width: var(--w); translate: -50% -50%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); pointer-events: none; will-change: transform; }
.ab-big { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(60px, 11vw, 200px); line-height: .9; margin: 0 0 clamp(30px, 5vh, 56px);
  background: linear-gradient(180deg, #ffffff 10%, #cfd4de 55%, #7b8395 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .06em .08em; }
.ab-reveal { max-width: 34ch; margin: 0 auto clamp(36px, 6vh, 60px); font-weight: 700; font-size: clamp(18px, 1.8vw, 27px); line-height: 1.55; }
.ab-reveal span { color: rgba(236,234,228,.22); transition: color .45s; }
.ab-reveal span.is-lit { color: var(--ink); }
.ab-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; border-radius: 999px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .4), 0 10px 30px -10px rgba(var(--accent-rgb), .6);
  transition: transform .45s var(--ease-out), box-shadow .45s; }
.ab-btn:hover { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .12), 0 16px 40px -10px rgba(var(--accent-rgb), .7); }
.ab-btn span { transition: transform .45s var(--ease-out); }
.ab-btn:hover span { transform: translateX(4px); }
@media (max-width: 700px) { .ab-teaser2__icons img { width: calc(var(--w) * 1.8); } }
.ab-reveal { max-width: 52ch; }
/* Memoji : un peu plus petit, sans toucher les bords */
.hero__memoji { width: min(34vw, 50vh, 470px); top: calc(13vh + 9.2vw * .82 * 1.12); }
.hero__memoji .mj-canvas { transform-origin: 50% 60%; }
/* Parcours : logos de même taille visuelle, centrés */
.ab-step { grid-template-columns: 140px 150px 1fr; }
.ab-step__logo { width: 150px; height: 110px; display: grid; place-items: center; justify-self: center; }
.ab-step__logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.ab-step[data-u="elan"] .ab-step__logo img { height: 96px; }
.ab-step[data-u="jda"] .ab-step__logo img { width: 112px; }

/* À propos : mots clés en vert, texte plus large pour éviter les mots seuls */
.ab-reveal { max-width: 58ch; }
.ab-reveal span.kw { color: rgba(var(--accent-rgb), .22); }
.ab-reveal span.kw.is-lit { color: var(--accent); }

/* Fondus de fond entre les sections */
.hero::before { display: block; content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 32vh; translate: none; background: linear-gradient(180deg, rgba(5,5,6,0), var(--deep)); z-index: 1; pointer-events: none; }
.ab-teaser2 { background: linear-gradient(180deg, var(--deep) 0%, var(--paper) 45%); }

/* Bouton « Voir les projets » comme « En savoir plus » */
.hero__cta.ab-btn { background: var(--accent); color: var(--accent-ink); padding: 16px 30px; }
.hero__cta.ab-btn:hover { background: var(--accent); }

/* Menu : survol vert qui grossit ; onglet actif en vert, sauf quand on en survole un autre */
.nav__links a { display: inline-block; transition: color .3s, transform .35s var(--ease-out); }
.nav__links a[aria-current] { color: var(--accent); }
.nav__links a:hover { color: var(--accent); transform: scale(1.14); }
.nav__links:hover a[aria-current]:not(:hover) { color: var(--ink); }
.nav__links:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
/* À propos : tout gris avant d'être révélé, les mots clés passent en vert à leur tour */
.ab-reveal span.kw { color: rgba(236,234,228,.22); }
.ab-reveal span.kw.is-lit { color: var(--accent); }
/* Bouton Contact : même forme que « Voir les projets », vert seulement au survol */
.nav__cta { border-radius: 999px; padding: 9px 18px; border: 1px solid rgba(236,234,228,.5); transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out), box-shadow .45s; }
.nav__cta:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12), 0 12px 30px -10px rgba(var(--accent-rgb), .7); }
.nav__cta:hover::before { background: var(--accent-ink); box-shadow: none; animation: none; }
/* Memoji : on peut l'attraper */
.hero__memoji { pointer-events: none; z-index: 6; }
.hero__memoji .mj-canvas { pointer-events: auto; cursor: grab; touch-action: none; }
.hero__memoji.is-grabbed .mj-canvas { cursor: grabbing; }
/* « Voir les projets » toujours au premier plan */
.hero { z-index: 3; }
.hero__bottom { z-index: 20; }
.dark { position: relative; z-index: 1; }

/* ===== Boutons « pilule » communs (comme Contact) ===== */
.lib-info__open, .ab-step__link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(236,234,228,.5); border-radius: 999px; padding: 9px 18px; color: var(--ink);
  transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out), box-shadow .45s; }
.lib-info__open:hover, .ab-step__link:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12), 0 12px 30px -10px rgba(var(--accent-rgb), .7); }
.lib-info__open { margin-top: 14px; }

/* Logo AP : vert et grossit au survol */
.nav__logo > span { display: inline-block; transition: color .3s, transform .45s var(--ease-out); transform-origin: left center; }
.nav__logo:hover > span { color: var(--accent); transform: scale(1.18); }

/* Page Projets : onglets arrondis ; survol vert, l'onglet actif pâlit quand on en survole un autre */
.tabs { border-radius: 999px; padding: 4px; }
.tab { border-radius: 999px; transition: background .3s, color .3s, transform .35s var(--ease-out); }
.tabs .tab:not(:disabled):hover { background: var(--accent); color: var(--accent-ink); transform: scale(1.06); }
.tabs:hover .tab[aria-selected="true"]:not(:hover) { background: rgba(var(--accent-rgb), .35); color: var(--ink); }

/* Boîte à outils : logos qui défilent sans fin */
.ab-tools { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ab-tools__track { display: flex; gap: 28px; width: max-content; animation: toolsScroll 32s linear infinite; padding: 10px 0; }
.ab-tools:hover .ab-tools__track { animation-play-state: running; }
@keyframes toolsScroll { to { transform: translateX(-50%); } }
.app { display: grid; justify-items: center; gap: 10px; width: 108px; }
.app__ico { width: 84px; height: 84px; border-radius: 20px; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--fg);
  font-family: var(--f-display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; color: var(--fg); box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); }
.app__ico--txt { font-size: 22px; }
.app__name { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
/* Logo du menu (carré AP) : grossit au survol */
.nav__mark { width: 34px; height: 34px; display: block; transition: transform .45s var(--ease-out); }
.nav__home:hover .nav__mark { transform: scale(1.15) rotate(-4deg); }

/* « Voir les projets » : grossit au survol comme « En savoir plus », halo entier (plus coupé par le bas du hero) */
@media (min-width: 900px) { .hero__bottom { bottom: clamp(40px, 6vh, 64px); } }
@media (max-width: 899px) { .hero__cta.ab-btn, .hero__cta.ab-btn:hover { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12), 0 4px 18px -6px rgba(var(--accent-rgb), .6); } }
.hero__cta.ab-btn { position: relative; z-index: 2; transform-origin: 50% 50%; }
.hero__cta.ab-btn:hover { transform: scale(1.08); }

/* Boîte à outils : vrais logos, même taille, grisés ; couleur + agrandissement au survol ; bande à tirer */
.ab-tools { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ab-tools.is-drag { cursor: grabbing; }
.ab-tools__track { animation: none; gap: 30px; padding: 26px 0; will-change: transform; }
.app { width: 92px; height: 92px; display: block; flex: none; border-radius: 22%; overflow: hidden;
  filter: grayscale(1) brightness(.8); opacity: .75; transition: filter .35s, opacity .35s, transform .45s var(--ease-out), box-shadow .45s; }
.app img { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.app:hover { filter: none; opacity: 1; transform: scale(1.18); box-shadow: 0 14px 34px -12px rgba(0,0,0,.7); }
.app__name, .app__ico { display: none; }

/* Boîte à outils v2 : toutes les tuiles identiques (même fond, même couleur) ; la couleur d'origine apparaît au survol */
.app { position: relative; filter: none; opacity: 1; background: #1a1b1f; box-shadow: inset 0 0 0 1px rgba(236,234,228,.12); }
.app img { position: absolute; inset: 0; }
.app__mono { opacity: .55; transition: opacity .35s; }
.app__color { opacity: 0; transition: opacity .35s; }
.app:hover { filter: none; box-shadow: 0 14px 34px -12px rgba(0,0,0,.7); }
.app:hover .app__color { opacity: 1; }
.app:hover .app__mono { opacity: 0; }

/* Logo AP : seul le carré est cliquable ; léger halo vert au survol */
.nav__home { display: block; border-radius: 10px; }
.nav__mark { transition: transform .45s var(--ease-out), filter .45s; }
.nav__home:hover .nav__mark { filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .75)) drop-shadow(0 0 18px rgba(var(--accent-rgb), .45)); }

/* « Voir la bibliothèque » en pilule comme « Contact » */
.ab-cta__alt.nav__cta { color: var(--ink); }
.ab-cta__alt.nav__cta:hover { color: var(--accent-ink); }

/* ===== Pochette d'album v4 (proposition 13 G6) : fond sombre, deux lueurs aux couleurs du club,
   grande photo centrée, logo en bas, pas de texte ===== */
.cover--album.cover--jda { --lu1: rgba(30,39,74,.95); --lu2: rgba(138,173,220,.42); }
.cover--album.cover--elan { --lu1: rgba(212,14,42,.9); --lu2: rgba(240,40,63,.42); }
.cover--album { background: radial-gradient(70% 50% at 0% 0%, var(--lu1), transparent 70%), radial-gradient(70% 50% at 100% 100%, var(--lu2), transparent 70%), #0e0e10; }
.cover--album::before { display: none; }
.cover--album .cover__mini { inset: auto; left: 13%; right: 13%; top: 11%; width: auto; height: auto; aspect-ratio: 4/5; z-index: 2;
  box-shadow: 0 18px 36px -14px rgba(0,0,0,.85); }
.cover--album .cover__mini::after { content: none; }
.cover--album .cover__logo, .cover--elan.cover--album .cover__logo { top: auto; bottom: 7.5%; height: 9%; width: auto; translate: -50% 0; z-index: 4; filter: grayscale(1) brightness(2); opacity: .85; }

/* ===== Pochette d'album v5 (proposition L6 « Jaquette ») : photo sur toute la face, lueur du club en haut à gauche,
   fondu sombre du club en bas, logo en bas ; charnière près du dos + reflet pour l'effet livre ===== */
.cover--album.cover--jda { --ja: rgba(30,39,74,.7); --jd: #0c1228; --jd2: rgba(12,18,40,.6); }
.cover--album.cover--elan { --ja: rgba(212,14,42,.7); --jd: #22060b; --jd2: rgba(34,6,11,.6); }
.cover--album { background: var(--jd); }
.cover--album .cover__mini { inset: 0; left: 0; right: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; box-shadow: none; z-index: 1; }
.cover--album .cover__mini::after { content: ""; position: absolute; inset: 0; mix-blend-mode: normal;
  background: radial-gradient(70% 45% at 0% 0%, var(--ja), transparent 70%), linear-gradient(0deg, var(--jd) 0%, var(--jd2) 22%, transparent 45%); }
.cover--album::before { display: block; content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.12) 0, rgba(0,0,0,.25) 5.5%, rgba(0,0,0,.45) 5.6%, rgba(255,255,255,.10) 6.8%, rgba(0,0,0,.3) 7.4%, transparent 8%),
              linear-gradient(115deg, transparent 30%, rgba(255,255,255,.08) 45%, transparent 58%); }
.cover--album .cover__logo, .cover--elan.cover--album .cover__logo { bottom: 6%; height: 9%; filter: grayscale(1) brightness(2); opacity: .9; }

/* Livre choisi en lévitation : ombre au sol qui s'estompe quand il monte */
.book__box { transform-origin: 50% 60%; will-change: transform; }
.book__shadow { position: absolute; left: 50%; bottom: -26px; width: 90%; height: 26px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent); filter: blur(4px); transform: translateX(-50%); }
.book__front { box-shadow: 0 40px 60px -24px rgba(0,0,0,.7); }
.shelf__stage { margin-top: calc(var(--H) / -2 + 14px); }
/* bibliothèque : plus de lueur au sol, étagère recentrée (le livre a de la place pour léviter) */
.shelf__floor { display: none; }
.shelf__stage { margin-top: calc(var(--H) / -2 + 18px); }
.ms__book .book__shadow { bottom: -22px; }

/* Accueil, bibliothèque : nom du club en vert et plus grand quand son livre est ouvert ou au survol */
.lib-club b { display: inline-block; transition: color .35s, transform .45s var(--ease-out); }
.lib-club--left b { transform-origin: right center; }
.lib-club--right b { transform-origin: left center; }
.lib-club a:hover b, .lib-club.is-on b { color: var(--accent); transform: scale(1.15); }
@media (max-width: 800px) { .lib-club b { transform-origin: center; } }

/* Livres : plus d'ombre portée sur les livres voisins */
.book__shadow { display: none; }
.book__front, .ms .book__front { box-shadow: none; }

/* Logo AP : halo plus discret */
.nav__home:hover .nav__mark { filter: drop-shadow(0 0 3px rgba(var(--accent-rgb), .6)) drop-shadow(0 0 9px rgba(var(--accent-rgb), .3)); }

/* ===== Accueil, bibliothèque v2 : deux livres seuls au centre ; au choix d'un livre, ils glissent à gauche
   et la description du club apparaît à droite ===== */
.lib-stage { position: relative; margin: 10px 0 30px; display: grid; justify-items: center; }
.lib-stage .mini-wrap { padding: 50px 0 10px; transition: transform .9s var(--ease-out); }
.lib-stage.is-open .mini-wrap { transform: translateX(calc(-1 * clamp(150px, 19vw, 320px))); }
.lib-hint { color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 0; transition: opacity .4s; }
.lib-stage.is-open .lib-hint { opacity: 0; }
.lib-desc { position: absolute; left: calc(50% + clamp(10px, 2vw, 40px)); top: 50%; translate: 0 -50%; width: min(400px, 38vw); display: grid; pointer-events: none; }
.lib-desc .lib-club { grid-area: 1 / 1; opacity: 0; transform: translateX(40px); transition: opacity .5s, transform .7s var(--ease-out); }
.lib-desc .lib-club.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .2s; }
.lib-desc .lib-club a { text-align: left; margin: 0; justify-self: start; max-width: none; }
.lib-desc .lib-club b { transform-origin: left center; font-size: clamp(32px, 3.4vw, 54px); }
.lib-desc .lib-club.is-on b { transform: none; color: var(--accent); }
.lib-desc .lib-club a:hover b { transform: scale(1.06); }
@media (max-width: 800px) {
  .lib-stage.is-open .mini-wrap { transform: none; }
  .lib-desc { position: relative; left: auto; top: auto; translate: none; width: 100%; max-width: 420px; margin-top: 16px; text-align: center; }
  .lib-desc .lib-club a { text-align: center; justify-self: center; }
  .lib-desc .lib-club b { transform-origin: center; }
}
.lib-hint { margin-top: 22px; }

/* Accueil, bibliothèque : nom du club en vert seulement au survol */
.lib-desc .lib-club.is-on b { color: var(--ink); }
.lib-desc .lib-club a:hover b { color: var(--accent); transform: scale(1.08); }

/* Fiche album : navigation entre tous les albums (thème + club en dessous) */
.detail__nav button { display: grid; gap: 4px; justify-items: start; }
.detail__nav button:last-child { justify-items: end; }
.detail__nav button > span { font-size: 12px; color: var(--muted); transition: color .3s; }
.detail__nav b { display: inline-block; margin-top: 4px; transition: color .3s, transform .45s var(--ease-out); transform-origin: left center; }
.detail__nav button:last-child b { transform-origin: right center; }
.detail__nav button:hover b { color: var(--accent); transform: scale(1.12); }
.detail__nav button:hover > span { color: var(--ink); }
.detail__nav small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Fiche album : bouton Fermer rond, halo vert et grossissement au survol */
.detail__close { border-radius: 999px; padding: 9px 18px; border-color: rgba(236,234,228,.5); align-items: center; transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out), box-shadow .45s; }
.detail__close:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12), 0 12px 30px -10px rgba(var(--accent-rgb), .7); }

/* Fiche album : boutons en pilule, changement de couleur et grossissement au survol */
.detail__actions .btn { border-radius: 999px; padding: 13px 24px; transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out), box-shadow .45s; }
.detail__actions .btn:hover { transform: scale(1.07); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12), 0 14px 32px -12px rgba(var(--accent-rgb), .7); }
.detail__actions .btn--solid:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.detail__actions .btn:not(.btn--solid):hover { background: var(--accent); color: var(--accent-ink); }

/* Fond du menu : verre dépoli qui s'adapte à la couleur du fond */
.nav-bg { position: fixed; inset: 0 0 auto 0; height: calc(var(--nh, 70px) + 18px); z-index: 49; pointer-events: none;
  background: rgba(11,11,12,.18); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent);
  opacity: .55; transition: opacity .5s, background .5s; }
.nav-bg.is-scrolled { opacity: 1; background: rgba(11,11,12,.32); }

/* Fiche album : rangée de projets, 4 visibles, défilement horizontal au-delà */
.items-wrap { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 0 70px; }
.items-wrap .items { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 3 * clamp(12px, 1.6vw, 20px)) / 4);
  gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; overflow-y: visible; padding: 14px var(--gutter) 24px; scroll-padding: 0 var(--gutter);
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; max-width: none; margin: 0; }
.items-wrap .items::-webkit-scrollbar { display: none; }
.items-wrap .items.is-drag { cursor: grabbing; scroll-snap-type: none; }
.items-wrap .items.is-drag .item { pointer-events: none; }
.items-wrap .item { scroll-snap-align: start; transition: transform .5s var(--ease-out); }
.items-wrap .item:hover { transform: translateY(-8px); }
.items-wrap .item__media img { pointer-events: none; -webkit-user-drag: none; }
.items-arrows { display: flex; justify-content: flex-end; gap: 10px; padding: 0 var(--gutter); margin-top: -6px; }
.items-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(236,234,228,.4); display: grid; place-items: center; font-size: 16px;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out); }
.items-arrow:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.1); }
@media (max-width: 800px) { .items-wrap .items { grid-auto-columns: 46%; } }

/* Fiche album : la couverture lévite */
#detailCover { perspective: 1400px; }
#detailCover > .cover { transform-origin: 50% 55%; will-change: transform; }

/* Accueil : les livres ne se croisent plus en 3D — chacun est dessiné à plat, dans l'ordre (le livre ouvert au-dessus) */
.ms { transform-style: flat; }

/* Fiche album : la couverture devient un vrai livre (dos, tranche des pages), qui lévite */
.detail__cover { box-shadow: none; container-type: inline-size; }
#detailCover { perspective: 1600px; }
.dbook { --T: 9cqw; position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 55%; will-change: transform; }
.dbook__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.dbook__front { transform: translateZ(calc(var(--T) / 2)); }
.dbook__front .cover { width: 100%; height: 100%; }
.dbook__back { transform: rotateY(180deg) translateZ(calc(var(--T) / 2)); background: var(--g); filter: brightness(.7); }
.dbook__spine { width: var(--T); left: 0; transform-origin: left; transform: translateZ(calc(var(--T) / 2)) rotateY(-90deg); display: grid; justify-items: center; align-content: start; padding-top: 3cqw; }
.dbook__spine img { width: 72%; height: auto; }
.dbook__pages { width: var(--T); left: auto; right: 0; top: .8%; bottom: .8%; transform-origin: right; transform: translateZ(calc(var(--T) / 2)) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f1ede4 0 .3cqw, #d6cfc1 .3cqw .45cqw); }

/* Fiche album : nom du projet en vert au survol */
.items-wrap .item:hover .item__cap b { color: var(--accent); }
.item__cap b { transition: color .3s; }

/* À propos : cartes des clubs — grossissent, couleur plus intense et nom en vert au survol */
.ab-step { transition: transform .5s var(--ease-out), background .5s, border-color .5s, box-shadow .5s; }
.ab-step[data-u="jda"] { --u-vif: #2B57D6; }
.ab-step[data-u="elan"] { --u-vif: #E8102A; }
.ab-step:hover { transform: scale(1.03); border-color: color-mix(in srgb, var(--u-vif) 70%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--u-vif) 55%, transparent), color-mix(in srgb, var(--u-vif) 10%, transparent) 70%);
  box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--u-vif) 80%, transparent); }
.ab-step h3 { transition: color .35s; }
.ab-step:hover h3 { color: var(--accent); }

/* ===== Lot du 12/11 ===== */
/* Transitions : logo AP au-dessus du nom de la page */
.veil { align-content: center; gap: 18px; }
.veil__logo { width: 56px; height: 56px; opacity: 0; transform: scale(.8); transition: opacity .3s .2s, transform .5s var(--ease-out) .2s; }
.veil.is-covering .veil__logo { opacity: 1; transform: none; }
.veil.no-anim .veil__logo { transition: none !important; }

/* Menu : bande pleine de la couleur du fond en dessous (plus de flou) */
.nav-bg { -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none; opacity: 1; height: var(--nh, 70px);
  background: var(--deep); transition: background-color .45s; }
.nav-bg.is-scrolled { opacity: 1; }

/* Bibliothèque : les livres ne se croisent plus en 3D (perspective portée par l'étagère, dessin dans l'ordre) */
.shelf { perspective: none; }
.shelf__stage { perspective: 2400px; perspective-origin: 50% 40%; transform-style: flat; }

/* Tranches des clubs (onglet « Tout ») : logo + nom, comme les autres */
.spine--club .spine__logo + .spine__title { margin-top: 2px; }

/* Nombre de photos d'un projet : dans un rond */
.item__count { width: 34px; height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 11px; right: 10px; top: 10px; }
.item__count::before { content: none; }

/* Contact : tout en rond */
.cform { border-radius: 32px; }
.cform input { border: 1.5px solid rgba(11,11,12,.35); border-radius: 999px; padding: 12px 20px; }
.cform textarea { border-radius: 24px; padding: 14px 20px; }
.cform__send { border-radius: 999px; padding: 16px 30px; transition: transform .45s var(--ease-out), box-shadow .45s; }
.cform__send:hover { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(11,11,12,.12), 0 16px 40px -10px rgba(11,11,12,.55); }

/* Réseaux : le rond prend la couleur de l'appli et grossit au survol */
.social { transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out), box-shadow .45s; }
.social:hover { transform: scale(1.15); background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }


/* Boîte à outils : logos un peu plus petits */
.app { width: 76px; height: 76px; }
.ab-tools__track { gap: 26px; }

/* Parcours : le nom et le logo du club grossissent quand on les survole */
.ab-step h3 { display: inline-block; transform-origin: left center; transition: color .35s, transform .45s var(--ease-out); }
.ab-step h3:hover { transform: scale(1.12); }
.ab-step__logo img { transition: transform .5s var(--ease-out); }
.ab-step__logo:hover img { transform: scale(1.15); }
@media (max-width: 760px) { .ab-step h3 { transform-origin: center; } }

/* Au bord du terrain : on peut tirer la section de gauche à droite */
.disc { cursor: grab; }
.disc.is-drag { cursor: grabbing; user-select: none; }

/* Nombre de photos : rond aux couleurs du club */
.items-wrap[data-u="jda"] .item__count { background: rgba(43,87,214,.88); color: #fff; }
.items-wrap[data-u="elan"] .item__count { background: rgba(212,14,42,.88); color: #fff; }

/* Couvertures : charnière plus discrète (le liseré clair faisait un faux pli sur les tranches en 3D) */
.cover--album::before { background: linear-gradient(90deg, rgba(0,0,0,.22) 0, rgba(0,0,0,.08) 4%, rgba(0,0,0,.28) 5.6%, transparent 8%),
  linear-gradient(115deg, transparent 30%, rgba(255,255,255,.06) 45%, transparent 58%); }

/* Fiche album : tranche du livre — logo bien placé, pas coupé */
.dbook__spine { padding-top: 0; align-content: start; padding-block: 4cqw; }
.dbook__spine img { width: 64%; max-height: 14%; object-fit: contain; }

/* Fiche album : tranche aussi épaisse que celle des livres de la bibliothèque, avec le logo */
.dbook { --T: 17cqw; }
.dbook__spine { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 5cqw 0; background: var(--g); }
.dbook__spine img { width: 66%; max-height: none; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

/* Nombre de photos : bulle plus discrète, teinte pastel du club */
.items-wrap .item__count { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.items-wrap[data-u="jda"] .item__count { background: rgba(138,173,220,.42); color: #fff; }
.items-wrap[data-u="elan"] .item__count { background: rgba(242,128,142,.42); color: #fff; }

/* Bibliothèque : couverture et dos masqués quand le livre est rangé (seule la tranche reste visible) */
.shelf .book__front, .shelf .book__back { opacity: var(--face, 1); }

/* ===== Téléphone ===== */
.nav__burger, .mmenu { display: none; }
@media (max-width: 720px) {
  /* nom sur deux lignes, entier */
  .hero__name { white-space: normal; font-size: 17.5vw; top: 13vh; line-height: .84; }
  .hero__name .line { display: block; margin: 0; }
  /* liste au-dessus du bouton, sans chevauchement */
  .hero__bottom { bottom: 24px; }
  .hero__facts { bottom: 104px; font-size: 10px; }

  /* menu : bouton « Menu » à la place des liens, panneau plein écran */
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(236,234,228,.5); border-radius: 999px;
    font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; position: relative; z-index: 2; }
  .nav__burger-lines { display: grid; gap: 4px; width: 16px; }
  .nav__burger-lines i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
  body.is-menu .nav__burger-lines i:first-child { transform: translateY(2.75px) rotate(45deg); }
  body.is-menu .nav__burger-lines i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
  .mmenu { display: grid; align-content: center; gap: 40px; position: fixed; inset: 0; z-index: 48; padding: 90px var(--gutter) 40px; background: var(--deep);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
  body.is-menu .mmenu { opacity: 1; visibility: visible; transition: opacity .4s; }
  body.is-menu { overflow: hidden; }
  .mmenu__links { display: grid; gap: 6px; }
  .mmenu__links a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-weight: var(--display-weight); text-transform: uppercase;
    font-size: 13vw; line-height: 1; letter-spacing: var(--display-tracking); color: var(--ink);
    opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease-out), color .3s; transition-delay: calc(var(--i) * 60ms); }
  .mmenu__links a span { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
  .mmenu__links a[aria-current] { color: var(--accent); }
  body.is-menu .mmenu__links a { opacity: 1; transform: none; }
  .mmenu__foot { font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

  /* bibliothèque : moins de vide autour des livres */
  .lib-stage .mini-wrap { padding: 20px 0 0; }
  .lib-desc { margin-top: 8px; }
}
/* rien ne doit dépasser sur les côtés (le texte caché de la bibliothèque élargissait la page sur téléphone) */
html, body { overflow-x: clip; }
@media (max-width: 800px) {
  .lib-desc .lib-club { transform: translateY(16px); }
  .lib-desc .lib-club.is-on { transform: none; }
}
@media (max-width: 760px) {
  /* Parcours : carte empilée (années, logo, texte) au lieu de trois colonnes */
  .ab-step { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 14px; padding: 24px 20px; }
  .ab-step__logo { width: 120px; height: 96px; }
  .ab-step h3 { transform-origin: center; }
}

/* Menu : icônes Instagram et LinkedIn à côté de Contact */
.nav__end { display: flex; align-items: center; gap: 18px; }
.nav__social, .mmenu__social { display: flex; align-items: center; gap: 14px; }
.nav__net { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; opacity: .5; transition: opacity .3s, color .3s, transform .4s var(--ease-out); }
.nav__net svg { width: 100%; height: 100%; }
.nav__net:hover { opacity: 1; color: var(--accent); transform: scale(1.25); }
.mmenu__social .nav__net { width: 30px; height: 30px; color: var(--ink); }
@media (max-width: 720px) { .nav__social { display: none; } .nav__end { display: none; } }

/* ===== Lot du 12/11 (2) ===== */
/* Projets : un peu d'air entre les livres et le nom du thème */
.lib-info { margin-top: 30px; }

@media (max-width: 800px) {
  /* Au bord du terrain : même principe que sur ordinateur — section fixée, les 3 disciplines glissent de droite à gauche */
  .disc__pin { height: 100svh; padding: 0; justify-content: center; }
  .disc__head { position: absolute; top: 76px; left: var(--gutter); right: var(--gutter); padding: 0; flex-direction: row; align-items: end; }
  .disc__head h2 { font-size: 30px; }
  .disc__track { flex-direction: row; width: max-content; padding: 0; gap: 0; }
  .disc__panel { width: 100vw; padding: 120px var(--gutter) 60px; grid-template-columns: 1fr; gap: 6px; align-content: center; }
  .disc__num { font-size: 30vw; }
  .disc__body p { font-size: 15px; }
  .disc__progress, .disc__count { display: block; }
  .disc__count { bottom: 44px; font-size: 10px; }
  .disc__progress { bottom: 32px; }
}

@media (max-width: 720px) {
  /* Accueil, aperçu « À propos » : icônes dans les coins, loin du titre et du bouton */
  .ab-teaser2 { padding-top: 110px; padding-bottom: 110px; }
  .ab-teaser2__icons img { width: 13vw !important; }
  .ab-teaser2__icons img:nth-child(1) { left: 11%; top: 4%; }
  .ab-teaser2__icons img:nth-child(2) { left: 89%; top: 3.5%; }
  .ab-teaser2__icons img:nth-child(3) { left: 12%; top: 96%; }
  .ab-teaser2__icons img:nth-child(4) { left: 88%; top: 96.5%; }

  /* Bibliothèque : description un peu plus bas ; « Toute la bibliothèque » en bouton */
  .lib-desc { margin-top: 30px; }
  .sel__more { margin-top: 50px; }
  .sel__more .btn-big { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; padding: 16px 30px; border-radius: 999px;
    background: var(--accent); color: var(--accent-ink); gap: 12px; box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .6); }
  .sel__more .btn-big:hover { color: var(--accent-ink); transform: scale(1.06); }

  /* À propos : objets flottants dans les coins, loin du texte */
  .ab-hero { padding-top: 150px; padding-bottom: 140px; }
  .ab-icons img { width: 14vw !important; }
  .ab-icons img:nth-child(1) { left: 13%; top: 11%; }
  .ab-icons img:nth-child(2) { left: 87%; top: 10%; }
  .ab-icons img:nth-child(3) { left: 86%; top: 92%; }
  .ab-icons img:nth-child(4) { left: 14%; top: 93%; }

  /* Boîte à outils : logos plus petits */
  .app { width: 58px; height: 58px; }
  .ab-tools__track { gap: 18px; }
}

/* ===== Lot du 12/11 (3) ===== */
/* « Voir la bibliothèque » (À propos) : sans le point vert qui clignote, et visible aussi sur téléphone */
.ab-cta__alt.nav__cta::before { display: none; }
@media (max-width: 720px) { .ab-cta__alt.nav__cta { display: inline-flex; } }

/* Visionneuse : bouton Fermer arrondi, comme celui de la fiche */
.lb__close { border-radius: 999px; padding: 9px 18px; border-color: rgba(236,234,228,.5); display: inline-flex; align-items: center; gap: 8px;
  transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out), box-shadow .45s; }
.lb__close:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12); }
/* tapoter vite sur les flèches ne zoome plus l'écran (téléphone) */
.lb, .lb button, .detail button, .items-arrow { touch-action: manipulation; -webkit-user-select: none; user-select: none; }

/* Fiche album : le menu s'efface pendant l'ouverture (plus de fondu entre « Fermer » et le logo AP) */
.nav, .nav-bg { transition: opacity .3s; }
body:has(.detail.is-open) .nav, body:has(.detail.is-open) .nav-bg { opacity: 0; pointer-events: none; }

/* Menu plein écran (fenêtre étroite / téléphone) : survol = vert et plus grand ; page figée derrière */
@media (max-width: 720px) {
  .mmenu__links a { transform-origin: left center; }
  body.is-menu .mmenu__links a:hover, body.is-menu .mmenu__links a:focus-visible { color: var(--accent); transform: scale(1.08); }
  body.is-menu .mmenu__links:hover a[aria-current]:not(:hover) { color: var(--ink); }
  html.is-menu, body.is-menu { overflow: hidden; height: 100%; touch-action: none; }
  .mmenu { overscroll-behavior: contain; touch-action: none; }
  .mmenu__social .nav__net:hover, .mmenu__social .nav__net:active, .mmenu__social .nav__net:focus-visible { color: var(--accent); opacity: 1; transform: scale(1.25); }

  /* Au bord du terrain : plus petit et calé en haut pour que rien ne se chevauche */
  .disc__head { top: 72px; align-items: start; }
  .disc__head p span { display: block; text-align: right; }
  .disc__panel { padding-top: 150px; padding-bottom: 70px; align-content: start; gap: 4px; }
  .disc__num { font-size: 24vw; margin-bottom: 6px; }
  .disc__body h3 { font-size: 34px; margin-bottom: 10px; }
  .disc__body p { font-size: 14px; margin-bottom: 12px; }
  .disc__body .tags span { font-size: 9px; }
  .disc__covers.ms { margin-top: 18px; }

  /* Projets : plus d'air entre les filtres et les livres */
  .shelf__stage { margin-top: calc(var(--H) / -2 + 46px); }

  /* À propos : objets flottants bien dans l'écran */
  .ab-icons img { width: 12vw !important; }
  .ab-icons img:nth-child(1) { left: 15%; top: 12%; }
  .ab-icons img:nth-child(2) { left: 85%; top: 10%; }
  .ab-icons img:nth-child(3) { left: 84%; top: 91%; }
  .ab-icons img:nth-child(4) { left: 16%; top: 92%; }
}

/* ===== Lot du 12/11 (4) ===== */
/* Numéros « Au bord du terrain » : remplissage adouci */
.disc__num span { transition: clip-path .35s cubic-bezier(.2,.7,.2,1); }

/* Sous-titres de section collés à leur titre (À propos) */
.ab-head { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 8px; }

@media (max-width: 720px) {
  /* Projets : les livres tiennent dans l'étagère (plus de bande noire en bas) */
  .shelf__stage { margin-top: calc(var(--H) / -2 + 30px); }

  /* Au bord du terrain : titre et « Graphisme, photo, vidéo » chacun sur une ligne, plus d'espace avant les numéros, le tout réparti sur la page */
  .disc__head { flex-direction: column; align-items: flex-start; gap: 6px; top: 70px; }
  .disc__head h2 { white-space: nowrap; font-size: 28px; max-width: none; }
  .disc__head h2 br { display: none; }
  .disc__head p span { display: inline; text-align: left; }
  .disc__panel { padding-top: 175px; padding-bottom: 80px; align-content: space-evenly; height: 100svh; gap: 0; }
  .disc__num { font-size: 21vw; margin-bottom: 4px; }
  .disc__body h3 { font-size: 30px; margin-bottom: 8px; }
  .disc__body p { font-size: 13.5px; line-height: 1.5; }

  /* Bibliothèque de l'accueil : titre puis phrase dessous, sur une ligne */
  .selection .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .selection .section-head p br { display: none; }

  /* Boutons de l'accueil : flèche visible et halo lumineux qui respire pour inviter au clic */
  .sel__more .btn-big span { color: var(--accent-ink); }
  .hero__cta.ab-btn, .ab-teaser2 .ab-btn, .sel__more .btn-big { animation: glowPulse 2.6s ease-in-out infinite; }

  /* À propos : les deux objets du haut sous la barre du menu */
  .ab-icons img:nth-child(1) { top: 128px; }
  .ab-icons img:nth-child(2) { top: 118px; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .35), 0 10px 30px -10px rgba(var(--accent-rgb), .6); }
  50% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0), 0 0 34px 4px rgba(var(--accent-rgb), .45); }
}
@media (max-width: 720px) { .disc__panel { align-content: center; padding-top: 150px; padding-bottom: 60px; } .disc__num { font-size: 24vw; } }

/* ===== Lot du 12/11 (5) ===== */
/* Curseur noir sur les zones vertes */
.cursor.on-light::before { color: #0b0b0c; mix-blend-mode: normal; background: radial-gradient(circle, #0b0b0c 0 2px, transparent 2.5px); }
.cursor.on-light.is-hover::before { background: #0b0b0c; border-color: #0b0b0c; }

/* Projets : mot de fond toujours lisible en entier */
.lib-word { font-size: min(clamp(70px, 16vw, 300px), calc(96vw / (var(--n, 7) * 0.72))); }
/* infos de l'album : toujours deux lignes de place, rien ne bouge quand on change de livre */
.lib-info__meta { min-height: calc(2 * 1.5em); line-height: 1.5; display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 0 6px; }

/* Accueil : « Toute la bibliothèque » en pilule comme « En savoir plus », et halo lumineux sur les 3 boutons (ordinateur aussi) */
.sel__more .btn-big { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; padding: 16px 30px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); gap: 12px; transition: transform .45s var(--ease-out); }
.sel__more .btn-big span { color: var(--accent-ink); transition: transform .45s var(--ease-out); }
.sel__more .btn-big:hover { color: var(--accent-ink); transform: scale(1.08); }
.sel__more .btn-big:hover span { transform: translateX(4px); }
.hero__cta.ab-btn, .ab-teaser2 .ab-btn, .sel__more .btn-big { animation: glowPulse 2.6s ease-in-out infinite; }

/* À propos : icône à côté du titre de section, qui flotte doucement */
.ab-head h2 { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 .25em; }
.ab-head__ico { height: 1.5em; width: auto; margin-left: .35em; filter: drop-shadow(0 12px 22px rgba(0,0,0,.45)); animation: icoFloat 4.5s ease-in-out infinite; }
.ab-head__ico[style*="--r"] { animation-delay: -1.8s; }
@keyframes icoFloat { 0%, 100% { transform: translateY(-4px) rotate(-6deg); } 50% { transform: translateY(6px) rotate(5deg); } }

@media (max-width: 720px) {
  /* bouton « Voir les projets » plus haut : son halo n'est plus coupé par le bas de l'écran */
  .hero__bottom { bottom: 46px; }
  .hero__facts { bottom: 128px; }
  /* accueil, aperçu À propos : objets du haut un peu plus bas */
  .ab-teaser2__icons img:nth-child(1) { top: 8%; }
  .ab-teaser2__icons img:nth-child(2) { top: 7.5%; }
  .ab-head__ico { height: 1.3em; }
}

/* Au bord du terrain (téléphone) : « Graphisme, photo, vidéo » sur 3 lignes, à droite du titre */
@media (max-width: 720px) {
  .disc__head { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .disc__head p span { display: block; text-align: right; }
}

/* ===== Lot du 13/11 ===== */
/* Liste du hero : même écart entre les 3 lignes */
.hero__facts li.is-accent { margin-top: 0; }

/* Projets : infos sur une ligne (ordinateur), nombre de projets + dates sur la 2e ligne (téléphone) */
.lib-info__meta .m2::before { content: "·"; margin: 0 6px; }
@media (max-width: 720px) {
  .lib-info__meta .m2 { flex-basis: 100%; }
  .lib-info__meta .m2::before { content: none; }
  /* livres qui grossissent en glissant : on ne les coupe plus en bas */
  .shelf { overflow: visible; overflow-x: clip; }
}

/* À propos : icône de section à droite de la page, sous-titre collé au titre */
.ab-head { position: relative; padding-right: 26%; }
.ab-head h2 { display: block; }
.ab-head__ico { position: absolute; right: 2%; top: 50%; translate: 0 -50%; height: clamp(70px, 9vw, 130px); width: auto; margin: 0;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.45)); animation: icoFloat 4.5s ease-in-out infinite; pointer-events: none; }
.ab-head__ico--big { height: clamp(90px, 12vw, 170px); }
.ab-head p { margin-top: 2px; }

/* ===== Contact : carte de visite 3D à côté de « Travaillons ensemble » ===== */
.contact__top { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 60px); margin-bottom: 50px; }
.contact__top .contact__title { margin: 0; }
.vcard { flex: none; width: clamp(280px, 30vw, 440px); aspect-ratio: 1.7; perspective: 1400px; cursor: pointer; outline: none; margin-right: clamp(0px, 3vw, 50px); }
.vcard__in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.2,.8,.2,1); animation: cardFloat 5s ease-in-out infinite; }
@media (hover: hover) { .vcard:hover .vcard__in, .vcard:focus-visible .vcard__in { transform: rotateY(180deg); animation-play-state: paused; } }
.vcard.is-flipped .vcard__in { transform: rotateY(180deg); animation-play-state: paused; }
@keyframes cardFloat { 0%, 100% { translate: 0 -6px; rotate: -3deg; } 50% { translate: 0 8px; rotate: 1.5deg; } }
.vcard__f, .vcard__b { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: clamp(18px, 2vw, 28px);
  box-shadow: 0 40px 60px -28px rgba(11,11,12,.6), 0 2px 0 rgba(255,255,255,.08) inset; }
.vcard__f { background: #0b0b0c; color: var(--ink); display: grid; grid-template-rows: auto 1fr auto; align-items: end; }
.vcard__logo { width: clamp(38px, 3.6vw, 52px); }
.vcard__name { display: block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .9; font-size: clamp(28px, 3vw, 46px); }
.vcard__role { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.vcard__hint { justify-self: end; margin-top: 10px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vcard__b { background: #eceae4; color: #0b0b0c; transform: rotateY(180deg); display: grid; align-content: center; gap: clamp(6px, .8vw, 12px); }
.vcard__k { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.vcard__b a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: clamp(14px, 1.3vw, 18px); color: #0b0b0c; width: fit-content; transition: color .3s, transform .3s; }
.vcard__b a svg { width: 18px; height: 18px; }
.vcard__b a:hover { color: #3a7d00; transform: translateX(4px); }
.vcard__disc { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-top: 4px; }
@media (max-width: 900px) {
  .contact__top { flex-direction: column; align-items: flex-start; gap: 34px; }
  .vcard { width: min(100%, 340px); align-self: center; margin-right: 0; }
}
@media (min-width: 901px) { .vcard { width: clamp(260px, 25vw, 380px); margin-right: clamp(20px, 5vw, 90px); margin-top: 30px; } }
@media (min-width: 901px) { .contact__top .contact__title { font-size: clamp(48px, 8vw, 160px); } .vcard { margin-right: clamp(10px, 2vw, 40px); } }

/* ===== Contact v2 : formulaire réduit, en carte sombre (même famille que la carte de visite) ===== */
.contact__box { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.cform { background: #0b0b0c; color: var(--ink); border: 0; border-radius: 30px; gap: 14px; padding: clamp(22px, 3.2vw, 40px);
  box-shadow: 0 40px 70px -40px rgba(11,11,12,.7); }
.cform__title { font-size: clamp(24px, 2.6vw, 36px); margin: 0 0 4px; color: var(--ink); }
.cform__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; color: var(--accent); }
.cform__field > span { color: var(--muted); opacity: 1; font-size: 10px; letter-spacing: .1em; }
.cform input, .cform textarea { background: #17181c; color: var(--ink); border: 1px solid rgba(236,234,228,.1); transition: border-color .3s, background .3s; }
.cform input:focus, .cform textarea:focus { border-color: var(--accent); background: #1b1d21; }
.cform textarea { min-height: 96px; }
.cform textarea::placeholder { color: rgba(236,234,228,.35); }
.cform__foot { justify-content: space-between; }
.cform__send { background: var(--accent); color: var(--accent-ink); animation: glowPulse 2.6s ease-in-out infinite; }
.cform__send:hover { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .15), 0 16px 40px -10px rgba(var(--accent-rgb), .7); }
.cform__status { color: var(--muted); }

/* Pied de page : réseaux comme dans la barre de menu (grisés, plus nets et plus grands au survol) */
.contact__nets { display: flex; gap: 16px; align-items: center; }
.contact__nets .nav__net { color: var(--accent-ink); opacity: .45; width: 22px; height: 22px; }
.contact__nets .nav__net:hover, .contact__nets .nav__net:active { opacity: 1; color: var(--accent-ink); transform: scale(1.25); }
.contact__grid { align-items: center; }

/* ===== Lot du 13/11 (2) ===== */
/* Tapoter vite ne zoome plus nulle part sur téléphone */
html { touch-action: manipulation; }

/* Contact : carte de visite d'un côté, formulaire de l'autre */
.contact__top { margin-bottom: clamp(30px, 4vw, 50px); }
.contact__box { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); max-width: 1200px; align-items: center; gap: clamp(30px, 5vw, 80px); }
.contact__cardcol { display: grid; place-items: center; padding: 20px 0 40px; }
.contact__cardcol .vcard { width: min(100%, 520px); margin: 0; }
.vcard__hint { font-size: 10px; }
@media (min-width: 901px) { .contact__top .contact__title { font-size: clamp(48px, 10vw, 190px); } }
@media (max-width: 900px) { .contact__box { grid-template-columns: 1fr; } .contact__cardcol { padding: 0 0 10px; } .contact__cardcol .vcard { width: min(100%, 360px); } }

/* À propos : « Envoyer un message » devient un vrai bouton */
.ab-cta { padding-top: clamp(50px, 8vh, 90px); }
.ab-section:last-of-type { margin-bottom: 0; }
.ab-cta__lead { color: #c8c3b9; margin: -10px 0 26px; font-size: 16px; }
.ab-btn--lg { font-size: 15px; padding: 20px 38px; animation: glowPulse 2.6s ease-in-out infinite; }
.ab-cta__links { gap: 18px; }

@media (max-width: 720px) {
  /* pied de page : sans « Retour en haut » */
  .contact__grid a[href="#top"] { display: none; }
  /* Au bord du terrain : « Graphisme, photo, vidéo » sous le titre, tout près */
  .disc__head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .disc__head p span { display: inline; text-align: left; }
  /* bibliothèque : phrase collée au titre */
  .selection .section-head { gap: 0; }
  .selection .section-head p { margin-top: 0; }
  /* menu : petits numéros alignés avec les titres */
  .mmenu__links a { align-items: center; }
  .mmenu__links a span { line-height: 1; transform: translateY(-.2em); }
  /* À propos : titres sur une ligne, icônes plus petites centrées sur titre + sous-titre */
  .ab-head { padding-right: 72px; }
  .ab-head h2 { font-size: 30px; white-space: nowrap; }
  .ab-head__ico { height: 52px; right: 0; top: calc(50% - 9px); }
  .ab-head__ico--big { height: 58px; }
  .ab-cta__lead { font-size: 14px; }
}
@media (max-width: 720px) {
  .ab-head h2 { font-size: 24px; }
  .ab-cta h2 { font-size: 34px; }
  .ab-cta { padding-top: 30px; }
  .ab-section:has(#abTools) { padding-bottom: 20px; }
}
.ab-section:has(#abTools) { padding-bottom: clamp(20px, 4vh, 50px); }

/* ===== Lot du 13/11 (3) ===== */
/* Barre de menu : se fond dans la page (plus de bord visible en bas) */
.nav-bg { height: calc(var(--nh, 70px) + 26px); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }

/* Formulaire : champs bien centrés, rien ne déborde quand la fenêtre change de taille */
.cform { min-width: 0; }
.cform__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cform__field { min-width: 0; }
.cform input, .cform textarea { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 1100px) and (min-width: 901px) { .cform__row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cform__row { grid-template-columns: minmax(0, 1fr); } }

/* À propos : icônes de titre plus petites, centrées sur titre + sous-titre (mouvement compris), sans toucher la ligne */
.ab-head__ico { height: clamp(64px, 6.5vw, 96px); top: calc(50% - 16px); }
.ab-head__ico--big { height: clamp(70px, 7vw, 104px); }

@media (max-width: 720px) {
  /* menu : petits numéros calés en bas, sur la ligne des mots */
  .mmenu__links a { align-items: baseline; }
  .mmenu__links a span { transform: none; line-height: 1; }
  /* tranches des clubs : nom entier */
  .spine--club .spine__title { font-size: 10.5px; max-height: calc(100% - 56px); }
  /* À propos : icônes un peu plus haut */
  .ab-head__ico { top: calc(50% - 18px); }
  /* sous-titres de l'accueil : même écart sous le titre */
  .disc__head { gap: 8px; }
  .disc__head p, .selection .section-head p { margin: 0; }
  .selection .section-head { gap: 8px; }
  /* bibliothèque : le bouton remonte quand les livres sont fermés, redescend quand un livre s'ouvre */
  .lib-stage .lib-desc { max-height: 0; margin-top: 0; overflow: hidden; transition: max-height .7s cubic-bezier(.2,.8,.2,1), margin-top .7s; }
  .lib-stage.is-open .lib-desc { max-height: 340px; margin-top: 30px; }
}

/* ===== Lot du 13/11 (4) ===== */
/* À propos : icônes de titre qui suivent la taille de la fenêtre ; terrain plus grand */
.ab-head__ico { height: clamp(46px, 8vw, 116px); }
.ab-head__ico--big { height: clamp(46px, 6.6vw, 100px); }

@media (max-width: 720px) {
  .ab-head__ico { height: 56px; }
  .ab-head__ico--big { height: 44px; }
  /* haut de À propos : le titre descend, les objets du haut restent au-dessus sans le toucher */
  .ab-hero { padding-top: 200px; }
  .ab-icons img:nth-child(1) { top: 116px; left: 14%; }
  .ab-icons img:nth-child(2) { top: 108px; left: 86%; }
  /* accueil, aperçu À propos : terrain plus grand, maillot toujours visible */
  .ab-teaser2__icons img:nth-child(3) { width: 19vw !important; top: 90%; }
  .ab-teaser2__icons img:nth-child(4) { top: 89%; left: 86%; }
}

/* Au bord du terrain (ordinateur) : tailles qui suivent aussi la HAUTEUR de la fenêtre — rien ne se chevauche en fenêtre réduite */
@media (min-width: 721px) {
  .disc__head h2 { font-size: min(clamp(30px, 4vw, 60px), 7.5vh); }
  .disc__panel { padding-top: clamp(90px, 20vh, 180px); padding-bottom: clamp(50px, 10vh, 90px); }
  .disc__num { font-size: min(clamp(140px, 24vw, 380px), 44vh); }
  .disc__body h3 { font-size: min(clamp(38px, 5vw, 80px), 9vh); }
  .disc__body p { font-size: min(16px, 2.3vh); }
}
/* À propos (ordinateur) : les deux objets du bas sous le texte, même en fenêtre étroite */
@media (min-width: 721px) {
  .ab-icons img:nth-child(3), .ab-icons img:nth-child(4) { top: 90%; }
}

/* ===== Lot du 13/11 (5) ===== */
/* Projets : le livre ouvert ne monte plus sous les filtres */
.shelf__stage { margin-top: calc(var(--H) / -2 + 34px); }
/* Téléphone : pas de « tirer pour rafraîchir » quand on manipule les livres ou la boîte à outils */
html, body { overscroll-behavior-y: none; }
.shelf { touch-action: none; }
/* Menu plein écran : fond uni partout, même au-dessus de la partie Contact */
body.is-menu .nav-bg { background: var(--deep) !important; }

/* ===== Lot du 13/11 (6) — légèreté ===== */
/* Halo des boutons : on anime l'opacité d'un calque (calculé par la carte graphique) au lieu de redessiner l'ombre à chaque image */
.hero__cta.ab-btn, .ab-teaser2 .ab-btn, .sel__more .btn-big, .cform__send, .ab-btn--lg { animation: none; position: relative; isolation: isolate; }
.hero__cta.ab-btn::after, .ab-teaser2 .ab-btn::after, .sel__more .btn-big::after, .cform__send::after, .ab-btn--lg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  box-shadow: 0 0 34px 6px rgba(var(--accent-rgb), .45); opacity: .35; will-change: opacity, transform;
  animation: glowFade 2.6s ease-in-out infinite; }
@keyframes glowFade { 0%, 100% { opacity: .3; transform: scale(1); } 50% { opacity: .9; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .hero__cta.ab-btn::after, .ab-teaser2 .ab-btn::after, .sel__more .btn-big::after, .cform__send::after, .ab-btn--lg::after { animation: none; } }

/* Projets (ordinateur) : livres comme avant ; téléphone : réglage plus bas conservé */
@media (min-width: 721px) { .shelf__stage { margin-top: calc(var(--H) / -2 + 18px); } }
@media (max-width: 720px) { .shelf__stage { margin-top: calc(var(--H) / -2 + 34px); } }

/* ===== Au bord du terrain — TÉLÉPHONE : carrousel natif qu'on fait glisser au doigt (plus de section fixée) ===== */
@media (max-width: 720px) {
  .disc__pin.is-swipe { height: auto; min-height: 0; padding: 90px 0 56px; display: block; position: relative; }
  .disc__pin.is-swipe .disc__head { position: static; padding: 0 var(--gutter) 10px; }
  .disc__pin.is-swipe .disc__track { width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; transform: none !important; }
  .disc__pin.is-swipe .disc__track::-webkit-scrollbar { display: none; }
  .disc__pin.is-swipe .disc__panel { width: 100vw; height: auto; min-height: 0; scroll-snap-align: start; scroll-snap-stop: always;
    padding: 24px var(--gutter) 10px; align-content: start; }
  .disc__pin.is-swipe .disc__num { font-size: 26vw; }
  .disc__pin.is-swipe .disc__progress { bottom: 24px; }
  .disc__pin.is-swipe .disc__count { bottom: 34px; }
  .disc__pin.is-swipe::after { content: "Glisse →"; position: absolute; left: var(--gutter); bottom: 32px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
}

/* Halo des boutons : uniquement l'opacité (plus d'anneau sombre entre le bouton et la lueur) */
.hero__cta.ab-btn::after, .ab-teaser2 .ab-btn::after, .sel__more .btn-big::after, .cform__send::after, .ab-btn--lg::after { animation-name: glowFadeOnly; transform: none; }
@keyframes glowFadeOnly { 0%, 100% { opacity: .3; } 50% { opacity: .95; } }

/* Fenêtre étroite (menu « Menu ») : le bouton grossit et passe en vert au survol ; les pages aussi, sans délai */
.nav__burger { transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out); }
.nav__burger:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.08); }
@media (max-width: 720px) {
  body.is-menu .mmenu__links a:hover, body.is-menu .mmenu__links a:focus-visible { transition-delay: 0s; }
}

/* ===== À la une (accueil) ===== */
.une { position: relative; z-index: 3; background: var(--deep); padding: clamp(60px, 10vh, 110px) 0 clamp(40px, 8vh, 90px); }
.une__head { display: flex; align-items: end; gap: 10px 28px; flex-wrap: wrap; padding: 0 var(--gutter); margin-bottom: 26px; }
.une__head h2 { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-transform: uppercase; font-size: clamp(36px, 5vw, 76px); line-height: .9; margin: 0; }
.une__head h2 em { font-family: var(--f-serif); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--accent); }
.une__head p { margin: 0 0 6px; }
.une__arrows { margin-left: auto; display: flex; gap: 10px; }
.une__row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gutter) - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 20px; scroll-padding: 0 var(--gutter); scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.une__row::-webkit-scrollbar { display: none; }
.une__row.is-drag { cursor: grabbing; scroll-snap-type: none; } .une__row.is-drag .une__card { pointer-events: none; }
.une__card { display: grid; gap: 10px; text-align: left; padding: 0; color: inherit; scroll-snap-align: start; transition: transform .5s var(--ease-out); }
.une__card:hover { transform: translateY(-8px); }
.une__media { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: 6px; background: #17181c; }
.une__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); pointer-events: none; -webkit-user-drag: none; }
.une__card:hover .une__media img { transform: scale(1.05); }
.une__card[data-u="jda"] .une__media { box-shadow: inset 0 -3px 0 #3b5bd0; } .une__card[data-u="elan"] .une__media { box-shadow: inset 0 -3px 0 #e8102a; }
.une__cap { display: grid; gap: 4px; }
.une__cap b { font-weight: 700; font-size: 15px; transition: color .3s; }
.une__card:hover .une__cap b { color: var(--accent); }
.une__cap .mono { font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .une__row { grid-auto-columns: 42%; } }
@media (max-width: 720px) { .une__row { grid-auto-columns: 72%; gap: 14px; } .une__arrows { display: none; } }

/* Visionneuse « À la une » */
.ulb { position: fixed; inset: 0; z-index: 95; background: rgba(5,5,6,.96); display: grid; grid-template-columns: 70px 1fr 70px; grid-template-rows: 1fr auto; align-items: center;
  padding: 70px 10px 22px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; touch-action: pan-y; }
.ulb.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.ulb__stage { grid-column: 2; grid-row: 1; display: grid; place-items: center; height: 100%; min-height: 0; }
.ulb__stage img, .ulb__stage video { max-width: 100%; max-height: calc(100svh - 170px); object-fit: contain; border-radius: 6px; }
.ulb__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(236,234,228,.4); color: var(--ink); justify-self: center; font-size: 17px; transition: background .3s, color .3s, transform .4s var(--ease-out); }
.ulb__arrow:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.1); }
.ulb__arrow--prev { grid-column: 1; grid-row: 1; } .ulb__arrow--next { grid-column: 3; grid-row: 1; }
.ulb.is-single .ulb__arrow { visibility: hidden; }
.ulb__close { position: absolute; top: 16px; left: var(--gutter); border: 1px solid rgba(236,234,228,.5); border-radius: 999px; padding: 9px 18px; color: var(--ink);
  transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out); }
.ulb__close:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.1); }
.ulb__cap { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 8px 18px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; padding-top: 14px; }
.ulb__cap b { font-family: var(--f-serif); font-weight: 400; font-size: 22px; }
.ulb__cap .mono { font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.ulb__album { border: 1px solid rgba(236,234,228,.4); border-radius: 999px; padding: 7px 14px; color: var(--ink); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s; }
.ulb__album:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
html.ulb-on body:has(.ulb.is-open) .nav, html.ulb-on .nav-bg { opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .ulb { grid-template-columns: 40px 1fr 40px; padding-inline: 0; } .ulb__arrow { width: 36px; height: 36px; } }

/* ---------- Lot 96 : « À la une » en visionneuse carrousel (centre net, voisines floutées) ---------- */
.une { overflow: clip; }
.une__row { position: relative; display: block; overflow: visible; padding: 0; }
.cf__stage { --cfh: clamp(360px, 62vh, 620px); --cfw: calc(var(--cfh) * .8); --gap: calc(var(--cfw) * 1.04);
  position: relative; height: var(--cfh); touch-action: pan-y; user-select: none; -webkit-user-select: none; margin-top: 8px; }
.cf__slide { position: absolute; top: 0; left: 50%; width: var(--cfw); height: 100%; margin-left: calc(var(--cfw) / -2); padding: 0; border: 0;
  border-radius: 8px; overflow: hidden; background: #17181c; cursor: pointer; z-index: 1;
  transform: translateX(calc(var(--o, 0) * var(--gap))) scale(.84); filter: blur(9px) brightness(.68) saturate(.85);
  transition: transform 1s cubic-bezier(.16, 1, .3, 1), filter .9s cubic-bezier(.16, 1, .3, 1), opacity .7s; will-change: transform, filter; }
.cf__slide img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.cf__slide.is-cur { z-index: 3; transform: translateX(0) scale(1); filter: none; cursor: zoom-in; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); }
.cf__slide.is-cur:hover img { transform: scale(1.03); }
.cf__slide:not(.is-cur):hover { filter: blur(5px) brightness(.85) saturate(.9); }
.cf__slide.is-far { opacity: 0; pointer-events: none; }
.cf__slide:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cf__foot { position: relative; display: flex; justify-content: center; padding: 22px var(--gutter) 0; min-height: 64px; }
.cf__cap { display: grid; gap: 6px; text-align: center; }
.cf__cap b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(15px, 1.4vw, 19px); }
.cf__cap .mono { font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.cf__cap.is-in { animation: cfCap .7s cubic-bezier(.16, 1, .3, 1); }
@keyframes cfCap { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.cf__count { position: absolute; right: var(--gutter); top: 26px; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 720px) {
  .cf__stage { --cfw: 70vw; --cfh: calc(var(--cfw) * 1.25); --gap: calc(var(--cfw) * 1.02); }
  .cf__slide { filter: blur(6px) brightness(.68) saturate(.85); }
  .cf__foot { flex-direction: column; align-items: center; gap: 12px; }
  .cf__count { position: static; }
  .une__arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cf__slide, .cf__slide img { transition: none; } }

/* Lot 96 : « Voir les projets » a exactement le même halo que « En savoir plus » et « Toute la bibliothèque » */
.hero__cta.ab-btn, .sel__more .btn-big { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .4), 0 10px 30px -10px rgba(var(--accent-rgb), .6); }
.hero__cta.ab-btn:hover, .sel__more .btn-big:hover { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .12), 0 16px 40px -10px rgba(var(--accent-rgb), .7); }
/* Lot 96 : moins d'espace entre « À propos » et la bibliothèque */
.ab-teaser2 { padding-bottom: clamp(60px, 9vh, 110px); }
.selection { padding-top: 64px; }
@media (max-width: 720px) { .ab-teaser2 { padding-bottom: 70px; } .selection { padding-top: 48px; } }
@media (max-width: 720px) { .une { padding-bottom: 24px; } }

/* Lot 98 : visionneuse — page bloquée quand elle est ouverte ; légende sur deux lignes au téléphone */
html.ulb-on, html.ulb-on body { overflow: hidden; overscroll-behavior: none; }
.ulb { touch-action: none; overscroll-behavior: contain; }
.cf__foot { min-height: 0; padding-top: 18px; }
.cf__count { position: static; }
@media (max-width: 720px) {
  .ulb__cap { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 14px var(--gutter) 0; }
  .ulb__cap b { font-size: 18px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ulb__cap .mono { white-space: nowrap; }
  .ulb__album { margin-top: 6px; }
}
/* les images hors champ du carrousel ne coûtent plus rien */
.cf__slide { will-change: auto; }
.cf__slide.is-far { visibility: hidden; transition: transform 1s cubic-bezier(.16, 1, .3, 1), filter .9s, opacity .7s, visibility 0s .7s; }

/* Lot 99 : téléphone, Au bord du terrain — le numéro se remplit (ou se vide) en douceur */
.disc__pin.is-swipe .disc__num span { transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1); }

/* Lot 100 : « À la une » en Coverflow 3D avec flou (sans reflet) ; la rangée suit le doigt / la souris */
.cf__stage { perspective: 1400px; cursor: grab; }
.cf__stage.is-drag { cursor: grabbing; }
.cf__stage.is-drag .cf__slide { transition: none; }
.cf__slide { --sp: .42; --push: .4; --ang: 58deg; --sc: .12; --dim: .25; --blur: 7px;
  transform: translateX(calc(var(--o, 0) * var(--cfw) * var(--sp) + var(--sg, 0) * var(--cfw) * var(--push))) rotateY(calc(var(--sg, 0) * var(--ang) * -1)) scale(calc(1 - var(--a1, 0) * var(--sc)));
  filter: brightness(calc(1 - var(--a3, 0) * var(--dim))) blur(calc(var(--a1, 0) * var(--blur)));
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .9s cubic-bezier(.16, 1, .3, 1), opacity .5s;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.cf__slide.is-cur { transform: translateX(calc(var(--o, 0) * var(--cfw) * var(--sp))) scale(1); filter: none; }
.cf__slide:not(.is-cur):hover { filter: brightness(calc(1 - var(--a3, 0) * var(--dim) + .12)) blur(calc(var(--a1, 0) * var(--blur) * .6)); }
.cf__slide.is-far { visibility: visible; opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .cf__slide { --blur: 5px; } }

/* Lot 101 : arrivée directe sur le site — pas de rideau, pas d'animation d'entrée */
html.cold-veil .veil { visibility: hidden; }
html.cold .hero__avatar { animation: none; }

/* Lot 102 : transition entre les pages = fondu enchaîné (natif : Chrome, Edge, Safari 18.2+ dont l'iPhone ; ailleurs, changement direct) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .6s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Lot 103 : curseur = flèche verte ; main verte sur tout ce qui se clique ou se glisse.
   Sur la partie Contact (fond vert) : versions sombres pour rester visibles. */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("../img/cursor/fleche.svg") 3 2, auto; }
  a, button, [role="button"], label, select, summary, [data-cursor], .cform__send,
  .mj-canvas, .ab-tools, .items, .disc, .vcard, .une__row, .cf__stage, .cf__slide, .cf__slide.is-cur,
  .hero__memoji.is-grabbed .mj-canvas, .ab-tools.is-drag, .items-wrap .items, .items-wrap .items.is-drag, .disc.is-drag, .cf__stage.is-drag {
    cursor: url("../img/cursor/main.svg") 10 1, pointer !important; }
  input, textarea, [contenteditable] { cursor: text !important; }
  .contact { cursor: url("../img/cursor/fleche-sombre.svg") 3 2, auto; }
  .contact a, .contact button, .contact label, .contact .cform__send { cursor: url("../img/cursor/main-sombre.svg") 10 1, pointer !important; }
  .contact .vcard, .contact .vcard a, .contact .cform, .contact .cform a, .contact .cform button { cursor: url("../img/cursor/main.svg") 10 1, pointer !important; }
  .contact .cform { cursor: url("../img/cursor/fleche.svg") 3 2, auto !important; }
  .contact .cform input, .contact .cform textarea { cursor: text !important; }
}

/* Lot 103 : bande du menu pleine (sans masque) pour que Safari (iPhone) reprenne sa couleur derrière l'heure et l'adresse ;
   le fondu vers le bas est une pièce à part, juste en dessous */
.nav-bg { -webkit-mask-image: none !important; mask-image: none !important; height: var(--nh, 70px) !important; overflow: visible; transition: background .5s, color .5s; }
.nav-bg::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; background: linear-gradient(180deg, currentColor, transparent); pointer-events: none; }

/* Lot 104 : la barre du menu porte sa propre couleur (plus de mélange « difference »), sans halo ni fondu en dessous ;
   changement de couleur instantané. Sur fond vert (Contact) : texte et logo foncés. */
.nav { mix-blend-mode: normal; background-color: var(--deep); color: #fff; transition: opacity .3s; }
.nav-bg { transition: none !important; }
.nav-bg::after { content: none; display: none; }
.nav.on-light { color: #0b0b0c; }
.nav.on-light .nav__mark { content: url("../img/logo/ap-plein-noir.svg"); }
.nav.on-light .nav__links a[aria-current], .nav.on-light .nav__links a:hover { color: #0b0b0c; }
.nav.on-light .nav__links:hover a[aria-current]:not(:hover) { color: #0b0b0c; }
.nav.on-light .nav__cta, .nav.on-light .nav__burger { border-color: rgba(11, 11, 12, .45); }
.nav.on-light .nav__cta::before { background: #0b0b0c; box-shadow: none; animation: none; }
.nav.on-light .nav__net { color: #0b0b0c; opacity: .7; }
.nav.on-light .nav__home:hover .nav__mark { filter: none; }
body.is-menu .nav { background-color: var(--deep) !important; color: #fff; }
body.is-menu .nav.on-light .nav__mark { content: normal; }
body.is-menu .nav.on-light .nav__burger { border-color: rgba(236, 234, 228, .5); }
/* arrivée par un lien du site : le contenu apparaît en fondu une fois en place (pas de livres ou flèches qui bougent) */
main { transition: opacity .45s ease; }
html.pw main { opacity: 0; }

/* Lot 105 : la bande sous le menu reprend exactement le fond de la section (dégradé compris) ;
   elle remonte au-dessus de l'écran pour remplir la zone de l'heure et de l'adresse sur iPhone ;
   petit fondu quand la couleur change (passage au vert du Contact) */
.nav { background-color: transparent !important; }
.nav-bg { top: -160px !important; bottom: auto !important; height: calc(var(--nh, 70px) + 160px) !important; transition: background-color .35s ease !important; }
body.is-menu .nav-bg { background-color: var(--deep) !important; background-image: none !important; }
/* menu du téléphone ouvert : fond uni partout, y compris derrière les barres de Safari en haut et en bas */
.mmenu { box-shadow: 0 0 0 60vh var(--deep); }

/* Lot 106 : téléphone (écran tactile) — la page défile DANS le corps de page, plus sous les barres de Safari :
   le haut de l'écran (heure, adresse) montre la couleur de fond de la page, réglée sur celle de la barre du menu */
html.bs { height: 100%; overflow: hidden; }
html.bs body { height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: none; -webkit-overflow-scrolling: touch; }
html.bs.is-menu body, html.bs.ulb-on body, html.bs.lbx-on body { overflow: hidden; }

/* Lot 107 : bouton « Menu » du téléphone en noir quand la barre est verte (Contact) */
.nav.on-light .nav__burger { color: #0b0b0c; border-color: rgba(11, 11, 12, .45); }
body.is-menu .nav.on-light .nav__burger { color: #fff; }

/* Lot 108 : texte d'introduction d'À propos en plusieurs paragraphes */
.ab-lead p { margin: 0 0 1em; }
.ab-lead p:last-child { margin-bottom: 0; }
/* titre « Créer du contenu, quel que soit le terrain. » plus long : un peu plus petit pour laisser de l'air aux icônes */
.ab-title { font-size: clamp(36px, 6.2vw, 108px); }

/* Lot 110 : À propos — plus d'air sous le titre, mots importants en vert */
.ab-title { margin-bottom: clamp(40px, 6vh, 64px); }
.ab-lead .kw { color: var(--accent); }

/* Lot 111 : À propos — le texte d'intro s'allume mot à mot au défilement (comme « À propos » sur l'accueil) */
.ab-lead span { color: rgba(236, 234, 228, .22); transition: color .45s; }
.ab-lead span.is-lit { color: var(--ink); }
.ab-lead span.kw { color: rgba(236, 234, 228, .22); }
.ab-lead span.kw.is-lit { color: var(--accent); }
@media (max-width: 720px) {
  /* le titre « Créer du contenu » remonte ; moins d'espace entre « Les terrains de jeu » et « La boîte à outils » */
  .ab-hero { min-height: 0; padding-top: 130px; padding-bottom: 70px; }
  .ab-section:has(#abPath) { padding-bottom: 24px; }
  .ab-section:has(#abTools) { padding-top: 24px; }
}

/* Lot 111 : objets volants d'À propos replacés autour du nouveau titre et du texte plus long */
@media (min-width: 721px) {
  /* dans les marges, de part et d'autre du titre et du texte, sans les toucher */
  .ab-icons img:nth-child(1) { left: 7% !important; top: 22% !important; width: clamp(56px, 7vw, 120px) !important; }
  .ab-icons img:nth-child(2) { left: 93% !important; top: 30% !important; width: clamp(52px, 6.4vw, 110px) !important; }
  .ab-icons img:nth-child(3) { left: 92% !important; top: 74% !important; width: clamp(46px, 5.6vw, 96px) !important; }
  .ab-icons img:nth-child(4) { left: 8% !important; top: 80% !important; width: clamp(40px, 4.8vw, 84px) !important; }
}
@media (max-width: 720px) {
  /* deux objets au-dessus du titre, deux sous le texte */
  .ab-hero { padding-top: 160px; padding-bottom: 120px; }
  .ab-icons img { width: 13vw !important; }
  .ab-icons img:nth-child(1) { left: 16% !important; top: 112px !important; }
  .ab-icons img:nth-child(2) { left: 84% !important; top: 104px !important; }
  .ab-icons img:nth-child(3) { left: 82% !important; top: calc(100% - 62px) !important; }
  .ab-icons img:nth-child(4) { left: 18% !important; top: calc(100% - 54px) !important; }
}

/* Lot 112 : téléphone, À propos — plus d'objets sous le texte ; le téléphone remplace l'appareil photo en haut à droite ;
   « Les terrains de jeu » remonte */
@media (max-width: 720px) {
  .ab-icons img:nth-child(2), .ab-icons img:nth-child(3) { display: none; }
  .ab-icons img:nth-child(4) { left: 84% !important; top: 104px !important; width: 11vw !important; }
  .ab-hero { padding-bottom: 36px; }
  .ab-hero + .ab-section { padding-top: 40px; }
}

/* Lot 113 : les applications de la boîte à outils commencent à la même distance du trait que la carte Elan Chalon
   (la bande garde sa marge du haut pour le grossissement au survol, mais remonte d'autant) */
.ab-tools { margin-top: calc(-1 * var(--tools-pad, 26px)); }
/* arrivée directe sur Contact : la barre prend sa couleur sans fondu */
.nav-bg.no-tr { transition: none !important; }

/* Lot 114 : Contact centré sur les grands écrans (titre, carte de visite et formulaire alignés dans une même colonne centrée) */
.contact__top, .contact__box { max-width: 1300px; margin-left: auto; margin-right: auto; }
@media (min-width: 901px) { .contact__top .contact__title { font-size: clamp(48px, 10vw, 160px); } }

/* Lot 115 : badge « Powered by Netlify » ajouté automatiquement par l'hébergeur : masqué */
#nl-badge-frame, iframe[title="Powered by Netlify"] { display: none !important; }

/* Lot 116 : Memoji — image fixe visible dès l'ouverture, la vidéo animée prend le relais en fondu */
.hero__memoji .mj-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); transition: opacity .35s ease; }
.hero__memoji.is-live .mj-poster { opacity: 0; }

/* Lot 117 : « Au bord du terrain » — flèche sur les zones vides ; la main seulement sur ce qui se clique (livres, boutons, liens) */
@media (hover: hover) and (pointer: fine) {
  .disc, .disc.is-drag { cursor: url("../img/cursor/fleche.svg") 3 2, auto !important; }
}
/* arrivée sur Contact depuis une autre page : la barre passe au vert avec le même fondu que l'apparition du formulaire */
.nav-bg.reveal-tr { transition: background-color .45s ease !important; }

/* Lot 118 : téléphone — le bouton Menu / Fermer ne reste plus vert après un toucher (le survol n'existe pas au doigt) */
@media (hover: none) {
  .nav__burger:hover, .nav__burger:focus, .nav__burger:active { background: transparent; color: #fff; border-color: rgba(236, 234, 228, .5); transform: none; }
  .nav.on-light .nav__burger:hover, .nav.on-light .nav__burger:focus, .nav.on-light .nav__burger:active { color: #0b0b0c; border-color: rgba(11, 11, 12, .45); }
  body.is-menu .nav.on-light .nav__burger:hover, body.is-menu .nav.on-light .nav__burger:focus { color: #fff; border-color: rgba(236, 234, 228, .5); }
}

/* Lot 119 : téléphone — dans un projet ouvert, le bouton Menu reste en haut à droite (au-dessus du projet) */
@media (max-width: 720px) {
  body:has(.detail.is-open) .nav { opacity: 1; pointer-events: none; z-index: 70; background-color: transparent !important; }
  body:has(.detail.is-open) .nav .nav__logo { visibility: hidden; }
  body:has(.detail.is-open) .nav .nav__burger { pointer-events: auto; background: var(--paper); }
  body:has(.detail.is-open) .mmenu { z-index: 66; }
}
