/* Page mariage juif / traiteur casher */
.jv-sec {
  padding: 4rem 0;
}
.jv-sec .dt-h2l {
  margin-bottom: 1rem;
}
.jv-lead {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
  color: #3a372f;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
}
.jv-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.jv-grid.jv-4 {
  grid-template-columns: repeat(4, 1fr);
}
.jv-grid a,
.jv-grid button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #e8dcc4;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
  aspect-ratio: 3/4;
}
.jv-grid.jv-4 a,
.jv-grid.jv-3c a {
  aspect-ratio: 3/2;
}
.jv-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.jv-grid a:hover img,
.jv-grid button:hover img {
  transform: scale(1.04);
}
.jv-grid .dg-bp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
}
.jv-cap {
  display: block;
  line-height: 1.3;
  margin-top: 0.55rem;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #1a1a18;
}
.jv-fig {
  margin: 0;
}
.jv-sub {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  color: #c99c44;
  text-align: center;
  margin: 2.4rem 0 1rem;
}
.jv-cta {
  text-align: center;
}
.jv-cta .oc-solo {
  margin-top: 1.6rem;
}
.jv-cta .jv-tel {
  margin-top: 1rem;
  color: #3a372f;
}
.jv-cta .jv-tel a {
  color: #1a1a18;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 767px) {
  .jv-grid,
  .jv-grid.jv-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .jv-grid.jv-3m {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .jv-sec {
    padding: 3rem 0;
  }
}

.jv-grid.jv-fl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.jv-grid.jv-fl .jv-fig {
  width: calc((100% - 2rem) / 3);
}
.jv-grid.jv-fl.jv-5 {
  flex-wrap: nowrap;
}
.jv-grid.jv-fl.jv-5 .jv-fig {
  width: calc((100% - 4rem) / 5);
}
.jv-grid.jv-fl.jv-5 .jv-cap {
  font-size: 15px;
}
.jv-grid.jv-fl a {
  aspect-ratio: 3/4;
}
@media (max-width: 767px) {
  .jv-grid.jv-fl .jv-fig {
    width: calc((100% - 1rem) / 2);
  }
}

/* Comparatif + salles */
.jv-cmp {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 860px;
}
.jv-cmp-row {
  display: grid;
  grid-template-columns: 120px 1fr 150px;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201, 156, 68, 0.25);
  text-decoration: none;
  color: #1a1a18;
}
.jv-cmp-row:hover .jv-cmp-n {
  color: #c99c44;
}
.jv-cmp-n {
  font-weight: 600;
}
.jv-cmp-bar {
  position: relative;
  height: 12px;
  background: #ece3cf;
  border-radius: 6px;
}
.jv-cmp-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #c99c44;
  border-radius: 6px;
  min-width: 8px;
}
.jv-cmp-v {
  font-size: 14px;
  color: #3a372f;
  text-align: right;
  white-space: nowrap;
}
.jv-mod {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid #c99c44;
  background: #fff;
  text-align: center;
}
.jv-mod strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  display: block;
  margin-bottom: 0.3rem;
}
.jv-mod p {
  margin: 0;
  color: #3a372f;
  line-height: 1.6;
}
.jv-rooms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.jv-room {
  display: block;
  padding: 0;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  font: inherit;
  color: inherit;
}
.jv-room-img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8dcc4;
}
.jv-room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.jv-room:hover .jv-room-img img {
  transform: scale(1.05);
}
.jv-room-b {
  display: block;
  padding: 0.8rem 0.9rem 1rem;
  line-height: 1.35;
}
.jv-room-b strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
}
.jv-room-b em {
  display: block;
  font-style: normal;
  color: #c99c44;
  font-weight: 600;
  font-size: 14px;
  margin-top: 2px;
}
.jv-room-b small {
  display: block;
  color: #6b665a;
  font-size: 13px;
  margin-top: 2px;
}
.jv-room-go {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid #c99c44;
  color: #1a1a18;
}
.jv-modal[hidden] {
  display: none;
}
.jv-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(20, 18, 14, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: auto;
}
.jvm-box {
  position: relative;
  background: #faf8f3;
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  max-height: 92vh;
  overflow: auto;
}
.jvm-x {
  position: absolute;
  top: 6px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.jvm-g {
  padding: 14px;
  background: #f1ebdc;
}
.jvm-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #e8dcc4;
}
.jvm-th {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.jvm-th button {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
}
.jvm-th button.on {
  border-color: #c99c44;
}
.jvm-th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jvm-i {
  padding: 1.6rem 1.6rem 1.8rem;
}
.jvm-i h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  margin: 0 0 0.3rem;
}
.jvm-cap {
  color: #c99c44;
  font-weight: 600;
  margin: 0 0 0.8rem;
}
.jvm-pres {
  line-height: 1.65;
  color: #3a372f;
}
.jvm-pair {
  font-style: italic;
  color: #3a372f;
}
.jvm-i h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 1.2rem 0 0.5rem;
}
.jvm-eq {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #3a372f;
  line-height: 1.7;
}
.jvm-fiche.oc-solo {
  margin: 1rem 0 0;
}
@media (max-width: 991px) {
  .jv-rooms {
    grid-template-columns: repeat(2, 1fr);
  }
  .jvm-box {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .jv-cmp-row {
    grid-template-columns: 90px 1fr;
  }
  .jv-cmp-v {
    grid-column: 1/-1;
    text-align: left;
    margin-top: -6px;
  }
}

.jv-grid.jv-4.jv-p a {
  aspect-ratio: 3/4;
}

.jv-guests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  max-width: 860px;
  margin: 0 auto 1rem;
}
.jv-chip {
  padding: 9px 16px;
  border: 1px solid #c99c44;
  background: #fff;
  color: #1a1a18;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  min-width: 62px;
}
.jv-chip:hover {
  background: #f3e8cf;
}
.jv-chip.on {
  background: #c99c44;
  color: #fff;
}
.jv-gi {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #3a372f;
  margin-left: 8px;
}
.jv-gi input {
  width: 96px;
  padding: 8px 10px;
  border: 1px solid #c99c44;
  background: #fff;
  font: inherit;
}
.jv-gmsg {
  text-align: center;
  font-weight: 600;
  color: #1a1a18;
  margin: 0 0 1.6rem;
  min-height: 1.5em;
}
.jv-room[hidden] {
  display: none;
}
.jv-room.jv-ok {
  box-shadow:
    0 0 0 2px #c99c44,
    0 2px 12px rgba(0, 0, 0, 0.12);
}

.jvm-vid {
  width: 100%;
  aspect-ratio: 4/3;
  background: #000;
  display: block;
}
.jvm-vid[hidden],
.jvm-main[hidden] {
  display: none;
}

.jvm-th button {
  position: relative;
}
.jvm-pl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.28);
}

.jv-grid .jv-autov {
  aspect-ratio: 3/4;
}
.jv-autov video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jv-grid.jv-p a,
.jv-grid.jv-3m.jv-p a {
  aspect-ratio: 3/4;
}

@media (max-width: 767px) {
  .jv-grid.jv-fl.jv-5 {
    flex-wrap: wrap;
  }
  .jv-grid.jv-fl.jv-5 .jv-fig {
    width: calc((100% - 1rem) / 2);
  }
}

.jv-grid.jv-ext a {
  aspect-ratio: 3/2;
}

.jv-grid.jv-mix {
  grid-template-columns: 1fr 2fr 1.1fr;
  align-items: stretch;
}
.jv-grid.jv-mix .jv-fig a,
.jv-grid.jv-mix .jv-fig button {
  aspect-ratio: 3/2;
}
.jv-grid.jv-mix .jv-fig:first-child button {
  aspect-ratio: 3/4;
}
@media (min-width: 768px) {
  .jv-grid.jv-mix .jv-fig:last-child {
    display: flex;
    flex-direction: column;
  }
  .jv-grid.jv-mix .jv-fig:last-child a,
  .jv-grid.jv-mix .jv-fig:last-child button {
    aspect-ratio: auto;
    flex: 1 1 0;
    min-height: 0;
    display: block;
  }
  .jv-grid.jv-mix .jv-fig:last-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 767px) {
  .jv-grid.jv-mix {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .jv-grid.jv-mix .jv-fig:first-child {
    max-width: 260px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ===== Animations, relief et profondeur ===== */
.jv-grid a,
.jv-grid button {
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(26, 26, 24, 0.16);
  transition:
    box-shadow 0.45s,
    transform 0.45s;
}
.jv-room {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.12);
  transition:
    box-shadow 0.45s,
    transform 0.45s;
}
@media (hover: hover) {
  .jv-fig:hover a,
  .jv-fig:hover button {
    box-shadow: 0 22px 44px rgba(26, 26, 24, 0.28);
  }
  .jv-room:hover {
    box-shadow: 0 20px 42px rgba(26, 26, 24, 0.26);
    transform: translateY(-6px);
  }
}
.jv-sec {
  position: relative;
  z-index: 2;
}
.jv-sec.jv-ob,
.jv-sec.jv-ot {
  background-color: #faf8f2;
}
.jv-sec.jv-ob {
  border-radius: 0 0 34px 34px;
  box-shadow: 0 22px 44px rgba(26, 26, 24, 0.22);
}
.jv-sec.jv-ot {
  border-radius: 34px 34px 0 0;
}
.jv-sec.jv-ot.jv-ob {
  border-radius: 34px;
}
.jv-band {
  position: relative;
  z-index: 1;
  height: 64vh;
  min-height: 360px;
  max-height: 640px;
  margin: -34px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a18;
}
.jv-band-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -16%;
  bottom: -16%;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
}
.jv-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(26, 26, 24, 0.42),
    rgba(26, 26, 24, 0.2) 45%,
    rgba(26, 26, 24, 0.5)
  );
}
.jv-band-t {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 1.2rem;
  text-align: center;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(24px, 3.4vw, 46px);
  line-height: 1.25;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.55);
}
/* apparition au défilement */
html.fx-on .fx {
  opacity: 0;
  transform: translate3d(0, 38px, 0) scale(0.97);
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
html.fx-on .fx.in {
  opacity: 1;
  transform: none;
}
html.fx-on .jv-band-t.fx {
  transform: translate3d(0, 24px, 0);
}
html.fx-on .jv-fig.fx img,
html.fx-on .jv-room.fx img {
  transform: scale(1.16);
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
html.fx-on .jv-fig.fx.in img,
html.fx-on .jv-room.fx.in img {
  transform: scale(1);
}
html.fx-on .jv-fig.fx.in a:hover img,
html.fx-on .jv-fig.fx.in button:hover img,
html.fx-on .jv-room.fx.in:hover img {
  transform: scale(1.07);
  transition-delay: 0s;
  transition-duration: 0.6s;
}
html.fx-on .jv-fig.fx.in:hover {
  transform: translateY(-6px);
  transition-delay: 0s;
  transition-duration: 0.4s;
}
@media (max-width: 767px) {
  .jv-band {
    height: 46vh;
    min-height: 280px;
    margin: -26px 0;
  }
  .jv-sec.jv-ob {
    border-radius: 0 0 24px 24px;
  }
  .jv-sec.jv-ot {
    border-radius: 24px 24px 0 0;
  }
  .jv-sec.jv-ot.jv-ob {
    border-radius: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jv-band-bg {
    top: 0;
    bottom: 0;
    transform: none !important;
  }
}

.jv-h2s {
  display: block;
  margin-top: 0.15em;
  font: inherit;
  color: inherit;
  line-height: inherit;
}

.jv-room-img img {
  display: block;
}
.jv-room-img {
  line-height: 0;
}
html.fx-on .jv-room.fx {
  transition-duration: 0.45s, 0.55s;
}
html.fx-on .jv-room.fx img {
  transition-duration: 0.7s;
}

/* évite le filet blanc sous les photos des salles (arrondi de pixel) */
.jv-room-img {
  position: relative;
}
.jv-room-img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.015);
}
html.fx-on .jv-room.fx.in .jv-room-img img {
  transform: scale(1.015);
}
html.fx-on .jv-room.fx.in:hover .jv-room-img img {
  transform: scale(1.07);
}
.jv-room:hover .jv-room-img img {
  transform: scale(1.07);
}
