/* François Poitout — fond noir, texte blanc, minimaliste */
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-latin-500-normal.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Unbounded'; src: url('../fonts/unbounded-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Unbounded'; src: url('../fonts/unbounded-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* Mode jour (par défaut) — fond blanc façon tommyknuts.fr, gris de texte un peu plus foncé */
  color-scheme: light;
  --bg: #fff;
  --fg: #000;
  --text: #444;
  --muted: #6e6e6e;
  --line: #e2e2e2;
  --card: #f4f4f4;
  --header-bg: rgba(255, 255, 255, .94);
  --field-line: #b5b5b5;
  --overlay: rgba(255, 255, 255, .98);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1400px;
  --head-h: 84px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Montserrat', system-ui, sans-serif;
}
/* Mode nuit */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --fg: #fff;
  --text: #d2d2d2;
  --muted: #9a9a9a;
  --line: #262626;
  --card: #0d0d0d;
  --header-bg: rgba(0, 0, 0, .92);
  --field-line: #555;
  --overlay: rgba(0, 0, 0, .97);
}
body { transition: background-color .3s, color .3s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .7; }
p a, dd a, address a, .prose a { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(28px, 5vw, 56px); }
h2 { font-size: clamp(20px, 2.6vw, 30px); }
h3 { font-size: 18px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 100; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); background: var(--header-bg); backdrop-filter: blur(8px); }
.is-home .site-header { position: fixed; inset: 0 0 auto; color: #fff; background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,0)); backdrop-filter: none; transition: background .3s, color .3s; }
.is-home .site-header.is-scrolled { background: var(--header-bg); color: var(--fg); }
.site-header { color: var(--fg); }
.logo { color: inherit !important; }
.logo { display: block; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; white-space: nowrap; }
.logo svg { display: block; height: 40px; width: auto; max-width: 100%; }
.logo { min-width: 0; }
@media (max-width: 860px) { :root { --head-h: 68px; } .logo svg { height: 30px; } }
@media (max-width: 360px) { .logo svg { height: 25px; } }
.nav { margin-left: auto; }
.header-tools { margin-left: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.5vw, 36px); }
.nav a { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; padding: 8px 0; display: inline-block; }
.nav a[aria-current] { border-bottom: 1px solid var(--fg); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 220px; flex-direction: column; gap: 0 !important; background: var(--bg); color: var(--fg); border: 1px solid var(--line); padding: 8px 16px !important; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.sub a { text-transform: none; letter-spacing: .02em; font-size: 14px; padding: 6px 0; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; color: inherit; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: .25s; }

@media (max-width: 860px) {
  /* backdrop-filter piégerait le menu plein écran (position: fixed) dans l’en-tête */
  .site-header { backdrop-filter: none; background: var(--bg); }
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; background: var(--bg); color: var(--fg); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .25s; overflow-y: auto; padding: 80px 24px; }
  .nav ul { flex-direction: column; align-items: center; gap: 18px; text-align: center; }
  .nav a { font-family: var(--display); font-size: 26px; letter-spacing: 0; text-transform: none; }
  /* « inherit » et non « visible » : sinon les sous-liens restent cliquables (invisibles) au milieu de l'écran quand le menu est fermé */
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; border: 0; background: none; padding: 4px 0 0 !important; min-width: 0; }
  .sub a { font-family: var(--font); font-size: 15px; color: var(--muted); }
  .nav-open .nav { opacity: 1; visibility: visible; }
  /* menu ouvert : logo, langue, mode nuit et croix restent visibles au-dessus du voile */
  .nav-open .logo, .nav-open .header-tools { position: relative; z-index: 3; }
  .nav-open { overflow: hidden; }
  .nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

main { min-height: 60vh; }

/* ---------- hero (accueil) ---------- */
.hero { position: relative; height: 100svh; min-height: 420px; overflow: hidden; background: #000; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero { cursor: pointer; }
.hero__dots { position: absolute; z-index: 2; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero__dots button[aria-current] { background: #fff; }

.intro { max-width: 820px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gutter) 24px; text-align: center; }
.intro h1 { font-size: clamp(26px, 4vw, 44px); }
.intro p { color: var(--text); font-size: clamp(16px, 1.6vw, 19px); }

/* ---------- blocs ---------- */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 28px; }
.block__head h2 { margin: 0; }
.more { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; border-bottom: 1px solid currentColor; padding-bottom: 2px; text-decoration: none !important; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 0 0 12px; }
.btn { display: inline-block; background: var(--fg); color: var(--bg); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; padding: 14px 26px; border: 1px solid var(--fg); cursor: pointer; font-family: var(--font); text-decoration: none !important; }
.btn:hover { background: transparent; color: var(--fg); opacity: 1; }
.center { text-align: center; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); margin-bottom: 16px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.03); }
.card time, .news-item time, .vthumb time { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.card h3 { margin: 6px 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--text); font-size: 15px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--card); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, opacity .4s; opacity: .8; }
.tile span { color: #fff; position: absolute; left: 20px; bottom: 18px; font-family: var(--display); font-size: clamp(18px, 2vw, 24px); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.tile:hover { opacity: 1; }
.tile:hover img { transform: scale(1.04); opacity: 1; }

.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.feature__body p { color: var(--text); }
.price { font-family: var(--display); font-size: 24px; color: var(--fg) !important; margin: 16px 0 20px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }

/* ---------- vidéos ---------- */
.videos__layout { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.videos__caption { margin: 12px 0 0; color: var(--text); }
.videos__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: start; }
.vthumb { display: grid; grid-template-columns: 140px 1fr; gap: 4px 14px; align-items: start; }
.vthumb img { grid-row: span 2; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.vthumb span { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vthumb.is-current span { text-decoration: underline; }
@media (max-width: 900px) { .videos__layout { grid-template-columns: 1fr; } }

.yt { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.yt:hover img { opacity: 1; }
.yt__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; background: none; border: 0; padding: 0; cursor: pointer; }
.yt__play path:first-child { fill: rgba(0,0,0,.75); transition: fill .2s; }
.yt:hover .yt__play path:first-child { fill: #f00; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- en-têtes de page ---------- */
.page-head { max-width: 900px; padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(24px, 4vw, 48px); margin: 0 auto 0 0; }
.page-head .lead { font-size: clamp(16px, 1.7vw, 20px); color: var(--text); max-width: 70ch; }
.page-head .eyebrow a { text-decoration: none; }
.series-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }
.series-nav a { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.series-nav a:hover { color: var(--fg); opacity: 1; }

/* ---------- work ---------- */
.series { padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(40px, 6vw, 72px); max-width: var(--max); }
.series__head { max-width: 760px; margin-bottom: 32px; border-top: 1px solid var(--line); padding-top: 20px; }
.series__head h2 span { color: var(--muted); font-size: .6em; margin-left: 8px; }
.series__head p { color: var(--text); }
.series__video { max-width: 900px; margin-bottom: 32px; }
.grid { columns: 3 300px; column-gap: 24px; }
.work { break-inside: avoid; margin: 0 0 32px; }
.work a { display: block; background: var(--card); cursor: zoom-in; }
.work figcaption { padding-top: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.work__title { font-weight: 500; }
.work__meta, .work__desc { color: var(--muted); font-size: 13px; }
.work__price { font-size: 13px; }

/* ---------- bio ---------- */
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter); align-items: start; }
.bio__portrait { position: sticky; top: calc(var(--head-h) + 24px); }
.bio .page-head { padding: 0 0 24px; }
.bio p { color: var(--text); max-width: 68ch; }
.bio h2 { margin-top: 2em; font-size: 20px; }
blockquote { margin: 2.2em 0; padding-left: 24px; border-left: 1px solid var(--fg); font-style: italic; }
blockquote cite { font-size: 13px; color: var(--muted); font-style: normal; }
.cv { list-style: none; padding: 0; margin: 0; }
.cv li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cv span { color: var(--muted); }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } .bio__portrait { position: static; } }

/* ---------- actualités ---------- */
.news-list { max-width: var(--max); padding: 0 var(--gutter) 64px; }
.news-item { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 56px); padding: 40px 0; border-top: 1px solid var(--line); }
.news-item__media:empty { display: none; }
.news-item__media:empty + .news-item__body { grid-column: 1 / -1; max-width: 760px; }
.news-item h2 { margin: 8px 0 12px; font-size: clamp(19px, 2vw, 26px); }
.news-item p { color: var(--text); }
@media (max-width: 760px) { .news-item { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 80px; align-items: start; }
.contact__portrait { position: sticky; top: calc(var(--head-h) + 24px); }
.contact__portrait img { width: 100%; }
.contact__info h1 { margin-bottom: .4em; }
.contact__info .lead { color: var(--text); font-size: clamp(16px, 1.6vw, 19px); max-width: 52ch; }
.contact__info h2 { font-size: 18px; margin: 40px 0 10px; }
.contact .btn--wa { margin: 12px 0 8px; padding: 16px 26px; }
.contact address { font-style: normal; font-size: 18px; margin-bottom: 12px; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin-top: 28px; }
.contact dt { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; padding-top: 3px; }
.contact dd { margin: 0; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: 16px var(--font); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--field-line); padding: 10px 0; border-radius: 0; text-transform: none; letter-spacing: 0; }
.contact-form select option { background: var(--bg); color: var(--fg); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--fg); }
.contact-form .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } .contact__portrait { position: static; } .contact__portrait img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; } }

/* ---------- shop ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 32px; max-width: var(--max); padding: 0 var(--gutter) 80px; }
.product-card { display: grid; gap: 6px; }
.product-card img { margin-bottom: 10px; background: var(--card); }
.product-card__name { font-family: var(--display); font-size: 18px; }
.product-card__price { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter); align-items: start; }
.product__gallery > a img { width: 100%; }
.product__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.product__thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product__info { position: sticky; top: calc(var(--head-h) + 24px); }
.product__info h1 { font-size: clamp(26px, 3.4vw, 40px); }
.product__subtitle { color: var(--muted); margin-top: -8px; }
.product__info > p { color: var(--text); }
.btn--buy { width: 100%; text-align: center; padding: 18px; font-size: 14px; }
.secure { font-size: 12px; color: var(--muted); text-align: center; margin: 8px 0 28px; }
.secure:has(+ .shipping) { margin-bottom: 4px; }
.shipping { font-size: 13px; color: var(--text); text-align: center; margin: 0 0 28px; }
.soldout { font-family: var(--display); color: var(--muted); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; padding: 20px 0; margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product__info { position: static; } }

.prose { max-width: 760px; padding: 0 var(--gutter) 80px; }
.prose h2 { font-size: 20px; margin-top: 2em; }
.prose p { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 24px; font-size: 14px; color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: start; justify-content: end; }
.copy { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .site-footer { grid-template-columns: 1fr; } .footer-links { justify-content: start; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: var(--overlay); color: var(--fg); display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; transition: .25s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__stage { display: flex; align-items: center; justify-content: center; padding: 56px 64px 8px; min-height: 0; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb__caption { padding: 12px var(--gutter) 24px; text-align: center; font-size: 14px; min-height: 64px; }
.lb__caption strong { font-weight: 500; display: block; }
.lb__caption span { color: var(--muted); display: block; }
.lb button { position: absolute; background: none; border: 0; color: var(--fg); cursor: pointer; font-size: 30px; line-height: 1; padding: 14px; font-family: var(--font); }
.lb__close { top: 6px; right: 10px; }
.lb__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; top: 20px; left: 24px; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
@media (max-width: 640px) { .lb__stage { padding: 56px 8px 8px; } .lb__prev, .lb__next { top: auto; bottom: 10px; transform: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- portrait (accueil), photo bio, atelier ---------- */
.intro--portrait { max-width: 1040px; display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; text-align: left; }
.intro__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.intro__img:hover { opacity: 1; }
@media (max-width: 760px) { .intro--portrait { grid-template-columns: 1fr; text-align: center; } .intro__img { max-width: 260px; margin: 0 auto; } }
.bio__figure { margin: 2.4em 0; }
.bio__figure figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }
.atelier { padding-top: 0; }
.atelier__text { color: var(--text); max-width: 70ch; margin: -8px 0 28px; }
.atelier__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.atelier__grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); cursor: zoom-in; }
.atelier__grid a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.atelier__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.atelier__grid a:hover { opacity: 1; }
.atelier__grid a:hover img { transform: scale(1.03); }
@media (max-width: 520px) { .atelier__grid a:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; } }
.btn--wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; }

/* ---------- bouton jour / nuit ---------- */
.theme-toggle { background: none; border: 0; color: inherit; width: 40px; height: 40px; padding: 9px; cursor: pointer; border-radius: 50%; flex: none; margin-left: -8px; }
.theme-toggle:hover { opacity: .7; }
.theme-toggle svg { width: 22px; height: 22px; display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .header-tools { margin-left: auto; } }
@media (max-width: 860px) { .site-header { gap: 8px; } .nav-open .site-header { color: var(--fg) !important; } }

.bio__atelier { margin: 2.4em 0; }
.bio__atelier > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bio__atelier a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); cursor: zoom-in; }
.bio__atelier img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bio__atelier a:hover { opacity: 1; }
.bio__atelier a:hover img { transform: scale(1.03); }
.bio__atelier figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }
@media (max-width: 520px) { .bio__atelier > div { grid-template-columns: 1fr; } }

/* ---------- sélecteur de langue ---------- */
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.lang-switch a, .lang-switch span[aria-current] { padding: 6px 2px; }
.lang-switch span[aria-current] { border-bottom: 1px solid currentColor; }
.lang-switch a { opacity: .55; }
.lang-switch a:hover { opacity: 1; }
.lang-switch > span[aria-hidden] { opacity: .35; }

/* ---------- Baleineau messager ---------- */
.calf { position: fixed; left: 0; right: 0; bottom: 14px; height: 0; z-index: 40; pointer-events: none; }
.calf__swim { position: absolute; left: 0; bottom: 0; width: 220px; pointer-events: auto; animation: calf-swim 16s linear forwards; }
.calf.is-paused .calf__swim, .calf.is-paused .calf__whale, .calf.is-paused .calf__tail { animation-play-state: paused; }
@keyframes calf-swim { from { transform: translateX(-250px); } to { transform: translateX(calc(100vw + 30px)); } }
.calf__whale { position: relative; display: block; width: 100%; aspect-ratio: 480 / 218; padding: 0; border: 0; background: none; cursor: pointer; animation: calf-bob 3.2s ease-in-out infinite; }
.calf__whale:focus-visible { outline-offset: 6px; border-radius: 40px; }
@keyframes calf-bob { 0%, 100% { transform: translateY(0) rotate(-2.5deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.calf__body, .calf__tail { position: absolute; inset: 0; background: var(--img) center / contain no-repeat; }
.calf__tail { clip-path: inset(0 76% 0 0); transform-origin: 24% 42%; animation: calf-tail 1.6s ease-in-out infinite; }
.calf__body { clip-path: inset(0 0 0 22%); }
@keyframes calf-tail { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(-10deg); } }
/* jet d'eau par l'évent, toutes les 6 s */
.calf__spout { position: absolute; left: 66%; top: 14%; width: 0; height: 0; }
.calf__spout i { position: absolute; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: #9fd8f0; opacity: 0; animation: calf-spout 6s ease-out infinite; }
.calf__spout i:nth-child(2) { animation-delay: .08s; --dx: -9px; }
.calf__spout i:nth-child(3) { animation-delay: .16s; --dx: 8px; }
.calf__spout i:nth-child(4) { animation-delay: .24s; --dx: -3px; width: 4px; height: 4px; }
@keyframes calf-spout { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 3% { opacity: .9; } 14% { transform: translate(var(--dx, 2px), -42px) scale(1); opacity: .8; } 22%, 100% { transform: translate(calc(var(--dx, 2px) * 1.8), -30px) scale(.4); opacity: 0; } }
/* bulles derrière la queue */
.calf__bubbles { position: absolute; left: 4%; top: 55%; }
.calf__bubbles i { position: absolute; width: 7px; height: 7px; border: 1.5px solid #7cc3e3; border-radius: 50%; opacity: 0; animation: calf-bubble 3s ease-in infinite; }
.calf__bubbles i:nth-child(2) { animation-delay: 1s; left: -8px; width: 5px; height: 5px; }
.calf__bubbles i:nth-child(3) { animation-delay: 2s; left: 6px; }
@keyframes calf-bubble { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .8; } 100% { transform: translate(-18px, -55px); opacity: 0; } }
/* bulle de dialogue */
.calf__bubble { position: absolute; bottom: calc(100% + 6px); left: 55%; width: 250px; transform: translate(calc(-50% + var(--shift, 0px)), 8px); padding: 14px 34px 14px 16px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); font-size: 14px; line-height: 1.45; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.calf__bubble::after { content: ''; position: absolute; left: calc(50% - var(--shift, 0px)); bottom: -7px; width: 12px; height: 12px; background: inherit; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.calf__bubble p { margin: 0 0 8px; font-style: italic; color: var(--fg); }
.calf__bubble a { font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid currentColor; }
.calf__close { position: absolute; top: 4px; right: 6px; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.calf.is-open .calf__bubble { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--shift, 0px)), 0); }
:root[data-theme="dark"] .calf__whale { filter: drop-shadow(0 0 12px rgba(90, 200, 255, .35)); }
:root[data-theme="dark"] .calf__bubble { box-shadow: 0 0 0 1px rgba(90, 200, 255, .15), 0 10px 30px rgba(0, 0, 0, .6); }
@media (max-width: 600px) {
  .calf__swim { width: 150px; animation-duration: 12s; }
  @keyframes calf-swim { from { transform: translateX(-170px); } to { transform: translateX(calc(100vw + 20px)); } }
  .calf__bubble { width: 220px; }
}
/* mouvement réduit : le baleineau attend sagement dans le coin, sans animation */
.calf.is-static .calf__swim { left: auto; right: 16px; animation: none; }
.calf.is-static .calf__whale, .calf.is-static .calf__tail { animation: none; }
.calf.is-static .calf__spout, .calf.is-static .calf__bubbles { display: none; }
.calf.is-static .calf__bubble { left: auto; right: 0; transform: none; }
.calf.is-static .calf__bubble::after { left: auto; right: 60px; }

/* ---------- 1 % pour le climat (Stripe Climate) ---------- */
.climate { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 28px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, #2f8f5b 7%, var(--bg)); font-size: 13px; line-height: 1.5; }
.climate__icon { color: #2f8f5b; flex: none; margin-top: 1px; }
.climate p { margin: 0; color: var(--text) !important; }
.climate strong { color: var(--fg); font-weight: 500; }
.climate a { white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .climate__icon { color: #6fd39b; }
.page-head .climate { margin-top: 24px; max-width: 560px; }
.product-card__climate { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #2f8f5b; }
.product-card__climate svg { width: 14px; height: 14px; }
:root[data-theme="dark"] .product-card__climate { color: #6fd39b; }

/* ---------- navigation Work : onglets de catégories + barre des séries ---------- */
.cat-tabs { display: flex; gap: 6px 22px; overflow-x: auto; scrollbar-width: none; padding: clamp(28px, 5vw, 56px) var(--gutter) 0; max-width: var(--max); }
.cat-tabs::-webkit-scrollbar, .series-bar__inner::-webkit-scrollbar { display: none; }
.cat-tabs a { flex: none; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.cat-tabs a:hover { color: var(--fg); opacity: 1; }
.cat-tabs a[aria-current] { color: var(--fg); border-color: var(--fg); }
.cat-tabs + .page-head { padding-top: clamp(20px, 4vw, 40px); }
.series-bar { position: sticky; top: var(--head-h); z-index: 30; background: var(--header-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.series-bar__inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gutter); max-width: var(--max); scroll-padding-inline: var(--gutter); }
.series-bar a { flex: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--text); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.series-bar a:hover { border-color: var(--fg); opacity: 1; }
.series-bar a[aria-current] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
html:has(.series-bar) { scroll-padding-top: calc(var(--head-h) + 72px); }
@media (max-width: 860px) {
  .series-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  /* fondu sur les bords pour signaler qu'on peut faire défiler */
  .series-bar__inner, .cat-tabs { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
  .series-bar a { padding: 10px 16px; }
}

/* ---------- Shop « éditorial » ---------- */
.shop-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(24px, 4vw, 48px); }
.shop-hero h1 { font-size: clamp(30px, 4.6vw, 58px); }
.shop-hero .lead { color: var(--text); font-size: clamp(16px, 1.6vw, 19px); max-width: 46ch; }
/* les trois livres en éventail */
.shop-hero__books { position: relative; height: clamp(220px, 30vw, 400px); perspective: 1400px; }
.shop-hero__books a { position: absolute; left: 50%; top: 50%; width: 52%; transform: translate(-50%, -50%) translateX(calc(var(--i) * 52%)) rotate(calc(var(--i) * 7deg)) translateY(calc(var(--i) * var(--i) * 6%)); z-index: 1; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.shop-hero__books a:nth-child(2) { z-index: 3; }
.shop-hero__books a:hover { transform: translate(-50%, -56%) translateX(calc(var(--i) * 52%)) rotate(calc(var(--i) * 5deg)); z-index: 5; opacity: 1; }
/* livre en relief : charnière + tranche des pages + ombre */
.book3d { position: relative; display: block; border-radius: 2px 6px 6px 2px; box-shadow: 3px 3px 0 -1px #f4f0e6, 6px 6px 0 -2px #e8e2d4, 18px 22px 40px rgba(0, 0, 0, .35); overflow: hidden; }
.book3d img { display: block; width: 100%; height: auto; }
.book3d::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 7%; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.25) 35%, rgba(0,0,0,.08) 70%, rgba(0,0,0,0)); pointer-events: none; }
/* bandeau de confiance */
.trust { list-style: none; margin: 0 auto; padding: 18px var(--gutter); max-width: var(--max); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; color: var(--text); }
.trust svg { color: var(--fg); flex: none; }
/* un livre = une bande aux couleurs de sa couverture */
.book-bands { margin-top: clamp(32px, 5vw, 64px); }
.book-band { --band: #111; --accent: #fff; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(48px, 8vw, 110px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); background: var(--band); color: #fff; overflow: hidden; }
.book-band--flip .book-band__cover { order: 2; }
.book-band__cover { display: block; perspective: 1600px; }
.book-band__cover .book3d { transform: rotateY(-16deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.book-band--flip .book-band__cover .book3d { transform: rotateY(16deg) rotateX(3deg); }
.book-band__cover:hover { opacity: 1; }
.book-band__cover:hover .book3d { transform: rotateY(-4deg) rotateX(1deg) translateY(-6px); }
.book-band--flip .book-band__cover:hover .book3d { transform: rotateY(4deg) rotateX(1deg) translateY(-6px); }
.book-band .eyebrow { color: var(--accent); }
.book-band h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: .35em; }
.book-band h2 a { color: #fff; }
.book-band__hook { font-family: var(--display); font-size: clamp(17px, 1.8vw, 22px); line-height: 1.35; color: var(--accent) !important; margin: 0 0 16px; }
.book-band__summary { color: rgba(255, 255, 255, .82) !important; max-width: 48ch; }
.book-band__tags { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.book-band__tags li { font-size: 12px; letter-spacing: .06em; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: rgba(255, 255, 255, .9); }
.book-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.btn--light { background: #fff; color: #111; border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: #fff; color: #111; }
.book-band .more { color: rgba(255, 255, 255, .85); }
.shop-video .yt { max-width: 960px; }
@media (max-width: 860px) {
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero__books { height: 58vw; max-height: 340px; }
  .book-band { grid-template-columns: 1fr; }
  .book-band--flip .book-band__cover { order: 0; }
  .book-band__cover { max-width: 520px; }
  .book-band__cover .book3d, .book-band--flip .book-band__cover .book3d { transform: rotateY(-8deg); }
  .trust { justify-content: flex-start; gap: 12px 24px; }
}
@media (prefers-reduced-motion: reduce) { .shop-hero__books a, .book-band__cover .book3d { transition: none; } }

/* Shop en bas de l'accueil */
.home-shop { border-top: 1px solid var(--line); margin-top: clamp(24px, 4vw, 48px); }
.shop-hero--home h2 { font-size: clamp(28px, 4vw, 50px); margin-bottom: .5em; }
.shop-hero--home .btn { margin-top: 10px; }
.home-shop .trust { border-bottom: 0; }

/* ---------- accueil : liens sous l'intro ---------- */
.intro__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.intro--portrait .intro__links { justify-content: flex-start; }
@media (max-width: 760px) { .intro--portrait .intro__links { justify-content: center; } }
/* ---------- texte de fond des catégories Work ---------- */
.cat-about { max-width: 820px; padding: clamp(32px, 5vw, 64px) var(--gutter) 24px; border-top: 1px solid var(--line); margin: 0 var(--gutter); padding-left: 0; padding-right: 0; }
.cat-about h2 { font-size: clamp(20px, 2.4vw, 28px); }
.cat-about p { color: var(--text); }
/* ---------- page Exposer / collaborer ---------- */
.expo { max-width: var(--max); padding: 0 var(--gutter) 80px; }
.expo__audiences { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: -8px 0 40px; }
.expo__block { margin: 0 0 clamp(40px, 6vw, 72px); }
.expo__block h2 { border-top: 1px solid var(--line); padding-top: 20px; }
.expo__offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.expo__offer { display: flex; flex-direction: column; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, transform .2s; }
.expo__offer:hover { opacity: 1; border-color: var(--fg); transform: translateY(-2px); }
.expo__offer h3 { margin: 0 0 8px; font-size: 17px; }
.expo__offer p { margin: 0 0 12px; color: var(--text); font-size: 15px; flex: 1; }
.expo__offer .more { align-self: flex-start; }
.expo__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 clamp(40px, 6vw, 72px); }
.expo__photos a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); }
.expo__photos img { width: 100%; height: 100%; object-fit: cover; }
.expo__refs { columns: 2 320px; column-gap: 40px; padding: 0; list-style: none; margin: 0; }
.expo__refs li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--muted); }
.faq[open] summary::after { content: '–'; }
.faq p { margin: 0 0 18px; color: var(--text); max-width: 75ch; }
.expo__cta { text-align: center; padding: clamp(36px, 6vw, 64px) 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.expo__cta p { color: var(--text); }
.expo__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.btn--outline { background: transparent; color: var(--fg); }
.btn--outline:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 640px) { .expo__photos { grid-template-columns: 1fr 1fr; } .expo__photos a:last-child { display: none; } }
