/* ==========================================================================
   LIBRERY — site v3 · « une maison parisienne, composée comme un livre »
   Deux familles : Libre Caslon (titres + texte) et Hanken Grotesk (interface).
   L'or ne sert qu'aux filets et aux folios. Pas de grain, pas de dégradé
   décoratif, pas d'animation gratuite. Chaque bloc .s-* = une section Shopify.
   ========================================================================== */

:root {
  --paper: #f8f5ef;
  --paper-2: #f1ece3;
  --studio: #f0eeef;          /* fond des packshots studio */
  --ink: #2f2b28;
  --grey: #6a6159;
  --line: #e2d8c9;
  --gold: #b7916a;            /* filets et folios uniquement */
  --espresso: #3a2a1e;

  --serif-d: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 3.2vw, 48px);
  --max: 1440px;
  --header-h: 72px;
  --block: 96px;
}
@media (max-width: 800px) { :root { --header-h: 60px; --block: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* ---------- Typographie ---------- */
.h1 { font-family: var(--serif-d); font-weight: 400; font-size: clamp(38px, 4vw, 56px); line-height: 1.08; letter-spacing: -.01em; margin: 0; }
.h2 { font-family: var(--serif-d); font-weight: 400; font-size: clamp(28px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.005em; margin: 0; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.24; margin: 0; }
.ui { font-family: var(--sans); font-size: 12px; line-height: 1.5; letter-spacing: .04em; }
.muted { color: var(--grey); }
.lede { font-size: 19px; line-height: 1.42; max-width: 58ch; margin: 0; }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 .9em; }
.prose p:last-child { margin-bottom: 0; }
.folio { font-family: var(--serif); font-size: 15px; color: var(--gold); font-variant-numeric: oldstyle-nums; white-space: nowrap; }
.fig { font-family: var(--sans); font-size: 12px; color: var(--grey); letter-spacing: .02em; margin: 10px 0 0; }

/* ---------- Liens & boutons ---------- */
.tlink { font-family: var(--sans); font-size: 13px; letter-spacing: .02em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: opacity .15s; }
.tlink:hover { opacity: .6; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: #000; border-color: #000; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Mise en page ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.block { padding: var(--block) 0; }
.block + .block { border-top: 1px solid var(--line); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 36px; }
.row-head > div:first-child { flex: 1; }
.row-head p { margin: 10px 0 0; max-width: 56ch; color: var(--grey); font-size: 16px; }
.row-head .end { display: flex; flex: none; gap: 20px; align-items: baseline; }
@media (max-width: 800px) { .row-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; } }

/* ---------- Bandeau & en-tête ---------- */
.announce { background: var(--espresso); color: #efe6d6; text-align: center; font-family: var(--sans); font-size: 12px; letter-spacing: .03em; height: 36px; display: grid; align-items: center; padding: 0 16px; position: relative; z-index: 61; }
.announce span { grid-area: 1 / 1; opacity: 0; transition: opacity .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce span.is-on { opacity: 1; transition-delay: .45s; }
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: var(--paper); border-bottom: 1px solid var(--line); color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.header__in { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.nav, .utils { display: flex; align-items: center; gap: 26px; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.utils { justify-content: flex-end; }
.nav > a, .has-sub > a, .utils a, .utils button { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .15s; white-space: nowrap; }
.utils button { font: inherit; letter-spacing: .08em; text-transform: uppercase; }
.nav > a:hover, .nav a[aria-current], .has-sub:hover > a, .utils a:hover, .utils button:hover { border-color: currentColor; }
.logo { display: block; line-height: 0; }
.logo svg { height: 22px; width: auto; display: block; }
.menu-btn { display: none; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.page-home .header { position: fixed; left: 0; right: 0; top: 36px; }
.page-home .header.is-top { background: transparent; border-color: transparent; color: #fff; }
.page-home .header.is-solid { top: 0; }
.header.is-hidden { transform: translateY(-100%); }

.has-sub { position: relative; }
.mega { position: absolute; top: calc(100% + 22px); left: -24px; width: 720px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 26px 24px; display: grid; grid-template-columns: 1.1fr 1.1fr .8fr; gap: 28px; opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; text-transform: none; letter-spacing: 0; }
.has-sub:hover .mega, .has-sub:focus-within .mega { opacity: 1; visibility: visible; }
.has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 24px; }
.mega__col { display: grid; gap: 8px; align-content: start; }
.mega__col .ui { color: var(--grey); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; }
.mega__col a { font-family: var(--serif); font-size: 17px; }
.mega__col a:hover { opacity: .6; }
.mega__col a small { font-family: var(--sans); font-size: 11px; color: var(--grey); margin-left: 6px; }

@media (max-width: 1080px) {
  .nav, .utils .u-hide { display: none; }
  .menu-btn { display: block; }
  .header__in { grid-template-columns: 1fr auto 1fr; }
}
@media (max-width: 800px) { .logo svg { height: 17px; } .utils { gap: 14px; } }

/* menu mobile */
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--paper); display: flex; flex-direction: column; padding: 0 var(--gutter) 28px; transform: translateX(-100%); transition: transform .3s ease; visibility: hidden; overflow-y: auto; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { height: var(--header-h); flex: none; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.drawer__top .logo svg { height: 17px; }
.drawer nav { display: grid; padding: 8px 0 24px; }
.drawer nav > a { font-family: var(--serif-d); font-size: 28px; line-height: 1.35; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding: 12px 0; }
.drawer .sub { display: grid; padding: 4px 0 12px 14px; border-bottom: 1px solid var(--line); }
.drawer .sub a { font-size: 18px; padding: 5px 0; }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; font-family: var(--sans); font-size: 13px; color: var(--grey); }

/* ---------- Titre courant ---------- */
.runhead { border-bottom: 1px solid var(--line); }
.runhead .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; font-family: var(--sans); font-size: 12px; letter-spacing: .03em; color: var(--grey); gap: 16px; }
.runhead a:hover { color: var(--ink); }

/* ---------- En-tête de page intérieure ---------- */
.page-head { padding: 64px 0 56px; }
.page-head .h1 { max-width: 18ch; }
.page-head .lede { margin-top: 20px; color: var(--grey); }
@media (max-width: 800px) { .page-head { padding: 36px 0 32px; } }

/* ---------- Hero ---------- */
.s-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: #2a2019; color: #fff; overflow: hidden; }
.s-hero > img, .s-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-hero__slides, .s-hero__slide, .s-hero__slide picture { position: absolute; inset: 0; }
.s-hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.s-hero__slide.is-on { opacity: 1; }
.s-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 8s cubic-bezier(.2, .5, .2, 1); }
.s-hero__slide.is-on img { transform: scale(1); }
.s-hero__side { transition: opacity .35s ease; }
.s-hero__side.is-swap { opacity: 0; }
/* barre de progression : un segment par image */
.s-hero__bars { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; gap: 8px; }
.s-hero__bars button { flex: 1; height: 18px; padding: 8px 0; background: none; border: 0; cursor: pointer; position: relative; }
.s-hero__bars button::before, .s-hero__bars span { content: ""; position: absolute; left: 0; top: 8px; height: 1px; }
.s-hero__bars button::before { right: 0; background: rgba(255,255,255,.32); }
.s-hero__bars span { display: block; width: 0; background: #fff; }
@media (prefers-reduced-motion: reduce) { .s-hero__slide, .s-hero__slide img { transition: none; transform: none; } }
.scrim-b { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,.34), rgba(0,0,0,0)); }
.scrim-t { position: absolute; left: 0; right: 0; top: 0; height: 170px; background: linear-gradient(to bottom, rgba(0,0,0,.26), rgba(0,0,0,0)); }
.s-hero__content { position: absolute; left: 0; right: 0; bottom: 74px; }
.s-hero__content .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.s-hero__mark svg { width: clamp(220px, 32vw, 500px); height: auto; display: block; }
.s-hero__side { display: grid; gap: 12px; justify-items: end; text-align: right; }
.s-hero .tlink { color: #fff; }
@media (max-width: 800px) {
  .s-hero { height: 86svh; min-height: 480px; }
  .s-hero__content { bottom: 60px; }
  .s-hero__bars { bottom: 18px; }
  .s-hero__content .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
  .s-hero__side { justify-items: start; text-align: left; }
}

/* ---------- Ouverture au défilement (accueil, initEntete) ----------
   Variante A1 « La donne » : le film part plein cadre (logo, lien, Pause, comme avant), recule en tirage φ:1, les photos
   montent en tirages 1:φ et s'empilent, puis la pile se distribue sur les trois colonnes de la grille Skin Obsession.
   La hauteur de la section est fixée ici (aucun décalage de mise en page) : l'écran + 420 % d'écran de défilement,
   pendant lesquels la scène reste à l'écran. Transformations et opacité uniquement (écrites par main.js).
   Téléphones : la scène suit le grand écran (100lvh, barres du navigateur repliées : aucune bande de papier sous le film
   quand elles se replient) ; la composition tient dans le petit (100svh, mesuré sur .entete-svh). Écran trop bas pour
   la composition : elle déborde sous la scène (pied de scène non coupé) et la section s'allonge d'autant (--ovf, main.js). */
.entete { --run: 420vh; position: relative; height: calc(100vh + var(--run)); margin-bottom: var(--ovf, 0px); background: var(--paper); }
@supports (height: 1lvh) { .entete { --run: 420lvh; height: calc(100lvh + var(--run)); } }
@media (prefers-reduced-motion: reduce) { .entete { --run: 0px; } }       /* la composition finale, immobile */
.entete-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: var(--paper); }
/* pied de scène : les ombres des tirages (et la composition d'un écran trop bas) ne sont pas coupées au bord */
@supports (clip-path: inset(0 0 -1px 0)) { .entete-stage { overflow: visible; clip-path: inset(0 0 calc(-48px - var(--ovf, 0px)) 0); } }
.entete-svh { position: absolute; left: 0; top: 0; width: 1px; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }
/* le film : une fenêtre (mise à l'échelle non uniforme) + son contenu contre-mis à l'échelle, toujours « cover » */
.entete-film { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; transform-origin: 0 0; background: #2a2019; z-index: 2; will-change: transform; }
.entete-film-in { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.entete-film video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.entete-film > i, .entete-pr > i { position: absolute; inset: 0; background: var(--paper); opacity: 0; pointer-events: none; }
.entete-sh { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; z-index: 1; box-shadow: 0 34px 60px -34px rgba(47, 43, 40, .5), 0 4px 14px -6px rgba(47, 43, 40, .12); background: #2a2019; }
.entete .scrim-t, .entete .scrim-b { z-index: 1; pointer-events: none; }        /* dans la fenêtre du film : ils partent avec elle */
.entete-hero { z-index: 4; color: #fff; }
.entete-hero .tlink { color: #fff; }
/* Pause / Lecture du film devenu tirage (relais du bouton de l'ouverture) : coin bas-droit de la fenêtre du film,
   taille fixe (contre-mis à l'échelle de la fenêtre) ; recouvert avec le film par les tirages */
.entete-pp { position: absolute; right: 0; bottom: 0; z-index: 2; width: 34px; height: 34px; padding: 0; border-radius: 50%; transform-origin: 100% 100%;
  background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; opacity: 0; visibility: hidden; }
.entete-pp:hover { background: rgba(0, 0, 0, .32); }
.entete-pp:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.entete-pp i { position: absolute; left: 50%; top: 50%; width: 8px; height: 10px; margin: -5px 0 0 -4px; box-sizing: border-box; border-left: 2px solid #fff; border-right: 2px solid #fff; }
.entete-pp.is-paused i { width: 0; height: 0; margin: -5px 0 0 -3px; border: 5px solid transparent; border-left: 8px solid #fff; border-right: 0; }
/* les tirages : une fenêtre (échelle non uniforme) et l'image contre-mise à l'échelle, toujours « cover » */
.entete-pr { position: absolute; left: 0; top: 0; margin: 0; overflow: hidden; background: var(--paper-2); transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden; z-index: 3;
  box-shadow: 0 30px 54px -30px rgba(47, 43, 40, .5), 0 2px 8px -2px rgba(47, 43, 40, .1); outline: 1px solid transparent; }
.entete-pr img { position: absolute; display: block; max-width: none; object-fit: fill; transform-origin: 50% 50%; will-change: transform; }
/* l'effet « feuille » (feuille.js) : en mouvement, la photo est dessinée par une toile posée dans son cadre (maillage déformé) ;
   l'image d'origine reprend sa place dès que la feuille est de nouveau plane */
.fe-cv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; visibility: hidden; pointer-events: none; }
.fe-on > .fe-cv { visibility: visible; }
.fe-on > img { visibility: hidden; }
.entete-pr.fe-on, .ed-fr.fe-on { background: transparent; }
/* la phrase de fin, dans la première colonne (largeur posée par main.js) */
.entete-cap { position: absolute; left: 0; top: 0; z-index: 6; text-align: left; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.entete-k { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 0; }
.entete-k b { font-weight: 400; color: var(--gold); }
.entete-l { font-family: var(--serif-d); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; margin: 12px 0 14px; color: var(--ink); }
.entete-cap .tlink { color: var(--ink); }
@media (max-width: 800px) {
  .entete-pp { width: 30px; height: 30px; }
  .entete-l { font-size: 25px; }
  /* au-dessus de la barre du bas de Safari (le film, lui, descend jusqu'au bas du grand écran) */
  @supports (height: 1lvh) { .entete-hero { bottom: calc(60px + 100lvh - 100svh); } }
}

/* ---------- Cartes produit ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; }
.card { display: block; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--studio); overflow: hidden; }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__track, .card__slide { position: absolute; inset: 0; }
.card__30 { opacity: 0; transition: opacity .45s ease; }
.card.show-30 .card__30 { opacity: 1; }
/* Packshot au nombre d'or dans un cadre fixe (cartes, tuiles, panier) : même règle que gold() dans main.js,
   calculée en unités du cadre (cqw, cqh) ; produit = 1/φ de la hauteur, air φ:1, le 30 ml au sol du 100 ml.
   Si l'image ne couvre pas le cadre, le fond prolonge ses bords (couleurs relevées par build.py) et l'image s'y fond. */
.gold { position: absolute; inset: 0; overflow: hidden; isolation: isolate; container-type: size; }
span.gold > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@supports (width: 1cqw) {
  .gold { --sw: min(100cqh * var(--kh), 100cqw * var(--kw)); --sh: calc(var(--sw) * var(--ia));
    --l: clamp(min(0px, 100cqw - var(--sw)), 50cqw - var(--sw) * var(--cx), max(0px, 100cqw - var(--sw)));
    --t: max(61.8034cqh + var(--sw) * var(--cy), min(0px, 100cqh - var(--sh))); }   /* seul le bas reste couvert (goldBox) */
  /* placement par left/top/width : transform reste libre pour les survols (zoom centré sur le cadre) */
  span.gold > img { inset: auto; left: var(--l); top: var(--t); width: var(--sw); height: var(--sh); max-width: none; object-fit: fill;
    transform-origin: calc(50cqw - var(--l)) calc(50cqh - var(--t)); }
}
.gold::before, .gold::after, .pdp__gallery figure.is-gold::before, .pdp__gallery figure.is-gold::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--e0) var(--t), var(--e1) calc(var(--t) + var(--sh) * .25), var(--e2) calc(var(--t) + var(--sh) * .5), var(--e3) calc(var(--t) + var(--sh) * .75), var(--e4) calc(var(--t) + var(--sh))); }
.gold::after, .pdp__gallery figure.is-gold::after { -webkit-mask: linear-gradient(to right, transparent, #000); mask: linear-gradient(to right, transparent, #000);
  background: linear-gradient(var(--e5) var(--t), var(--e6) calc(var(--t) + var(--sh) * .25), var(--e7) calc(var(--t) + var(--sh) * .5), var(--e8) calc(var(--t) + var(--sh) * .75), var(--e9) calc(var(--t) + var(--sh))); }
/* la mise en situation : fondu puis lent travelling arrière, comme un plan de film */
.card__slide--scene { opacity: 0; transition: opacity .7s ease; }
.card__slide--scene > * { transform: scale(1.14); transition: transform 7s cubic-bezier(.16, .6, .2, 1); }
@media (hover: hover) {
  .card:hover .card__slide--scene { opacity: 1; }
  .card:hover .card__slide--scene > * { transform: scale(1.02); }
  .card.show-30 .card__slide--scene { opacity: 0; }
}
.card__dots { display: none; }
.card__body { padding-top: 14px; display: grid; gap: 3px; }
.card__flag { font-family: var(--sans); font-size: 11.5px; color: var(--grey); margin-bottom: 1px; }
.card__name { font-family: var(--serif); font-size: 18px; line-height: 1.3; margin: 0; font-weight: 400; }
.card__notes { font-size: 14.5px; color: var(--grey); line-height: 1.32; }
.card__meta, .card__fmts { font-family: var(--sans); font-size: 12.5px; color: var(--grey); }
.card__fmts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.card__fmts > span { color: var(--ink); }
.card__fmts .card__f30 { color: var(--grey); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.card.show-30 .card__f30 { color: var(--ink); border-color: currentColor; }
.tile .card__media { background: var(--paper-2); }
.card--wide { grid-column: span 2; }
.card--wide .card__media { aspect-ratio: 1.636; }
.tile .card__media img { transition: transform 1.2s cubic-bezier(.16, .6, .2, 1); }
@media (hover: hover) { .tile:hover .card__media img { transform: scale(1.03); } }
@media (hover: none) {
  /* mobile : packshot puis mise en situation, on glisse dans la carte */
  .card__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .card__track::-webkit-scrollbar { display: none; }
  .card__slide { position: relative; inset: auto; flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
  .card__slide--scene { opacity: 1; }
  .card__slide--scene > * { transform: none; }
  .card__dots { display: flex; gap: 5px; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); pointer-events: none; }
  .card__dots i { width: 14px; height: 1px; background: rgba(47, 43, 40, .25); }
  .card__dots i.on { background: var(--ink); }
  .grid--rail .card__track { overflow: hidden; }
  .grid--rail .card__dots { display: none; }
}
@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; grid-auto-flow: row dense; }
  .grid--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); gap: 10px; scroll-padding: 0 var(--gutter); }
  .grid--rail::-webkit-scrollbar { display: none; }
  .grid--rail > * { scroll-snap-align: start; }
  .grid--lead > :first-child { grid-column: span 2; }
  .grid--lead > :first-child .card__media { aspect-ratio: 1 / 1; }
  .card--wide .card__media { aspect-ratio: 4 / 3; }
  .card__body { padding-top: 10px; }
  .card__name { font-size: 16px; }
  .card__notes { font-size: 13px; }
  .card__meta, .card__fmts { font-size: 12px; }
  .card__fmts { gap: 2px 10px; }
}

/* ---------- Mise en page éditoriale au défilement (initEdito) ----------
   Le moteur écrit trois nombres sur chaque scène [data-ed] : --p (traversée de l'écran, 0 → 1), --t (1 → 0 → −0,3 ; 0 quand
   la scène est centrée) et --e (1 → 0 jusqu'au centre). Tout le mouvement est ici, en translate / scale / clip-path :
   les cadres glissent chacun à leur vitesse et se posent ensemble au centre, l'image se cadre dans son cadre,
   les filets se tracent. Sans ces nombres (sans JS, mouvement réduit) : la mise en page finale, immobile. */
:root { --ed-ease: cubic-bezier(.7, 0, .16, 1); --ed-out: cubic-bezier(.2, .7, .1, 1); }
[data-ed] { position: relative; }
.ed-sec { padding: 0; }
.ed-f { position: relative; translate: 0 calc(var(--t, 0) * var(--amp, 0px)); }
.ed-fr { position: relative; overflow: hidden; }
.ed-fr img { scale: calc(1 + var(--e, 0) * .08); translate: 0 calc(var(--e, 0) * var(--k, -3%)); }
.ed-live .ed-f { will-change: translate; }
.ed-live .ed-fr img { will-change: scale, translate; }
/* filets : cadre et séparateurs au trait du bloc Services, lignes d'or (où les images se posent) en or */
.ed-ln { display: block; background: var(--line); pointer-events: none; z-index: 0; --dr: clamp(0, calc((var(--p, 1) - var(--a, 0)) / var(--w, .3)), 1); }
.ed-ln--top, .ed-ln--bot, .ed-ln--b, .ed-ln--c { height: 1px; transform-origin: 0 50%; scale: var(--dr) 1; }
.ed-ln--d1, .ed-ln--d2, .ed-ln--y { width: 1px; transform-origin: 50% 0; scale: 1 var(--dr); }
.ed-ln--b, .ed-ln--c { background: rgba(183, 145, 106, .75); }
/* légende : folio en or, petit filet, intitulé en capitales d'interface */
.ed-cap { display: flex; align-items: baseline; gap: 10px; margin: 0; font-family: var(--sans); font-size: 11px; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.ed-cap .folio { font-size: 15px; line-height: 1; letter-spacing: 0; }
.ed-cap i { flex: none; align-self: center; width: 20px; height: 1px; background: var(--gold); transform-origin: 0 50%; }
.ed-f > .ed-cap { position: absolute; left: 0; top: calc(100% + 14px); white-space: nowrap; }
.ed-l { display: block; }
.ed-i { display: inline-block; }

/* apparition, une seule fois : le cadre se démasque depuis le bord tourné vers son filet, les textes montent ligne à ligne */
.ed-pre .ed-fr, .ed-fr.ed-pre { clip-path: inset(var(--from, 0 0 100% 0)); transition: clip-path 1.5s var(--ed-ease) var(--d, 0s); }
.ed-pre.ed-in .ed-fr, .ed-fr.ed-pre.ed-in { clip-path: inset(0); }
.ed-pre .ed-l { clip-path: inset(-.6em -.6em -.16em); }
.ed-pre .ed-i, .ed-pre .ed-r { opacity: 0; translate: 0 14px; transition: opacity .9s ease, translate 1.2s var(--ed-out); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 90ms); }
.ed-pre .ed-cap > *, .ed-cap.ed-pre > * { opacity: 0; translate: 0 8px; transition: opacity .8s ease, translate 1.1s var(--ed-out), scale 1s var(--ed-ease); transition-delay: calc(var(--d, 0s) + .7s); }
.ed-pre .ed-cap > span:last-child, .ed-cap.ed-pre > span:last-child { transition-delay: calc(var(--d, 0s) + .85s); }
.ed-pre .ed-cap > i, .ed-cap.ed-pre > i { scale: 0 1; }
.ed-pre.ed-in .ed-i, .ed-pre.ed-in .ed-r, .ed-pre.ed-in .ed-cap > *, .ed-cap.ed-pre.ed-in > * { opacity: 1; translate: 0 0; scale: 1; }

/* La campagne : trois images au nombre d'or, en cascade verticale — jamais deux sur la même ligne. B = C = u, A = φu
   (images 4:5 : A haute de H = 2,023 u, B et C de h = 1,25 u). Trois colonnes φu | u | u, en quinconce : A à gauche,
   B à droite, C à gauche, calée sur le bord droit de A (un même axe). Chaque image commence sous la précédente, après un air
   de 0,236 H ; la cascade mesure ≈ 5,5 u (≈ deux hauteurs d'écran). Le titre est posé à droite de A, juste au-dessus de sa ligne
   d'or (0,618 H) : le filet d'or qui part de A le souligne avant de descendre vers B. L'épigraphe, au centre à droite de C,
   a sa première ligne sur la ligne d'or de C.
   u est borné par la hauteur d'écran : A (la plus grande) tient toujours dans l'écran sous l'en-tête.
   Le bloc est un volume (.ed-3d, plus bas) : quadrillage au trait en profondeur, images qui voyagent sur l'axe Z jusqu'à leur case. */
.ed-c { container-type: inline-size; }
.ed-mos {
  --g: clamp(28px, 3.1vw, 44px);
  --u: min(calc((100cqw - 2 * var(--g)) / 3.618034), calc((100vh - var(--header-h)) * .356));
  --gx: min(calc((100cqw - 3.618034 * var(--u)) / 2), calc(var(--g) * 2.618034));
  --H: calc(var(--u) * 2.022542);
  --h: calc(var(--u) * 1.25);
  --V: calc(var(--H) * .236068);
  display: grid; column-gap: var(--gx); width: calc(3.618034 * var(--u) + 2 * var(--gx)); margin: 0 auto;
  grid-template-columns: calc(var(--u) * 1.618034) var(--u) var(--u);
  grid-template-rows: 44px calc(var(--H) * .618034) calc(var(--H) * .381966) var(--V)
    calc(var(--h) * .618034) calc(var(--h) * .381966) var(--V) calc(var(--h) * .618034) calc(var(--h) * .381966) 76px;
}
.ed-mos > * { min-width: 0; }
.ed-mos .ed-f { margin: 0; z-index: 1; --amp: 0px; }
.ed-mos .ed-fr { height: 100%; background: var(--paper-2); }
.ed-mos .ed-fr img { width: 100%; height: 100%; object-fit: cover; }
.ed-f--a { grid-area: 2 / 1 / 4 / 2; }
.ed-f--b { grid-area: 5 / 3 / 7 / 4; }
.ed-f--c { grid-area: 8 / 1 / 10 / 2; justify-self: end; width: var(--u); }
.ed-head { grid-area: 2 / 2 / 3 / 4; align-self: end; padding-bottom: clamp(30px, 4.4vh, 44px); }
.ed-head .ed-k { margin: 0 0 14px; font-family: var(--sans); font-size: 11px; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.ed-head .h2 { font-size: clamp(26px, 2.3vw, 34px); }
.ed-q { grid-area: 9 / 2 / 11 / 4; align-self: start; margin: -.69em 0 0; font-style: italic; font-size: clamp(16px, 1.32vw, 19px); line-height: 1.38; max-width: 15em; }
/* le quadrillage (tracé par initEdito) : traits d'un pixel à l'encre très légère, lignes d'or des images en or.
   Plan de face (z = 0), mur du fond (z = −D), parois / plafond / sol qui fuient du plan de face vers le fond (s'estompant).
   --dr (0 → 1) trace chaque trait depuis son origine. Sans le volume (animations réduites) : le plan de face seul, tracé. */
.ed-grid, .ed-pl { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; }
.ed-g { position: absolute; left: 0; top: 0; display: block; background: rgba(47, 43, 40, .13); }
.ed-g--h { height: 1px; transform-origin: var(--o, 0%) 50%; scale: var(--dr, 1) 1; }
.ed-g--v { width: 1px; transform-origin: 50% 0; scale: 1 var(--dr, 1); }
.ed-g--au { background: rgba(183, 145, 106, .78); }
.ed-pl--b { transform: translateZ(calc(-1 * var(--D, 900px))); }
.ed-pl--b .ed-g, .ed-pl--w :is(.ed-g--v, .ed-g--h) { background: rgba(47, 43, 40, .1); }
.ed-g--z { height: 1px; width: var(--D, 900px); transform-origin: 0 50%; transform: rotateY(90deg) scaleX(var(--dr, 1));
  background: linear-gradient(90deg, rgba(47, 43, 40, .14), rgba(47, 43, 40, .05)); }
.ed-g--y { width: 1px; height: var(--D, 900px); transform-origin: 50% 0; transform: rotateX(-90deg) scaleY(var(--dr, 1));
  background: linear-gradient(rgba(47, 43, 40, .14), rgba(47, 43, 40, .05)); }
.ed-mos:not(.ed-3d) :is(.ed-pl--b, .ed-pl--w) { display: none; }
/* le volume : perspective sur la scène, point de fuite au centre de l'écran (--oy, écrit au défilement) ;
   chaque image (.ed-fr) voyage sur Z (transformation écrite par initEdito), sa légende reste sur le plan de face */
.ed-3d { perspective: var(--P, 1500px); perspective-origin: 50% var(--oy, 50%); transform-style: preserve-3d; }
.ed-3d .ed-f { transform-style: preserve-3d; }
.ed-3d .ed-fr { backface-visibility: hidden; }
.ed-live.ed-3d .ed-fr { will-change: transform; }
/* séquence (JS) : l'image s'ouvre depuis le haut quand elle paraît, au fond, et se pose dans son cadre (1,1 → 1) en avançant ;
   sa légende vient quand elle arrive à sa case ; l'épigraphe vient en dernier, ligne à ligne */
.ed-seq .ed-fr { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s cubic-bezier(.45, 0, .15, 1); }
.ed-seq .ed-fr img { scale: 1.1; translate: 0 -2.5%; transition: scale 2.4s var(--ed-out), translate 2.4s var(--ed-out); }
.ed-seq .ed-f.is-in .ed-fr { clip-path: inset(0); }
.ed-seq .ed-f.is-in .ed-fr img { scale: 1; translate: 0 0; }
.ed-seq .ed-cap > * { opacity: 0; translate: 0 8px; transition: opacity .7s ease, translate 1s var(--ed-out), scale .9s var(--ed-ease); }
.ed-seq .ed-cap > i { scale: 0 1; }
.ed-seq .ed-f.is-set .ed-cap > * { opacity: 1; translate: 0 0; scale: 1; transition-delay: .1s; }
.ed-seq .ed-f.is-set .ed-cap > i { transition-delay: .2s; }
.ed-seq .ed-f.is-set .ed-cap > span:last-child { transition-delay: .3s; }
.ed-seq .ed-q .ed-l { clip-path: inset(-.6em -.6em -.16em); }
.ed-seq .ed-q .ed-i { opacity: 0; translate: 0 14px; transition: opacity .9s ease, translate 1.2s var(--ed-out); }
.ed-seq.is-end .ed-q .ed-i { opacity: 1; translate: 0 0; transition-delay: calc(var(--i, 0) * 120ms); }
.ed-now .ed-fr, .ed-now .ed-fr img, .ed-now .ed-cap > *, .ed-now .ed-q .ed-i { transition: none !important; }
@media (max-width: 800px) {
  /* une colonne, la même cascade en quinconce : A (0,854 de la largeur) à gauche, B (0,618) à droite, C à gauche,
     l'épigraphe sous C, à droite ; les légendes sous les images */
  .ed-mos { width: auto; display: grid; column-gap: 0; grid-template-columns: 100%;
    grid-template-rows: 28px auto auto 76px auto 76px auto auto 40px; }
  .ed-head { grid-area: 2 / 1; padding: 0 0 26px; }
  .ed-mos .ed-fr { height: auto; aspect-ratio: 4 / 5; }
  .ed-f--a { grid-area: 3 / 1; width: 85.4%; }
  .ed-f--b { grid-area: 5 / 1; width: 61.8%; justify-self: end; }
  .ed-f--c { grid-area: 7 / 1; width: 61.8%; justify-self: start; }
  .ed-q { grid-area: 8 / 1; justify-self: end; width: 61.8%; max-width: none; margin: 76px 0 0; font-size: 17px; text-align: right; }
  .ed-f > .ed-cap { white-space: normal; }
}
/* même vocabulaire ailleurs : doubles pages de la Préface (filet vertical dans la gouttière), parfumeurs,
   portrait de la fiche produit, tuiles de campagne des grilles, bandeau de l'accueil */
.spread .ed-f { --amp: 3.5vh; --from: 0 0 0 100%; }
.spread--rev .ed-f { --from: 0 100% 0 0; }
.spread .ed-ln--y { grid-area: 1 / 6; justify-self: center; align-self: stretch; --a: .08; --w: .4; }
.spread--rev .ed-ln--y { grid-column: 7; }
.people .ed-f:nth-child(1) { --amp: 1.5vh; }
.people .ed-f:nth-child(2) { --amp: 4.5vh; --d: .12s; }
.people .ed-f:nth-child(3) { --amp: 2.5vh; --d: .24s; }
.perfumer .ed-f { --amp: 3vh; --from: 0 0 0 100%; }
span.ed-r { display: block; }
.s-figure .ed-fr::before, .s-figure .ed-fr::after { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; width: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); background: var(--paper); scale: var(--e, 0) 1; }
.s-figure .ed-fr::before { left: 0; transform-origin: 0 50%; }
.s-figure .ed-fr::after { right: 0; transform-origin: 100% 50%; }
.s-figure .ed-cap { margin-top: 16px; --d: -.55s; }
.ed-live.s-figure .ed-fr::before, .ed-live.s-figure .ed-fr::after { will-change: scale; }
@media (max-width: 800px) {
  .spread .ed-f { --amp: 1.5vh; margin-bottom: 36px; --from: 0 0 100% 0; }
  .spread .ed-f > .ed-cap { position: static; margin-top: 12px; white-space: normal; }
  .spread .ed-ln--y { display: none; }
  .people .ed-f:nth-child(n) { --amp: 2vh; --d: 0s; }
  .perfumer .ed-f { --amp: 0px; --from: 0 0 100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-f, .ed-fr img, .ed-ln, .ed-pre .ed-i, .ed-pre .ed-r, .ed-pre .ed-cap > * { translate: none !important; scale: none !important; opacity: 1; }
  .ed-pre .ed-fr, .ed-fr.ed-pre { clip-path: none; }
  .ed-pre:not(.ed-in) { opacity: 0; }
  .ed-pre.ed-in { animation: ed-fade .8s ease both; }
}
@keyframes ed-fade { from { opacity: 0; } }

/* ---------- L'étagère des matières ---------- */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf__item { scroll-snap-align: start; display: grid; gap: 4px; }
.shelf__item figure { margin: 0 0 8px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--studio); }
.shelf__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, .6, .2, 1); }
@media (hover: hover) { .shelf__item:hover img { transform: scale(1.04); } }
.shelf__name { font-family: var(--serif); font-size: 18px; }
.shelf-nav { display: flex; gap: 18px; }
.shelf-nav button { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.shelf-nav button:hover { color: var(--ink); }
@media (max-width: 800px) {
  .shelf { grid-auto-columns: 62%; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .shelf-nav { display: none; }
  .shelf__name { font-size: 16px; }
}
.block--tight { padding-top: 0; }

/* ---------- Le catalogue : un livre ouvert (couverture + index) ---------- */
/* le dos du livre : un pli de lumière sur le bord gauche */
@media (max-width: 900px) {
}

/* ---------- Image pleine largeur + légende ---------- */
.s-figure img { width: 100%; height: min(88vh, 920px); object-fit: cover; }
@media (max-width: 800px) { .s-figure img { height: 64svh; } }

/* ---------- Services & lettre ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services a { padding: 26px 22px 28px 0; display: grid; gap: 6px; align-content: start; transition: opacity .15s; }
.services .icon { width: 30px; height: 30px; color: var(--espresso); margin-bottom: 14px; stroke-width: 1.05; }
.services a:hover { opacity: .7; }
.services a + a { padding-left: 22px; border-left: 1px solid var(--line); }
.services b { font-weight: 400; font-size: 17px; }
.services span { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--grey); }
.letter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.letter p { margin: 10px 0 0; color: var(--grey); max-width: 46ch; }
.field-line { display: flex; border-bottom: 1px solid var(--ink); }
.field-line input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 0; outline: none; font-size: 17px; }
.field-line button { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding-left: 16px; }
.ok { margin: 12px 0 0; }
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .services a { padding: 18px 0 20px; }
  .services a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .letter { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Pied de page ---------- */
.footer { background: var(--espresso); color: #d9ccb7; padding: 104px 0 36px; overflow: hidden; }
.footer a { transition: opacity .2s; }
.footer__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; padding-bottom: 64px; border-bottom: 1px solid rgba(239,230,214,.16); }
.footer__claim { grid-column: 1 / 9; margin: 0; font-family: var(--serif-d); font-size: clamp(24px, 2.3vw, 34px); line-height: 1.16; color: #efe6d6; max-width: 24ch; letter-spacing: -.005em; }
.footer__claim em { color: var(--gold); }
.footer__contact { grid-column: 10 / 13; display: grid; gap: 5px; font-size: 14.5px; }
.footer__contact span { font-family: var(--sans); font-size: 12px; color: #a8957f; margin-bottom: 4px; }
.footer__contact a { color: #efe6d6; }
.footer__contact a:hover, .footer ul a:hover { opacity: .55; }
.footer__cols { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 56px 0 0; }
.footer__cols > div { grid-column: span 3; }
.footer h4 { margin: 0 0 14px; font-family: var(--sans); font-weight: 400; font-size: 11.5px; letter-spacing: .04em; color: #a8957f; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer ul a { font-size: 14.5px; color: #efe6d6; }
.footer__mark { display: block; color: #efe6d6; margin: 96px 0 0; line-height: 0; }
.footer__mark svg { width: 100%; height: auto; display: block; }
.footer__pay { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(239,230,214,.16); display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.footer__pay > span { font-family: var(--sans); font-size: 11.5px; letter-spacing: .04em; color: #a8957f; }
.footer__pay ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pay { display: block; color: #f4ede1; line-height: 0; }
.pay svg { display: block; height: 26px; width: auto; }
.footer__legal { margin-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--sans); font-size: 11.5px; color: #a8957f; }
.footer__legal a { color: #a8957f; }
.footer__legal a:hover { color: #efe6d6; }
@media (max-width: 800px) {
  .footer { padding: 72px 0 28px; }
  .footer__top { display: block; padding-bottom: 44px; }
  .footer__claim { font-size: 22px; }
  .footer__contact { margin-top: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 36px; padding-top: 44px; }
  .footer__cols > div { grid-column: auto; }
  .footer__mark { margin-top: 64px; }
  .footer__legal { flex-direction: column; gap: 6px; }
  .footer__pay { margin-top: 28px; }
  .footer__pay ul { gap: 6px; }
}

/* ---------- Filtres en onglets ---------- */
.tabs { display: flex; gap: 22px; align-items: baseline; font-family: var(--sans); font-size: 13px; }
.tabs button { padding: 4px 0; border-bottom: 1px solid transparent; color: var(--grey); white-space: nowrap; transition: color .15s, border-color .15s; }
.tabs button:hover { color: var(--ink); }
.tabs button.is-active { color: var(--ink); border-color: var(--ink); }
.tabs sup { font-size: 9px; margin-left: 2px; }
.tabs .ui { color: var(--grey); margin-right: 2px; white-space: nowrap; }
.filters { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.filters__row { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.filters select { border: 0; background: transparent; font-family: var(--sans); font-size: 13px; color: var(--ink); cursor: pointer; }
.filters__desc { font-size: 15px; color: var(--grey); margin: 0; min-height: 1.5em; }
.chapter { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 72px 0 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chapter:first-child { margin-top: 0; }
.chapter .h2 { flex: 1; }
@media (max-width: 800px) {
  .tabs { overflow-x: auto; scrollbar-width: none; gap: 16px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .filters__row { flex-direction: column; gap: 10px; }
  .chapter { margin-top: 48px; }
}

/* ---------- Collection ---------- */
.coll-hero { position: relative; height: 82vh; min-height: 520px; overflow: hidden; background: #2a2019; color: #fff; }
.coll-hero > img, .coll-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coll-hero__txt { position: absolute; left: 0; right: 0; bottom: 40px; }
.coll-hero__txt .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.coll-hero .h1 { font-size: clamp(44px, 6vw, 88px); }
.coll-hero__play { flex: none; font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 8px 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; }
.coll-hero__play:hover { background: rgba(0,0,0,.32); }
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.split > :first-child { grid-column: 1 / 5; }
.split > :last-child { grid-column: 5 / 12; }
.epigraph { font-size: 22px; line-height: 1.36; margin: 0 0 28px; max-width: 40ch; }
.chapters { display: grid; gap: 56px; }
@media (max-width: 800px) { .split { display: block; } .split > :last-child { margin-top: 16px; } .coll-hero { height: 70svh; } .epigraph { font-size: 19px; } }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; grid-template-columns: 7fr 5fr; }
.pdp__media { position: relative; }
.pdp__gallery { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 0 12px; }   /* pleine colonne : une image par ligne */
.pdp__gallery figure { margin: 0; }
.pdp__gallery img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--studio); }
.pdp__gallery figure[hidden] { display: none; }
/* packshots : cadre = hauteur visible de l'écran, produit placé au nombre d'or (main.js, frameGold ; fond prolongé : .gold) */
.pdp__gallery figure.is-gold { position: relative; overflow: hidden; isolation: isolate; height: max(420px, calc(100svh - var(--header-h) - 36px)); background: var(--studio); }
.pdp__gallery figure.is-gold img { position: absolute; left: 0; top: 0; max-width: none; aspect-ratio: auto; object-fit: fill; opacity: 0; }
.pdp__gallery figure.is-gold.is-set img { opacity: 1; }
.pdp__gallery figure.is-inset img, .gold.is-inset > img { -webkit-mask: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
.pdp__gallery figure { scroll-margin-top: var(--header-h); }
.pdp__count { display: none; }
.pdp__info { border-left: 1px solid var(--line); }
.pdp__box { position: sticky; top: calc(var(--header-h) + 8px); padding: 36px var(--gutter) 48px; max-width: 560px; }
.pdp__crumbs { display: flex; justify-content: space-between; gap: 12px; font-family: var(--sans); font-size: 12px; color: var(--grey); margin-bottom: 28px; }
.pdp__crumbs a:hover { color: var(--ink); }
.pdp__name { font-family: var(--serif-d); font-weight: 400; font-size: clamp(34px, 3vw, 44px); line-height: 1.08; margin: 0 0 8px; }
.pdp__type { font-family: var(--sans); font-size: 13px; color: var(--grey); margin: 0 0 16px; }
.pdp__notes-line { margin: 0 0 14px; font-size: 16px; color: var(--grey); }
.pdp__desc { margin: 0 0 26px; font-size: 16.5px; }
.sizes { display: flex; gap: 8px; margin-bottom: 14px; }
.sizes button { flex: 1; height: 54px; border: 1px solid var(--line); font-family: var(--sans); font-size: 13px; display: grid; place-content: center; gap: 1px; transition: border-color .15s; }
.sizes button small { font-size: 11.5px; color: var(--grey); }
.sizes button:hover { border-color: var(--grey); }
.sizes button.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pdp__soon { margin: 12px 0 0; font-family: var(--sans); font-size: 12.5px; line-height: 1.55; color: var(--grey); }
.pdp__try { display: inline-block; margin-top: 16px; }
.pdp__small { font-family: var(--sans); font-size: 12.5px; line-height: 1.55; color: var(--grey); margin: 14px 0 0; }
.pdp__small b { font-weight: 500; color: var(--ink); }
.pdp__by { margin: 22px 0 0; font-size: 15.5px; }
.pdp__by a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.accordion { border-top: 1px solid var(--line); margin-top: 26px; }
.acc { border-bottom: 1px solid var(--line); }
.acc > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-family: var(--sans); font-size: 13px; letter-spacing: .02em; text-align: left; }
.acc > button::after { content: '+'; font-size: 16px; }
.acc.is-open > button::after { content: '−'; }
.acc__panel { display: none; padding-bottom: 18px; font-size: 15.5px; }
.acc.is-open .acc__panel { display: block; }
.acc__panel p { margin: 0 0 .8em; }
.notes-dl { margin: 0; display: grid; gap: 10px; }
.notes-dl div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.notes-dl dt { font-family: var(--sans); font-size: 12px; color: var(--grey); padding-top: 3px; }
.notes-dl dd { margin: 0; }
.story { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.story__margin { grid-column: 1 / 3; }
.story .prose { grid-column: 3 / 9; font-size: 18px; }
.story figure, .story__notes { grid-column: 10 / 13; margin: 0; }
.story figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.materials { background: var(--espresso); color: #e9dfcf; }
.materials .h2 { color: #f3ead9; margin-bottom: 24px; }
.materials .prose { color: #d9ccb7; font-size: 16px; }
.materials .ui { color: #a8957f; }
.materials dl { margin: 0; display: grid; gap: 14px; }
.materials dt { font-family: var(--sans); font-size: 12px; color: #a8957f; }
.materials dd { margin: 2px 0 0; font-size: 15px; }
.materials .split > :first-child { grid-column: 1 / 5; }
.materials .split > :last-child { grid-column: 6 / 12; }
.perfumer { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.perfumer figure { grid-column: 1 / 4; margin: 0; }
.perfumer figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.perfumer > div { grid-column: 5 / 11; }
.perfumer blockquote { margin: 20px 0 0; padding-left: 18px; border-left: 1px solid var(--gold); font-size: 17px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--paper); border-top: 1px solid var(--line); transform: translateY(101%); transition: transform .25s ease; }
.sticky-buy.is-on { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.sticky-buy .n { flex: 1; font-size: 16px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .n span { font-family: var(--sans); font-size: 12px; color: var(--grey); margin-left: 10px; }
@media (max-width: 900px) {
  .pdp { display: block; }
  .pdp__gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__gallery figure { scroll-snap-align: start; }
  .pdp__gallery figure.is-gold { height: min(125vw, max(340px, calc(100svh - var(--header-h) - 36px - 170px))); }
  .pdp__count { display: block; position: absolute; right: var(--gutter); bottom: 12px; font-family: var(--sans); font-size: 12px; color: var(--grey); }
  .pdp__info { border-left: 0; }
  .pdp__box { position: static; max-width: none; padding-top: 22px; }
  .story, .perfumer { display: block; }
  .story__margin { margin-bottom: 12px; }
  .story figure, .story__notes { margin-top: 28px; }
  .perfumer figure { max-width: 220px; margin-bottom: 22px; }
  .sticky-buy .n span { display: none; }
}

/* coffret à composer */
.builder { margin: 0 0 16px; }
.builder__head { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 12.5px; color: var(--grey); margin-bottom: 10px; }
.builder__head b { font-weight: 500; color: var(--ink); }
.builder__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.builder__item { position: relative; background: var(--studio); border: 1px solid transparent; padding-bottom: 8px; display: grid; gap: 6px; }

.builder__item span { font-family: var(--sans); font-size: 11px; line-height: 1.3; padding: 0 4px; text-align: center; }
.builder__item.is-on { border-color: var(--ink); }
.builder__item.is-on::after { content: ''; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: var(--ink); border-radius: 50%; }

/* ---------- Panier ---------- */
.overlay { position: fixed; inset: 0; z-index: 95; background: rgba(30,22,16,.35); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(460px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease, visibility .3s; visibility: hidden; }
.cart.is-open { transform: none; visibility: visible; }
.cart__head { height: var(--header-h); flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); }
.cart__head h3 { margin: 0; font-family: var(--serif-d); font-weight: 400; font-size: 24px; }
.cart__head button { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.cart__ship { padding: 14px 24px; font-family: var(--sans); font-size: 12.5px; color: var(--grey); border-bottom: 1px solid var(--line); }
.cart__ship .bar { height: 1px; background: var(--line); margin-top: 10px; position: relative; }
.cart__ship .bar span { position: absolute; left: 0; top: -.5px; height: 2px; background: var(--ink); }
.cart__items { flex: 1; overflow-y: auto; padding: 0 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__img, .builder__thumb { display: block; position: relative; overflow: hidden; background: var(--studio); }
.line__img { width: 72px; height: 90px; flex: none; }
.builder__thumb { width: 100%; aspect-ratio: 4 / 5; }
/* packshots : on resserre le cadre sur le flacon pour les petites vignettes */
.line__img img, .builder__thumb img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-size: 16px; }
.line__var, .line__sel { font-family: var(--sans); font-size: 12px; color: var(--grey); margin-top: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; font-family: var(--sans); font-size: 12px; }
.qty button { width: 28px; height: 28px; }
.qty span { min-width: 20px; text-align: center; }
.line__right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--sans); font-size: 13px; }
.line__right button { font-size: 12px; color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.line--gift .line__right span { color: var(--grey); }
.cart__opts { padding: 18px 0; display: grid; gap: 16px; }
.cart__opt { display: grid; gap: 8px; }
.cart__opt .ui { color: var(--grey); }
.cart__selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cart__opts select { width: 100%; border: 1px solid var(--line); background: var(--paper); padding: 10px; font-family: var(--sans); font-size: 13px; border-radius: 0; color: var(--ink); }
.cart__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin-bottom: 4px; }
.cart__foot small { display: block; font-family: var(--sans); font-size: 12px; color: var(--grey); margin-bottom: 16px; }
.cart__empty { padding: 48px 0; }
.cart__empty p { margin: 0 0 20px; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 150; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 13px; padding: 12px 18px; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.is-in { opacity: 1; }

/* ---------- Pages éditoriales ---------- */
.spread { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.spread figure { margin: 0; grid-column: 1 / 6; }
.spread figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.spread > div { grid-column: 7 / 12; }
.spread--rev figure { grid-column: 8 / 13; grid-row: 1; }
.spread--rev > div { grid-column: 2 / 7; grid-row: 1; }
.spread .h2 { margin: 8px 0 20px; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.people figure { margin: 0 0 16px; }
.people img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.people p { margin: 8px 0 0; font-size: 15.5px; color: var(--grey); }
.list-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.list-2 > div { border-top: 1px solid var(--line); padding: 22px 0 26px; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
.list-2 .folio { grid-row: span 2; padding-top: 2px; }
.list-2 h3 { margin: 0 0 6px; }
.list-2 p { margin: 0; font-size: 15.5px; color: var(--grey); }
.gloss { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin: 0; }
.gloss div { border-top: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 170px 1fr; gap: 16px; }
.gloss dt { font-size: 17px; }
.gloss dd { margin: 0; font-size: 15px; color: var(--grey); }
.notes3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.notes3 article { border-top: 1px solid var(--line); padding-top: 18px; }
.notes3 h3 { margin: 6px 0 10px; }
.notes3 p { margin: 0 0 12px; font-size: 15.5px; }
.notes3 ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 13px; color: var(--grey); display: grid; gap: 4px; }
.conc { display: grid; gap: 14px; margin-top: 24px; max-width: 520px; }
.conc div { display: grid; grid-template-columns: 190px 1fr 48px; gap: 14px; align-items: center; font-family: var(--sans); font-size: 13px; }
.conc .bar { height: 1px; background: var(--line); position: relative; }
.conc .bar span { position: absolute; left: 0; top: -1px; height: 3px; background: var(--ink); }
.conc b { font-weight: 400; text-align: right; }
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq > :first-child { grid-column: 1 / 5; }
.faq .accordion { grid-column: 5 / 12; margin-top: 0; }
.faq .acc > button { font-family: var(--serif); font-size: 18px; letter-spacing: 0; }
@media (max-width: 800px) {
  .spread, .people, .list-2, .gloss, .notes3, .faq { display: block; }
  .spread figure { margin-bottom: 24px; }
  .people > * + * { margin-top: 36px; }
  .gloss div { grid-template-columns: 1fr; gap: 4px; }
  .notes3 article + article { margin-top: 28px; }
  .faq .accordion { margin-top: 20px; }
  .conc div { grid-template-columns: 1fr 44px; }
  .conc .bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Portrait olfactif ---------- */
.quiz { display: grid; grid-template-columns: 5fr 7fr; min-height: calc(100svh - var(--header-h) - 36px); border-bottom: 1px solid var(--line); }
.quiz__media { position: relative; background: var(--paper-2); }
.quiz__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quiz__panel { padding: 56px var(--gutter) 88px; display: flex; flex-direction: column; justify-content: center; position: relative; max-width: 760px; }
.quiz__step { display: none; }
.quiz__step.is-on { display: block; }
.quiz__q { margin: 12px 0 28px; }
.quiz__opts { display: grid; border-top: 1px solid var(--line); }
.quiz__opts button { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; transition: opacity .15s; }
.quiz__opts button:hover { opacity: .6; }
.quiz__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 1px; background: var(--line); }
.quiz__progress span { position: absolute; left: 0; top: -.5px; height: 2px; background: var(--ink); width: 0; transition: width .3s; }
.quiz__results { margin: 24px 0; }
@media (max-width: 800px) { .quiz { display: block; min-height: 0; } .quiz__media { height: 44svh; } .quiz__media img { object-position: 50% 30%; } .quiz__panel { padding-top: 32px; padding-bottom: 72px; } }

/* ---------- Carte ---------- */
.stores { display: grid; grid-template-columns: 420px 1fr; height: calc(100svh - var(--header-h) - 40px); min-height: 600px; border-top: 1px solid var(--line); }
.stores__side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.stores__search { padding: 20px var(--gutter); border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.stores__search input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; outline: none; font-size: 17px; }
.stores__list { overflow-y: auto; flex: 1; min-height: 0; }
.store { display: block; width: 100%; text-align: left; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); cursor: pointer; }
.store:hover, .store.is-active { background: var(--paper-2); }
.store__name { font-size: 17px; }
.store__addr { font-family: var(--sans); font-size: 13px; color: var(--grey); margin-top: 4px; }
.store__links { display: flex; gap: 16px; margin-top: 8px; font-family: var(--sans); font-size: 12px; }
.store__links a { text-decoration: underline; text-underline-offset: 3px; }
.stores__map { position: relative; }
#map { position: absolute; inset: 0; background: var(--paper-2); }
.leaflet-container { font-family: var(--sans) !important; }
.librery-tiles { filter: grayscale(1) sepia(.2) contrast(.92) brightness(1.04); }
.librery-pin { width: 12px; height: 12px; background: var(--ink); border: 2px solid var(--paper); border-radius: 50%; }
.leaflet-popup-content-wrapper { border-radius: 0 !important; box-shadow: none !important; border: 1px solid var(--line); background: var(--paper) !important; }
.leaflet-popup-content { font-size: 13px; margin: 14px 16px !important; }
@media (max-width: 900px) { .stores { grid-template-columns: 1fr; grid-template-rows: 44svh auto; height: auto; } .stores__map { order: -1; } .stores__side { border-right: 0; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.contact__info { grid-column: 1 / 5; }
.contact__info p { margin: 0 0 22px; }
.contact form { grid-column: 6 / 12; }
.form { display: grid; gap: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field label { display: block; font-family: var(--sans); font-size: 12px; color: var(--grey); margin-bottom: 4px; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0; outline: none; font-size: 17px; border-radius: 0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
@media (max-width: 800px) { .contact { display: block; } .contact form { margin-top: 36px; } .form .row { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* notes en marge du récit */
.story__notes { margin: 0; display: grid; gap: 18px; align-content: start; border-top: 1px solid var(--line); padding-top: 18px; }
.story__notes dt { font-family: var(--sans); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.story__notes dd { margin: 0; font-size: 15px; line-height: 1.4; }
.inline-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; color: var(--ink); }
body:has(#sticky.is-on) { padding-bottom: 68px; }

/* ---------- Familles olfactives ---------- */
.fams-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 22px; }
.fams-head p { margin: 0; color: var(--grey); font-size: 16px; max-width: 44ch; }
.fams { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; scroll-margin-top: calc(var(--header-h) + 20px); }
.fam { display: grid; gap: 3px; text-align: left; transition: opacity .3s; }
.fam__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--studio); margin-bottom: 9px; position: relative; }
.fam__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, .6, .2, 1); }
.fam__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s; }
.fam.is-active .fam__img::after { box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) { .fam:hover .fam__img img { transform: scale(1.04); } }
.fam__name { font-family: var(--serif); font-size: 18px; }
.fam__count { font-family: var(--sans); font-size: 12px; color: var(--grey); }
.fams.has-active .fam:not(.is-active) { opacity: .45; }
.fam.is-active .fam__name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
#familles { scroll-margin-top: calc(var(--header-h) + 20px); }
.filters { scroll-margin-top: calc(var(--header-h) + 12px); }
.filters__desc b { font-weight: 400; color: var(--ink); }
.filters__desc .inline-link { font-size: 13px; font-family: var(--sans); margin-left: 8px; }
.pdp__fams { font-family: var(--sans); font-size: 12.5px; color: var(--grey); margin: -6px 0 16px; }
.pdp__fams a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; margin-left: 4px; }

@media (max-width: 800px) {
  .fams-head { display: block; }
  .fams-head p { margin-top: 8px; }
  .fams { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin: 0 calc(-1 * var(--gutter)) 36px; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .fams::-webkit-scrollbar { display: none; }
  .fam { scroll-snap-align: start; }
  .fam__name { font-size: 16px; }
}
.fam-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.fam-row { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fam-row__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--studio); }
.fam-row__img img { width: 100%; height: 100%; object-fit: cover; }
.fam-row__txt { display: grid; gap: 6px; }
.fam-row__d { color: var(--grey); font-size: 15.5px; line-height: 1.4; }
.fam-row__p { font-family: var(--serif); font-size: 15px; }
@media (hover: hover) { .fam-row:hover .fam-row__txt .h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; } }
@media (max-width: 800px) { .fam-list { grid-template-columns: 1fr; } .fam-row { grid-template-columns: 86px 1fr; gap: 16px; } }
.toc__links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; }


/* ---------- L'horloge du sillage ---------- */
/* le cadran à gauche (nombre d'or : 1,618 / 1), le texte à droite ; sur téléphone : le cadran, le moment, ses notes, le curseur */
.clock { display: grid; grid-template-columns: 1.618fr 1fr; grid-template-areas: 'stage .' 'stage pick' 'stage txt' 'stage .'; grid-template-rows: 1fr auto auto 1fr; gap: 0 clamp(40px, 5vw, 80px); }
.clock__pick { grid-area: pick; display: flex; align-items: baseline; gap: 12px; margin-bottom: 28px; font-family: var(--sans); font-size: 12px; color: var(--grey); }
.clock__pick select { font-family: var(--serif); font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 4px 22px 4px 0; cursor: pointer; }
/* le cadran solaire (3D) : jamais plus haut que l'écran (moins l'en-tête et la barre d'achat), au moins 300 px ;
   l'affiche (la scène figée à la vaporisation) tient la place pendant le chargement, ou à défaut de 3D */
.clock__stage { grid-area: stage; align-self: center; position: relative; aspect-ratio: 5 / 4; width: min(100%, max(300px, calc((100vh - 200px) * 5 / 4))); width: min(100%, max(300px, calc((100svh - 200px) * 5 / 4))); margin: 0 auto; background: var(--paper) var(--poster, none) center / cover no-repeat; scroll-margin-top: calc(var(--header-h) + 8px); }
.clock__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.clock__stage.is-on canvas { opacity: 1; }
.clock__txt { grid-area: txt; min-width: 0; }
/* sans WebGL 2, la scène est retirée : le texte seul, sur une colonne */
.clock:not(:has(.clock__stage)) { grid-template-columns: minmax(0, 40rem); grid-template-areas: 'pick' 'txt'; grid-template-rows: auto; }
/* une ligne : depuis quand, et la phase (en or, comme son arc sur le cadran) */
.clock__t { font-family: var(--sans); font-size: 14px; letter-spacing: .01em; color: var(--grey); margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.clock__t b { font-weight: 500; color: var(--ink); }
.clock__t em { font-style: normal; font-weight: 500; color: var(--gold); }
/* les notes : celles du moment en grand ; avant et après, en petit et estompées, précédées du nom de leur phase */
.clock__rows { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.clock__rows li { font-family: var(--serif); font-size: 15px; line-height: 1.4; color: var(--grey); opacity: .55; transition: opacity .4s ease; }
.clock__rows li[data-s=passe] { opacity: .35; }
.clock__k { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }
.clock__rows li[data-s=la] { font-family: var(--serif-d); font-size: clamp(26px, 2.3vw, 34px); line-height: 1.18; color: var(--ink); opacity: 1; margin: 4px 0; text-wrap: balance; }
.clock__rows li[data-s=la] .clock__k { display: none; }
.clock input[type=range] { display: block; width: 100%; margin: 0; accent-color: var(--ink); }   /* sans marge latérale : le pouce et la règle partent du même bord */
/* la règle tombe sous les arrêts du curseur : centre du pouce (16 px) à --k de la course ; les deux bouts calés aux bords */
.clock__scale { position: relative; height: 14px; font-family: var(--sans); font-size: 11px; line-height: 14px; color: var(--grey); margin: 8px 0 22px; }
.clock__scale span { position: absolute; top: 0; left: calc(8px + (100% - 16px) * var(--k)); transform: translateX(-50%); white-space: nowrap; }
.clock__scale span:first-child { left: 0; transform: none; }
.clock__scale span:last-child { left: auto; right: 0; transform: none; }
.lex-clock { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.lex-clock > p { margin: 8px 0 28px; }
@media (max-width: 800px) {
  .clock { grid-template-columns: 1fr; grid-template-areas: 'pick' 'stage' 'txt'; grid-template-rows: auto; }
  .clock__pick { margin-bottom: 8px; }
  .clock__stage { aspect-ratio: 1; width: auto; margin: 0 calc(-1 * var(--gutter)) 18px; background-image: var(--poster-m, none); }
  .clock__rows { margin-bottom: 24px; }
  .clock__rows li[data-s=la] { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .clock__rows li, .clock__stage canvas { transition: none; } }

/* ---------- Catalogue feuilleté (accueil) : couverture fermée, puis les pages tournent au défilement ----------
   Une feuille = 20 bandes chaînées qui se courbent ; chaque feuille a sa profondeur (le z-index ne joue pas en 3D). */
.flip { --ratio: 1.4144; height: 300vh; position: relative; }
.flip__sticky { --pw: min(340px, 26vw, calc((100svh - var(--header-h) - 96px) / 1.4144)); --ph: calc(var(--pw) * var(--ratio));
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
  display: grid; grid-template-columns: 300px 1fr; grid-template-areas: "cap stage" "cta stage"; align-content: center; column-gap: 32px; }
/* bande beige pleine largeur, 80 % de la hauteur du catalogue : le livre en dépasse en haut et en bas */
.flip__sticky::before { content: ""; position: absolute; z-index: -1; left: 50%; width: 100vw; transform: translateX(-50%); top: calc(50% - var(--ph) * .4); height: calc(var(--ph) * .8);
  background: #3b2618 url(/assets/img/catalogue/bureau.webp) center / cover no-repeat; box-shadow: inset 0 18px 28px -18px rgba(0,0,0,.45), inset 0 -18px 28px -18px rgba(0,0,0,.45); }
/* sur le bois (ordinateur) : texte crème, bouton inversé */
.flip .flip__cap, .flip .flip__cta { color: #efe6d6; }
.flip .flip__cap .h2 { color: #f6efe3; }
.flip .flip__k { color: #d4b48c; }
.flip .flip__hint { color: rgba(239,230,214,.72); }
.flip .flip__bar { background: rgba(239,230,214,.25); } .flip .flip__bar span { background: #efe6d6; }
.flip .flip__cta .btn { background: #efe6d6; color: var(--espresso); border-color: #efe6d6; }
.flip .flip__cta .tlink { color: #efe6d6; }
.flip__cap { grid-area: cap; align-self: end; }
.flip__stage { grid-area: stage; }
.flip__cta { grid-area: cta; align-self: start; }
.flip__k { font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: var(--gold); margin: 0 0 12px; }
.flip__cap .h2 { min-height: 2.2em; margin: 0 0 10px; }
.flip__hint { font-family: var(--sans); font-size: 13px; color: var(--grey); margin: 0; }
.flip__bar { margin-top: 22px; height: 1px; background: var(--line); }
.flip__bar span { display: block; height: 1px; width: 0; background: var(--ink); }
.flip__cta { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.flip__stage { perspective: 2600px; display: grid; place-items: center; height: 100%; }
.flip .flip__book { position: relative; width: calc(var(--pw) * 2); height: var(--ph); transform: translateX(-25%); transform-style: preserve-3d; }
.flip .flip__l, .flip .flip__r { position: absolute; top: 0; width: var(--pw); height: var(--ph); background: #fff; transform: translateZ(0); box-shadow: 0 30px 50px -22px rgba(0,0,0,.6), 0 3px 8px rgba(0,0,0,.28); }
.flip .flip__l { left: 0; } .flip .flip__r { right: 0; }
.flip .flip__book img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flip .flip__book::after { content: ""; position: absolute; left: calc(50% - 18px); top: 0; width: 36px; height: 100%; background: linear-gradient(90deg, transparent, rgba(0,0,0,.08) 45%, rgba(0,0,0,.14) 50%, rgba(0,0,0,.08) 55%, transparent); transform: translateZ(9px); pointer-events: none; }
.flip .flip__book.is-closed::after { opacity: 0; }
.flip .flip__leaf { position: absolute; top: 0; left: 50%; width: var(--pw); height: var(--ph); transform-origin: left center; transform-style: preserve-3d; }
.flip .flip__flat { position: absolute; inset: 0; transform-style: preserve-3d; display: none; }
.flip .flip__flat > i { position: absolute; inset: 0; background: #fff center / cover no-repeat; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip .flip__flat > i.b { transform: rotateY(180deg); }
.flip .flip__leaf.is-flat > .flip__flat { display: block; }
.flip .flip__leaf.is-flat > .flip__strip { visibility: hidden; }
.flip .flip__strip { position: absolute; top: 0; left: 0; height: 100%; transform-origin: left center; transform-style: preserve-3d; }
.flip .flip__strip .flip__strip { left: 100%; }
.flip .flip__strip > i { position: absolute; top: 0; left: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; background-repeat: no-repeat; background-color: #fff; }
.flip .flip__strip > i.bk { transform: rotateY(180deg); }
.flip .flip__strip > i.fill { left: -3px; width: calc(100% + 6px); transform: translateZ(-.5px); }
.flip .flip__strip > i.bk.fill { transform: rotateY(180deg) translateZ(-.5px); }
.flip .flip__strip > i.fill.last { width: calc(100% + 3px); }
.flip .flip__strip > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,28,18,var(--sa, 0)), rgba(40,28,18,var(--sb, 0))); }
@media (max-width: 800px) {
  .flip { height: 280vh; }
  .flip__sticky { --pw: 44vw; grid-template-columns: 1fr; grid-template-areas: "cap" "stage" "cta"; align-content: center; row-gap: 22px; }
  .flip__stage { height: auto; padding: 4vw 0; }
  .flip__sticky::before { background-image: url(/assets/img/catalogue/bureau-m.webp); }
  /* sur mobile, texte et boutons sont hors du bureau : couleurs d'origine */
  .flip .flip__cap, .flip .flip__cta, .flip .flip__cta .tlink { color: var(--ink); } .flip .flip__cap .h2 { color: var(--ink); } .flip .flip__k { color: var(--gold); }
  .flip .flip__cta .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .flip__cap .h2 { min-height: 0; }
  .flip__hint, .flip__bar { display: none; }
  .flip__cta { margin-top: 14px; }
}
.flip .flip__book[data-lecteur] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* Le chevet 3D (main.js, chevet ; assets/js/chevet3d.js) : la section s'allonge — d'un seul mouvement, la caméra
   monte, se tourne et glisse jusqu'à poser le catalogue (immobile sur le plateau) à la place du livre fermé ; le livre prend le
   relais et se feuillette comme avant, le plateau dessous, décalé à droite. Le plateau remplace la bande de noyer,
   gardée en repli : un seul bois, le vrai meuble ; les textes, sur le papier à gauche, reprennent l'encre du site. */
.flip--chevet { height: 575vh; }   /* mouvement ~2,5 écrans, relais, feuilletage ~2 (phases : main.js, CHEVET) */
.flip__chevet { display: none; }
.flip--chevet .flip__chevet { display: block; position: absolute; z-index: -1; top: 0; left: 50%; width: 100vw; height: 100%; transform: translateX(-50%); pointer-events: none;
  background: var(--paper) center / auto 100% no-repeat; }
.flip--chevet.is-proche .flip__chevet { background-image: url(/assets/img/catalogue/chevet-poster.webp); }
.flip--chevet:not(.is-3d) .flip__chevet { opacity: calc(1 - var(--chevet-txt, 0)); }   /* l'affiche (trois quarts) s'efface si la 3D tarde */
.flip__chevet canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.flip--chevet.is-3d .flip__chevet canvas { opacity: 1; }
.flip--chevet .flip__sticky::before { content: none; }
.flip--chevet .flip__cap, .flip--chevet .flip__cta { opacity: var(--chevet-txt, 0); color: var(--ink); }
.flip--chevet .flip__cap .h2 { color: var(--ink); }
.flip--chevet .flip__k { color: var(--gold); }
.flip--chevet .flip__hint { color: var(--grey); }
.flip--chevet .flip__bar { background: var(--line); } .flip--chevet .flip__bar span { background: var(--ink); }
.flip--chevet .flip__cta .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.flip--chevet .flip__cta .tlink { color: var(--ink); }
.flip--chevet .flip__stage { opacity: var(--chevet-livre, 0); }
.flip--chevet.is-txt-off .flip__cap, .flip--chevet.is-txt-off .flip__cta, .flip--chevet.is-livre-off .flip__stage { visibility: hidden; }
/* le livre repose sur le plateau : une ombre de contact, poussée par la lumière du chevet (d'en haut à gauche) vers
   la droite, comme celle du catalogue 3D qu'il remplace ; sur le bois seulement : là où le livre déborde du plateau,
   rien sur le papier (retours du 13/10) — coupée au contour du plateau (--bois, posé par chevet3d.js) */
.flip--chevet .flip__l, .flip--chevet .flip__r { box-shadow: none; }   /* page de gauche hors de la table, sur le papier : aucune ombre */
.flip--chevet .flip__r::before { content: ""; position: absolute; inset: 0; pointer-events: none; clip-path: var(--bois, none);
  box-shadow: calc(var(--pw) * .0095) 0 calc(var(--pw) * .006) rgba(10, 6, 3, .55), 0 0 calc(var(--pw) * .03) rgba(10, 6, 3, .18); }
@media (orientation: portrait) { .flip--chevet.is-proche .flip__chevet { background-image: url(/assets/img/catalogue/chevet-poster-m.webp); background-size: 100% auto; } }
/* mobile : le plateau déborde sous le livre ; les boutons descendent juste sous son bord, sur le papier */
@media (max-width: 800px) { .flip--chevet { height: 520vh; } .flip--chevet .flip__cta { margin-top: 48px; } }

/* ---------- Lecteur : le catalogue 3D s'ouvre dans le site, sous l'en-tête (main.js, initLecteur) ----------
   Haut = bas de l'en-tête, mesuré à l'ouverture. Fond brun du catalogue : le glissement reste plein avant son affichage. */
.lecteur { position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 58; background: #1c1510; overscroll-behavior: contain; }
.lecteur[hidden] { display: none; }
.lecteur:focus { outline: none; }   /* focus d'attente pendant le chargement du catalogue */
.lecteur.is-veille { visibility: hidden; transform: translateX(100%); }   /* préparé hors champ, rendu suspendu */
.lecteur__vue { display: block; width: 100%; height: 100%; border: 0; }
.lecteur__vue:focus, .lecteur__vue:focus-visible { outline: none; }   /* focus tenu par le lecteur ; le catalogue dessine le sien */
.lecteur__retour { position: absolute; z-index: 1; top: 18px; left: max(18px, env(safe-area-inset-left)); display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px 0 10px;
  border-radius: 999px; background: rgba(28,21,16,.55); border: 1px solid rgba(185,148,103,.28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #efe2b8; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.lecteur__retour:hover { background: rgba(60,45,33,.7); }
.lecteur__retour:focus-visible { outline: 1px solid #b99467; outline-offset: 2px; }
.lecteur__retour svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 800px) { .lecteur__retour { top: 12px; left: max(12px, env(safe-area-inset-left)); height: 34px; padding: 0 12px 0 6px; } }
/* depuis le chevet de l'accueil (main.js, ouvrirChevet) : pas de glissement ; le cadre se prépare invisible à sa place,
   puis paraît en fondu sur la même image (fond papier : le décor « chevet » du catalogue) ; Retour à l'encre, avec la
   barre du catalogue, après la bascule */
.lecteur--chevet { background: var(--paper); opacity: 0; }
.lecteur--chevet[data-etat="attente"] { cursor: progress; }
.lecteur--chevet[data-etat="prepa"] { pointer-events: none; }   /* préparé d'avance, invisible : la page reste à portée */
.lecteur--chevet:is([data-etat="attente"], [data-etat="retour"]) .lecteur__vue { pointer-events: none; }   /* invisible ou sur le retour : aucun clic ne doit tourner une page avant la bascule */
.lecteur--chevet .lecteur__retour { background: rgba(43, 37, 34, .9); border-color: transparent; color: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none;
  opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.lecteur--chevet.is-vu .lecteur__retour { opacity: 1; pointer-events: auto; transition: opacity .9s ease .45s, background .2s; }
.lecteur--chevet .lecteur__retour:hover { background: var(--ink); }
.flip.is-ouverture, .flip.is-ouverture .flip__book { cursor: progress; }
/* les textes de la section s'effacent avant la bascule (le catalogue n'a que le plateau et le livre : le fondu ne couvre
   plus qu'eux) et reviennent de même après le retour */
html:is(.lecteur-chevet, .lecteur-retour) .flip--chevet :is(.flip__cap, .flip__cta) { transition: opacity .35s ease; }
html.lecteur-chevet .flip--chevet :is(.flip__cap, .flip__cta) { opacity: 0; }
/* le catalogue se prépare : un filet d'or court va et vient sous l'en-tête — sous le bouton de la section quand on l'y
   attend, l'image clé restée à l'écran (main.js, patienter : le bouton dit « Ouverture… ») */
html.lecteur-attente:not(.lecteur-patience) .header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 22%; height: 1px; background: var(--gold); animation: lecteur-attente 1.1s ease-in-out infinite alternate; }
@keyframes lecteur-attente { to { transform: translateX(354.5%); } }
html.lecteur-patience .flip--chevet .flip__cta .btn { position: relative; cursor: progress; }
html.lecteur-patience .flip--chevet .flip__cta .btn::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 30%; height: 1px; background: var(--gold); animation: lecteur-patience 1.1s ease-in-out infinite alternate; }
@keyframes lecteur-patience { to { transform: translateX(233.33%); } }
/* ouvert : la page ne défile plus (position conservée ; la place de la barre de défilement est gardée, l'en-tête ne saute pas) ;
   l'en-tête reste plein et visible, même sur l'image d'accueil ; le menu déroulé d'où l'on vient se replie (main.js) */
html.lecteur-ouvert { overflow: hidden; scrollbar-gutter: stable; }
.has-sub.is-ferme .mega { opacity: 0; visibility: hidden; }
.lecteur-ouvert .header, .lecteur-ouvert .page-home .header.is-top { transform: none; background: var(--paper); color: var(--ink); border-color: var(--line); }

/* ---------- Écran de chargement : logo + filet doré, une fois par visite (sécurité : disparaît seul après 6 s) ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 30px; background: var(--paper); color: var(--espresso);
  transition: opacity .8s ease, visibility .8s; animation: loader-securite .01s 6s forwards; }
.loader svg { width: min(340px, 62vw); height: auto; display: block; }
.loader__bar { width: min(200px, 40vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; width: 0; height: 100%; background: var(--gold); transition: width .5s ease; }
.is-seen .loader, .loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-securite { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ==========================================================================
   Version simplifiée (15/10, retour de Nolwenn et Rafiq) : l’ancienne mosaïque légendée et le livre du catalogue,
   repris tels qu’au 12/10. Utilisés quand ANIMATIONS = false (main.js, build.py).
   ========================================================================== */
/* ---------- Mosaïque légendée ---------- */
.mosaic { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 20px; align-items: end; }
.mosaic figure { margin: 0; }
.mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--studio); }
.mosaic figure:nth-child(2) { align-self: start; }
.mosaic figure:nth-child(2) img { aspect-ratio: 3 / 4; }
@media (max-width: 800px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
  .mosaic figure:first-child { grid-column: span 2; }
}

/* ---------- Le catalogue : un livre ouvert (couverture + index) ---------- */
.book { background: var(--paper-2); padding: 112px 0; }
.book__in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.book__cover { grid-column: 2 / 6; position: relative; display: block; transition: transform .6s cubic-bezier(.16, .6, .2, 1); }
.book__cover img { display: block; width: 100%; aspect-ratio: 1448 / 2048; object-fit: cover; box-shadow: 0 1px 0 rgba(58,42,30,.08), 0 34px 60px -30px rgba(58,42,30,.45); }
/* le dos du livre : un pli de lumière sur le bord gauche */
.book__cover::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 5%; background: linear-gradient(90deg, rgba(0,0,0,.14), rgba(255,255,255,.18) 45%, rgba(0,0,0,0)); pointer-events: none; }
@media (hover: hover) { .book__cover:hover { transform: translateY(-6px); } }
.book__page { grid-column: 7 / 12; }
.book__kicker { font-family: var(--sans); font-size: 12px; color: var(--grey); margin: 0 0 12px; }
.book__toc { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.book__toc a { display: grid; grid-template-columns: 1fr 56px; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.book__t { font-size: 22px; line-height: 1.2; }
.book__t small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--grey); margin-top: 5px; line-height: 1.4; }
.book__th { display: block; width: 56px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--studio); }
.book__th img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, .6, .2, 1); }
@media (hover: hover) { .book__toc a:hover .book__th img { transform: scale(1.08); } .book__toc a:hover .book__t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; } }
.book__cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .book { padding: 72px 0; }
  .book__in { display: block; }
  .book__cover { width: 64%; margin: 0 auto 48px; }
  .book__toc a { grid-template-columns: 1fr 48px; gap: 12px; padding: 14px 0; }
  .book__t { font-size: 19px; }
  .book__th { width: 48px; }
  .book__cta { gap: 20px; }
  .book__cta .btn { flex: 1 1 100%; text-align: center; }
}


/* Lettre de la maison : bandeau pleine largeur avant le pied de page (10 % de bienvenue, retour de Rafiq le 15/10).
   Ordinateur : l'écrin vu de dessus en fond, le texte dans le vide crème à gauche. Mobile : l'image au-dessus, le texte dessous. */
.nl { position: relative; background: #f4ede2; overflow: hidden; }
.nl__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.nl__in { position: relative; min-height: clamp(520px, 42vw, 680px); display: flex; align-items: center; }
.nl__box { width: min(460px, 40%); padding: 72px 0; }
.nl__kick { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.nl__t { font-family: var(--serif-d); font-weight: 400; font-size: clamp(38px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -.01em; margin: 0; }
.nl__t em { display: block; font-style: italic; }
.nl__p { margin: 20px 0 30px; font-size: 17px; line-height: 1.55; color: var(--grey); max-width: 38ch; }
.nl__form { display: flex; gap: 0; background: #fff; border: 1px solid var(--ink); }
.nl__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; height: 56px; font-size: 16px; outline: none; }
.nl__form .btn { height: 56px; border: 0; padding: 0 24px; }
.nl__small { margin: 14px 0 0; font-family: var(--sans); font-size: 12px; line-height: 1.5; color: var(--grey); }
.nl__ok { margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--gold); font-size: 17px; line-height: 1.5; }
@media (max-width: 800px) {
  .nl__img { position: relative; aspect-ratio: 4 / 3; }
  .nl__img img { object-position: 82% 50%; }
  .nl__in { min-height: 0; display: block; }
  .nl__box { width: auto; padding: 36px 0 56px; }
  .nl__p { font-size: 16px; margin: 16px 0 24px; }
  .nl__form { flex-direction: column; background: transparent; border: 0; gap: 10px; }
  .nl__form input { flex: none; background: #fff; border: 1px solid var(--ink); }
  .nl__form .btn { width: 100%; }
}
