/* Ephemundi — catalogue d'une maison d'antiquités */

:root {
  --paper: #ece8e1;
  --paper-2: #e4dfd6;
  --plate: #dcd9d3;
  --ink: #191613;
  --ink-2: #4b453d;
  --ink-3: #857c6f;
  --line: rgba(25, 22, 19, .14);
  --line-2: rgba(25, 22, 19, .08);
  --gold: #7d6c12;
  --gold-bright: #c2a448;
  --seal: #8c231c;
  --night: #131110;
  --night-text: #e9e4da;
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: "Manuale", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(18px, 4vw, 64px);
  --bar: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

.textlink {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-bottom: 5px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.textlink:hover { background-size: 28% 1px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.round {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .3s, background .3s, color .3s;
}
.round:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- chargement ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader span { font-family: var(--display); font-size: 28px; letter-spacing: .08em; color: var(--ink-3); animation: breathe 1.6s ease-in-out infinite; }
body.is-ready .loader { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { opacity: .35; } }

/* ---------- barre ---------- */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--bar);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 var(--pad);
  transition: background .5s, box-shadow .5s, transform .6s var(--ease);
}
.top.is-scrolled {
  background: rgba(236, 232, 225, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-2);
}
.brand { font-family: var(--display); font-size: 25px; letter-spacing: .02em; justify-self: start; opacity: 0; transition: opacity .5s; }
.top.is-scrolled .brand { opacity: 1; }
.top__nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.top__nav > *, .top__shop, .lang {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .3s;
}
.top__nav > *:hover, .top__shop:hover { color: var(--gold); }
.top__side { display: flex; align-items: center; gap: 22px; justify-self: end; }
.lang { justify-content: center; width: 44px; border: 1px solid var(--line); border-radius: 50%; letter-spacing: .1em; }
.lang:hover { background: var(--ink); color: var(--paper); }

/* ---------- ouverture ---------- */

.hero {
  position: relative;
  padding: calc(var(--bar) + 3vh) var(--pad) 0;
  text-align: center;
  overflow: clip;
}
.hero__eyebrow { opacity: 0; transition: opacity 1.2s .5s; }
.hero__title {
  position: relative;
  z-index: 2;
  margin-top: 1.6vh;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(74px, 18.6vw, 330px);
  line-height: .8;
  letter-spacing: -.028em;
  white-space: nowrap;
}
.hero__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(.28em);
  transition: opacity 1.3s var(--ease), transform 1.5s var(--ease);
}
.hero__title span:nth-child(2) { transition-delay: .05s; }
.hero__title span:nth-child(3) { transition-delay: .1s; }
.hero__title span:nth-child(4) { transition-delay: .15s; }
.hero__title span:nth-child(5) { transition-delay: .2s; }
.hero__title span:nth-child(6) { transition-delay: .25s; }
.hero__title span:nth-child(7) { transition-delay: .3s; }
.hero__title span:nth-child(8) { transition-delay: .35s; }
.hero__title span:nth-child(9) { transition-delay: .4s; }
.hero__tagline {
  max-width: 34ch;
  text-wrap: balance;
  margin: clamp(22px, 3.6vh, 44px) auto 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.3;
  color: var(--ink-2);
  opacity: 0;
  transition: opacity 1.2s .7s;
}
body.is-ready .hero__eyebrow, body.is-ready .hero__tagline { opacity: 1; }
body.is-ready .hero__title span { opacity: 1; transform: none; }

.loggia {
  display: grid;
  grid-template-columns: 1fr 1.44fr 1fr;
  align-items: end;
  gap: clamp(10px, 2.4vw, 40px);
  width: min(1280px, 100%);
  margin: clamp(30px, 5.5vh, 70px) auto 0;
  perspective: 1500px;
}
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--paper-2);
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotateY(var(--ry, 0deg));
  will-change: transform;
}
.arch img {
  position: absolute;
  left: 0;
  top: -9%;
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--par, 0px), 0) scale(1.02);
  will-change: transform;
}
.arch--main { aspect-ratio: 10 / 14.6; }
.arch--side { aspect-ratio: 10 / 12.6; }
.loggia .arch { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.7s var(--ease) .35s; }
.loggia .arch--side { transition-delay: .6s; }
body.is-ready .loggia .arch { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }

/* ---------- manifeste ---------- */

.manifesto { padding: clamp(90px, 17vh, 210px) var(--pad) clamp(70px, 12vh, 150px); text-align: center; }
.manifesto__text {
  max-width: 21ch;
  margin: 0 auto;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 78px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.manifesto__text span { opacity: .16; transition: opacity .7s; }
.manifesto__text span.is-lit { opacity: 1; }
.facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px clamp(36px, 8vw, 130px);
  max-width: 1100px;
  margin: clamp(60px, 10vh, 120px) auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.facts li { display: grid; gap: 6px; justify-items: center; }
.facts b { font-family: var(--display); font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1; font-variant-numeric: lining-nums; }
.facts span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- sélection : la rotonde ---------- */

.sechead { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 0 var(--pad); }

.selection {
  padding: clamp(70px, 11vh, 140px) 0 clamp(60px, 10vh, 130px);
  background: linear-gradient(var(--paper), var(--paper-2) 62%, var(--paper));
  overflow: clip;
}
.rotunda {
  --pw: clamp(190px, 23vw, 330px);
  position: relative;
  height: calc(var(--pw) * 1.25 + clamp(90px, 15vh, 170px));
  margin-top: clamp(20px, 4vh, 50px);
  display: grid;
  place-items: center;
  perspective: 1700px;
  perspective-origin: 50% 46%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
.rotunda.is-dragging { cursor: grabbing; }
.rotunda::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 44px);
  width: min(900px, 86vw);
  height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(25, 22, 19, .2), transparent);
  filter: blur(8px);
  pointer-events: none;
}
.rotunda__ring {
  position: relative;
  width: var(--pw);
  height: calc(var(--pw) * 1.25);
  transform-style: preserve-3d;
  will-change: transform;
}
.rplate {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  background: var(--plate);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: brightness(var(--b, 1));
  box-shadow: 0 30px 60px -30px rgba(25, 22, 19, .55);
  -webkit-box-reflect: below 12px linear-gradient(transparent 68%, rgba(0, 0, 0, .13));
  cursor: pointer;
}
.rplate img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; filter: sepia(.1) saturate(.96); }
.rplate.is-dark { background: #141312; }

.rotunda__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 70px);
  padding: 0 var(--pad);
}
.rotunda__info { width: min(520px, 62vw); min-height: 148px; display: grid; gap: 8px; justify-items: center; align-content: start; text-align: center; transition: opacity .35s; }
.rotunda__info.is-swap { opacity: 0; }
.rotunda__info h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; text-wrap: balance; }
.rotunda__meta { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.rotunda__hint { margin-top: 22px; text-align: center; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- collections ---------- */

.collections { padding: clamp(40px, 8vh, 110px) var(--pad) 0; }
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 6vw, 110px);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(60px, 11vh, 150px) 0;
  border-top: 1px solid var(--line);
}
.chapter:nth-child(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.chapter:nth-child(even) .chapter__aside { order: 2; }
.chapter__aside { position: relative; align-self: start; position: sticky; top: calc(var(--bar) + 24px); }
.chapter__num {
  position: absolute;
  z-index: 2;
  left: -.04em;
  top: -.42em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(90px, 11vw, 190px);
  line-height: 1;
  color: var(--ink);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.chapter:nth-child(even) .chapter__num { left: auto; right: -.04em; }
.chapter__cover { aspect-ratio: 10 / 13.4; max-height: 78vh; width: 100%; }
.chapter__head { display: grid; gap: 14px; margin-bottom: clamp(30px, 5vh, 60px); }
.chapter__sub { max-width: 46ch; font-size: 17px; color: var(--ink-2); }
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vh, 48px) clamp(14px, 1.8vw, 28px); }
.plates .pcard:nth-child(3n + 2) { margin-top: clamp(18px, 4vh, 54px); }
.chapter__more { margin-top: clamp(34px, 6vh, 64px); }

/* carte d'une pièce */

.pcard { display: block; width: 100%; perspective: 900px; }
.plate {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--plate);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
  will-change: transform;
}
.plate.is-dark { background: #141312; }
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.1) saturate(.96);
  transition: transform 1.3s var(--ease), opacity .8s;
}
.plate.is-contain img { object-fit: contain; padding: 4%; }
.plate.is-contain:not(.is-dark) img { mix-blend-mode: multiply; }
.pcard:hover .plate { box-shadow: 0 34px 50px -34px rgba(25, 22, 19, .55); transition-duration: .2s, .7s; }
.pcard:hover .plate img { transform: scale(1.045); }
.plate__seal {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 8px;
  background: rgba(236, 232, 225, .92);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}
.plate__seal::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--seal); }
.pcard.is-sold .plate img { opacity: .72; }
.pcard__meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; margin-top: 14px; }
.pcard__title { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.16; text-wrap: balance; }
.pcard__price { font-size: 14px; font-variant-numeric: lining-nums; white-space: nowrap; padding-top: 3px; }
.pcard.is-sold .pcard__price { color: var(--ink-3); text-decoration: line-through; }
.pcard__sub { grid-column: 1 / -1; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }

/* ---------- provenances ---------- */

.origins {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  margin-top: clamp(40px, 8vh, 100px);
  padding: clamp(80px, 14vh, 170px) var(--pad);
  background: var(--night);
  color: var(--night-text);
}
.origins .eyebrow { color: var(--gold-bright); }
.origins h2 { margin: 16px 0 22px; }
.origins__lead { max-width: 44ch; color: rgba(233, 228, 218, .68); font-size: 17px; }
.places { columns: 2; column-gap: 34px; margin-top: clamp(30px, 5vh, 54px); max-width: 560px; }
.places button {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid rgba(233, 228, 218, .12);
  font-size: 14px;
  color: rgba(233, 228, 218, .78);
  break-inside: avoid;
  transition: color .3s, padding .4s var(--ease);
}
.places button i { font-style: normal; font-size: 11px; color: rgba(233, 228, 218, .4); font-variant-numeric: lining-nums; }
.places button:hover, .places button.is-on { color: var(--gold-bright); padding-left: 8px; }
.origins__globe { position: relative; width: min(100%, 680px); aspect-ratio: 1; margin: 0 auto; }
#globe { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#globe.is-dragging { cursor: grabbing; }
.globe__label {
  position: absolute;
  left: 0;
  top: 0;
  padding: 6px 12px 7px;
  background: var(--night-text);
  color: var(--night);
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.globe__label.is-on { opacity: 1; }

/* ---------- la maison ---------- */

.story__band { height: clamp(300px, 64vh, 720px); overflow: hidden; background: var(--paper-2); }
.story__band img { width: 100%; height: 128%; margin-top: -8%; object-fit: cover; transform: translate3d(0, var(--par, 0px), 0); will-change: transform; }
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(26px, 6vw, 110px);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(70px, 12vh, 150px) var(--pad);
}
.story__head { display: grid; gap: 16px; align-content: start; }
.story__body p { font-size: 18px; line-height: 1.75; color: var(--ink-2); margin-bottom: 20px; max-width: 58ch; }
.story__body p[data-i18n="story.p1"]::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.3em;
  line-height: .78;
  padding: 7px 12px 0 0;
  color: var(--ink);
}
.story__sign { display: grid; gap: 2px; margin: 34px 0 40px !important; }
.story__sign em { font-family: var(--display); font-size: 32px; color: var(--ink); line-height: 1.2; }
.story__sign span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.story__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* ---------- pied ---------- */

.foot { padding: 0 var(--pad) calc(env(safe-area-inset-bottom) + 26px); border-top: 1px solid var(--line); overflow: clip; }
.foot__mark {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(74px, 18.6vw, 330px);
  line-height: .9;
  letter-spacing: -.028em;
  text-align: center;
  white-space: nowrap;
  padding: clamp(30px, 6vh, 70px) 0 clamp(44px, 7vh, 90px);
}
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.foot__links { display: inline-flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__links a { color: var(--ink-2); }
.foot__links a:hover { color: var(--gold); }

/* ---------- feuilles : inventaire et notice ---------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .7s var(--ease), visibility .7s;
}
.sheet.is-open { opacity: 1; visibility: visible; transform: none; }
.sheet__inner { max-width: 1500px; margin: 0 auto; padding: clamp(26px, 5vh, 60px) var(--pad) 90px; }

.inventory__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.inventory h2 { font-size: clamp(48px, 8vw, 120px); margin: 10px 0 14px; }
.inventory__lead { max-width: 50ch; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(26px, 5vh, 46px) 0 clamp(26px, 5vh, 50px); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filters button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters .filters__only { margin-left: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 42vw), 1fr)); gap: clamp(30px, 5vh, 54px) clamp(14px, 1.8vw, 28px); align-items: start; }
.grid__empty { grid-column: 1 / -1; padding: 50px 0; color: var(--ink-3); }

.notice { z-index: 70; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); overflow: hidden; }
.notice__close { position: absolute; right: var(--pad); top: 18px; z-index: 3; background: var(--paper); }
.notice__stage { position: relative; min-height: 0; background: var(--plate); transition: background .5s; }
.notice.is-dark .notice__stage { background: #141312; }
.notice__img { position: absolute; inset: 0; overflow: hidden; cursor: zoom-in; }
.notice__img.is-zoomed { cursor: zoom-out; }
.notice__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.08) saturate(.97);
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transition: transform .6s var(--ease), opacity .5s;
}
.notice__img.is-zoomed img { transform: scale(2.4); transition: transform .6s var(--ease), opacity .5s, transform-origin 0s; }
.notice.is-contain .notice__img img { object-fit: contain; padding: clamp(18px, 5vh, 64px); }
.notice.is-contain:not(.is-dark) .notice__img img { mix-blend-mode: multiply; }
.notice__thumbs { position: absolute; left: clamp(16px, 2.4vw, 34px); bottom: clamp(16px, 3vh, 30px); z-index: 2; display: flex; gap: 10px; }
.notice__thumbs button { width: 66px; height: 66px; overflow: hidden; outline: 3px solid var(--paper); opacity: .8; transition: opacity .3s, outline-color .3s; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5); }
.notice__thumbs button.is-on, .notice__thumbs button:hover { opacity: 1; }
.notice__thumbs button.is-on { outline-color: var(--ink); }
.notice__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.notice__body { overflow-y: auto; padding: clamp(80px, 13vh, 150px) clamp(22px, 4.4vw, 76px) 50px; }
.notice__body h2 { font-size: clamp(34px, 3.7vw, 58px); font-weight: 400; line-height: 1.04; margin: 18px 0 18px; }
.state { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5f8f58; }
.state.is-sold::before { background: var(--seal); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 0 26px; margin: 30px 0 8px; border-top: 1px solid var(--line); }
.specs dt, .specs dd { padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); padding-top: 17px; }
.specs dd { font-size: 16px; }
.notice__price { font-family: var(--display); font-size: clamp(38px, 3.4vw, 52px); line-height: 1; margin: 26px 0 22px; font-variant-numeric: lining-nums; }
.notice__price.is-sold { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.notice .btn { width: 100%; }
.notice__note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.notice__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- écrans moyens et petits ---------- */

@media (max-width: 980px) {
  .top { grid-template-columns: 1fr auto auto; gap: 14px; }
  .top__nav a { display: none; }
  .chapter, .chapter:nth-child(even) { grid-template-columns: 1fr; gap: 34px; }
  .chapter:nth-child(even) .chapter__aside { order: 0; }
  .chapter__aside { position: relative; top: 0; }
  .chapter__cover { aspect-ratio: 16 / 11; max-height: none; border-radius: 0; }
  .chapter__num, .chapter:nth-child(even) .chapter__num { left: auto; right: 12px; top: auto; bottom: -.2em; color: var(--paper); mix-blend-mode: normal; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
  .origins, .story__grid { grid-template-columns: 1fr; }
  .origins__globe { order: -1; max-width: 520px; }
  .notice { grid-template-columns: 1fr; grid-template-rows: minmax(0, 48vh) minmax(0, 1fr); }
  .notice__thumbs button { width: 52px; height: 52px; }
  .notice__body { padding: 28px var(--pad) 40px; }
  .notice__close { top: 12px; }
}

@media (max-width: 640px) {
  :root { --bar: 62px; }
  .top__shop { display: none; }
  .hero__title { font-size: 21.5vw; }
  .loggia { grid-template-columns: 1fr 2.3fr 1fr; gap: 8px; width: calc(100% + 2 * var(--pad)); margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); }
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plates .pcard:nth-child(3n + 2) { margin-top: 0; }
  .plates .pcard:nth-child(2n) { margin-top: 26px; }
  .rotunda { --pw: 56vw; }
  .rotunda__info { width: 100%; }
  .rotunda__bar .round { display: none; }
  .places { columns: 1; }
  .filters .filters__only { margin-left: 0; }
  .story__body p { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ================================================================== LE VOYAGE */

:root { --sea: #0d1826; --sea-2: #16283c; }
[hidden] { display: none !important; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- barre : la malle ---------- */

.top__malle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: color .3s;
}
.top__malle:hover { color: var(--gold); }
.top__malle b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: lining-nums;
  transition: background .4s, color .4s, border-color .4s;
}
.top__malle b.is-full { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- ouverture : portulan ---------- */

.hero > * { position: relative; z-index: 1; }
.hero > .hero__title { z-index: 2; }
.hero > .hero__rhumbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 45%, transparent 96%);
  mask-image: linear-gradient(#000 45%, transparent 96%);
}
.hero__rhumbs line, .hero__rhumbs circle { vector-effect: non-scaling-stroke; }
.hero__rhumbs .rhumb {
  stroke: var(--ink);
  stroke-width: .8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset 2.8s var(--ease), opacity 1.2s;
}
.hero__rhumbs .r1 { stroke: var(--gold-bright); --o: .6; }
.hero__rhumbs .r2 { --o: .17; }
.hero__rhumbs .r3 { --o: .09; }
body.is-ready .hero__rhumbs .rhumb { stroke-dashoffset: 0; opacity: var(--o); }
.hero__rhumbs .ring { fill: none; stroke: var(--gold-bright); stroke-width: .8; opacity: .6; }
.hero__rhumbs .dot { fill: var(--gold-bright); opacity: .8; }
.hero__rhumbs .tick { stroke: var(--gold-bright); stroke-width: .8; opacity: .6; }

.hero__coords {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: clamp(16px, 2.6vh, 28px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-variant-numeric: lining-nums;
  opacity: 0;
  transition: opacity 1.2s .9s;
}
.hero__coords i { font-style: normal; font-size: 9px; color: var(--gold-bright); }
body.is-ready .hero__coords { opacity: 1; }

/* ---------- la mer ---------- */

.sea {
  position: relative;
  display: grid;
  align-content: center;
  gap: clamp(14px, 2.4vh, 26px);
  height: clamp(300px, 56vh, 560px);
  overflow: hidden;
}
#waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.sea__eyebrow { position: relative; text-align: center; }
.marquee { position: relative; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.marquee__track > * { margin-right: clamp(22px, 3vw, 54px); }
.marquee__track span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(62px, 10.5vw, 172px);
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--paper);
  -webkit-text-stroke: 1px var(--ink);
  paint-order: stroke fill;
}
.marquee__track i { font-style: normal; font-size: clamp(16px, 1.9vw, 30px); color: var(--gold-bright); }

/* ---------- les routes du monde : nuit et étoiles ---------- */

.origins {
  position: relative;
  overflow: hidden;
  background: radial-gradient(110% 90% at 72% 42%, var(--sea-2) 0, var(--sea) 62%);
}
.origins > * { position: relative; z-index: 1; }
.origins > .origins__stars { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.globe__label { background: var(--night-text); color: var(--sea); font-variant-numeric: lining-nums; }

/* ---------- la boussole ---------- */

.compass {
  position: fixed;
  right: clamp(14px, 2.4vw, 34px);
  bottom: calc(env(safe-area-inset-bottom) + clamp(14px, 2.4vw, 30px));
  z-index: 45;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(236, 232, 225, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -14px rgba(25, 22, 19, .55);
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease), background .4s;
}
.compass.is-on { opacity: 1; transform: none; pointer-events: auto; }
.compass svg { display: block; width: 100%; height: 100%; }
.compass__track { fill: none; stroke: var(--line); stroke-width: 1; }
.compass__prog { fill: none; stroke: var(--gold); stroke-width: 1.5; transform: rotate(-90deg); transform-origin: 32px 32px; }
#compassRose { transform-origin: 32px 32px; }
.compass__thin { fill: none; stroke: var(--ink); stroke-width: .7; transition: stroke .4s; }
.compass__n { fill: var(--seal); }
.compass__s { fill: var(--ink); transition: fill .4s; }
.compass:hover { background: var(--ink); }
.compass:hover .compass__thin { stroke: var(--paper); }
.compass:hover .compass__s { fill: var(--paper); }
.compass:hover .compass__prog { stroke: var(--gold-bright); }
body.is-locked .compass { opacity: 0; pointer-events: none; }

/* ---------- l'itinéraire ---------- */

.itinerary { z-index: 75; background: radial-gradient(120% 90% at 80% 10%, var(--sea-2) 0, var(--sea) 60%); color: var(--night-text); }
.itinerary .eyebrow { color: var(--gold-bright); }
.itinerary__close { position: absolute; right: var(--pad); top: 18px; z-index: 2; color: var(--night-text); border-color: rgba(233, 228, 218, .28); }
.itinerary__close:hover { background: var(--night-text); border-color: var(--night-text); color: var(--sea); }
.itinerary__inner { display: grid; align-content: center; gap: 26px; min-height: 100%; max-width: 1180px; margin: 0 auto; padding: 96px var(--pad) 60px; }
.itinerary__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(30px, 6vw, 90px); }
.itinerary__list li { break-inside: avoid; }
.itinerary__list button {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  padding: 11px 0 12px;
  border-bottom: 1px solid rgba(233, 228, 218, .13);
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(25px, 3.1vw, 44px);
  line-height: 1.12;
  color: inherit;
  transition: color .3s, padding .45s var(--ease);
}
.itinerary__list i { flex: none; min-width: 30px; font-style: italic; font-size: 17px; color: var(--gold-bright); }
.itinerary__list button:hover { color: var(--gold-bright); padding-left: 10px; }
.itinerary__foot { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 12px; }
.itinerary__foot > * { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(233, 228, 218, .7); min-height: 40px; display: inline-flex; align-items: center; transition: color .3s; }
.itinerary__foot > *:hover { color: var(--gold-bright); }

/* ---------- la malle ---------- */

.scrim { position: fixed; inset: 0; z-index: 79; background: rgba(13, 24, 38, .5); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.malle {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(480px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .55);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform .75s var(--ease), visibility .75s;
}
.malle.is-open { transform: none; visibility: visible; }
.malle__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: calc(env(safe-area-inset-top) + 24px) 28px 18px; border-bottom: 1px solid var(--line); }
.malle__head h2 { font-size: 40px; margin-top: 6px; }
.malle__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px; }
.malle__list { list-style: none; margin: 0; padding: 0; }
.mitem { display: grid; grid-template-columns: 78px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mitem__img { width: 78px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--plate); }
.mitem__img.is-dark { background: #141312; }
.mitem__img img { width: 100%; height: 100%; object-fit: cover; }
.mitem__no { font-size: 10px; font-weight: 500; letter-spacing: .24em; color: var(--gold); }
.mitem__title { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.15; margin: 4px 0; text-wrap: balance; }
.mitem__sub { font-size: 12px; color: var(--ink-3); }
.mitem__right { display: grid; justify-items: end; gap: 10px; font-size: 15px; font-variant-numeric: lining-nums; white-space: nowrap; }
.mitem__rm { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.mitem__rm:hover { color: var(--seal); border-color: var(--seal); }
.malle__empty { display: grid; gap: 20px; justify-items: start; padding: 46px 0; color: var(--ink-2); }
.malle__foot { display: grid; gap: 14px; padding: 18px 28px calc(env(safe-area-inset-bottom) + 22px); border-top: 1px solid var(--line); background: var(--paper-2); }
.malle__zone { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.malle__zone select { font: 15px var(--text); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); }
.malle__sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; font-size: 15px; font-variant-numeric: lining-nums; }
.malle__sum dd { margin: 0; text-align: right; }
.malle__sum .is-total { padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 26px; line-height: 1.2; }
.malle__cgv { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.malle__cgv input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.malle__cgv a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.malle__err { margin: 0; font-size: 14px; color: var(--seal); }
.malle__note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.malle .btn { width: 100%; }
.notice__see { margin-top: 16px; }

/* ---------- le curseur ---------- */

.cursor { position: fixed; left: 0; top: 0; z-index: 95; width: 0; height: 0; pointer-events: none; }
.cursor span {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(.2);
  transform-origin: 0 0;
  transition: transform .45s var(--ease), opacity .3s;
}
.cursor.is-on span { opacity: .95; transform: scale(1); }
.cursor.is-down span { transform: scale(.84); }

@media (max-width: 980px) {
  .compass { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 640px) {
  .top__nav { display: none; }
  .top { grid-template-columns: 1fr auto; }
  .brand { opacity: 0; }
  .top.is-scrolled .brand { opacity: 1; }
  .itinerary__list { columns: 1; }
  .malle__head, .malle__foot { padding-left: 20px; padding-right: 20px; }
  .malle__body { padding: 0 20px; }
  .sea { height: clamp(240px, 40vh, 340px); }
}

/* ================================================================== L'ACCROCHAGE ET LE CARNET DE ROUTE */

/* ---------- ouverture : un accrochage en profondeur ---------- */

.salon {
  position: relative;
  width: min(1380px, 100%);
  aspect-ratio: 100 / 52;
  margin: clamp(34px, 6vh, 76px) auto clamp(40px, 7vh, 90px);
}
.salon__f {
  position: absolute;
  margin: 0;
  transform: translate3d(var(--tx, 0px), calc(var(--ty, 0px) + var(--sy, 0px)), 0);
  will-change: transform;
}
.salon__f .ph {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper-2);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.6s var(--ease);
}
body.is-ready .salon__f .ph { clip-path: inset(0 0 0 0); }
.salon__f img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
body.is-ready .salon__f img { transform: scale(1); }
.salon__f figcaption {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  text-align: left;
  opacity: 0;
  transition: opacity 1s 1.6s;
}
body.is-ready .salon__f figcaption { opacity: 1; }

.s-main { left: 27%; top: 0; width: 40%; height: 100%; z-index: 2; }
.s-main .ph { border-radius: 999px 999px 0 0; transition-delay: .35s; }
.s-sea { left: 2.5%; top: 20%; width: 19%; height: 64%; z-index: 1; }
.s-sea .ph { transition-delay: .6s; }
.s-geo { left: 82%; top: 27%; width: 15.5%; height: 66%; z-index: 1; }
.s-geo .ph { border-radius: 999px 999px 0 0; transition-delay: .75s; }
.s-star { left: 59.5%; top: -7%; width: 23%; aspect-ratio: 1; z-index: 4; filter: drop-shadow(0 24px 34px rgba(25, 22, 19, .34)); }
.s-star .ph { border-radius: 50%; clip-path: circle(0% at 50% 50%); transition: clip-path 1.5s var(--ease) .95s; }
body.is-ready .s-star .ph { clip-path: circle(50% at 50% 50%); }
.s-star img, body.is-ready .s-star img { transform: scale(1.22) rotate(var(--rot, 0deg)); transition: none; }
.s-map { left: 60.5%; top: 79%; width: 17%; aspect-ratio: 4 / 3; z-index: 4; box-shadow: 0 26px 44px -22px rgba(25, 22, 19, .6); }
.s-map .ph { transition-delay: 1.1s; }
.s-geo figcaption { left: auto; right: 0; }

/* ---------- carnet de route ---------- */

.route { position: relative; }
.route__eyebrow { margin-bottom: 4px; }
.stop { position: relative; }
.stop figure { margin: 0; position: relative; }
.stop figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stop figcaption, .stop__cap { margin-top: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.stop__num { display: block; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(44px, 4.6vw, 76px); line-height: 1; color: var(--gold); }
.stop h3 { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 84px); line-height: 1; letter-spacing: -.012em; margin: 6px 0 18px; }
.stop__text p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 34ch; }
.stop__text .textlink { margin-top: 22px; }
.stop--etoiles { color: var(--night-text); }
.stop--etoiles .stop__main { border-radius: 50%; overflow: hidden; aspect-ratio: 1; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.stop--etoiles .stop__main img { transform: scale(1.22) rotate(var(--rot, 0deg)); }
.stop--etoiles .stop__text p { color: rgba(233, 228, 218, .74); }
.stop--etoiles .stop__cap { color: rgba(233, 228, 218, .5); margin-top: 22px; }
.stop--etoiles .stop__num { color: var(--gold-bright); }
.stop--cabinet .stop__main { background: var(--paper); isolation: isolate; }
.stop--cabinet .stop__main img { object-fit: contain; mix-blend-mode: multiply; }
.stop--pierres .stop__side { border-radius: 999px 999px 0 0; overflow: hidden; }
.route__bar { display: flex; align-items: center; gap: 18px; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--ink-2); }
.route__line { position: relative; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 4px, transparent 4px 10px); }
.route__line i { position: absolute; left: calc(var(--p, 0) * 100%); top: 50%; transform: translate(-50%, -52%); font-style: normal; font-size: 15px; color: var(--gold); background: var(--paper); padding: 0 8px; }

/* défilement horizontal : écrans larges en paysage */
@media (min-width: 1000px) and (min-aspect-ratio: 5/4) {
  .route__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .route__eyebrow { position: absolute; left: var(--pad); top: calc(var(--bar) + 2vh); z-index: 3; }
  .route__track { display: flex; height: 100%; padding-left: var(--pad); will-change: transform; }
  .route__bar { position: absolute; left: var(--pad); right: calc(var(--pad) + 90px); bottom: 4.5vh; z-index: 3; }
  .stop { flex: none; height: 100%; margin-right: 9vw; }
  .stop > *, .stop > figure { position: absolute; }

  .stop--venise { width: 92vw; }
  .stop--venise .stop__main { left: 0; top: 17vh; width: 62vw; height: 58vh; }
  .stop--venise .stop__text { left: 66vw; bottom: 22vh; width: 24vw; }

  .stop--mer { width: 80vw; }
  .stop--mer .stop__main { left: 0; top: 13vh; width: 34vw; height: 68vh; }
  .stop--mer .stop__side { left: 28vw; top: 52vh; width: 24vw; height: 18vw; z-index: 2; box-shadow: 0 30px 50px -26px rgba(25, 22, 19, .65); }
  .stop--mer .stop__text { left: 57vw; top: 20vh; width: 22vw; }

  .stop--route { width: 98vw; }
  .stop--route .stop__text { left: 0; top: 19vh; width: 21vw; }
  .stop--route .stop__main { left: 24vw; top: 19vh; width: 56vw; height: 54vh; }
  .stop--route .stop__side { left: 71vw; top: 53vh; width: 24vw; height: 17.4vw; z-index: 2; box-shadow: 0 30px 50px -26px rgba(25, 22, 19, .65); }

  .stop--pierres { width: 76vw; }
  .stop--pierres .stop__text { left: 0; top: 15vh; width: 30vw; }
  .stop--pierres .stop__main { left: 0; top: 47vh; width: 44vw; height: 34vh; }
  .stop--pierres .stop__side { left: 49vw; top: 13vh; width: 23vw; height: 68vh; }

  .stop--etoiles { width: 88vw; }
  .stop--etoiles::before { content: ""; position: absolute; left: 0; right: 0; top: 14vh; bottom: 14vh; background: radial-gradient(90% 90% at 30% 50%, var(--sea-2) 0, var(--sea) 70%); }
  .stop--etoiles .stop__main { left: 6vw; top: 50%; width: min(60vh, 38vw); transform: translateY(-51%); }
  .stop--etoiles .stop__text { left: 50vw; top: 50%; width: 30vw; transform: translateY(-55%); }

  .stop--cabinet { width: 92vw; margin-right: var(--pad); }
  .stop--cabinet .stop__main { left: 0; top: 16vh; width: 50vw; height: 62vh; }
  .stop--cabinet .stop__main figcaption { position: absolute; left: 0; top: 100%; }
  .stop--cabinet .stop__side { left: 55vw; top: 13vh; width: 17vw; height: 24vw; }
  .stop--cabinet .stop__text { left: 55vw; bottom: 17vh; width: 30vw; }
  .stop--cabinet .stop__num { display: none; }
}

/* écrans étroits ou en portrait : les étapes se suivent à la verticale */
@media not ((min-width: 1000px) and (min-aspect-ratio: 5/4)) {
  .route { padding: clamp(30px, 6vh, 70px) var(--pad) 0; }
  .route__bar { display: none; }
  .stop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: clamp(34px, 6vh, 60px) 0; border-top: 1px solid var(--line); }
  .stop__text { order: -1; }
  .stop__main { aspect-ratio: 4 / 3; }
  .stop__side { width: 62%; aspect-ratio: 4 / 3; margin-left: auto !important; margin-top: -60px !important; z-index: 2; box-shadow: 0 24px 40px -22px rgba(25, 22, 19, .6); }
  .stop figcaption { white-space: normal; }
  .stop--mer .stop__main, .stop--pierres .stop__side { aspect-ratio: 3 / 4; }
  .stop--etoiles { background: radial-gradient(90% 90% at 30% 40%, var(--sea-2) 0, var(--sea) 70%); margin: 0 calc(-1 * var(--pad)); padding: clamp(40px, 7vh, 70px) var(--pad); border-top: 0; }
  .stop--etoiles .stop__main { width: min(78%, 420px); margin: 0 auto; }
  .stop--cabinet .stop__main { aspect-ratio: 4 / 3; }
  .stop--cabinet .stop__side { width: 40%; aspect-ratio: 3 / 4; }

  .salon { aspect-ratio: 100 / 118; margin-bottom: 30px; }
  .s-main { left: 9%; top: 0; width: 82%; height: 62%; }
  .s-star { left: 54%; top: 47%; width: 44%; }
  .s-sea { left: 0; top: 58%; width: 46%; height: 40%; }
  .s-geo, .s-map { display: none; }
  .salon__f figcaption { display: none; }
}

/* ---------- la maison : arche et médaillon ---------- */

.story { padding-top: clamp(40px, 8vh, 110px); }
.story__grid { align-items: center; }
.story__art { position: relative; padding: 0 8% 12% 0; }
.story__arch { aspect-ratio: 10 / 13; }
.story__inset { position: absolute; right: 0; bottom: 0; width: 46%; margin: 0; z-index: 2; box-shadow: 0 30px 50px -26px rgba(25, 22, 19, .65); }
.story__inset img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 62%; }
.story__inset figcaption { position: absolute; left: 0; top: calc(100% + 8px); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.story__body h2 { margin: 14px 0 30px; }

/* ---------- notice : description et toutes les photographies ---------- */

.notice__thumbs { right: clamp(16px, 2.4vw, 34px); overflow-x: auto; padding: 4px; scrollbar-width: none; }
.notice__thumbs::-webkit-scrollbar { display: none; }
.notice__thumbs button { flex: none; }
.notice__desc { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.notice__desc h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; margin-bottom: 18px; }
.notice__descnote { font-size: 12px; color: var(--ink-3); margin: 6px 0 18px; }
.notice__desc #nDesc p { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); margin-bottom: 12px; }
.notice__desc #nDesc p.is-spec { margin-bottom: 4px; color: var(--ink); }

@media (max-width: 980px) {
  .story__art { max-width: 520px; }
}

/* ---------- questions fréquentes ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(26px, 6vw, 110px);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(60px, 11vh, 140px) var(--pad);
  border-top: 1px solid var(--line);
}
.faq__head { display: grid; gap: 16px; align-content: start; position: sticky; top: calc(var(--bar) + 30px); align-self: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.2;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }
.faq__item summary i { flex: none; position: relative; width: 16px; height: 16px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__item p { padding: 0 40px 24px 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); max-width: 62ch; }
.faq__more { margin-top: 30px; color: var(--ink-2); }
.faq__more .textlink { margin-left: 6px; letter-spacing: .08em; text-transform: none; font-size: 15px; }
@media (max-width: 980px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ---------- la mappemonde des provenances ---------- */

.origins { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
.origins__map { position: sticky; top: calc(var(--bar) + 20px); perspective: 1600px; }
.carte {
  position: relative;
  margin: 0;
  padding: clamp(6px, .8vw, 12px);
  background: linear-gradient(135deg, #d9bb5e, #8a6d1f 45%, #e3c877 70%, #7a5f18);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4);
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
  transition: transform .6s var(--ease);
  cursor: crosshair;
}
.carte img { display: block; width: 100%; aspect-ratio: 1300 / 913; object-fit: cover; }
.carte__svg, .carte__marks { position: absolute; inset: clamp(6px, .8vw, 12px); }
.carte__svg { width: calc(100% - 2 * clamp(6px, .8vw, 12px)); height: calc(100% - 2 * clamp(6px, .8vw, 12px)); pointer-events: none; overflow: visible; }
.carte__route, .carte__glow { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.carte__glow { stroke: rgba(255, 248, 225, .9); stroke-width: 6; }
.carte__route { stroke: #7a1410; stroke-width: 2.2; stroke-dasharray: 9 7; animation: route 1.1s linear infinite; }
@keyframes route { to { stroke-dashoffset: -16; } }
.cmark {
  position: absolute;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  padding: 0;
  border-radius: 50%;
  background: #8c231c;
  box-shadow: 0 0 0 2px rgba(255, 248, 225, .95), 0 2px 6px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease), background .3s;
}
.cmark::after { content: ""; position: absolute; inset: -11px; border-radius: 50%; }
.cmark:hover, .cmark.is-on { transform: scale(1.7); background: #c2a448; z-index: 2; }
.cmark--home { width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px; background: #191613; box-shadow: 0 0 0 2px #e3c877, 0 0 0 5px rgba(25, 22, 19, .35); pointer-events: none; }
.carte__lens {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #1b1611;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 3px #d9bb5e, 0 0 0 5px #4a3a10, 0 26px 50px -14px rgba(0, 0, 0, .8), inset 0 0 26px rgba(0, 0, 0, .35);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.carte__lens.is-on { opacity: 1; }
.carte__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 26px; margin-top: 18px; }
.carte__info { font-family: var(--display); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); color: rgba(233, 228, 218, .6); font-variant-numeric: lining-nums; transition: color .3s; }
.carte__info.is-on { color: #e3c877; }
.carte__cap { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(233, 228, 218, .42); }
@media (max-width: 980px) {
  .origins { grid-template-columns: 1fr; }
  .origins__map { position: static; order: -1; }
  .cmark { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
}

/* ================================================================== COHÉRENCE MOBILE */

/* provenances : titre, carte et liste des terres sont trois blocs que l'on réordonne selon l'écran */
.origins { grid-template-areas: "text map" "list map"; grid-template-rows: auto 1fr; row-gap: clamp(24px, 4vh, 44px); }
.origins__text { grid-area: text; }
.origins__map { grid-area: map; }
.origins__list { grid-area: list; }
.origins .places { margin-top: 0; }

@media (max-width: 980px) {
  .origins { grid-template-areas: "text" "map" "list"; grid-template-rows: auto; }
  .origins__map { order: 0; }

  /* couvertures des collections : l'image entière, sans recadrage */
  .chapter__cover { aspect-ratio: auto; overflow: hidden; }
  .chapter__cover img { position: static; width: 100%; height: auto; max-height: 78vh; object-fit: cover; object-position: 50% 20%; transform: none; }

  .story { padding-top: 0; }
  .story__grid { padding-top: clamp(40px, 8vh, 70px); }
  .story__art { width: 100%; max-width: 520px; margin: 0 auto; justify-self: center; }
}

@media (max-width: 700px) {
  /* la carte se parcourt du doigt : elle déborde de l'écran et défile à l'horizontale */
  .carte__scroll { overflow: visible; margin: 0; padding: 0; }
  .carte { width: 100%; transform: none; padding: 4px; }
  .carte__svg, .carte__marks { inset: 4px; }
  .carte__svg { width: calc(100% - 8px); height: calc(100% - 8px); }
  .carte__lens { display: none; }
  .cmark { width: 8px; height: 8px; margin: -4px 0 0 -4px; box-shadow: 0 0 0 1.5px rgba(255, 248, 225, .95), 0 1px 3px rgba(0, 0, 0, .5); }
  .cmark::after { inset: -9px; }
  .cmark--home { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
  .carte__route { stroke-width: 1.6; }
  .carte__foot { margin-top: 8px; }
}

/* carnet de route à la verticale : plus de chevauchement, chaque image garde sa légende lisible */
@media not ((min-width: 1000px) and (min-aspect-ratio: 5/4)) {
  .stop { gap: 18px; }
  .stop__side { width: 68%; margin-top: 0 !important; box-shadow: none; }
  .stop--mer .stop__side, .stop--route .stop__side { aspect-ratio: 4 / 3; }
  .stop--pierres .stop__side { width: 58%; }
  .stop--cabinet .stop__side { width: 46%; }
  .stop--cabinet .stop__main { aspect-ratio: 4 / 3; }
  .stop figcaption { white-space: normal; line-height: 1.5; }
  .stop__text p { max-width: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--bar) + 2vh); }
  .manifesto { padding-top: 70px; padding-bottom: 60px; }
  .facts { gap: 26px 34px; margin-top: 50px; }
  .selection { padding-top: 60px; padding-bottom: 50px; }
  .rotunda { height: calc(var(--pw) * 1.25 + 90px); }
  .rotunda__info { min-height: 0; }
  .chapter { padding: 54px 0; gap: 26px; }
  .chapter__head { margin-bottom: 26px; }
  .chapter__sub { font-size: 16px; }
  .pcard__meta { grid-template-columns: 1fr; }
  .pcard__price { padding-top: 0; }
  .origins { padding-top: 70px; padding-bottom: 70px; }
  .origins .places button { padding: 11px 0; font-size: 15px; }
  .faq { padding-top: 60px; padding-bottom: 60px; }
  .faq__item p { padding-right: 0; }
  .foot__row { flex-direction: column; }
  .foot__links { gap: 10px 20px; }
  .notice__body h2 { font-size: 30px; }
  .notice__body { padding-top: 22px; }
  .specs { gap: 0 16px; }
  .inventory h2 { font-size: 46px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compass { width: 54px; height: 54px; }
}

/* ================================================================== la page ne glisse plus de côté (téléphones) */
/* « clip » coupe ce qui dépasse sans créer de zone de défilement, et laisse fonctionner les éléments collants. */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body { max-width: 100%; overscroll-behavior-x: none; }
@media (max-width: 980px) {
  main, section, footer { max-width: 100vw; }
  .salon, .rotunda, .route, .sea { overflow-x: clip; }
}

/* ---------- chapitres : le grand chiffre ne passe plus sous l'en-tête ---------- */
/* L'image et son chiffre restent fixés pendant que les pièces défilent ; le chiffre dépasse au-dessus de l'image
   d'environ 0,42 fois sa taille : on décale d'autant le point d'arrêt, et l'image se réduit pour tenir à l'écran. */
@media (min-width: 981px) {
  .chapter__aside { --num: clamp(90px, 11vw, 190px); top: calc(var(--bar) + 18px + var(--num) * .42); }
  .chapter__num { font-size: var(--num); }
  .chapter__cover { max-height: calc(100vh - var(--bar) - 18px - var(--num) * .42 - 28px); }
}

/* ================================================================== l'emblème de la maison */
.brand { opacity: 1; display: inline-flex; align-items: center; gap: 12px; }
.brand__emb { width: 34px; height: auto; }
.brand span { opacity: 0; transition: opacity .5s; }
.top.is-scrolled .brand span { opacity: 1; }
.hero__emb { display: block; width: clamp(66px, 6.4vw, 96px); height: auto; margin: 0 auto 18px; justify-self: center; align-self: center; opacity: 0; transform: translateY(10px); transition: opacity 1.2s var(--ease) .2s, transform 1.2s var(--ease) .2s; }
body.is-ready .hero__emb { opacity: 1; transform: none; }
.loader { grid-auto-flow: row; align-content: center; gap: 14px; }
.loader__emb { width: 74px; height: auto; animation: breathe 1.6s ease-in-out infinite; }
.foot__emb { display: block; width: clamp(80px, 8vw, 120px); height: auto; margin: clamp(40px, 7vh, 80px) auto 0; }
.foot__mark { padding-top: clamp(14px, 2vh, 24px) !important; }
@media (max-width: 914px) { .brand { opacity: 1 !important; } .brand span { opacity: 0; } .top.is-scrolled .brand span { opacity: 1; } .brand__emb { width: 28px; } }

/* ================================================================== nous écrire */
.contact { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(25, 22, 19, .6); }
.contact::backdrop { background: rgba(25, 22, 19, .45); backdrop-filter: blur(3px); }
.contact__form { position: relative; display: grid; gap: 14px; padding: clamp(26px, 4vw, 40px); }
.contact__form h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; }
.contact__form .eyebrow { margin: 0; }
.contact__form label { display: grid; gap: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.contact__form input, .contact__form textarea { font: 16px/1.5 var(--text); color: var(--ink); padding: 11px 12px; border: 1px solid var(--line); background: #f7f4ee; border-radius: 0; width: 100%; text-transform: none; letter-spacing: 0; }
.contact__form textarea { resize: vertical; min-height: 130px; }
.contact__form input:focus, .contact__form textarea:focus { outline: 1px solid var(--gold); outline-offset: 0; }
.contact__piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__statut { margin: 0; padding: 12px 14px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line); background: #f7f4ee; }
.contact__statut[data-tone="ok"] { border-color: #5d7a4a; background: rgba(120, 160, 100, .12); }
.contact__statut[data-tone="err"] { border-color: #8c231c; background: rgba(140, 35, 28, .07); }
.contact__alt { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.contact__alt a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact__alt .textlink { font-size: 13px; }
.contact__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink-3); cursor: pointer; }
.contact__close:hover { color: var(--ink); }
.notice__ask { margin-top: 6px; }

/* ================================================================== « La maison » : une page de carnet de voyage */
/* Texte écrit à l'encre (Cedarville Cursive), signature à la plume (Mrs Saint Delafield), sur papier vieilli. */
@font-face { font-family: 'Cedarville Cursive'; font-display: swap; src: url('assets/fonts/manuscrit/CedarvilleCursive.woff2') format('woff2'); }
@font-face { font-family: 'Mrs Saint Delafield'; font-display: swap; src: url('assets/fonts/manuscrit/MrsSaintDelafield.woff2') format('woff2'); }
.carnet {
  position: relative; max-width: 620px; margin: 6px 0 40px; padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3.2vw, 44px) clamp(26px, 3vw, 40px);
  background:
    radial-gradient(circle at 84% 12%, rgba(150, 110, 50, .10) 0 34px, transparent 70px),
    radial-gradient(circle at 10% 90%, rgba(140, 100, 40, .09) 0 46px, transparent 90px),
    radial-gradient(ellipse at 50% 45%, rgba(255, 252, 240, .55), transparent 70%),
    repeating-linear-gradient(0deg, rgba(120, 95, 50, .035) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, #efe3c8, #e8dabb 55%, #dfcda6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 26px 44px -28px rgba(60, 40, 10, .55), 0 0 0 1px rgba(120, 95, 50, .18);
  transform: rotate(-.5deg);
}
.carnet::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 62%, rgba(110, 80, 30, .22) 100%); }
.story__body .carnet .carnet__t {
  font-family: 'Cedarville Cursive', 'Segoe Script', cursive; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.75;
  color: #2b2118; text-shadow: 0 0 .6px rgba(43, 33, 24, .55); margin: 0 0 16px; max-width: none;
}
.story__body .carnet .carnet__t::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.carnet__sig { display: grid; gap: 2px; margin: 18px 0 0 !important; }
.carnet__sig em { font-family: 'Mrs Saint Delafield', cursive; font-style: normal; font-size: clamp(44px, 4vw, 58px); line-height: 1; color: #1f1812; }
.carnet__sig span { font: 11px var(--text); letter-spacing: .26em; text-transform: uppercase; color: #6d5c44; }
@media (max-width: 640px) { .carnet { transform: none; margin-left: -4px; margin-right: -4px; } }
