@font-face {
  font-family: OldLondon;
  src: url("/reservation/assets/old-london.woff") format("woff");
  font-display: swap;
}
:root {
  color-scheme: light;
  --papier: #f5f3ed;
  --carte: #fffaf3;
  --encre: #332b23;
  --terre: #7b4228;
  --filet: #c9bba6;
  --ruban: #d7cab4;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 1rem/1.45 Georgia, "Times New Roman", serif; }
a { color: var(--terre); text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #783e1e; outline-offset: 3px; }
.skip { position: absolute; z-index: 1; left: .75rem; top: .5rem; transform: translateY(-180%); padding: .6rem 1rem; background: white; }
.skip:focus { transform: none; }
.entete { text-align: center; padding: 1rem .75rem .8rem; background: #ece7de; border-bottom: 1px solid var(--filet); }
.marque { font: 2.85rem/1.1 OldLondon, Georgia, serif; text-decoration: none; color: #863f20; }
.marque:hover { text-decoration: none; }
.entete p { margin: .28rem 0 0; color: #494037; }
.site-nav { text-align: center; background: var(--ruban); border-bottom: 1px solid var(--filet); }
.site-nav a, #ouvrir-menu { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .45rem .8rem; color: #694321; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }
#liens-menu { display: flex; flex-wrap: wrap; justify-content: center; }
#ouvrir-menu { background: transparent; border: 0; font: inherit; cursor: pointer; gap: .55rem; }
#ouvrir-menu::before { content: ''; width: 1rem; height: .7rem; border-block: 1.5px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat; }
main { max-width: 62rem; margin-inline: auto; padding: 1.15rem clamp(.8rem, 3vw, 2rem) 1.3rem; scroll-margin-top: .5rem; }
.titre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem; margin-bottom: .85rem; }
h1 { margin: 0; color: #693e23; font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.15; font-weight: normal; }
.vues { display: inline-flex; padding: 2px; border: 1px solid var(--filet); border-radius: .45rem; }
.vues a, .parcours a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; color: #674127; text-decoration: none; padding: .35rem .85rem; }
.vues a[aria-current] { background: #73442a; color: #fffaf3; border-radius: .28rem; }
.vues a:hover, .parcours a:hover { text-decoration: underline; }
figure { margin: 0; }
.cadre, .miniature { background: #ebe4d9; border: 1px solid #d5c9b8; }
.cadre {
  display: grid; place-items: center; overflow: hidden; border-radius: .4rem;
  height: clamp(12rem, 49vh, 37rem); height: clamp(12rem, 49svh, 37rem);
  touch-action: pan-y pinch-zoom;
}
.cadre picture, .cadre img, .miniature img { display: block; width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: contain; }
.cadre picture, #erreur-image { grid-area: 1 / 1; }
#erreur-image { text-align: center; margin-inline: 1rem; }
figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; padding: .65rem 0; }
#legende, .nom { overflow-wrap: anywhere; }
#legende { font-size: 1.1rem; }
#compteur { flex: none; color: #5c5144; font-size: .9rem; }
.parcours { display: flex; justify-content: space-between; gap: .8rem; }
.parcours a { background: var(--carte); border: 1px solid #ab9479; border-radius: .35rem; min-width: 6rem; }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem .7rem; list-style: none; padding: 0; margin: 0; }
.tuile { display: grid; align-content: start; gap: .35rem; color: var(--encre); text-decoration: none; }
.miniature { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: .3rem; }
.nom { font-size: 1rem; }
.reserver { margin: 1rem 0 0; border-top: 1px solid var(--filet); padding-top: .45rem; }
.reserver a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.vide { padding-block: 2rem; }
footer { text-align: center; padding: .75rem; background: #ece7de; border-top: 1px solid var(--filet); color: #64472e; }
@media (max-width: 46rem) {
  .site-nav.menu-actif #liens-menu:not(.ouvert) { display: none; }
  .site-nav.menu-actif #liens-menu.ouvert { display: grid; }
}
@media (min-width: 46.001rem) {
  #ouvrir-menu { display: none; }
  .entete { padding-block: 1.6rem 1rem; }
  .marque { font-size: 3.6rem; }
  main { padding-top: 1.65rem; }
  .cadre { height: min(57vh, 38rem); height: min(57svh, 38rem); }
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
}
@media (orientation: landscape) and (max-height: 36rem) {
  .entete { padding-block: .4rem; }
  .entete p { margin: 0; }
  .marque { font-size: 2.15rem; }
  .cadre { height: 57vh; height: 57svh; min-height: 8rem; }
}
@media (max-width: 23rem) {
  main { padding-inline: .65rem; }
  .titre { gap: .5rem; }
  figcaption { flex-wrap: wrap; }
}
