/* ==========================================================================
   Maison l'Estampe — système de design (étape 2)
   Tokens → base → mise en page → composants → sections → responsive
   ========================================================================== */

:root {
  /* Graphite */
  --ink-950: #1A1B1E;
  --ink-900: #1F2023;
  --ink-800: #242629;   /* fond principal */
  --ink-700: #2C2E32;
  --ink-600: #303236;
  --ink-500: #3D3F44;   /* filets */
  /* Matières */
  --cocoa-800: #33251F;
  --cocoa-700: #49352F;
  --gold-500: #C4A16A;  /* métal mat : accents, liens, bouton principal (6,3:1) */
  --gold-400: #D3B585;
  --gold-700: #8E7449;  /* filets décoratifs uniquement */
  --ivory-100: #F2EEE8; /* texte (13,1:1) */
  --ivory-300: #CBC5BC; /* texte secondaire (8,9:1) */
  --ivory-500: #A29C93; /* légendes (5,6:1) */
  --wine-700: #5E2A31;
  --bronze-600: #8A6A45;

  --font-display: "Cormorant Garamond", "Cormorant", "Bodoni 72", Didot, Garamond, Georgia, serif;
  --font-text: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.5rem, 1.6rem + 3.8vw, 5rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2vw, 3rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  --fs-h4: clamp(1.375rem, 1.3rem + 0.3vw, 1.5rem);
  --fs-body-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;  /* 17 px : confort de lecture sur mobile */
  --fs-small: 0.9375rem;
  --fs-label: 0.78rem;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section: clamp(3.5rem, 2.25rem + 4.2vw, 6.5rem);
  --section-tight: clamp(3rem, 2rem + 4vw, 6rem);
  --gutter: clamp(1.25rem, .75rem + 2.5vw, 3rem);
  --container: 1320px;
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--ink-800); color: var(--ivory-100);
  font-family: var(--font-text); font-weight: 300; font-size: var(--fs-body); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--s-4); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-500); color: var(--ink-900); }
:focus-visible { outline: 1px solid var(--gold-500); outline-offset: 4px; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--gold-500); color: var(--ink-900); padding: var(--s-2) var(--s-4); }
.skip:focus { top: var(--s-4); }

/* ---------- Typographie ---------- */
.display, .h2, .h3, .h4, .wordmark__main { font-family: var(--font-display); font-weight: 400; letter-spacing: -.005em; line-height: 1.08; }
.display { font-size: var(--fs-display); margin-bottom: var(--s-5); }
.display--sm { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); }
.h2 { font-size: var(--fs-h2); line-height: 1.12; margin-bottom: var(--s-4); }
.h3 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: var(--s-3); }
.h4 { font-size: var(--fs-h4); line-height: 1.2; margin-bottom: var(--s-2); }
.lead, .body-lg { font-size: var(--fs-body-lg); line-height: 1.6; }
.lead { color: var(--ivory-300); max-width: 36ch; }
.lead--wide { max-width: 52ch; }
.muted { color: var(--ivory-300); }
.small { font-size: var(--fs-small); }
.eyebrow, .label { font-size: var(--fs-label); font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-500); margin: 0 0 var(--s-4); }
.rule { width: 48px; height: 1px; background: var(--gold-700); margin: var(--s-5) 0; }

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section--tight { padding: var(--section-tight) 0; }
.section-head { max-width: 680px; margin-bottom: var(--s-7); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }
.section-head .lead, .section-head .muted { margin-bottom: 0; }
.page-head { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 var(--s-5); }
.band { background: var(--ink-900); border-top: 1px solid var(--ink-500); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.band__inner > div { max-width: 640px; }
.band__inner p { margin: 0; }

/* ---------- Boutons, liens, étiquettes ---------- */
.actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--s-6);
  font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn--sm { min-height: 46px; padding: 0 var(--s-5); }
.btn--gold { background: var(--gold-500); color: var(--ink-900); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { border-color: var(--ink-500); color: var(--ivory-100); }
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-400); }
.arrow-link { display: inline-flex; align-items: center; gap: var(--s-3); font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); padding: var(--s-2) 0; }
.arrow-link::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width 300ms var(--ease); flex: none; }
a:hover > .arrow-link::after, .arrow-link:hover::after { width: 44px; }
.tag { display: inline-block; margin: 0; padding: 3px var(--s-3); border: 1px solid var(--gold-700); color: var(--gold-400); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.tag--on { background: var(--gold-500); color: var(--ink-900); border-color: var(--gold-500); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(36,38,41,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 300ms var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--ink-500); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-6); max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); }
.wordmark { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.wordmark__main { font-size: 1.625rem; letter-spacing: .02em; margin: 0; white-space: nowrap; }
.wordmark__sub { font-size: .625rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-500); margin-top: 6px; }
.nav__list { display: flex; gap: var(--s-6); list-style: none; }
.nav__list a, .lang a { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-300); padding: var(--s-2) 0; position: relative; transition: color 250ms var(--ease); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform 350ms var(--ease); }
.nav__list a:hover, .lang a:hover { color: var(--ivory-100); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--ivory-100); }
.lang { display: flex; align-items: center; gap: var(--s-2); padding-left: var(--s-5); border-left: 1px solid var(--ink-500); color: var(--ink-500); }
.lang a { font-size: .78rem; }
.lang a[aria-current="true"] { color: var(--gold-500); }
.burger { display: none; background: none; border: 0; cursor: pointer; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; }
.burger__label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.burger__icon, .burger__icon::before { display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform 300ms var(--ease); }
.burger__icon::before { content: ""; position: absolute; top: 6px; }
.burger[aria-expanded="true"] .burger__icon { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__icon::before { transform: translateY(-6px) rotate(-90deg); }
.mobile-menu { border-top: 1px solid var(--ink-500); padding: var(--s-5) var(--gutter) var(--s-7); background: var(--ink-800); height: calc(100vh - 72px); height: calc(100dvh - 72px); overflow-y: auto; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a { display: block; padding: var(--s-2) 0; font-family: var(--font-display); font-size: 2rem; line-height: 1.25; }
.mobile-menu li a[aria-current="page"] { color: var(--gold-500); }
.mobile-menu__lang, .site-footer__lang { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.mobile-menu__lang { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--ink-500); }
.mobile-menu__lang a, .site-footer__lang a { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-300); padding: var(--s-2) 0; }
.mobile-menu__lang a[aria-current="true"], .site-footer__lang a[aria-current="true"] { color: var(--gold-500); }

/* ---------- 1. Héros ---------- */
.hero { padding: clamp(1rem, .5rem + 2vw, 2.5rem) 0 clamp(2rem, 1rem + 2.5vw, 3.5rem); }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; min-height: min(64vh, 640px); }
.hero__media img { width: 100%; max-height: calc(78vh - var(--header-h)); object-fit: cover; }
.hero .lead { margin-bottom: 0; }

/* ---------- 2. Éditions ---------- */
.editions-home { background: var(--ink-900); border-top: 1px solid var(--ink-500); border-bottom: 1px solid var(--ink-500); }
.editions-home .section-head { margin-bottom: var(--s-6); }
.ed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.ed-card { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: var(--s-5); padding: var(--s-5); background: var(--ink-800); border: 1px solid var(--ink-500); transition: border-color 300ms var(--ease); }
.ed-card:hover { border-color: var(--gold-700); }




.ed-card__cover::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(196,161,106,.35); pointer-events: none; }
.ed-card__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-card__no { font-size: .7rem; letter-spacing: .3em; color: var(--gold-500); text-transform: uppercase; }
.ed-card__title { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); line-height: 1.1; }
.ed-card__mark { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-300); }
.ed-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.ed-card__status { margin-bottom: var(--s-4); }
.ed-card__body .muted { margin-bottom: var(--s-4); }
.ed-card__meta { margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-small); }
.ed-card__meta div { display: flex; gap: var(--s-2); }
.ed-card__meta dt { color: var(--ivory-500); }
.ed-card__meta dd { margin: 0; }
.ed-card__body .arrow-link, .ed-card__body .btn { margin-top: auto; }

/* ---------- 3. Univers ---------- */
.univers__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.univers__media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.univers__media .zoom:last-child { margin-top: 18%; }

/* ---------- Photo agrandissable ---------- */
.zoom { margin: 0; }
.zoom__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--ink-700); cursor: zoom-in; overflow: hidden; }
.zoom__btn img { width: 100%; transition: transform 900ms var(--ease), opacity 300ms; }
.zoom__btn:hover img { transform: scale(1.015); }
.zoom figcaption { margin-top: var(--s-3); font-size: .875rem; letter-spacing: .02em; color: var(--ivory-500); line-height: 1.5; }

/* ---------- 4. Savoir-faire (accueil) ---------- */
.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-5); }
.step-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-700); margin-bottom: var(--s-4); }
.step-card__media img { width: 100%; height: 100%; object-fit: cover; }
.step-card__n { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-500); margin-bottom: var(--s-1); }
.step-card .muted { font-size: var(--fs-small); line-height: 1.6; margin: 0; }
.craft-home__link { margin: var(--s-7) 0 0; }

/* ---------- Cartes de collection ---------- */
.shop-home { background: var(--ink-900); }
.col-grid { display: grid; gap: var(--s-7) var(--gutter); }
.col-grid--3 { grid-template-columns: repeat(3, 1fr); }
.col-grid--4 { grid-template-columns: repeat(4, 1fr); }
.col-card__link { display: block; height: 100%; }
.col-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-700); }
.col-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.col-card__link:hover img { transform: scale(1.02); }
.col-card__body { padding-top: var(--s-4); }
.col-card__status { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-500); margin-bottom: var(--s-2); }
.col-card .muted { font-size: var(--fs-small); margin-bottom: var(--s-2); }

/* ---------- 6. L'art d'offrir ---------- */
.offrir__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.offrir__media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.offrir__item--1 { grid-row: span 2; }

/* ---------- Pages ---------- */
.crumbs { display: flex; gap: var(--s-3); font-size: .875rem; color: var(--ivory-500); padding-top: var(--s-5); }
.crumbs a { color: var(--ivory-300); }
.crumbs a:hover { color: var(--gold-400); }
.col-hero { padding: var(--s-6) 0 var(--section-tight); }
.col-hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.col-hero__text .tag { margin-bottom: var(--s-5); }
.col-hero__tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); color: var(--ivory-300); line-height: 1.35; }
.col-hero__media--portrait { max-width: 520px; justify-self: end; width: 100%; }
.gallery { columns: 3; column-gap: var(--gutter); }
.gallery .zoom { break-inside: avoid; margin-bottom: var(--gutter); }
.gallery--1 { columns: 1; max-width: 760px; }
.gallery--2 { columns: 2; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-5); align-items: center; padding-top: var(--s-7); padding-bottom: var(--s-7); border-top: 1px solid var(--ink-500); }
.pager__prev, .pager__next { font-family: var(--font-display); font-size: 1.375rem; }
.pager__prev .label, .pager__next .label { display: block; margin-bottom: var(--s-1); }
.pager__next { text-align: right; }
.pager__prev:hover, .pager__next:hover { color: var(--gold-400); }

.craft-rows { list-style: none; display: grid; gap: var(--section-tight); }
.craft-row { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.craft-row:nth-child(even) .craft-row__media { order: 2; }
.points { list-style: none; margin: var(--s-5) 0; }
.points li { padding: var(--s-3) 0; border-top: 1px solid var(--ink-500); font-family: var(--font-display); font-size: 1.375rem; }
.points li:last-child { border-bottom: 1px solid var(--ink-500); }

.form { margin-top: var(--s-6); display: grid; gap: var(--s-5); max-width: 640px; }
.field label { display: block; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ivory-300); margin-bottom: var(--s-2); }
.req { text-transform: none; letter-spacing: 0; color: var(--ivory-500); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ivory-100); background: var(--ink-700); border: 1px solid var(--ink-500); border-radius: var(--radius); padding: .85rem 1rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); }
.field [aria-invalid="true"] { border-color: #C98B7F; }
.field__err { color: #E0A79C; font-size: var(--fs-small); margin: var(--s-2) 0 0; min-height: 0; }
.field__err:empty { display: none; }
.form .btn { justify-self: start; }
.form__status:empty { display: none; }
.contact-direct { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--ink-500); }
.contact-direct a { color: var(--gold-400); word-break: break-all; }

.toc { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); }
.toc a { font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-500); padding: var(--s-1) 0; }
.legal { padding-bottom: var(--section); }
.legal section { padding: var(--s-7) 0 var(--s-5); border-top: 1px solid var(--ink-500); }
.legal__dl { margin: 0; display: grid; gap: var(--s-4); }
.legal__dl div { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-4); }
.legal__dl dt { color: var(--ivory-500); }
.legal__dl dd { margin: 0; }
.legal__list { padding-left: 1.1rem; display: grid; gap: var(--s-3); color: var(--ivory-300); }
.legal a { color: var(--gold-400); word-break: break-word; }
.notice { border-left: 2px solid var(--gold-700); padding-left: var(--s-4); color: var(--ivory-100); margin: var(--s-4) 0 var(--s-5); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink-950); padding: var(--s-9) 0 var(--s-6); font-size: var(--fs-small); color: var(--ivory-300); }
.site-footer__grid { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: var(--gutter); padding-bottom: var(--s-8); }
.site-footer .label { margin-bottom: var(--s-4); }
.site-footer .wordmark__main { color: var(--ivory-100); margin-bottom: var(--s-3); }
.site-footer__lang { margin-top: var(--s-5); gap: var(--s-4); }
.plain { list-style: none; line-height: 2; }
.site-footer a { transition: color 250ms var(--ease); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); border-top: 1px solid var(--ink-500); padding-top: var(--s-5); color: var(--ivory-500); font-size: .875rem; }
.site-footer__base p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; color: var(--ivory-100); }
.lightbox::backdrop { background: rgba(20,21,23,.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__fig { margin: 0; padding: 64px 72px 24px; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: min(1600px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lightbox__fig figcaption { margin-top: var(--s-4); font-size: .9375rem; color: var(--ivory-300); text-align: center; }
.lightbox__count { color: var(--ivory-500); margin-left: var(--s-3); }
.lightbox__btn { position: absolute; background: rgba(36,38,41,.7); border: 1px solid var(--ink-500); color: var(--ivory-100); width: 48px; height: 48px; font-size: 1.75rem; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.lightbox__btn:hover { border-color: var(--gold-500); color: var(--gold-400); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__count { display: none; }

/* ---------- Mouvement ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6) var(--s-5); }
  .col-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .nav, .site-header .lang { display: none; }
  .burger { display: inline-flex; }
  .ed-grid { grid-template-columns: 1fr; }
  .col-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
}
@media (max-width: 820px) {
  .hero__grid, .univers__grid, .offrir__grid, .col-hero__grid, .craft-row { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; gap: var(--s-5); }
  .hero__media { order: -1; margin: 0 calc(var(--gutter) * -1); }
  .hero__media img { max-height: 42vh; }
  .hero .display { margin-bottom: var(--s-3); }
  .hero .actions { margin-top: var(--s-5); }
  .craft-row:nth-child(even) .craft-row__media { order: 0; }
  .col-hero__media { order: -1; }
  .col-hero__media--portrait { justify-self: start; }
  .wordmark__main { font-size: 1.375rem; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
@media (max-width: 560px) {
  .ed-card { grid-template-columns: 96px 1fr; gap: var(--s-4); padding: var(--s-4); }
  .ed-card__cover { padding: 12% 9%; }
  .ed-card__title { font-size: 1rem; }
  .ed-card__mark { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .col-grid--3, .col-grid--4 { grid-template-columns: 1fr; gap: var(--s-6); }
  .gallery, .gallery--2 { columns: 1; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .legal__dl div { grid-template-columns: 1fr; gap: 0; }
  .lightbox__fig { padding: 64px 8px 16px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .univers__media .zoom:last-child { margin-top: 0; }
}
.col-card .arrow-link { white-space: nowrap; font-size: .8125rem; letter-spacing: .1em; }

/* ---------- Étape 2b : héros, savoir-faire, contact ---------- */
.hero__media { margin: 0; }
.hero__media img { object-position: 50% 45%; }
.hero__caption { margin-top: var(--s-3); }
.hero__caption a { display: inline-flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory-100); }
.hero__caption a:hover span:first-child { color: var(--gold-400); }
.craft-home__head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; margin-bottom: var(--s-8); }
.craft-home__head .muted { margin-bottom: 0; }

.contact { position: relative; overflow: hidden; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: var(--section-tight) 0; }
.contact__bg { position: absolute; top: 0; bottom: 0; left: 0; right: 40%; display: flex; align-items: center; }
.contact__bg img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 45% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 45% 50%, #000 45%, transparent 100%); }
.contact__bg::after { content: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; }
.contact__panel { grid-column: 2; max-width: 640px; justify-self: end; width: 100%; background: rgba(31,32,35,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--ink-500); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.contact__panel .form { margin-top: var(--s-5); }
.contact__panel .contact-direct { margin-top: var(--s-6); padding-top: var(--s-5); }
.form__note { margin: 0; }
.form__status { color: var(--gold-400); margin: 0; }

@media (max-width: 820px) {
  .craft-home__head { grid-template-columns: 1fr; margin-bottom: var(--s-6); }
  .contact { display: block; min-height: 0; padding: 0 0 var(--section-tight); }
  .contact__bg { position: relative; right: auto; display: block; }
  .contact__bg img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .contact__grid { grid-template-columns: 1fr; margin-top: var(--s-4); }
  .contact__panel { grid-column: 1; background: transparent; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Étape 3 ---------- */
/* Photos montrées en entier quand leur format diffère du cadre */
.is-contain { background: var(--ink-700); }
.is-contain img { object-fit: contain !important; }
.col-card__media--type { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-3); text-align: center; padding: var(--s-5);
  background: var(--ink-700); position: relative; }
.col-card__media--type::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(196,161,106,.35); }
.col-card__media--type span { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); line-height: 1.1; }
.col-card__media--type small { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-500); }
.col-card__media--lg { aspect-ratio: 4 / 3; }
.hero__media img { object-fit: contain; }
.display, .h2, .h3 { text-wrap: balance; }

/* Pages juridiques : texte plus compact */
.legal { font-size: 1rem; line-height: 1.6; }
.legal section { padding: var(--s-6) 0 var(--s-4); }
.legal .h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.legal .h4 { font-size: 1.1875rem; }
.legal__list { gap: var(--s-2); }
.legal__dl { gap: var(--s-3); }

@media (max-width: 820px) {
  .display { font-size: clamp(2.125rem, 1.4rem + 3.6vw, 2.75rem); }
  .display--sm { font-size: clamp(1.875rem, 1.3rem + 2.8vw, 2.375rem); }
  .h2 { font-size: clamp(1.625rem, 1.2rem + 2vw, 2rem); }
  .legal { font-size: .9375rem; line-height: 1.55; }
  .legal__list { padding-left: 1rem; }
  .legal section { padding: var(--s-5) 0 var(--s-3); }
  .page-head { padding-top: var(--s-6); }
}
@media (max-width: 380px) {
  .site-header__inner { gap: var(--s-3); }
  .wordmark__main { font-size: 1.1875rem; }
  .wordmark__sub { letter-spacing: .32em; }
  .burger__label { display: none; }
  .burger { padding: var(--s-3); margin-right: calc(var(--s-3) * -1); }
}
.ed-card__body, .col-card__body { min-width: 0; }
.ed-card .h4, .ed-card .muted, .col-card .h4 { hyphens: manual; overflow-wrap: break-word; }
@media (max-width: 560px) { .ed-card { grid-template-columns: 88px minmax(0, 1fr); } }
@media (max-width: 360px) { .ed-card { grid-template-columns: 76px minmax(0, 1fr); padding: var(--s-3); gap: var(--s-3); } .tag { letter-spacing: .08em; } }
@media (max-width: 380px) {
  .eyebrow, .label { letter-spacing: .12em; font-size: .75rem; }
  .btn { letter-spacing: .08em; padding: 0 var(--s-4); font-size: .8125rem; }
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.service { padding-top: var(--s-5); border-top: 1px solid var(--ink-500); }
.service .muted { margin-bottom: var(--s-3); }
.services-note { margin-top: var(--s-7); }
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* =====================================================================
   Version 1.3 — éditions (5 manuels + saisonnière), accueil, boutique groupée
   ===================================================================== */
/* Cartes d'édition : format unique, couverture A4 (210 × 297), titres jamais tronqués */
.ed-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gutter); }
.ed-card { flex: 0 1 calc((100% - 4 * var(--gutter)) / 5); min-width: 0; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-4); }
.ed-card__cover { position: relative; aspect-ratio: 210 / 297; display: flex; flex-direction: column; padding: 13% 11% 10%; background: var(--ink-700); overflow: hidden; }
.ed-card:nth-child(5n+2) .ed-card__cover { background: #3F302A; }
.ed-card:nth-child(5n+3) .ed-card__cover { background: #43282D; }
.ed-card:nth-child(5n+4) .ed-card__cover { background: #4A3D2F; }
.ed-card:nth-child(5n+5) .ed-card__cover { background: #2C3236; }
.ed-card__cover--provisional .ed-card__title { margin: auto 0; font-size: clamp(1.05rem, .85rem + .55vw, 1.4rem); overflow-wrap: anywhere; hyphens: manual; }
.ed-card__prov { margin-top: var(--s-2); font-size: .55rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-500); opacity: .85; }
.ed-card__body { flex: 1; }
.ed-card__h { overflow-wrap: normal; hyphens: manual; }
.ed-card__body .muted { font-size: var(--fs-small); line-height: 1.6; }
.ed-card__status { margin-bottom: var(--s-3); }
.ed-grid--single .ed-card { flex: 0 1 300px; }
.editions-home__seasonal { margin: var(--s-6) 0 0; text-align: center; }
.seasonal { border-top: 1px solid var(--ink-500); }
.seasonal__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: center; }
.seasonal__grid .ed-grid { justify-content: flex-start; }
@media (max-width: 1180px) {
  .ed-card { flex-basis: calc((100% - 2 * var(--gutter)) / 3); }
}
@media (max-width: 600px) {
  .ed-card { flex-basis: 100%; flex-direction: row; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4); }
  .ed-card__cover { padding: 12% 10%; }
  .ed-card__cover--provisional .ed-card__title { font-size: .8rem; line-height: 1.15; }
  .ed-card__no, .ed-card__mark { font-size: .5rem; letter-spacing: .18em; }
  .ed-card__prov { font-size: .45rem; letter-spacing: .12em; }
  .seasonal__grid { grid-template-columns: 1fr; }
  .ed-grid--single .ed-card { flex-basis: 100%; }
}

/* Accueil : présentation de la Maison et ses trois domaines */
.section--intro { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.pillars { list-style: none; margin: var(--s-6) 0 0; padding: 0; border-top: 1px solid var(--ink-500); }
.pillars li { border-bottom: 1px solid var(--ink-500); }
.pillars a { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: var(--s-4); padding: var(--s-3) 0; align-items: baseline; text-decoration: none; }
.pillars__t { font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory-100); }
.pillars__d { font-size: var(--fs-small); color: var(--ivory-300); line-height: 1.55; }
.pillars a:hover .pillars__t, .pillars a:focus-visible .pillars__t { color: var(--gold-400); }
@media (max-width: 560px) { .pillars a { grid-template-columns: 1fr; gap: 2px; } }

.atelier-home { border-top: 1px solid var(--ink-500); }
.atelier-home__inner, .contact-home__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.atelier-home__inner > div { max-width: 62ch; }
.contact-home { background: var(--ink-900); border-top: 1px solid var(--ink-500); }
.contact-home .h3 { margin: 0; }

/* Boutique : groupes discrets */
.shop-group + .shop-group { margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--ink-500); }
.shop-group__head { margin-bottom: var(--s-5); max-width: 60ch; }
.shop-group__head .h3 { margin-bottom: var(--s-2); }
.ed-card__body .arrow-link { white-space: nowrap; font-size: .75rem; letter-spacing: .12em; gap: var(--s-2); }
.ed-card__body .arrow-link::after { width: 18px; }
@media (min-width: 601px) and (max-width: 1180px) { .ed-card__cover { width: 74%; align-self: center; } }
@media (max-width: 600px) { .editions-home__seasonal { text-align: left; } .editions-home__seasonal .arrow-link { white-space: normal; } }
/* Texte des couvertures provisoires proportionnel à la couverture (même rendu à toutes les largeurs) */
.ed-card__cover { container-type: inline-size; }
.ed-card__cover--provisional .ed-card__title { font-size: clamp(.7rem, 10.5cqw, 1.6rem) !important; line-height: 1.12; }
.ed-card__cover--provisional .ed-card__no, .ed-card__cover--provisional .ed-card__mark { font-size: clamp(.4rem, 4.3cqw, .66rem) !important; letter-spacing: .22em; white-space: nowrap; }
.ed-card__cover--provisional .ed-card__prov { font-size: clamp(.36rem, 3.6cqw, .58rem) !important; letter-spacing: .16em; white-space: nowrap; }
.ed-card__cover--provisional .ed-card__title { font-size: clamp(.78rem, 12.5cqw, 1.6rem) !important; }
.ed-card__cover--provisional .ed-card__prov { white-space: normal; line-height: 1.5; }
@media (max-width: 600px) {
  .ed-card__cover--provisional .ed-card__mark { display: none; }
  .ed-card__cover--provisional .ed-card__prov { font-size: .42rem !important; letter-spacing: .1em; }
}
/* v1.4 — six rubriques : menu compact (burger) jusqu'à 1199 px pour que l'allemand tienne sur une ligne */
.nav__list a { white-space: nowrap; }
@media (max-width: 1199px) {
  .nav, .site-header .lang { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .nav__list { gap: clamp(1rem, -1.2rem + 2.9vw, 2rem); }
  .nav__list a { letter-spacing: .07em; font-size: .78rem; }
  .site-header .lang { padding-left: var(--s-4); }
}

/* =====================================================================
   v1.5 — accueil : présentation compacte, collections compactes
   ===================================================================== */
.univers--compact .univers__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; }
.univers--compact .h2 { margin-bottom: var(--s-4); }
.univers--compact .body-lg { margin: 0; max-width: 58ch; }
.univers--compact .pillars { margin: 0; }
.shop-home--compact .col-card .muted, .shop-home--compact .col-card .arrow-link { display: none; }
.shop-home--compact .col-card__body { padding-top: var(--s-3); }
.shop-home--compact .col-card .h4 { margin: 0; }
.shop-home--compact .section-head { margin-bottom: var(--s-5); }
@media (max-width: 820px) {
  .univers--compact .univers__grid { grid-template-columns: 1fr; gap: var(--s-5); }
}
@media (max-width: 560px) {
  .shop-home--compact .col-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
  .shop-home--compact .col-card .h4 { font-size: 1.05rem; line-height: 1.25; }
  .shop-home--compact .col-card__status { font-size: .625rem; letter-spacing: .1em; }
}
.univers--compact { padding-block: clamp(2.5rem, 1.75rem + 2.5vw, 4rem); }
.shop-home--compact { padding-block: clamp(2.5rem, 1.75rem + 2.5vw, 4rem); }
@media (min-width: 701px) and (max-width: 1080px) {
  .shop-home--compact .col-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
  .shop-home--compact .col-card .h4 { font-size: 1.05rem; }
}
@media (max-width: 700px) {
  .shop-home--compact .col-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
  .univers--compact .pillars__d { display: none; }
  .univers--compact .pillars a { grid-template-columns: 1fr auto; }
  .univers--compact .pillars a::after { content: "→"; color: var(--gold-500); }
}

/* v1.5 — <picture> (WebP + repli JPEG) n'ajoute aucune boîte : la mise en page des <img> reste identique. */
picture { display: contents; }

/* v1.5 — WCAG 2.2 : taille des cibles (2.5.8, ≥ 24 × 24 px) et contraste des couvertures provisoires (1.4.3). */
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; }
.crumbs a { display: inline-block; min-height: 24px; line-height: 24px; }
.site-footer a[href^="mailto:"] { display: inline-block; min-height: 24px; line-height: 24px; }
.ed-card__no, .ed-card__prov { color: var(--gold-400); opacity: 1; }

/* v1.8 — sommaire prévu d'une édition (page Éditions), replié par défaut pour garder des cartes de même hauteur */
.ed-card__topics { margin: 0 0 var(--s-3); font-size: .875rem; }
.ed-card__topics summary { cursor: pointer; color: var(--gold-400); letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; min-height: 24px; display: flex; align-items: center; }
.ed-card__topics ul { margin: var(--s-2) 0 0; padding-left: 1.1em; color: var(--ivory-500); }
.ed-card__topics li { margin: .15em 0; }

/* v1.8 — mobile : intervalles verticaux resserrés entre photo, titre, texte et boutons ;
   la photo titre reste entière (contain), les boutons gardent leur hauteur de 52 px. */
@media (max-width: 700px) {
  .hero { padding-bottom: var(--s-6); }
  .hero__grid { gap: var(--s-4); }
  .hero .eyebrow { margin-bottom: var(--s-2); }
  .hero .display { margin-bottom: var(--s-2); }
  .hero .actions { margin-top: var(--s-4); gap: var(--s-3); }
  .univers--compact { padding-block: var(--s-6); }
  .univers--compact .univers__grid { gap: var(--s-4); }
  .univers--compact .h2 { margin-bottom: var(--s-3); }
  .editions-home { padding-top: var(--s-7); }
  .editions-home .section-head { margin-bottom: var(--s-5); }
}
/* v1.8 — longs mots composés (DE : « Schokoladentransfers ») : césure plutôt que débordement à 320 px */
.ed-card__h, .ed-card__title, .col-card .h4 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; min-width: 0; }
.ed-card__body { min-width: 0; }
.ed-card__h { max-width: 100%; }
