/* Le Café des Pages : design system */
:root {
  --paper: #f4ebdd;
  --cream: #faf7f1;
  --esp: #5b332b;
  --terra: #8f4d3e;
  --sage: #a7ad8f;
  --gold: #d1aa76;
  --ink: #2e1b17;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}
body {
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.lock {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--esp);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus {
  left: 0;
}
h1,
h2,
.logo,
.mark {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
  max-width: 16ch;
  margin-bottom: 1.5rem;
}
p {
  max-width: 58ch;
}
.note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--terra);
  margin-top: 1.25rem;
}

/* Boutons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--esp);
  border-radius: 2px;
  color: var(--esp);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--esp);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover,
.btn:focus-visible {
  color: var(--cream);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleY(1);
}
.btn-dark {
  background: var(--esp);
  color: var(--cream);
}
.btn-dark::before {
  background: var(--terra);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* En-tête */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem var(--pad);
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(91, 51, 43, 0.15);
}
.logo {
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--esp);
  font-style: italic;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
}
.nav a:not(.btn) {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100%/0 1px no-repeat;
  transition: background-size 0.35s var(--ease);
}
.nav a:not(.btn):hover {
  background-size: 100% 1px;
}
.nav .btn {
  min-height: 42px;
}
.burger {
  display: none;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.burger i {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--esp);
  transition: transform 0.4s var(--ease);
}
.burger i:first-child {
  top: 19px;
}
.burger i:last-child {
  top: 28px;
}
.burger[aria-expanded="true"] i:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.burger[aria-expanded="true"] i:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Sections */
.sec {
  padding: clamp(4.5rem, 11vw, 9rem) var(--pad);
}
.chap {
  font: italic 500 1.2rem var(--serif);
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
  max-width: none;
}
.chap b {
  font-style: normal;
  font-weight: 600;
  border: 1px solid currentColor;
  border-radius: 50%;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.4rem;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.chap::after {
  content: "";
  height: 1px;
  width: 4rem;
  background: currentColor;
  opacity: 0.4;
}

/* Photos et repli élégant */
.ph {
  position: relative;
  background: var(--c);
  overflow: hidden;
  min-height: 0;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(250, 247, 241, 0.45);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  font: italic 500 1.1rem var(--serif);
  color: rgba(250, 247, 241, 0.9);
}
.ph.has-img::after {
  display: none;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arch {
  border-radius: 999px 999px 0 0;
}
.js .rv {
  clip-path: none;
  transition: none;
}
.js .rv.in {
  clip-path: none;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  gap: 2rem;
  padding: 6.5rem var(--pad) 3rem;
  align-items: center;
}
.addr {
  font-size: 0.9rem;
  color: var(--terra);
  margin-bottom: 1.25rem;
}
h1 {
  font-size: clamp(3.4rem, 14vw, 9.5rem);
  line-height: 0.92;
  color: var(--esp);
}
.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.ln > span {
  display: block;
}
.js .ln > span {
  transform: none;
  transition: none;
}
.js.ready .ln > span {
  transform: none;
}
.js.ready .ln:nth-child(2) > span {
  transition-delay: 0.18s;
}
.it {
  font-style: italic;
  color: var(--terra);
}
.lead {
  font: italic 500 clamp(1.3rem, 2.6vw, 1.9rem)/1.3 var(--serif);
  margin-top: 1.75rem;
  max-width: 26ch;
}
.hero .arch {
  aspect-ratio: 3/4;
  width: min(100%, 420px);
  justify-self: end;
}
.js.ready .hero .rv {
  clip-path: none;
  transition: none;
}

/* Le lieu */
.lieu-grid {
  display: grid;
  gap: 2rem;
}
.pleasures {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}
.pleasures li {
  font: italic 500 clamp(1.4rem, 3vw, 2rem)/1.2 var(--serif);
  padding: 0.8rem 0;
  border-top: 1px solid rgba(91, 51, 43, 0.25);
}
.pleasures li:last-child {
  border-bottom: 1px solid rgba(91, 51, 43, 0.25);
}
.tall {
  aspect-ratio: 4/5;
}
.wide {
  aspect-ratio: 3/2;
}

/* Carte */
.carte {
  background: var(--paper);
}
.menu {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
.tabs {
  display: flex;
  gap: 0.5rem 1.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs button {
  flex: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.5rem 0;
  min-height: 48px;
  font: 500 1.5rem var(--serif);
  color: rgba(46, 27, 23, 0.6);
  cursor: pointer;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.tabs button:hover {
  color: var(--ink);
}
.tabs button[aria-selected="true"] {
  color: var(--terra);
  font-style: italic;
  border-color: var(--terra);
}
.panels li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(91, 51, 43, 0.25);
  animation: turn 0.6s var(--ease);
}
.panels ul {
  padding: 0;
}
.panels b {
  font: 500 clamp(1.7rem, 4vw, 2.6rem)/1.1 var(--serif);
  font-weight: 500;
}
.panels span {
  font-size: 0.9rem;
  color: rgba(46, 27, 23, 0.75);
}
@keyframes turn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
}

/* Librairie */
.libr {
  background: var(--esp);
  color: var(--paper);
}
.libr .chap,
.libr .note {
  color: var(--gold);
}
.sub {
  opacity: 0.85;
  max-width: 52ch;
}
.shelf {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  overflow-x: auto;
  padding: 3.5rem 0 0;
  margin-top: 2rem;
  border-bottom: 14px solid #3a1f19;
}
.bk {
  flex: none;
  height: var(--h);
  width: var(--w);
  background: var(--c);
  color: var(--t, #faf7f1);
  border: 0;
  border-radius: 2px 2px 0 0;
  writing-mode: vertical-rl;
  padding: 1rem 0;
  font: italic 500 1.05rem var(--serif);
  cursor: pointer;
  box-shadow:
    inset 5px 0 0 rgba(0, 0, 0, 0.18),
    inset 0 8px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.45s var(--ease);
}
.bk:hover,
.bk[aria-pressed="true"] {
  transform: translateY(-18px);
}
.libr :focus-visible {
  outline-color: var(--gold);
}
.bk-card {
  margin-top: 2rem;
  font: italic 500 clamp(1.3rem, 2.6vw, 1.8rem)/1.3 var(--serif);
  min-height: 3.2em;
}

/* Histoire */
.hist-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hist .arch {
  aspect-ratio: 4/5;
  width: min(100%, 380px);
}
.hist-txt p + p {
  margin-top: 1rem;
}
.hist-txt p:nth-of-type(1) {
  font: 500 clamp(1.4rem, 2.8vw, 1.9rem)/1.35 var(--serif);
}

/* Galerie */
.gal {
  background: var(--paper);
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.gal-grid .ph {
  min-height: 0;
}
.g1 {
  grid-column: 1/5;
  aspect-ratio: 4/5;
}
.g2 {
  grid-column: 5/7;
  aspect-ratio: 1;
  align-self: end;
}
.g3 {
  grid-column: 1/3;
  aspect-ratio: 1;
}
.g4 {
  grid-column: 3/7;
  aspect-ratio: 3/2;
  align-self: start;
}

/* Visite */
.visite {
  background: var(--sage);
}
.visite .chap {
  color: var(--esp);
}
.visite .note {
  color: var(--esp);
}
.visite-grid {
  display: grid;
  gap: 2rem;
}
address {
  font: 500 clamp(1.5rem, 3vw, 2.2rem)/1.3 var(--serif);
  font-style: normal;
}
.hours {
  margin-top: 1rem;
}
.visite .btn {
  border-color: var(--ink);
  color: var(--ink);
}
.visite .btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.visite .btn::before {
  background: var(--ink);
}
.visite .btn:hover,
.visite .btn:focus-visible {
  color: var(--cream);
}

/* Pied de page */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem var(--pad) 2.5rem;
  text-align: center;
}
.foot p {
  margin-inline: auto;
}
.mark {
  font-size: clamp(2.6rem, 10vw, 7rem);
  line-height: 1;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.small {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 2rem;
}

/* Bureau */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
  /* Le lieu — deux colonnes pleines puis une photo panoramique : aucun "trou" de grille */
  .lieu-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
    column-gap: clamp(2rem, 3.6vw, 4.25rem);
    row-gap: clamp(1.5rem, 2.4vw, 2.5rem);
    align-items: center;
  }
  .lieu-txt {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    min-width: 0;
  }
  .lieu-grid .tall {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    width: 100%;
    aspect-ratio: 1/1.07;
  }
  .lieu-grid .tall img {
    object-position: 50% 58%;
  }
  .lieu-grid .wide {
    grid-column: 1/-1;
    grid-row: 2;
    align-self: stretch;
    width: 100%;
    aspect-ratio: 2.35/1;
  }
  .lieu-grid .wide img {
    object-position: 50% 52%;
  }
  .menu {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
  }
  .tabs {
    flex-direction: column;
    overflow: visible;
  }
  .tabs button {
    text-align: left;
    font-size: 2rem;
  }
  .hist-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
  }
  .visite-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}
/* Mobile */
@media (max-width: 899px) {
  .burger {
    display: block;
  }
  .top {
    backdrop-filter: none;
    background: var(--cream);
  }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    padding: 5rem var(--pad) 2rem;
    background: var(--paper);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease);
    visibility: hidden;
  }
  .nav.open {
    clip-path: inset(0);
    visibility: visible;
  }
  .nav a:not(.btn) {
    font: 500 2.2rem/1.2 var(--serif);
  }
  .top {
    z-index: 70;
  }
  .nav {
    z-index: -1;
  }
  .hero {
    padding-top: 6rem;
  }
  .hero .arch {
    justify-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .js .rv {
    clip-path: none;
  }
  .js .ln > span {
    transform: none;
  }
}

/* V2 : finitions */
h1,
h2 {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
.nav {
  transition:
    clip-path 0.7s var(--ease),
    visibility 0s 0.7s;
}
.nav.open {
  transition:
    clip-path 0.7s var(--ease),
    visibility 0s;
}
.js .chap::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) 0.2s;
}
.js .chap.in::after {
  transform: none;
}
.ph figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font: italic 0.8rem var(--sans);
  color: var(--cream);
  background: rgba(46, 27, 23, 0.7);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}
.ph:not(.has-img) figcaption,
.portrait.has-img .initial {
  display: none;
}
.ph img {
  animation: fade 0.8s var(--ease);
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: italic 500 clamp(9rem, 32vw, 15rem)/1 var(--serif);
  color: rgba(250, 247, 241, 0.92);
}
.portrait::after {
  place-items: end center;
}
.panels .intro {
  font: italic 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.3 var(--serif);
  color: var(--terra);
  margin-bottom: 0.5rem;
}
.tabs button {
  color: rgba(46, 27, 23, 0.75);
}
.tabs button[aria-selected="true"] {
  color: var(--terra);
}
.shelf {
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.bk {
  scroll-snap-align: center;
  touch-action: manipulation;
  transform-origin: bottom left;
}
.bk[aria-pressed="true"] {
  transform: translateY(-20px) rotate(-2deg);
  box-shadow:
    inset 5px 0 0 rgba(0, 0, 0, 0.18),
    inset 0 8px 0 rgba(255, 255, 255, 0.12),
    6px 4px 0 rgba(0, 0, 0, 0.25);
}
@media (hover: hover) {
  .bk:hover:not([aria-pressed="true"]) {
    transform: translateY(-8px);
  }
}
.bk:not(:hover):not([aria-pressed="true"]) {
  transform: none;
}
.bk-card {
  display: grid;
  gap: 0.3rem;
  border-left: 4px solid var(--c, var(--gold));
  padding: 0.25rem 0 0.25rem 1rem;
  max-width: 46ch;
}
.bk-card strong {
  font: italic 500 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--serif);
}
.bk-card em {
  font-size: 0.8rem;
  color: var(--gold);
}
.bk-card.show {
  animation: turn 0.6s var(--ease);
}
.menu-fig {
  aspect-ratio: 4/3;
  order: 2;
}
.tabs {
  order: 1;
}
.panels {
  order: 3;
}
.menu > .note {
  order: 4;
}
.gal-grid .ph::after {
  inset: 8px;
}
.fnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.6rem;
  margin: 0 auto 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(209, 170, 118, 0.35);
  font-size: 0.95rem;
}
.foot {
  border-top: 6px double rgba(209, 170, 118, 0.5);
}
@media (max-width: 899px) {
  .hero,
  .lieu-grid,
  .menu,
  .hist-grid,
  .visite-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .wide,
  .tall {
    width: 100%;
  }
  .tabs,
  .shelf {
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
  }
  .tabs {
    scroll-snap-type: x proximity;
  }
  .tabs button {
    scroll-snap-align: start;
    font-size: 1.4rem;
  }
  .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (max-width: 380px) {
  h1 {
    font-size: 3rem;
  }
}
@media (min-width: 900px) {
  .menu {
    grid-template-columns: 0.8fr 1.2fr 1fr;
    gap: 1rem 3rem;
    align-items: start;
  }
  .menu-fig {
    grid-column: 3;
    grid-row: 1/3;
    aspect-ratio: 4/5;
    position: sticky;
    top: 6rem;
    order: 0;
  }
  .tabs,
  .panels,
  .menu > .note {
    order: 0;
  }
  .menu > .note {
    grid-column: 1/3;
  }
}

/* V3 — Librairie : une étagère interactive et sa fiche de lecture */
.book-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.book-picker {
  min-width: 0;
}
.book-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font: italic 500 1.15rem var(--serif);
  color: var(--gold);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(244, 235, 221, 0.25);
}
.book-picker-head span:last-child {
  font: 400 0.76rem var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 235, 221, 0.72);
}
.book-picker .shelf {
  margin-top: 0;
  padding-top: 4rem;
  justify-content: flex-start;
  scroll-padding-inline: 1rem;
  border-bottom: 14px solid #351b16;
  background: linear-gradient(transparent 96%, rgba(10, 5, 4, 0.14) 96%);
}
.book-picker .bk {
  min-height: 0;
  text-align: center;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.book-picker .bk[aria-pressed="true"] {
  transform: translateY(-22px) rotate(-1.5deg);
}
.shelf-hint {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(244, 235, 221, 0.68);
  margin-top: 1.15rem;
}
.shelf-hint span {
  color: var(--gold);
}
.book-feature {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(18, 8, 5, 0.16);
  min-height: 395px;
}
.book-photo-wrap {
  position: relative;
  min-width: 0;
  min-height: 330px;
  background: #c6af9c;
  overflow: hidden;
}
.book-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 48%;
  display: block;
}
.book-photo[hidden] {
  display: none;
}
.book-image-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font: 500 0.64rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  background: rgba(46, 27, 23, 0.7);
  color: white;
}
.book-photo-fallback {
  height: 100%;
  padding: 2rem;
  display: grid;
  place-items: center;
  color: var(--esp);
  font: italic 500 1.5rem var(--serif);
  text-align: center;
}
.book-photo-fallback[hidden] {
  display: none;
}
.book-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.3rem, 2.6vw, 2.7rem);
}
.book-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  font: 500 0.67rem var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terra);
}
.book-kicker {
  font: italic 500 1.05rem var(--serif);
  color: var(--terra);
  margin-top: auto;
  padding-top: 2.25rem;
}
.book-details h3 {
  font: 500 clamp(1.95rem, 3.3vw, 3.25rem)/0.96 var(--serif);
  letter-spacing: -0.025em;
  color: var(--esp);
  text-wrap: balance;
  margin: 0.7rem 0 1.4rem;
}
.book-line {
  width: 2.6rem;
  height: 1px;
  background: var(--terra);
  margin-bottom: 1.35rem;
}
.book-synopsis {
  font: italic 500 clamp(1.24rem, 1.8vw, 1.55rem)/1.35 var(--serif);
  max-width: 25ch;
}
.book-disclaimer {
  font: 0.72rem/1.55 var(--sans);
  color: #715f56;
  margin-top: 1.1rem;
}
.book-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
  width: 100%;
}
.book-controls button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 51, 43, 0.35);
  color: var(--esp);
  background: transparent;
  width: 44px;
  height: 44px;
  font: 1.4rem var(--serif);
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.book-controls button:hover {
  background: var(--esp);
  color: var(--cream);
  border-color: var(--esp);
}
.book-controls span {
  font: 500 0.7rem var(--sans);
  color: var(--terra);
  letter-spacing: 0.08em;
}
.book-feature.book-switch .book-photo-wrap {
  animation: bookFade 0.58s var(--ease);
}
.book-feature.book-switch .book-details > *:not(.book-controls) {
  animation: bookInfo 0.55s var(--ease);
}
@keyframes bookFade {
  from {
    opacity: 0.7;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bookInfo {
  from {
    opacity: 0.3;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1100px) {
  .book-experience {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .book-feature {
    min-height: 450px;
  }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .book-experience {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
  }
  .book-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .book-photo-wrap {
    height: 270px;
    min-height: 0;
  }
  .book-details {
    padding: 1.3rem;
  }
  .book-kicker {
    padding-top: 0;
  }
  .book-details h3 {
    font-size: 2.2rem;
  }
  .book-controls {
    padding-top: 1.1rem;
  }
}
@media (max-width: 899px) {
  .book-experience {
    margin-top: 2.5rem;
  }
  .book-picker .shelf {
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
  }
  .book-feature {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  }
  .book-details {
    padding: 1.3rem;
  }
}
@media (max-width: 540px) {
  .book-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .book-photo-wrap {
    aspect-ratio: 4/5;
    min-height: 0;
    max-height: 460px;
  }
  .book-photo {
    object-position: center 43%;
  }
  .book-details {
    padding: 1.5rem;
  }
  .book-kicker {
    padding-top: 0.8rem;
  }
  .book-details h3 {
    font-size: clamp(2.3rem, 11vw, 3.1rem);
  }
  .book-synopsis {
    font-size: 1.45rem;
  }
  .book-controls {
    padding-top: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .book-feature.book-switch .book-photo-wrap,
  .book-feature.book-switch .book-details > * {
    animation: none !important;
  }
}

/* V4 — Une vraie page d'accueil, riche mais respirante */
.hero-v4 {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(6.6rem, 8vw, 8rem) var(--pad) clamp(2.8rem, 5vw, 4rem);
  position: relative;
}
.hero-v4 .hero-txt {
  min-width: 0;
}
.hero-dot {
  height: 0.48rem;
  width: 0.48rem;
  flex: none;
  border-radius: 100%;
  background: var(--terra);
}
.hero-v4 h1 {
  font-size: clamp(3.35rem, 6.55vw, 6.7rem);
  line-height: 0.91;
  max-width: 100%;
  letter-spacing: -0.03em;
}
.hero-v4 .lead {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.12;
  max-width: 24ch;
  margin-top: 1.4rem;
}
.hero-description {
  max-width: 48ch;
  font-size: clamp(0.95rem, 1.13vw, 1.03rem);
  line-height: 1.6;
  color: #624b40;
  margin-top: 1.1rem;
}
.hero-v4 .hero-actions {
  margin-top: 1.5rem;
  gap: 0.6rem;
}
.hero-v4 .hero-actions .btn {
  gap: 1.1rem;
  font-size: 0.84rem;
  padding: 0.55rem 1.1rem;
  min-height: 46px;
  justify-content: space-between;
}
.hero-v4 .hero-actions .btn span {
  font-size: 1.05rem;
  font-weight: 400;
}
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid rgba(91, 51, 43, 0.24);
  padding-top: 1.1rem;
}
.hero-highlights a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.2rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.hero-highlights a:hover {
  transform: translateY(-3px);
}
.highlight-index {
  font: 0.62rem var(--sans);
  letter-spacing: 0.16em;
  color: var(--terra);
  margin-bottom: 0.25rem;
}
.hero-highlights strong {
  font: 500 clamp(1.2rem, 1.55vw, 1.6rem)/1.05 var(--serif);
  color: var(--esp);
}
.hero-highlights small {
  font: 0.75rem/1.45 var(--sans);
  color: #765c50;
  max-width: 19ch;
}
.hero-visual {
  min-width: 0;
  position: relative;
  align-self: center;
}
.hero-v4 .arch {
  aspect-ratio: 4/5;
  width: min(100%, 465px);
  justify-self: initial;
  margin: 0 auto;
}
.hero-visual .ph figcaption {
  display: block;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  padding: 0.2rem 0.35rem;
  background: transparent;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 8px #32180f;
  font: italic 500 1.25rem/1.1 var(--serif);
  max-width: 25ch;
}
.hero-visual .ph:not(.has-img) figcaption {
  display: none;
}
.hero-visual-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0.75rem auto 0;
  max-width: 465px;
}

.home-overview {
  padding: clamp(3rem, 6vw, 6rem) var(--pad) clamp(3.5rem, 6vw, 6rem);
  background: var(--paper);
  border-top: 1px solid rgba(91, 51, 43, 0.12);
}
.overview-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.overview-heading .chap {
  margin-bottom: 0.9rem;
}
.overview-heading .chap b {
  font-size: 1rem;
}
.overview-heading h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  line-height: 0.96;
  color: var(--esp);
}
.overview-heading h2 em {
  font-weight: 500;
  color: var(--terra);
}
.overview-heading > p {
  color: #705448;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 37ch;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2.5vw, 2.6rem);
}
.overview-item {
  display: block;
  text-decoration: none;
  min-width: 0;
}
.overview-image {
  aspect-ratio: 1/1.05;
  overflow: hidden;
}
.overview-image img {
  transition: transform 0.8s var(--ease);
  object-fit: cover;
}
.overview-item:hover .overview-image img {
  transform: scale(1.04);
}
.overview-item:nth-child(2) .overview-image {
  aspect-ratio: 1/1.05;
}
.overview-item:nth-child(3) .overview-image {
  aspect-ratio: 1/1.05;
}
.overview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(91, 51, 43, 0.26);
  padding-top: 0.75rem;
  margin-top: 1rem;
  font-size: 0.65rem;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.overview-meta span:last-child {
  font-size: 1rem;
  line-height: 1;
}
.overview-item h3 {
  font: 500 clamp(1.8rem, 2.4vw, 2.8rem)/1.02 var(--serif);
  color: var(--esp);
  margin: 0.55rem 0;
}
.overview-item > p {
  color: #73584b;
  font-size: 0.84rem;
  line-height: 1.65;
  max-width: 33ch;
}
.overview-address {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: clamp(2.7rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--paper);
  background: var(--esp);
}
.overview-address-intro {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.address-star {
  color: var(--gold);
  font: 2.3rem var(--serif);
}
.overview-address strong {
  display: block;
  font: 500 clamp(1.3rem, 2.2vw, 1.75rem)/1.15 var(--serif);
}
.overview-address p {
  font-size: 0.78rem;
  color: #e9d5c6;
  margin-top: 0.3rem;
}
.overview-address-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.3rem;
}
.overview-address-actions a {
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 235, 221, 0.7);
  padding: 0.45rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.overview-address-actions a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
@media (min-width: 900px) {
  .hero-v4 {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 4vw, 5.5rem);
  }
  .hero-v4 .hero-txt {
    align-self: center;
  }
  .overview-heading {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.6fr);
    gap: 3rem;
  }
  .overview-item:nth-child(2) {
    padding-top: clamp(1rem, 3vw, 2.5rem);
  }
  .overview-item:nth-child(3) {
    padding-top: clamp(2rem, 6vw, 5rem);
  }
}
@media (max-width: 899px) {
  .hero-v4 {
    padding-top: 6.5rem;
  }
  .hero-v4 .hero-visual {
    width: min(100%, 520px);
    justify-self: center;
  }
  .hero-v4 .hero-highlights {
    margin-top: 2rem;
  }
  .home-overview {
    padding-top: 3.2rem;
  }
}
@media (max-width: 680px) {
  .hero-v4 {
    gap: 2.1rem;
    padding-bottom: 2.7rem;
  }
  .hero-v4 h1 {
    font-size: clamp(3.1rem, 11.2vw, 5rem);
  }
  .hero-v4 .lead {
    font-size: 1.65rem;
  }
  .hero-v4 .hero-actions .btn {
    flex: 1 1 145px;
  }
  .hero-highlights {
    gap: 0.6rem;
  }
  .hero-highlights strong {
    font-size: 1.15rem;
  }
  .hero-highlights small {
    font-size: 0.69rem;
  }
  .hero-v4 .arch {
    aspect-ratio: 5/4;
    border-radius: 48% 48% 0 0;
    width: 100%;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .overview-image,
  .overview-item:nth-child(2) .overview-image,
  .overview-item:nth-child(3) .overview-image {
    aspect-ratio: 1.55;
  }
  .overview-item h3 {
    font-size: 2.1rem;
  }
  .overview-address {
    align-items: start;
  }
  .overview-address-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 370px) {
  .hero-v4 h1 {
    font-size: 3rem;
  }
  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .overview-image img {
    transition: none;
  }
}

/* V5 — Hero plus ample, typographie aérée et photo mise en valeur.
   Ne touche ni à la librairie interactive ni aux sections suivantes. */
@media (min-width: 1100px) {
  .hero-v4 {
    min-height: max(820px, 100svh);
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    column-gap: clamp(3.25rem, 5.5vw, 7rem);
    padding-top: clamp(8.5rem, 11vh, 10.5rem);
    padding-bottom: clamp(5.25rem, 7.5vh, 7.5rem);
  }
  .hero-v4 h1 {
    font-size: clamp(5.3rem, 7.05vw, 7.6rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
  }
  .hero-v4 .lead {
    font-size: clamp(2rem, 2.65vw, 2.7rem);
    max-width: 28ch;
    margin-top: 2.15rem;
    line-height: 1.18;
  }
  .hero-v4 .hero-description {
    font-size: clamp(1.03rem, 1.08vw, 1.15rem);
    line-height: 1.8;
    max-width: 53ch;
    margin-top: 1.7rem;
  }
  .hero-v4 .hero-actions {
    margin-top: 2.2rem;
    gap: 0.85rem;
  }
  .hero-v4 .hero-actions .btn {
    min-height: 55px;
    padding: 0.85rem 1.45rem;
    font-size: 0.91rem;
  }
  .hero-v4 .hero-highlights {
    margin-top: clamp(3.6rem, 5vw, 5.4rem);
    padding-top: 1.65rem;
    gap: 1.6rem;
  }
  .hero-v4 .hero-highlights strong {
    font-size: clamp(1.5rem, 1.7vw, 1.9rem);
  }
  .hero-v4 .hero-highlights small {
    font-size: 0.79rem;
    line-height: 1.55;
  }
  .hero-v4 .arch {
    width: min(100%, 570px);
  }
  .hero-visual-footer {
    max-width: 570px;
  }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .hero-v4 {
    min-height: 770px;
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
    gap: 2.5rem;
  }
  .hero-v4 .arch {
    width: min(100%, 460px);
  }
  .hero-v4 .lead {
    margin-top: 1.75rem;
  }
  .hero-v4 .hero-description {
    margin-top: 1.4rem;
  }
  .hero-v4 .hero-highlights {
    margin-top: 2.65rem;
    padding-top: 1.4rem;
  }
}
@media (max-width: 899px) {
  .hero-v4 {
    padding-top: 7rem;
    padding-bottom: 3.6rem;
    row-gap: 2.8rem;
  }
  .hero-v4 .lead {
    margin-top: 1.75rem;
    line-height: 1.22;
  }
  .hero-v4 .hero-description {
    margin-top: 1.4rem;
    line-height: 1.75;
  }
  .hero-v4 .hero-actions {
    margin-top: 1.9rem;
    gap: 0.75rem;
  }
  .hero-v4 .hero-actions .btn {
    min-height: 54px;
    padding: 0.75rem 1.2rem;
    font-size: 0.89rem;
  }
  .hero-v4 .hero-highlights {
    margin-top: 2.7rem;
    padding-top: 1.35rem;
    gap: 1.2rem;
  }
  .hero-v4 .arch {
    width: min(100%, 540px);
  }
}
@media (max-width: 540px) {
  .hero-v4 {
    row-gap: 2.6rem;
  }
  .hero-v4 .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1rem;
  }
  .hero-v4 .hero-highlights strong {
    font-size: 1.35rem;
  }
  .hero-v4 .hero-highlights small {
    font-size: 0.76rem;
    max-width: none;
  }
  .hero-v4 .hero-highlights a:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 1rem;
    row-gap: 0.2rem;
    border-top: 1px solid rgba(91, 51, 43, 0.16);
    padding-top: 1rem;
  }
  .hero-v4 .hero-highlights a:last-child .highlight-index {
    grid-column: 1 / -1;
  }
}
@media (max-width: 370px) {
  .hero-v4 .hero-actions .btn {
    padding-inline: 0.85rem;
  }
}

/* Protéger la ligne signature contre les retours à la ligne coupés.
   Elle reste sur une seule ligne sur les grands écrans, même avec une police de secours. */
@media (min-width: 1100px) {
  .hero-v4 h1 {
    font-size: clamp(4.6rem, 6.3vw, 6.65rem);
  }
  .hero-v4 h1 .it > span {
    font-size: 0.8em;
    white-space: nowrap;
  }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .hero-v4 h1 .it > span {
    font-size: 0.76em;
    white-space: nowrap;
  }
}
@media (max-width: 680px) {
  .hero-v4 h1 .it > span {
    font-size: 0.86em;
    white-space: nowrap;
  }
}
@media (max-width: 370px) {
  .hero-v4 h1 .it > span {
    font-size: 0.78em;
  }
}

/* V6 — Nous trouver : carte aérienne 3D sur le fond matcha.
   Aucun framework et aucune librairie externe requis. */
.visite-grid--map {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.visite-copy {
  min-width: 0;
}
.visite-copy h2 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  color: var(--esp);
}
.visite-eyebrow {
  color: var(--esp);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.visite-intro {
  max-width: 42ch;
  line-height: 1.8;
  color: #33422e;
  margin-bottom: 2rem;
}
.visite-copy address {
  border-left: 2px solid var(--esp);
  padding-left: 1.15rem;
  color: var(--esp);
}
.visite-copy .hours {
  font-size: 0.86rem;
  line-height: 1.7;
  color: #33422e;
  margin-top: 1.3rem;
}
.visite-copy .hours b {
  color: var(--esp);
  margin-right: 0.4rem;
}
.visite-actions {
  gap: 0.65rem;
  margin-top: 2rem;
}
.visite-actions .btn {
  font-size: 0.85rem;
  gap: 0.8rem;
  min-height: 50px;
  justify-content: space-between;
}
.visite-social {
  font-size: 0.83rem;
  color: #33422e;
  margin-top: 1.7rem;
}
.visite-social a {
  color: var(--esp);
  font-weight: 500;
  text-underline-offset: 0.2em;
}
.visite-map {
  min-width: 0;
  margin: 0;
}
.visite-map-frame {
  background: #111;
  overflow: hidden;
  border-radius: clamp(10px, 1.4vw, 18px);
  box-shadow: 0 18px 38px rgba(35, 45, 30, 0.18);
  border: 1px solid rgba(250, 247, 241, 0.11);
}
.visite-map-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
}
.visite-map figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 1.5rem;
  row-gap: 0.35rem;
  max-width: none;
  padding-top: 1rem;
  color: #33422e;
  font-size: 0.73rem;
  line-height: 1.6;
}
.visite-map-kicker {
  white-space: nowrap;
  color: var(--esp);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (min-width: 1101px) {
  .visite-grid--map {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }
}
@media (max-width: 1100px) {
  .visite-copy h2 {
    max-width: 18ch;
  }
  .visite-map {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .visite-map-frame {
    border-radius: 10px;
  }
  .visite-map figcaption {
    display: block;
  }
  .visite-map-kicker {
    display: block;
    margin-bottom: 0.3rem;
  }
  .visite-actions .btn {
    flex-basis: 100%;
  }
  .visite-intro {
    margin-bottom: 1.6rem;
  }
}

/* La carte s'ouvre en grand pour rester lisible sur smartphone. */
.visite-map-link {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
}
.visite-map-link:focus-visible {
  outline: 3px solid var(--esp);
  outline-offset: 5px;
}
.visite-map-zoom {
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  color: var(--cream);
  background: rgba(13, 13, 13, 0.83);
  font: 500 0.7rem var(--sans);
  letter-spacing: 0.035em;
  transition: background 0.2s ease;
}
.visite-map-link:hover .visite-map-zoom {
  background: #8f4d3e;
}
@media (max-width: 540px) {
  .visite-map-zoom {
    right: 0.6rem;
    top: 0.6rem;
    font-size: 0.64rem;
    padding: 0.32rem 0.5rem;
  }
}

/* V7 — photographie naturelle, composition équilibrée pour « Le lieu » */
@media (max-width: 899px) {
  .lieu-grid {
    gap: 1.4rem;
  }
  .lieu-grid .tall {
    aspect-ratio: 4/5;
    max-width: 620px;
  }
  .lieu-grid .wide {
    aspect-ratio: 3/2;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .lieu-grid .tall {
    aspect-ratio: 2/3;
  }
}

/* V8 — carte complète et horaires réels, sans changer la direction artistique */
.carte-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 4rem;
}
.carte-heading h2 {
  margin-bottom: 0;
  max-width: 14ch;
}
.carte-heading > p {
  font-size: 0.95rem;
  color: #62483e;
  max-width: 34ch;
  line-height: 1.75;
}
.menu-v8 {
  align-items: start;
  row-gap: 1.3rem;
}
.menu-v8 .panels {
  min-width: 0;
}
.menu-v8 .panels > [role="tabpanel"] {
  min-width: 0;
}
.menu-v8 .panels .intro {
  max-width: 38ch;
  margin-bottom: 1.7rem;
}
.menu-v8 .menu-group + .menu-group {
  margin-top: 2.2rem;
}
.menu-v8 .menu-category {
  font: italic 500 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--serif);
  color: var(--esp);
  margin: 0 0 0.6rem;
}
.menu-v8 .menu-group-intro {
  font-size: 0.85rem;
  color: #69534b;
  margin-bottom: 0.7rem;
}
.menu-v8 .menu-items {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-v8 .menu-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem 1rem;
  border-bottom: 1px solid rgba(91, 51, 43, 0.2);
  padding: 0.83rem 0;
  animation: turn 0.4s var(--ease);
}
.menu-v8 .menu-item-copy {
  min-width: 0;
  flex: 1;
}
.menu-v8 .menu-item strong {
  display: block;
  font: 500 clamp(1.3rem, 2vw, 1.75rem)/1.2 var(--serif);
  color: var(--ink);
}
.menu-v8 .menu-item-desc {
  display: block;
  color: #6c554c;
  font-size: 0.83rem;
  line-height: 1.55;
  margin-top: 0.2rem;
  max-width: 42ch;
}
.menu-v8 .menu-price {
  flex: none;
  white-space: nowrap;
  font: 500 0.93rem/1.4 var(--sans);
  color: var(--esp);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.menu-v8 .menu-note {
  grid-column: 1/-1;
  order: 5;
  max-width: 76ch;
  padding: 1.2rem 1.35rem;
  margin-top: 1rem;
  border-left: 2px solid var(--terra);
  background: rgba(255, 255, 255, 0.27);
  color: #58473e;
  font-size: 0.82rem;
  line-height: 1.75;
}
.menu-v8 .menu-note p {
  max-width: none;
}
.menu-v8 .menu-note p + p {
  margin-top: 0.4rem;
}
.menu-v8 .menu-validity {
  font-style: italic;
  opacity: 0.75;
}
.hours-block {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(46, 27, 23, 0.27);
  padding-top: 1.3rem;
  max-width: 26rem;
}
.hours-block h3 {
  font: italic 500 1.9rem/1.2 var(--serif);
  color: var(--esp);
  margin-bottom: 0.85rem;
}
.hours-list {
  display: grid;
  gap: 0;
}
.hours-day {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(46, 27, 23, 0.17);
  font-size: 0.91rem;
  color: #2e3b2b;
}
.hours-day dt {
  font-weight: 500;
}
.hours-day dd {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hours-day.is-closed dd {
  color: #753f36;
  font-weight: 500;
}
.hours-note {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #465344;
}
.overview-open-hours {
  margin-top: 0.3rem;
  color: var(--terra);
  font-size: 0.77rem;
}
@media (min-width: 900px) {
  .menu-v8 {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr) minmax(0, 0.94fr);
    gap: 1.4rem clamp(1.5rem, 3vw, 3rem);
  }
  .menu-v8 .menu-fig {
    grid-column: 3;
    grid-row: 1/3;
    aspect-ratio: 4/5;
    top: 6.25rem;
  }
  .menu-v8 .menu-note {
    grid-column: 1/-1;
  }
  .menu-v8 .tabs button {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
  }
}
@media (max-width: 899px) {
  .menu-v8 {
    grid-template-columns: minmax(0, 1fr);
  }
  .menu-v8 .menu-fig {
    aspect-ratio: 5/3;
    order: 2;
  }
  .menu-v8 .menu-note {
    order: 4;
  }
  .menu-v8 .tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 1.35rem;
    scrollbar-width: thin;
    padding-bottom: 0.5rem;
  }
  .menu-v8 .tabs button {
    font-size: 1.42rem;
    white-space: nowrap;
  }
  .menu-v8 .panels {
    order: 3;
  }
  .menu-v8 .menu-note {
    padding: 1rem;
  }
  .hours-block {
    max-width: none;
  }
}
@media (max-width: 390px) {
  .menu-v8 .menu-item strong {
    font-size: 1.32rem;
  }
  .menu-v8 .menu-price {
    font-size: 0.84rem;
  }
  .menu-v8 .menu-item {
    gap: 0.5rem;
  }
}

/* V12 - Fiabilite images sur mobiles et progressive enhancement.
   Les photos ne sont JAMAIS masquees tant que JS/IntersectionObserver n'a pas termine. */
.js .rv,
.js .rv.in,
.js.ready .hero .rv {
  clip-path: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.js .ln > span {
  transform: none !important;
}
.ph img {
  display: block;
}

/* ============================================================
   V13 — Expérience mobile apaisée (<= 680px)
   Editoriale, aérée, progressive, sans impact sur la mise en page desktop.
   Le correctif anti-images-invisibles V12 reste intact.
   ============================================================ */
.hero-mobile-address,
.mobile-swipe-hint,
.hours-mobile-summary,
.hours-toggle {
  display: none;
}

@media (max-width: 899px) {
  /* Espacements clairs sur tablette et petits écrans */
  .sec {
    padding-block: clamp(4.5rem, 8vw, 6rem);
  }
  .book-experience {
    row-gap: 2rem;
  }
  .visite-grid--map {
    row-gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  :root {
    --pad: clamp(1.5rem, 6vw, 2rem);
  }
  html {
    scroll-padding-top: 5.25rem;
  }
  body {
    font-size: 1rem;
    line-height: 1.72;
  }
  .top {
    padding-block: 0.65rem;
  }
  .top .logo {
    font-size: 1.43rem;
  }
  .nav {
    gap: 1.15rem;
    padding-inline: var(--pad);
  }
  .nav a:not(.btn) {
    font-size: clamp(1.8rem, 7vw, 2.15rem);
  }
  .nav .btn {
    margin-top: 1rem;
  }
  h2 {
    font-size: clamp(2.65rem, 9.5vw, 3.5rem);
    line-height: 1.02;
    max-width: 19ch;
    margin-bottom: 1.15rem;
  }
  .sec {
    padding: 5.4rem var(--pad) 5.6rem;
  }
  .chap {
    font-size: 1.05rem;
    gap: 0.75rem;
    margin-bottom: 1.55rem;
  }
  .chap b {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
  }
  .chap::after {
    width: 2.4rem;
  }
  .btn {
    min-height: 52px;
  }

  /* 01 : une seule promesse, une action principale, puis la photo. */
  .hero-v4 {
    padding: 6.8rem var(--pad) 4.3rem;
    row-gap: 2.1rem;
    min-height: auto;
  }
  .hero-v4 h1 {
    font-size: clamp(3.25rem, 11.7vw, 4.6rem);
    line-height: 0.99;
    max-width: 100%;
    letter-spacing: -0.026em;
  }
  .hero-v4 h1 .it > span {
    font-size: 0.88em;
    white-space: normal;
  }
  .hero-v4 .lead {
    font-size: clamp(1.6rem, 6.6vw, 1.95rem);
    line-height: 1.2;
    max-width: 27ch;
    margin-top: 1.55rem;
  }
  .hero-v4 .hero-description {
    font-size: 0.97rem;
    line-height: 1.8;
    margin-top: 1.15rem;
    max-width: 37ch;
  }
  .hero-v4 .hero-actions {
    margin-top: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .hero-v4 .hero-actions .btn {
    flex: 1 1 100%;
    font-size: 0.91rem;
    min-height: 54px;
    padding: 0.7rem 1.3rem;
  }
  .hero-v4 .hero-actions .btn:not(.btn-dark) {
    flex: 0 1 auto;
    min-height: 44px;
    padding: 0.25rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(91, 51, 43, 0.45);
    color: var(--esp);
    border-radius: 0;
  }
  .hero-v4 .hero-actions .btn:not(.btn-dark)::before {
    display: none;
  }
  .hero-v4 .hero-actions .btn:not(.btn-dark) span {
    margin-left: 0.4rem;
  }
  .hero-highlights {
    display: none;
  }
  .hero-mobile-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-top: 1.55rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(91, 51, 43, 0.2);
    font-size: 0.79rem;
    letter-spacing: 0.035em;
    text-decoration: none;
    color: var(--terra);
  }
  .hero-mobile-address span {
    font-size: 1.1rem;
  }
  .hero-v4 .hero-visual {
    width: 100%;
    max-width: 520px;
  }
  .hero-v4 .arch {
    aspect-ratio: 1.13;
    border-radius: 48% 48% 0 0;
    width: 100%;
    max-height: 440px;
  }
  .hero-visual .ph figcaption {
    font-size: 1.09rem;
    left: 1rem;
    bottom: 1rem;
  }
  .hero-visual-footer {
    font-size: 0.59rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  /* 02 : aperçu de l'offre sous forme de trois pages à feuilleter.
     On évite l'empilement de trois blocs denses de suite. */
  .home-overview {
    padding: 5rem var(--pad) 4.7rem;
  }
  .overview-heading {
    margin-bottom: 1.2rem;
    gap: 0.6rem;
  }
  .overview-heading h2 {
    font-size: clamp(2.75rem, 9.5vw, 3.7rem);
    line-height: 1.05;
  }
  .overview-heading > p {
    display: none;
  }
  .mobile-swipe-hint {
    display: block;
    margin: 0 0 1.15rem;
    max-width: none;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: #85675a;
  }
  .mobile-swipe-hint span {
    font-size: 1.05rem;
    margin-left: 0.35rem;
  }
  .overview-grid {
    display: grid;
    grid-template-columns: 83% 83% 83% !important;
    grid-auto-flow: column;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    overscroll-behavior-inline: contain;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 51, 43, 0.25) transparent;
  }
  .overview-item {
    scroll-snap-align: start;
    min-width: 0;
  }
  .overview-item:nth-child(n) {
    padding-top: 0;
  }
  .overview-image,
  .overview-item:nth-child(2) .overview-image,
  .overview-item:nth-child(3) .overview-image {
    aspect-ratio: 1.35;
  }
  .overview-meta {
    margin-top: 0.9rem;
    padding-top: 0.7rem;
    font-size: 0.63rem;
  }
  .overview-item h3 {
    font-size: clamp(1.8rem, 6.6vw, 2.2rem);
    line-height: 1.08;
    margin: 0.65rem 0 0.35rem;
  }
  .overview-item > p {
    font-size: 0.87rem;
    line-height: 1.6;
    max-width: 32ch;
  }
  .overview-address {
    display: block;
    margin-top: 2.35rem;
    padding: 1.55rem 1.45rem;
    border-radius: 2px;
    box-shadow: none;
  }
  .overview-address-intro {
    gap: 0;
    align-items: start;
  }
  .address-star {
    display: none;
  }
  .overview-address strong {
    font-size: 1.55rem;
    line-height: 1.2;
  }
  .overview-address p {
    font-size: 0.83rem;
    line-height: 1.65;
    margin-top: 0.55rem;
  }
  .overview-address .overview-open-hours {
    font-size: 0.78rem;
    line-height: 1.65;
    margin-top: 0.6rem;
  }
  .overview-address-actions {
    margin-top: 1.25rem;
    gap: 0.5rem;
  }
  .overview-address-actions a {
    font-size: 0.82rem;
    padding: 0.35rem 0;
  }
  .overview-address-actions a:last-child {
    display: none;
  }

  /* 03 : texte lisible, photos généreuses mais sans proportions écrasantes. */
  .lieu-grid {
    gap: 2.15rem;
  }
  .lieu-txt p {
    font-size: 0.97rem;
    line-height: 1.82;
    max-width: 42ch;
  }
  .pleasures {
    margin-top: 1.75rem;
  }
  .pleasures li {
    font-size: clamp(1.4rem, 5.6vw, 1.7rem);
    line-height: 1.22;
    padding: 0.95rem 0;
  }
  .lieu-grid .tall {
    aspect-ratio: 1.15;
    max-width: none;
  }
  .lieu-grid .wide {
    aspect-ratio: 1.45;
  }

  /* 04 : catégories faciles à toucher, listes de produits sans surcharge. */
  .carte-heading {
    gap: 1rem;
  }
  .carte-heading h2 {
    max-width: 14ch;
  }
  .carte-heading > p {
    font-size: 0.93rem;
    line-height: 1.8;
    max-width: 36ch;
  }
  .menu-v8 {
    margin-top: 2.1rem;
    row-gap: 1.6rem;
  }
  .menu-v8 .tabs {
    gap: 0.6rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--pad);
    padding-bottom: 0.65rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 51, 43, 0.28) transparent;
  }
  .menu-v8 .tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    font-size: 0;
    line-height: 1;
    padding: 0.7rem 1.1rem;
    border: 1px solid rgba(91, 51, 43, 0.27);
    color: var(--esp);
    background: rgba(250, 247, 241, 0.45);
    font-style: normal;
    scroll-snap-align: center;
    white-space: nowrap;
  }
  .menu-v8 .tabs button::after {
    content: attr(data-short);
    font: 500 0.94rem/1 var(--sans);
  }
  .menu-v8 .tabs button[aria-selected="true"] {
    background: var(--esp);
    color: var(--paper);
    border-color: var(--esp);
  }
  .menu-v8 .menu-fig {
    aspect-ratio: 1.95;
    max-height: 215px;
    order: 2;
  }
  .menu-v8 .panels .intro {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 1.55rem;
    max-width: 30ch;
  }
  .menu-v8 .menu-category {
    font-size: 1.8rem;
    margin-bottom: 0.55rem;
  }
  .menu-v8 .menu-group + .menu-group {
    margin-top: 2.15rem;
  }
  .menu-v8 .menu-item {
    padding: 1.02rem 0;
    gap: 0.75rem;
    border-bottom-color: rgba(91, 51, 43, 0.15);
  }
  .menu-v8 .menu-item strong {
    font-size: clamp(1.48rem, 6vw, 1.7rem);
    line-height: 1.15;
  }
  .menu-v8 .menu-item-desc {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-top: 0.32rem;
  }
  .menu-v8 .menu-price {
    font-size: 0.91rem;
    line-height: 1.4;
    padding-top: 0.1rem;
  }
  .menu-v8 .menu-note {
    font-size: 0.79rem;
    line-height: 1.7;
    padding: 1rem 1.05rem;
  }

  /* 05 : étagère toujours interactive, fiche de lecture moins massive. */
  .libr .sub {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 37ch;
  }
  .book-experience {
    margin-top: 2.5rem;
    row-gap: 1.95rem;
  }
  .book-picker-head {
    padding-bottom: 0.6rem;
  }
  .book-picker-head span:last-child {
    font-size: 0.65rem;
  }
  .book-picker .shelf {
    padding-top: 2.9rem;
    border-bottom-width: 11px;
  }
  .book-picker .bk {
    height: calc(var(--h) * 0.75);
    width: calc(var(--w) * 0.89);
    font-size: 0.96rem;
    padding: 0.8rem 0;
  }
  .book-picker .bk[aria-pressed="true"] {
    transform: translateY(-13px) rotate(-1deg);
  }
  .shelf-hint {
    margin-top: 1rem;
    font-size: 0.79rem;
    line-height: 1.55;
  }
  .book-feature {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    box-shadow: none;
  }
  .book-photo-wrap {
    aspect-ratio: 1 / 1.06;
    max-height: 400px;
    min-height: 0;
  }
  .book-details {
    padding: 1.55rem 1.4rem 1.65rem;
  }
  .book-meta {
    font-size: 0.65rem;
  }
  .book-kicker {
    margin-top: 0.6rem;
    padding-top: 0.45rem;
    font-size: 1.04rem;
  }
  .book-details h3 {
    font-size: clamp(2.1rem, 8.8vw, 2.8rem);
    line-height: 1.03;
    margin: 0.6rem 0 1.1rem;
  }
  .book-line {
    margin-bottom: 1.05rem;
  }
  .book-synopsis {
    font-size: 1.25rem;
    line-height: 1.4;
    max-width: 29ch;
  }
  .book-disclaimer {
    font-size: 0.72rem;
    line-height: 1.65;
    margin-top: 0.9rem;
  }
  .book-controls {
    padding-top: 1.25rem;
  }
  .book-controls button {
    width: 48px;
    height: 48px;
  }

  /* 06 : histoire et galerie, une image à la fois. */
  .hist-grid {
    gap: 2.1rem;
  }
  .hist .arch {
    width: min(100%, 420px);
    margin: 0 auto;
    aspect-ratio: 4/5;
  }
  .hist-txt p {
    font-size: 0.97rem;
    line-height: 1.8;
  }
  .hist-txt p:nth-of-type(1) {
    font-size: 1.45rem;
    line-height: 1.35;
  }
  .hist-txt .note {
    font-size: 0.8rem;
    margin-top: 1.25rem;
  }
  .gallery-swipe-hint {
    margin-top: 0.2rem;
    margin-bottom: 1rem;
  }
  .gal-grid {
    display: grid;
    grid-template-columns: 84% 84% 84% 84% !important;
    grid-auto-flow: column;
    gap: 1rem;
    margin-top: 0;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    padding-bottom: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 51, 43, 0.25) transparent;
  }
  .gal-grid .ph {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4/4.3;
    align-self: stretch;
    scroll-snap-align: start;
  }

  /* 07 : adresse d'abord, horaires complets seulement à la demande. */
  .visite-grid--map {
    gap: 2.6rem;
  }
  .visite-copy h2 {
    font-size: clamp(2.7rem, 9vw, 3.4rem);
    max-width: 15ch;
  }
  .visite-intro {
    font-size: 0.96rem;
    line-height: 1.78;
    margin-bottom: 1.6rem;
  }
  .visite-copy address {
    font-size: 1.55rem;
    line-height: 1.4;
    padding-left: 1rem;
  }
  .hours-block {
    margin-top: 2rem;
    padding-top: 1.4rem;
    max-width: none;
  }
  .hours-block h3 {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
  }
  .hours-mobile-summary {
    display: block;
    font-size: 0.88rem;
    line-height: 1.75;
    color: #33422e;
  }
  .hours-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.8rem 0;
    margin-top: 0.65rem;
    border: 0;
    border-bottom: 1px solid rgba(46, 27, 23, 0.35);
    background: transparent;
    font: 500 0.85rem var(--sans);
    color: var(--esp);
    cursor: pointer;
    text-align: left;
  }
  .hours-toggle span {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.25s;
  }
  .hours-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }
  .js .hours-block.hours-collapsed .hours-week-details {
    display: none;
  }
  .hours-week-details {
    padding-top: 0.75rem;
  }
  .hours-day {
    font-size: 0.88rem;
    padding: 0.6rem 0;
  }
  .visite-actions {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .visite-actions .btn {
    width: 100%;
    min-height: 52px;
    font-size: 0.87rem;
  }
  .visite-actions .btn:not(.btn-dark) {
    min-height: 45px;
  }
  .visite-social {
    margin-top: 1.5rem;
  }
  .visite-map-frame {
    border-radius: 10px;
    box-shadow: none;
  }
  .visite-map figcaption {
    font-size: 0.73rem;
    line-height: 1.7;
    padding-top: 0.85rem;
  }
  .visite-map-kicker {
    margin-bottom: 0.4rem;
  }

  /* Pied de page reposant, liens lisibles au doigt. */
  .foot {
    padding: 4rem var(--pad) 3.2rem;
  }
  .foot .mark {
    font-size: clamp(2.75rem, 10vw, 4rem);
    margin-bottom: 1.35rem;
  }
  .foot > p:not(.mark) {
    font-size: 0.87rem;
    line-height: 1.7;
  }
  .fnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
    text-align: left;
    margin-top: 2rem;
  }
  .fnav a {
    display: block;
    font-size: 0.87rem;
    padding: 0.3rem 0;
    text-decoration: none;
  }
  .foot .small {
    font-size: 0.72rem;
  }
}

@media (max-width: 360px) {
  .hero-v4 h1 {
    font-size: clamp(3rem, 11.5vw, 3.4rem);
  }
  .hero-v4 .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-v4 .hero-actions .btn {
    flex: auto;
  }
  .hero-v4 .hero-actions .btn:not(.btn-dark) {
    justify-content: center;
  }
  .overview-grid {
    grid-template-columns: 89% 89% 89% !important;
  }
  .gal-grid {
    grid-template-columns: 89% 89% 89% 89% !important;
  }
  .book-photo-wrap {
    aspect-ratio: 1 / 1.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v4 .hero-actions .btn,
  .hours-toggle span {
    transition: none;
  }
}
