@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Jost:wght@400;500;600&display=swap');

:root {
  --paper: #f8f2e8;
  --paper2: #eee3d4;
  --ink: #24170f;
  --muted: #6c5a4c;
  --gold: #c99a57;
  --gold2: #9a6d3a;
  --dark: #21150e;
  --white: #fffaf1;
  --line: rgba(36, 23, 15, .14)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Jost, sans-serif;
  line-height: 1.65;
  font-size: 16.5px
}

img {
  max-width: 100%;
  display: block
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin: auto
}

h1,
h2,
h3 {
  font-family: Newsreader, serif;
  font-weight: 400;
  line-height: 1.02;
  margin: 0
}

a {
  color: inherit
}

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  color: var(--white)
}

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font: 400 26px Newsreader, serif;
  letter-spacing: .22em;
  color: #e6bb70;
  text-decoration: none
}

.logo-mark {
  height: 42px;
  width: 42px;
  object-fit: contain;
  flex: none
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px
}

.links a {
  text-decoration: none;
  opacity: .9
}

.links a:hover {
  opacity: 1;
  color: #efc878
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 250, 241, .55);
  border-radius: 999px;
  text-decoration: none
}

.menu {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 26px
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--white)
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/hero.jpg') center/cover;
  transform: scale(1.02)
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 9, 5, .2), rgba(15, 9, 5, .12) 45%, rgba(15, 9, 5, .62));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(900px, 92%);
  padding-top: 70px
}

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #f0d6a5
}

.hero h1 {
  font-size: clamp(62px, 10vw, 140px);
  letter-spacing: .16em;
  color: #eac06c;
  margin: 14px 0 20px
}

.hero p {
  font: 400 clamp(22px, 3vw, 36px)/1.15 Newsreader, serif;
  max-width: 720px;
  margin: 0 auto 30px
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap
}

.btn {
  padding: 14px 23px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--gold);
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase
}

.btn.gold {
  background: #dfb563;
  color: #27190f
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 250, 241, .65)
}

section {
  padding: 100px 0
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px
}

.section-head .eyebrow {
  color: var(--gold2)
}

.section-head h2 {
  font-size: clamp(42px, 5vw, 68px);
  margin: 12px 0 17px
}

.section-head p {
  color: var(--muted);
  font-size: 17.5px
}

.universes {
  background: var(--paper2)
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.card {
  position: relative;
  min-height: 390px;
  border-radius: 6px;
  overflow: hidden;
  background: #2b1a10;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(49, 32, 20, .12)
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .7s
}

.card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 9, 5, .02), rgba(15, 9, 5, .82))
}

.card:hover img {
  transform: scale(1.06)
}

.card-body {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white)
}

.num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 250, 241, .65);
  border-radius: 50%;
  font: 15px Newsreader, serif;
  margin-bottom: 14px
}

.card h3 {
  font-size: 31px;
  margin-bottom: 8px
}

.card p {
  font-size: 15.5px;
  color: rgba(255, 250, 241, .88);
  margin: 0
}

.arrow {
  margin-top: 14px;
  color: #efc36e;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase
}

.band {
  background: var(--dark);
  color: var(--white)
}

.band .section-head p {
  color: rgba(255, 250, 241, .66)
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 250, 241, .16)
}

.stat {
  padding: 28px;
  border-right: 1px solid rgba(255, 250, 241, .12)
}

.stat:last-child {
  border: 0
}

.stat b {
  font: 400 35px Newsreader, serif;
  color: #eac06c;
  display: block
}

.stat span {
  font-size: 14px;
  color: rgba(255, 250, 241, .7)
}

.split {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 90px;
  align-items: start
}

.split h2 {
  font-size: clamp(44px, 5vw, 70px)
}

.lead {
  font-size: 21px;
  color: #45352a
}

.copy {
  color: var(--muted);
  font-size: 17px
}

.list {
  display: grid;
  gap: 14px;
  margin-top: 26px
}

.list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px
}

.dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold2);
  border-radius: 50%;
  margin-top: 8px;
  flex: none
}

.process {
  background: #f0e6da
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 20px
}

.step b {
  font: 20px Newsreader, serif;
  color: var(--gold2)
}

.step h3 {
  font-size: 25px;
  margin: 16px 0 8px
}

.step p {
  font-size: 15.5px;
  color: var(--muted)
}

.cta {
  background: #e2c9a8;
  text-align: center
}

.cta h2 {
  font-size: clamp(42px, 5vw, 66px);
  max-width: 800px;
  margin: 0 auto 22px
}

.cta p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: #5e4a39
}

footer {
  background: var(--dark);
  color: rgba(255, 250, 241, .68);
  padding: 45px 0
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px
}

.foot a {
  text-decoration: none
}

.foot strong {
  color: #eac06c;
  font: 24px Newsreader, serif;
  letter-spacing: .2em
}

.page-hero {
  padding: 150px 0 75px;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden
}

.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 9, 5, .82), rgba(15, 9, 5, .42)), url('../assets/hero.jpg') center/cover;
  opacity: .8
}

.page-hero .wrap {
  position: relative;
  z-index: 1
}

.page-hero h1 {
  font-size: clamp(55px, 8vw, 105px);
  max-width: 850px
}

.page-hero p {
  max-width: 650px;
  color: rgba(255, 250, 241, .82);
  font-size: 19px;
  margin-top: 22px
}

.booking {
  background: #f1e6d8
}

.booking-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr .8fr auto;
  gap: 12px;
  align-items: end;
  box-shadow: 0 20px 60px rgba(50, 32, 20, .08)
}

label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  display: block;
  margin-bottom: 7px
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 13px 12px;
  font: 16px Jost, sans-serif;
  color: var(--ink);
  border-radius: 2px
}

.booking-result {
  margin-top: 35px
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.stay {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden
}

.stay img {
  height: 240px;
  width: 100%;
  object-fit: cover
}

.stay-body {
  padding: 20px
}

.stay h3 {
  font-size: 28px
}

.meta {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 15px
}

.price {
  font: 26px Newsreader, serif;
  color: var(--gold2)
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.field-full {
  grid-column: 1/-1
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px
}

.form-card h2 {
  font-size: 44px;
  margin-bottom: 20px
}

.form-card p {
  color: var(--muted);
  font-size: 16px
}

.checks {
  display: grid;
  gap: 10px;
  margin: 20px 0
}

.checks label {
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-size: 15px
}

.checks input {
  width: auto
}

.detail-visual {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px
}

.detail-visual img {
  width: 100%;
  height: 705px;
  object-fit: cover;
  border-radius: 5px
}

.detail-side {
  background: var(--dark);
  color: var(--white);
  padding: 60px
}

.detail-side h2 {
  font-size: 50px;
  color: #eac06c
}

.detail-side p {
  color: rgba(255, 250, 241, .7)
}

.detail-side ul {
  padding-left: 18px;
  color: rgba(255, 250, 241, .75)
}

.faq {
  max-width: 850px;
  margin: auto
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0
}

.faq summary {
  cursor: pointer;
  font: 23px Newsreader, serif
}

.faq p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 10px
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 7, .78);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.modal.open {
  display: flex
}

.modal-box {
  background: var(--white);
  width: min(760px, 100%);
  padding: 36px;
  border-radius: 5px;
  position: relative
}

.close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer
}

.modal-box h2 {
  font-size: 48px
}

.success {
  margin-top: 20px;
  padding: 14px;
  background: #e4f0e1;
  color: #2d5430;
  display: none
}

/* ---------- histoire (a-propos) ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.story-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 26px
}

.story-tag {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 14px
}

.story-card h3 {
  font-size: 24px;
  margin-bottom: 10px
}

.story-card p {
  color: var(--muted);
  font-size: 15.5px
}

/* ---------- équipe (a-propos) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.team-card {
  background: rgba(255, 250, 241, .04);
  border: 1px solid rgba(255, 250, 241, .16);
  border-radius: 6px;
  padding: 28px 24px
}

.avatar-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 241, .4);
  display: grid;
  place-items: center;
  font: 15px Newsreader, serif;
  color: #eac06c;
  margin-bottom: 18px
}

.team-card h3 {
  font-size: 19px;
  color: var(--white);
  margin-bottom: 9px
}

.team-card p {
  font-size: 14px;
  color: rgba(255, 250, 241, .66);
  margin: 0
}

/* ---------- footer enrichi ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px
}

.foot-brand strong {
  color: #eac06c;
  font: 24px Newsreader, serif;
  letter-spacing: .2em;
  display: block;
  margin-bottom: 14px
}

.foot-brand p {
  font-size: 14px;
  color: rgba(255, 250, 241, .6);
  max-width: 280px;
  margin: 0 0 20px
}

.foot-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.foot-social a {
  font-size: 12.5px;
  text-decoration: none;
  color: rgba(255, 250, 241, .75);
  border: 1px solid rgba(255, 250, 241, .22);
  padding: 8px 14px;
  border-radius: 999px;
  transition: .3s
}

.foot-social a:hover {
  color: #eac06c;
  border-color: #eac06c
}

.foot-col h4 {
  color: #eac06c;
  font-family: Jost, sans-serif;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500
}

.foot-col a,
.foot-col span {
  display: block;
  font-size: 14px;
  color: rgba(255, 250, 241, .68);
  text-decoration: none;
  margin-bottom: 12px
}

.foot-col a:hover {
  color: #eac06c
}

.foot-bottom {
  border-top: 1px solid rgba(255, 250, 241, .14);
  padding: 22px 0 4px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 250, 241, .5)
}


/* ===== MOREA PROPERTY GALLERY — MIFTAH-INSPIRED, ORIGINAL DESIGN ===== */
.gallery-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin: -8px 0 26px;
  letter-spacing: .01em
}

.gallery-intro-line {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--gold2);
  flex: none
}

.modal-gallery-area {
  background: #18100c;
  min-height: 430px;
  padding: 12px
}

.modal-gallery-grid {
  height: 100%;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.55fr .72fr .72fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  position: relative;
  overflow: hidden
}

.modal-gallery-grid button {
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #241811;
  position: relative
}

.modal-gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .3s ease
}

.modal-gallery-grid button:hover img {
  transform: scale(1.035);
  filter: brightness(.92)
}

.gallery-main {
  grid-row: 1 / span 2;
  grid-column: 1;
  border-radius: 5px
}

.gallery-thumb {
  border-radius: 5px
}

.thumb-2 {
  grid-column: 2;
  grid-row: 1
}

.thumb-3 {
  grid-column: 3;
  grid-row: 1
}

.thumb-4 {
  grid-column: 2;
  grid-row: 2
}

.thumb-5 {
  grid-column: 3;
  grid-row: 2
}

.gallery-view-all {
  position: absolute !important;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 253, 249, .94) !important;
  color: var(--ink);
  padding: 10px 14px !important;
  border-radius: 4px;
  font: 500 12px Jost, sans-serif;
  letter-spacing: .03em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  z-index: 4
}

.gallery-view-all:hover {
  background: #fff !important;
  transform: translateY(-1px)
}

.modal-gallery-grid .gallery-nav {
  display: flex;
  z-index: 5;
  width: 38px;
  height: 38px
}

.modal-gallery-grid .gallery-nav.prev {
  left: 24px
}

.modal-gallery-grid .gallery-nav.next {
  right: 24px
}

.modal-gallery-grid .gallery-counter {
  display: block;
  z-index: 5;
  left: 24px;
  right: auto;
  bottom: 18px
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 8, 5, .96);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px 70px
}

.photo-lightbox.open {
  display: flex
}

.lightbox-stage {
  width: min(1100px, 88vw);
  height: min(76vh, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100% - 30px);
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35)
}

.lightbox-caption {
  color: rgba(255, 250, 241, .82);
  font: 12px Jost, sans-serif;
  letter-spacing: .1em
}

.lightbox-close {
  position: absolute;
  right: 24px;
  top: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  z-index: 3
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 3
}

.lightbox-prev {
  left: 20px
}

.lightbox-next {
  right: 20px
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, .16)
}

.lightbox-thumbs {
  position: absolute;
  left: 70px;
  right: 70px;
  bottom: 14px;
  display: flex;
  gap: 7px;
  justify-content: center;
  overflow: auto;
  padding: 3px 0
}

.lightbox-thumbs button {
  width: 62px;
  height: 45px;
  flex: 0 0 62px;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: .6
}

.lightbox-thumbs button.active {
  opacity: 1;
  border-color: var(--gold)
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

@media(max-width:900px) {
  .modal-gallery-area {
    min-height: 330px
  }

  .modal-gallery-grid {
    min-height: 330px
  }
}

@media(max-width:600px) {
  .gallery-intro {
    align-items: flex-start;
    line-height: 1.5
  }

  .modal-gallery-area {
    padding: 8px;
    min-height: 290px
  }

  .modal-gallery-grid {
    min-height: 290px;
    grid-template-columns: 1.55fr .75fr;
    grid-template-rows: 1fr 1fr
  }

  .gallery-main {
    grid-row: 1 / span 2;
    grid-column: 1
  }

  .thumb-2 {
    grid-column: 2;
    grid-row: 1
  }

  .thumb-3 {
    grid-column: 2;
    grid-row: 2
  }

  .thumb-4,
  .thumb-5 {
    display: none
  }

  .gallery-view-all {
    right: 12px;
    bottom: 12px;
    padding: 9px 11px !important
  }

  .modal-gallery-grid .gallery-counter {
    left: 14px;
    bottom: 14px
  }

  .modal-gallery-grid .gallery-nav.prev {
    left: 14px
  }

  .modal-gallery-grid .gallery-nav.next {
    right: 14px
  }

  .photo-lightbox {
    padding: 55px 12px 85px
  }

  .lightbox-stage {
    width: 100%;
    height: 70vh
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 25px
  }

  .lightbox-prev {
    left: 8px
  }

  .lightbox-next {
    right: 8px
  }

  .lightbox-thumbs {
    left: 10px;
    right: 10px
  }

  .lightbox-close {
    right: 12px;
    top: 10px
  }
}

@media(max-width:900px) {
  .links {
    display: none
  }

  .menu {
    display: block
  }

  .grid4,
  .stay-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats,
  .steps {
    grid-template-columns: 1fr 1fr
  }

  .split,
  .detail-visual {
    grid-template-columns: 1fr
  }

  .booking-box {
    grid-template-columns: 1fr 1fr
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .field-full {
    grid-column: auto
  }

  .story-grid {
    grid-template-columns: 1fr
  }

  .team-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .wrap {
    width: min(100% - 30px, 1160px)
  }

  section {
    padding: 72px 0
  }

  .grid4,
  .stay-grid,
  .stats,
  .steps,
  .booking-box,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .foot-bottom {
    flex-direction: column
  }

  .hero h1 {
    font-size: 56px
  }

  .card {
    min-height: 360px
  }

  .page-hero {
    padding: 130px 0 60px
  }

  .detail-visual img {
    height: 360px
  }

  .detail-side {
    padding: 28px
  }

  .detail-side h2 {
    font-size: 42px
  }
}

/* ---------- topbar on scroll ---------- */
.topbar {
  transition: background-color .35s ease, box-shadow .35s ease
}

.topbar.scrolled {
  position: fixed;
  background-color: rgba(33, 21, 14, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 250, 241, .08)
}

/* ---------- scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1)
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0)
}

.grid4 .reveal:nth-child(2) {
  transition-delay: .08s
}

.grid4 .reveal:nth-child(3) {
  transition-delay: .16s
}

.grid4 .reveal:nth-child(4) {
  transition-delay: .24s
}

.steps .reveal:nth-child(2) {
  transition-delay: .08s
}

.steps .reveal:nth-child(3) {
  transition-delay: .16s
}

.steps .reveal:nth-child(4) {
  transition-delay: .24s
}

.stats .reveal:nth-child(2) {
  transition-delay: .08s
}

.stats .reveal:nth-child(3) {
  transition-delay: .16s
}

.stats .reveal:nth-child(4) {
  transition-delay: .24s
}

.story-grid .reveal:nth-child(2),
.team-grid .reveal:nth-child(2) {
  transition-delay: .08s
}

.story-grid .reveal:nth-child(3),
.team-grid .reveal:nth-child(3) {
  transition-delay: .16s
}

.team-grid .reveal:nth-child(4) {
  transition-delay: .24s
}

.stay-grid .reveal:nth-child(2) {
  transition-delay: .08s
}

.stay-grid .reveal:nth-child(3) {
  transition-delay: .16s
}

.list .reveal:nth-child(2) {
  transition-delay: .06s
}

.list .reveal:nth-child(3) {
  transition-delay: .12s
}

.list .reveal:nth-child(4) {
  transition-delay: .18s
}

.faq .reveal:nth-child(2) {
  transition-delay: .05s
}

.faq .reveal:nth-child(3) {
  transition-delay: .1s
}

.faq .reveal:nth-child(4) {
  transition-delay: .15s
}

.faq .reveal:nth-child(5) {
  transition-delay: .2s
}

/* ---------- hero entrance (runs on load, not on scroll) ---------- */
.hero .eyebrow,
.hero h1,
.hero p,
.hero .hero-actions,
.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
  animation: heroRise .8s cubic-bezier(.22, .61, .36, 1) both
}

.hero .eyebrow,
.page-hero .eyebrow {
  animation-delay: .05s
}

.hero h1,
.page-hero h1 {
  animation-delay: .15s
}

.hero p,
.page-hero p {
  animation-delay: .28s
}

.hero .hero-actions {
  animation-delay: .4s
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ---------- small interactive polish ---------- */
.card {
  transition: transform .5s cubic-bezier(.22, .61, .36, 1), box-shadow .5s ease
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(49, 32, 20, .2)
}

.btn {
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(49, 32, 20, .18)
}

.stay {
  transition: transform .45s ease, box-shadow .45s ease
}

.stay:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(49, 32, 20, .14)
}

/* ---------- contact page additions ---------- */
.quick-contact {
  background: var(--paper2);
  padding: 34px 0
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease
}

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(49, 32, 20, .1)
}

.quick-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dark);
  color: #eac06c;
  font-size: 18px;
  flex: none
}

.quick-card strong {
  font-size: 15.5px
}

.quick-card span:last-child {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.4
}

.contact-side {
  display: flex;
  flex-direction: column
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px
}

.trust-item {
  text-align: center
}

.trust-item b {
  display: block;
  font: 400 26px Newsreader, serif;
  color: var(--gold2)
}

.trust-item span {
  font-size: 12.5px;
  color: var(--muted)
}

@media(max-width:900px) {
  .quick-grid {
    grid-template-columns: 1fr
  }
}

@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .hero .eyebrow,
  .hero h1,
  .hero p,
  .hero .hero-actions,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p {
    animation: none;
    opacity: 1;
    transform: none
  }

  .card,
  .btn,
  .stay {
    transition: none
  }
}

/* Reservation page uses the same responsive navigation as the rest of MOREA. */


/* ===== MOREA LANGUAGE SWITCHER ===== */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 18px;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 600
}

.language-switcher a {
  color: rgba(255, 250, 241, .82);
  text-decoration: none;
  transition: .2s
}

.language-switcher a:hover,
.language-switcher a.active {
  color: var(--gold2)
}

.language-switcher span {
  color: rgba(255, 250, 241, .35)
}

@media(max-width:900px) {
  .language-switcher {
    margin-left: auto;
    margin-right: 12px;
    gap: 6px;
    font-size: 12px
  }

  .language-switcher span {
    display: inline
  }

  .links.mobile-open+.language-switcher {
    position: absolute
  }
}

html[dir="rtl"] body {
  text-align: right
}

html[dir="rtl"] .nav {
  direction: rtl
}

html[dir="rtl"] .language-switcher {
  direction: ltr
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .page-hero .wrap {
  direction: rtl
}

html[dir="rtl"] .eyebrow {
  text-align: inherit
}

/* MOREA language switcher: always clickable */
.language-switcher {
  position: relative;
  z-index: 9999;
  pointer-events: auto !important
}

.language-switcher a {
  position: relative;
  z-index: 10000;
  cursor: pointer;
  pointer-events: auto !important
}


/* ===== MOREA HERO PHOTO ROTATION ===== */
.hero-bg {
  background-image: none !important;
  opacity: 0 !important
}

.page-hero:before {
  background-image: none !important;
  opacity: 1
}

.morea-hero-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.15s ease, transform 6s ease;
  pointer-events: none;
}

.morea-hero-layer.is-active {
  opacity: 1;
  transform: scale(1)
}

.page-hero .morea-hero-layer:after,
.hero .morea-hero-layer:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 9, 5, .82), rgba(15, 9, 5, .42));
}

.hero .morea-hero-layer:after {
  background: linear-gradient(180deg, rgba(15, 9, 5, .20), rgba(15, 9, 5, .12) 45%, rgba(15, 9, 5, .62));
}

.page-hero .wrap,
.hero-content {
  z-index: 2
}

@media(prefers-reduced-motion:reduce) {
  .morea-hero-layer {
    transition: none
  }
}


/* MOREA — wordmark exact basé sur la référence fournie */
.hero h1.hero-wordmark {
  margin: 14px 0 20px !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero h1.hero-wordmark img {
  display: block;
  width: min(400px, 72vw);
  height: auto;
  max-width: 100%;
}

@media (max-width:700px) {
  .hero h1.hero-wordmark img {
    width: min(320px, 78vw);
  }
}

/* MOREA — smaller titles on internal page heroes */
.page-hero h1 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
}


/* =========================================================
   MOREA 2026 — PREMIUM POLISH / ACCESSIBILITY / RESPONSIVE
   ========================================================= */
:root {
  --shadow-soft: 0 16px 48px rgba(49, 32, 20, .10);
  --shadow-deep: 0 28px 70px rgba(49, 32, 20, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

::selection {
  background: #d8b06d;
  color: #21150e
}

:focus-visible {
  outline: 2px solid #dcb36e;
  outline-offset: 4px
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  background: #fffaf1;
  color: #21150e;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease
}

.skip-link:focus {
  transform: none
}

.topbar.scrolled .nav {
  height: 72px
}

.nav {
  transition: height .35s var(--ease)
}

.logo-mark {
  transition: transform .35s var(--ease), filter .35s ease
}

.logo:hover .logo-mark {
  transform: scale(1.04)
}

.links a {
  position: relative;
  padding: 8px 0
}

.links a:not(.pill):after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: #eac06c;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease)
}

.links a:hover:after,
.links a.active:after {
  transform: scaleX(1)
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate
}

.btn:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .14);
  transform: translateX(-105%);
  transition: transform .45s var(--ease);
  z-index: -1
}

.btn:hover:before {
  transform: translateX(0)
}

.hero-bg,
.morea-hero-layer {
  will-change: transform, opacity
}

.hero-content {
  animation: contentFloat 10s ease-in-out infinite alternate
}

.hero-content>* {
  will-change: transform
}

@keyframes contentFloat {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-4px)
  }
}

.card,
.property-card,
.stay,
.story-card,
.quick-card,
.form-card {
  will-change: transform;
  backface-visibility: hidden
}

.card,
.property-card,
.stay,
.story-card {
  border-radius: 10px
}

.card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: inherit;
  pointer-events: none
}

.card-body {
  transition: transform .45s var(--ease)
}

.card:hover .card-body {
  transform: translateY(-4px)
}

.property-card .property-body {
  position: relative
}

.property-card .property-body:after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .45s var(--ease)
}

.property-card:hover .property-body:after {
  transform: scaleX(1)
}

input,
select,
textarea {
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease
}

input:hover,
select:hover,
textarea:hover {
  background: #fff
}

.search-field input:focus,
.search-field select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: #b98549;
  box-shadow: 0 0 0 4px rgba(185, 133, 73, .11)
}

section {
  position: relative
}

.section-head h2 {
  letter-spacing: -.02em
}

.section-head p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto
}

.page-hero {
  min-height: 440px;
  display: flex;
  align-items: flex-end
}

.page-hero .wrap {
  padding-bottom: 4px
}

.page-hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(transparent, rgba(15, 9, 5, .18));
  pointer-events: none
}

footer {
  position: relative
}

footer:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 192, 108, .45), transparent)
}

.footer-grid {
  padding-top: 8px
}

.foot-col a,
.foot-col span {
  transition: color .25s ease, transform .25s ease
}

.foot-col a:hover {
  transform: translateX(3px)
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 241, .28);
  background: rgba(33, 21, 14, .92);
  color: #eac06c;
  display: grid;
  place-items: center;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .3s var(--ease);
  backdrop-filter: blur(8px);
  cursor: pointer
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none
}

.back-top:hover {
  transform: translateY(-3px)
}

.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: white;
  text-decoration: none;
  font-size: 21px;
  z-index: 80;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
  transition: transform .3s var(--ease), box-shadow .3s ease
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .45)
}

.cookie-note {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: #fffaf1;
  color: #24170f;
  border: 1px solid rgba(36, 23, 15, .14);
  box-shadow: var(--shadow-deep);
  padding: 14px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(130%);
  transition: transform .45s var(--ease)
}

.cookie-note.show {
  transform: none
}

.cookie-note p {
  margin: 0;
  font-size: 13px;
  color: #6c5a4c
}

.cookie-note button {
  border: 0;
  background: #21150e;
  color: #fffaf1;
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  font: inherit;
  white-space: nowrap
}

.form-status {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 6px;
  font-size: 14px;
  display: none
}

.form-status.success {
  display: block
}

.form-status.error {
  display: block;
  background: #f7e1dc;
  color: #7a2e25
}

.empty-state {
  border: 1px dashed rgba(36, 23, 15, .22);
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, .45);
  border-radius: 10px;
  color: var(--muted)
}

.mobile-open {
  animation: menuIn .25s var(--ease) both
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:900px) {
  .nav {
    height: 76px;
    position: relative
  }

  .menu {
    display: block;
    position: relative;
    z-index: 10001;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    cursor: pointer;
    line-height: 1
  }

  .links.mobile-open {
    display: flex !important;
    position: absolute;
    z-index: 10000;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(33, 21, 14, .98);
    border: 1px solid rgba(234, 192, 108, .20);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
  }

  .links.mobile-open a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 9px;
    color: #fffaf1;
    opacity: 1;
  }

  .links.mobile-open a:hover,
  .links.mobile-open a.active {
    background: rgba(234, 192, 108, .10);
    color: #eac06c
  }

  .links.mobile-open a:after {
    display: none
  }

  .language-switcher {
    font-size: 11px
  }

  .hero-content {
    animation: none
  }

  .page-hero {
    min-height: 390px
  }

  .reservation-search {
    grid-template-columns: 1fr 1fr
  }

  .property-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .wrap {
    width: calc(100% - 28px)
  }

  .nav {
    height: 72px
  }

  .logo-mark {
    height: 38px;
    width: 38px
  }

  .hero {
    min-height: 92svh
  }

  .hero h1 {
    letter-spacing: .11em
  }

  .hero p {
    font-size: 21px
  }

  .hero-actions {
    gap: 9px
  }

  .btn {
    padding: 13px 18px
  }

  .page-hero {
    min-height: 360px;
    padding: 118px 0 56px
  }

  .page-hero h1 {
    font-size: clamp(44px, 14vw, 68px)
  }

  .reservation-search {
    grid-template-columns: 1fr
  }

  .property-grid {
    grid-template-columns: 1fr
  }

  .filter-panel {
    grid-template-columns: 1fr
  }

  .properties-head {
    align-items: flex-start;
    flex-direction: column
  }

  .cookie-note {
    align-items: flex-start;
    flex-direction: column
  }

  .cookie-note button {
    width: 100%
  }

  .whatsapp-float {
    left: 14px;
    bottom: 14px
  }

  .back-top {
    right: 14px;
    bottom: 14px
  }

  .detail-side {
    border-radius: 10px
  }

  .detail-visual img {
    border-radius: 10px
  }

  .form-card {
    padding: 24px
  }

  .modal-box {
    padding: 28px 20px
  }
}

@media(max-width:600px) {
  .nav {
    height: 72px
  }

  .links.mobile-open {
    top: calc(100% + 6px);
    padding: 14px
  }

  .links.mobile-open a {
    min-height: 48px;
    font-size: 15px
  }

  .language-switcher {
    margin-left: auto;
    margin-right: 8px
  }

  .menu {
    font-size: 24px
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero-content {
    animation: none
  }

  .btn:before {
    transition: none
  }

  .back-top,
  .whatsapp-float,
  .card,
  .property-card,
  .stay {
    transition: none
  }
}


/* ===== MOREA PROPERTY DETAIL PAGE ===== */
.property-page {
  background: #fffaf4
}

.property-detail-hero {
  padding: 120px 0 34px;
  background: #f7efe6
}

.property-detail-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px
}

.property-detail-top h1 {
  font: 400 clamp(42px, 6vw, 76px)/.95 Newsreader, serif;
  margin: 8px 0 10px;
  color: var(--ink)
}

.property-detail-location {
  color: var(--muted);
  font-size: 15px
}

.property-detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 215px 215px;
  gap: 9px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px
}

.property-detail-gallery button {
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
  position: relative
}

.property-detail-gallery button:first-child {
  grid-row: 1/3
}

.property-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s
}

.property-detail-gallery button:hover img {
  transform: scale(1.025)
}

.property-detail-gallery .gallery-more {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(33, 21, 14, .94);
  color: #fffaf1;
  padding: 10px 14px;
  font: 500 12px Jost, sans-serif;
  letter-spacing: .03em;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16)
}

.property-detail-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 55px 24px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr);
  gap: 65px
}

.property-detail-main h2 {
  font: 400 43px Newsreader, serif;
  margin: 0 0 18px
}

.property-detail-main p {
  color: #5c4e43;
  line-height: 1.8;
  font-size: 15px;
  margin: 0 0 25px
}

.property-meta-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin: 30px 0 38px;
  gap: 18px
}

.property-meta-large div {
  display: flex;
  flex-direction: column;
  gap: 5px
}

.property-meta-large strong {
  font-size: 13px;
  color: var(--ink)
}

.property-meta-large span {
  font-size: 12px;
  color: var(--muted)
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px 25px;
  margin-top: 18px
}

.amenity {
  font-size: 14px;
  color: #4f4035;
  padding: 11px 0;
  border-bottom: 1px solid rgba(36, 23, 15, .08)
}

.property-booking-card {
  position: sticky;
  top: 100px;
  background: #21150e;
  color: #fffaf1;
  padding: 30px;
  box-shadow: 0 18px 55px rgba(49, 32, 20, .16)
}

.property-booking-card .eyebrow {
  color: #eac06c
}

.property-booking-card h3 {
  font: 400 36px Newsreader, serif;
  margin: 8px 0
}

.property-price-large {
  font-size: 14px;
  color: rgba(255, 250, 241, .7);
  margin-bottom: 25px
}

.property-booking-form {
  display: grid;
  gap: 12px
}

.property-booking-form label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 250, 241, .65)
}

.property-booking-form input,
.property-booking-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #fff;
  color: #21150e;
  border-radius: 3px;
  font: inherit
}

.property-booking-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 5px
}

.property-booking-card .btn.gold {
  background: #eac06c;
  color: #21150e
}

.property-airbnb {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fffaf1;
  text-decoration: none;
  font-size: 13px
}

.property-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none
}

.property-back:hover {
  color: var(--ink)
}

.property-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 8, 5, .96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px
}

.property-lightbox.open {
  display: flex
}

.property-lightbox img {
  max-width: 90vw;
  max-height: 99vh;
  object-fit: contain
}

.property-lightbox-close,
.property-lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px
}

.property-lightbox-close {
  top: 20px;
  right: 20px
}

.property-lightbox-nav.prev {
  left: 25px;
  top: 50%;
  transform: translateY(-50%)
}

.property-lightbox-nav.next {
  right: 25px;
  top: 50%;
  transform: translateY(-50%)
}

.property-lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, .75);
  font-size: 13px
}

@media(max-width:850px) {
  .property-detail-top {
    align-items: flex-start;
    flex-direction: column
  }

  .property-detail-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 145px;
    gap: 7px;
    padding: 0 14px
  }

  .property-detail-gallery button:first-child {
    grid-column: 1/-1;
    grid-row: auto
  }

  .property-detail-content {
    grid-template-columns: 1fr;
    padding: 40px 18px 70px;
    gap: 40px
  }

  .property-booking-card {
    position: static
  }

  .property-meta-large {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:520px) {
  .property-detail-hero {
    padding-top: 95px
  }

  .property-detail-gallery {
    grid-template-rows: 220px 135px
  }

  .property-detail-gallery button:nth-child(4),
  .property-detail-gallery button:nth-child(5) {
    display: none
  }

  .property-detail-top h1 {
    font-size: 45px
  }

  .property-meta-large {
    grid-template-columns: 1fr
  }

  .amenities-grid {
    grid-template-columns: 1fr
  }

  .property-lightbox {
    padding: 12px
  }

  .property-lightbox img {
    max-width: 96vw;
    max-height: 76vh
  }

  .property-lightbox-nav.prev {
    left: 10px
  }

  .property-lightbox-nav.next {
    right: 10px
  }
}

/* Galerie logement — 5 photos visibles + bouton autres photos */
.property-detail-gallery .gallery-more {
  white-space: nowrap
}

@media(max-width:600px) {
  .property-detail-gallery .gallery-more {
    right: 10px;
    bottom: 10px;
    padding: 9px 11px;
    font-size: 11px
  }

  .property-detail-gallery button:nth-child(5) {
    display: block
  }
}
.property-seasonal{margin-top:14px;padding:12px 14px;border:1px solid rgba(0,0,0,.08);border-radius:12px;font-size:.92rem;line-height:1.55;background:rgba(255,255,255,.65)}

.whatsapp-float svg {
  display: block;
  width: 30px;
  height: 30px
}
