:root {
  --text: #111;
  --muted: #6b6b6b;
  --soft: #f6f6f7;
  --line: #e7e7ea;
  --gold: #c6a46a;
  --gold-dark: #ad8c55;
  --shadow: 0 18px 45px rgba(0, 0, 0, .14);
  --radius: 14px;
  --container: 1180px;
  --primary: #A58B6C;
  --primary-dark: #a1e559;
  --ghost-bg: rgba(25, 255, 0, .20);
  --ghost-border: #a1e559;
  --ghost-color: #fff;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 92px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Topbar */
.topbar {
  background: #0b0c0e;
  color: #eaeaea;
  font-size: .9rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.topbar__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.topbar__right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar__link {
  opacity: .9;
}

.topbar__link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Header fixe */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
  background: #f5efe4;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 1.25rem;
}

.brand__sub {
  color: var(--muted);
  font-size: .85rem;
}

.header__owner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 15px;
  margin-right: auto;
}

.header__badge img {
  height: 82px;
  width: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

.header__logo {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.owner-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  white-space: nowrap;
}

.owner-name {
  font-weight: 600;
  font-size: 15px;
  color: #222;
}

.owner-role {
  font-size: 13px;
  color: #777;
  text-align: center;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: .95rem;
}

.nav a {
  color: #222;
  opacity: .9;
}

.nav a:hover {
  opacity: 1;
}

.navbtn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.navmobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 0 16px;
}

.navmobile a {
  display: block;
  padding: 10px 0;
  color: #222;
  opacity: .95;
}

.navmobile a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center/cover no-repeat;
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 1;
}

.hero__content,
.hero__booking {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 1100px;
  width: 100%;
  padding: 2rem;
}

.hero__kicker {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
  opacity: .9;
  margin: 0 0 12px;
}

.hero__title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  margin: 0 0 10px;
}

.hero__subtitle {
  margin: 0 0 20px;
  font-size: 1.05rem;
  opacity: .95;
}

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

/* Booking bar */
.hero__booking {
  margin-top: 34px;
}

.booking {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .8fr .8fr 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 14px;
}

.booking__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.booking__field label {
  font-size: .78rem;
  color: #444;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.booking__field input,
.booking__field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  outline: none;
  background: #fff;
}

.booking__btn {
  align-self: end;
}

.booking__hint {
  color: rgba(255, 255, 255, .92);
  font-size: .9rem;
  margin: 10px 0 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: .15s ease;
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #f9f9f9;
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn--ghost {
  background: var(--ghost-bg);
  border-color: var(--ghost-border);
  color: var(--ghost-color);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-tarifs,
.btn-estimation,
.booking__btn {
  color: #fffff !important;
}

.btn-tarifs *,
.btn-estimation *,
.booking__btn * {
  color: #f9f9f9 !important;
}

.btn-infos {
  color: #000 !important;
  border-color: #d4b06a !important;
}

/* Sections */
.section {
  padding: 74px 0;
}

/* Décalage des ancres sous le header sticky */
section[id],
#villa,
#equipements,
#localisation,
#dispos,
#resa,
#avis {
  scroll-margin-top: 120px;
}


.section--soft {
  background: var(--soft);
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: .92rem;
}

.h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 0 0 10px;
}

.lead {
  margin: 0 0 18px;
  color: #222;
  font-size: 1.05rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: start;
}

.split--reverse {
  grid-template-columns: .95fr 1.05fr;
}

.bullets {
  margin: 0 0 18px;
  padding-left: 18px;
}

.bullets li {
  margin: 8px 0;
}

.quickfacts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.fact {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 120px;
  background: #fff;
}

.fact__big {
  font-size: 1.25rem;
  font-weight: 700;
}

.fact__small {
  color: var(--muted);
  margin-left: 6px;
}

.villa-more {
  margin-top: 28px;
}

/* Gallery grid */
.gallery,
.gallery-airbnb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}

.gallery-airbnb__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}

.gallery-airbnb__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-airbnb__item:hover img {
  transform: scale(1.05);
  filter: brightness(.85);
}

.gallery-airbnb__more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .38);
}

.gallery-airbnb__more span {
  position: absolute;
  inset: auto 16px 16px 16px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  backdrop-filter: blur(6px);
}

/* Band */
.band {
  position: relative;
  padding: 92px 0;
  color: #fff;
  overflow: hidden;
  background: #0f1012;
}

.band__img {
  position: absolute;
  inset: 0;
  background: url("../img/pool1.jpg") center/cover no-repeat;
  filter: contrast(1.05) saturate(.95);
  transform: scale(1.03);
  opacity: .65;
}

.band__content {
  position: relative;
  max-width: 820px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Localisation */
#localisation .lead {
  max-width: 800px;
  margin-bottom: 1.2rem;
  color: var(--muted, #555);
}

.map-wrapper {
  width: 100%;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e0e0e5;
  background: #f5f5f5;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Embeds */
.embed {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
}

.embed iframe {
  width: 100%;
  height: 620px;
  border: 0;
  display: block;
}

.embed--tall iframe {
  height: 780px;
}

/* Contact box */
.contactbox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
  margin-bottom: 14px;
}

.contactbox__row {
  display: flex;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
}

.contactbox__row:last-child {
  border-bottom: 0;
}

.contactbox__row strong {
  min-width: 90px;
}

/* Tarifs interactifs */
.tarif-card {
  max-width: 760px;
  margin: 28px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tarif-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tarif-field label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #555;
  font-weight: 600;
}

.tarif-field select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.tarif-result {
  grid-column: 1 / -1;
  background: #f7f4ee;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}

.tarif-result__label {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.tarif-result strong {
  font-size: 2.4rem;
  color: #111;
  font-family: "Playfair Display", serif;
}

.tarif-card .btn {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0 auto;
}

.tarif-note {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
}

.tarif-modal,
.villa-modal,
.avis-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.tarif-modal {
  z-index: 999;
}

.tarif-modal.is-open,
.villa-modal.is-open,
.avis-modal.is-open {
  display: block;
}

.tarif-modal__backdrop,
.villa-modal__backdrop,
.avis-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
}

.tarif-modal__box,
.villa-modal__box,
.avis-modal__box {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.tarif-modal__box {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  padding: 28px;
}

.villa-modal__box,
.avis-modal__box {
  width: min(620px, calc(100% - 32px));
  margin: 60px auto;
}

.villa-modal__box {
  margin: 80px auto;
}

.tarif-modal__close,
.villa-modal__close,
.avis-modal__close {
  position: absolute;
  right: 16px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.tarif-card--modal {
  margin-top: 22px;
}

/* Avis */
.avis-modal__box {
  padding: 32px;
}

#avisForm {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

#avisForm input,
#avisForm select,
#avisForm textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.avis-message {
  margin: 8px 0 0;
  font-weight: 600;
}

.reviews-summary {
  max-width: 460px;
  margin: 28px auto 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .08);
}

.reviews-score {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.45rem;
  border-radius: 999px;
  padding: 12px 18px;
  min-width: 94px;
  text-align: center;
}

.reviews-summary p {
  margin: 4px 0 0;
}

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

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .07);
  position: relative;
}

.review-stars {
  color: var(--primary);
  letter-spacing: .08em;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.review-card p {
  color: #333;
  margin: 0 0 18px;
}

.review-card strong {
  color: #111;
}

.review-date {
  font-size: .9rem;
  color: #777;
  margin-top: 8px;
  margin-bottom: 10px;
}

.review-badge {
  display: inline-flex;
  margin-top: 12px;
  font-size: .82rem;
  color: #2f6b3f;
  background: #edf7ef;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
}

/* Page mentions légales */
.legal-page {
  max-width: 920px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  margin-top: 28px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .07);
}

.legal-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  margin: 0 0 22px;
}

.legal-card h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: #333;
}

.legal-card ul {
  margin-top: 8px;
  padding-left: 20px;
}

.legal-card a {
  color: var(--primary);
  font-weight: 600;
}

.legal-card a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #0b0c0e;
  color: #ddd;
  padding: 46px 0 22px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
}

.footer__brand {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 6px;
}

.footer__title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer a {
  display: block;
  padding: 6px 0;
  opacity: .9;
}

.footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__muted {
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .navbtn {
    display: inline-flex;
  }

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

  .booking__btn {
    grid-column: 1 / -1;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .gallery img {
    height: 180px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .reviews-grid,
  .reviews-slider {
    grid-template-columns: 1fr;
  }

  .reviews-summary {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 90px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header {
    width: 100%;
    overflow: visible;
  }

  .header__inner {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
  }

  .brand,
  .header__badge {
    display: none;
  }

  .header__logo {
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .header__logo img {
    width: 58px;
    height: 58px;
  }

  .owner-info {
    min-width: 0;
    overflow: hidden;
    text-align: center;
    font-size: .85rem;
    white-space: normal;
  }

  .owner-name,
  .owner-role {
    white-space: normal;
    line-height: 1.15;
  }

  .nav {
    display: none;
  }

  .navbtn {
    position: relative;
    right: auto;
    display: flex;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
  }

  .navmobile {
    padding-left: 16px;
    padding-right: 16px;
    background: #f5efe4;
  }

  .hero {
    width: 100%;
    min-height: 82vh;
    overflow: hidden;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero__title {
    font-size: 2.4rem;
  }

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

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

  .villa-modal__box,
  .avis-modal__box,
  .tarif-modal__box {
    width: calc(100% - 24px);
    margin: 16px auto;
    padding: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  section[id],
  #villa,
  #equipements,
  #localisation,
  #dispos,
  #resa,
  #avis {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 640px) {
  .tarif-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .gallery-airbnb {
    grid-template-columns: 1fr;
  }

  .gallery-airbnb__item img {
    height: 230px;
  }
}

@media (max-width: 520px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .gallery,
  .gallery-airbnb {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 210px;
  }
}

.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  background: #f5efe4 !important;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 0;
}

/* Header toujours visible */
main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 0;
}

@media (max-width: 768px) {
  body {
    padding-top: 74px;
  }

  html {
    scroll-padding-top: 88px;
  }
}



/* =========================================================
   Refonte style fiche gîte / location
   ========================================================= */

:root {
  --primary: #b29571;
  --primary-dark: #927553;
  --soft: #f7f5f2;
  --line: #e7e1d8;
  --text: #141414;
  --muted: #686868;
  --shadow: 0 18px 45px rgba(0,0,0,.10);
}

body {
  padding-top: 0;
  background: #fff;
}

.site-topbar {
  background: #161616;
  color: rgba(255,255,255,.86);
  font-size: .9rem;
}

.site-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
}

.site-topbar a {
  color: #fff;
  text-decoration: none;
}

.header--gites {
  position: sticky !important;
  top: 0 !important;
  background: #fff !important;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.header--gites .header__inner {
  min-height: 78px;
}

.header--gites .header__owner {
  margin-left: 8px;
  margin-right: auto;
}

.header--gites .header__badge img {
  height: 58px;
}

.header--gites .header__logo {
  width: 58px;
  height: 58px;
}

.header--gites .btn--primary {
  color: #fff;
}

.listing-hero {
  padding: 28px 0 12px;
  background: #fff;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 8px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-mosaic a {
  position: relative;
  overflow: hidden;
  background: #eee;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.photo-mosaic a:hover img {
  transform: scale(1.04);
  filter: brightness(.9);
}

.photo-mosaic__big {
  grid-row: 1 / span 2;
}

.photo-mosaic__more span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(255,255,255,.95);
  color: #111;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.hidden-gallery {
  display: none;
}

.listing-title {
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--line);
}

.listing-title__grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  color: #b08d62;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: .82rem;
  margin: 0 0 10px;
}

.listing-title h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.listing-location {
  color: var(--muted);
  margin: 0 0 12px;
}

.listing-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.listing-rating strong {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
}

.owner-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  background: #fff;
  align-items: center;
    text-align: center;

}

.owner-card__header{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.owner-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.owner-card__top img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 50%;  

}

.owner-card__top span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
}

.owner-card .btn {
  width: 100%;
  color: #fff;
}

.quick-strip {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

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

.quick-strip__grid div {
  padding: 18px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.quick-strip__grid div:first-child {
  border-left: 1px solid var(--line);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  font-size: 1.04rem;
}

.quick-strip span {
  color: var(--muted);
  font-size: .88rem;
}

.listing-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.listing-main {
  display: grid;
  gap: 22px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(0,0,0,.05);
}

.booking-panel {
  position: sticky;
  top: 104px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.booking-panel h2 {
  font-family: "Playfair Display", serif;
  margin: 0 0 4px;
}

.booking-panel p {
  color: var(--muted);
}

.booking--side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.booking--side .booking__btn {
  grid-column: 1 / -1;
}

.booking-panel .booking__hint {
  color: var(--muted);
  margin: 12px 0 14px;
}

.contact-mini {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 6px;
}

.contact-mini a {
  color: #b08d62;
  font-weight: 600;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.equip-grid div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--soft);
}

.equip-grid strong,
.equip-grid span {
  display: block;
}

.equip-grid span {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 4px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn--ghost {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary-dark) !important;
}

.btn--ghost:hover {
  background: #f7f1e8;
}

.btn-estimation,
.btn-tarifs,
.booking__btn {
  color: #f9f9f9 !important;
}

.reviews-score {
  background: var(--primary);
}

.review-card {
  min-height: 260px;
}

.review-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-topbar__inner,
  .listing-title__grid,
  .listing-layout__grid {
    grid-template-columns: 1fr;
  }

  .site-topbar__inner {
    display: flex;
    flex-direction: column;
  }

  .owner-card,
  .booking-panel {
    position: static;
  }

  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 160px 160px;
  }

  .photo-mosaic__big {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .quick-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header--gites .header__owner {
    display: none;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .photo-mosaic a {
    height: 220px;
  }

  .photo-mosaic a:not(.photo-mosaic__big):not(.photo-mosaic__more) {
    display: none;
  }

  .quick-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .equip-grid {
    grid-template-columns: 1fr;
  }

  .content-card,
  .booking-panel {
    padding: 20px;
  }
}

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

.photo-caption{
    position:absolute;
    left:12px;
    right:12px;
    bottom:12px;

    background:rgba(0,0,0,.55);
    backdrop-filter:blur(6px);

    color:#fff;
    font-size:.9rem;
    font-weight:500;

    padding:8px 12px;
    border-radius:10px;

    z-index:3;
}

.gallery-airbnb__item{
    position:relative;
    overflow:hidden;
}


/* Modal Reservations */

:root {
  --text: #111;
  --muted: #6b6b6b;
  --soft: #f6f6f7;
  --line: #e7e7ea;
  --gold: #c6a46a;
  --gold-dark: #ad8c55;
  --shadow: 0 18px 45px rgba(0, 0, 0, .14);
  --radius: 14px;
  --container: 1180px;
  --primary: #A58B6C;
  --primary-dark: #a1e559;
  --ghost-bg: rgba(25, 255, 0, .20);
  --ghost-border: #a1e559;
  --ghost-color: #fff;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 92px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Topbar */
.topbar {
  background: #0b0c0e;
  color: #eaeaea;
  font-size: .9rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.topbar__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.topbar__right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar__link {
  opacity: .9;
}

.topbar__link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Header fixe */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
  background: #f5efe4;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 1.25rem;
}

.brand__sub {
  color: var(--muted);
  font-size: .85rem;
}

.header__owner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 15px;
  margin-right: auto;
}

.header__badge img {
  height: 82px;
  width: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

.header__logo {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.owner-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  white-space: nowrap;
}

.owner-name {
  font-weight: 600;
  font-size: 15px;
  color: #222;
}

.owner-role {
  font-size: 13px;
  color: #777;
  text-align: center;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: .95rem;
}

.nav a {
  color: #222;
  opacity: .9;
}

.nav a:hover {
  opacity: 1;
}

.navbtn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.navmobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 0 16px;
}

.navmobile a {
  display: block;
  padding: 10px 0;
  color: #222;
  opacity: .95;
}

.navmobile a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center/cover no-repeat;
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 1;
}

.hero__content,
.hero__booking {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 1100px;
  width: 100%;
  padding: 2rem;
}

.hero__kicker {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
  opacity: .9;
  margin: 0 0 12px;
}

.hero__title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  margin: 0 0 10px;
}

.hero__subtitle {
  margin: 0 0 20px;
  font-size: 1.05rem;
  opacity: .95;
}

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

/* Booking bar */
.hero__booking {
  margin-top: 34px;
}

.booking {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .8fr .8fr 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 14px;
}

.booking__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.booking__field label {
  font-size: .78rem;
  color: #444;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.booking__field input,
.booking__field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  outline: none;
  background: #fff;
}

.booking__btn {
  align-self: end;
}

.booking__hint {
  color: rgba(255, 255, 255, .92);
  font-size: .9rem;
  margin: 10px 0 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: .15s ease;
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #f9f9f9;
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn--ghost {
  background: var(--ghost-bg);
  border-color: var(--ghost-border);
  color: #b08d62 !important;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-tarifs,
.btn-estimation,
.booking__btn {
  color: #b08d62 !important;
}

.btn-tarifs *,
.btn-estimation *,
.booking__btn * {
  color: #b08d62 !important;
}

.btn-infos {
  color: #000 !important;
  border-color: #d4b06a !important;
}

/* Sections */
.section {
  padding: 74px 0;
}

/* Décalage des ancres sous le header sticky */
section[id],
#villa,
#equipements,
#localisation,
#dispos,
#resa,
#avis {
  scroll-margin-top: 120px;
}


.section--soft {
  background: var(--soft);
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: .92rem;
}

.h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 0 0 10px;
}

.lead {
  margin: 0 0 18px;
  color: #222;
  font-size: 1.05rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: start;
}

.split--reverse {
  grid-template-columns: .95fr 1.05fr;
}

.bullets {
  margin: 0 0 18px;
  padding-left: 18px;
}

.bullets li {
  margin: 8px 0;
}

.quickfacts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.fact {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 120px;
  background: #fff;
}

.fact__big {
  font-size: 1.25rem;
  font-weight: 700;
}

.fact__small {
  color: var(--muted);
  margin-left: 6px;
}

.villa-more {
  margin-top: 28px;
}

/* Gallery grid */
.gallery,
.gallery-airbnb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}

.gallery-airbnb__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}

.gallery-airbnb__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-airbnb__item:hover img {
  transform: scale(1.05);
  filter: brightness(.85);
}

.gallery-airbnb__more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .38);
}

.gallery-airbnb__more span {
  position: absolute;
  inset: auto 16px 16px 16px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  backdrop-filter: blur(6px);
}

/* Band */
.band {
  position: relative;
  padding: 92px 0;
  color: #fff;
  overflow: hidden;
  background: #0f1012;
}

.band__img {
  position: absolute;
  inset: 0;
  background: url("../img/pool1.jpg") center/cover no-repeat;
  filter: contrast(1.05) saturate(.95);
  transform: scale(1.03);
  opacity: .65;
}

.band__content {
  position: relative;
  max-width: 820px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Localisation */
#localisation .lead {
  max-width: 800px;
  margin-bottom: 1.2rem;
  color: var(--muted, #555);
}

.map-wrapper {
  width: 100%;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e0e0e5;
  background: #f5f5f5;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Embeds */
.embed {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
}

.embed iframe {
  width: 100%;
  height: 620px;
  border: 0;
  display: block;
}

.embed--tall iframe {
  height: 780px;
}

/* Contact box */
.contactbox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
  margin-bottom: 14px;
}

.contactbox__row {
  display: flex;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
}

.contactbox__row:last-child {
  border-bottom: 0;
}

.contactbox__row strong {
  min-width: 90px;
}

/* Tarifs interactifs */
.tarif-card {
  max-width: 760px;
  margin: 28px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tarif-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tarif-field label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #555;
  font-weight: 600;
}

.tarif-field select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.tarif-result {
  grid-column: 1 / -1;
  background: #f7f4ee;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}

.tarif-result__label {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.tarif-result strong {
  font-size: 2.4rem;
  color: #111;
  font-family: "Playfair Display", serif;
}

.tarif-card .btn {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0 auto;
}

.tarif-note {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
}

.tarif-modal,
.villa-modal,
.avis-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.tarif-modal {
  z-index: 999;
}

.tarif-modal.is-open,
.villa-modal.is-open,
.avis-modal.is-open {
  display: block;
}

.tarif-modal__backdrop,
.villa-modal__backdrop,
.avis-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
}

.tarif-modal__box,
.villa-modal__box,
.avis-modal__box {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.tarif-modal__box {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  padding: 28px;
}

.villa-modal__box,
.avis-modal__box {
  width: min(620px, calc(100% - 32px));
  margin: 60px auto;
}

.villa-modal__box {
  margin: 80px auto;
}

.tarif-modal__close,
.villa-modal__close,
.avis-modal__close {
  position: absolute;
  right: 16px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.tarif-card--modal {
  margin-top: 22px;
}

/* Avis */
.avis-modal__box {
  padding: 32px;
}

#avisForm {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

#avisForm input,
#avisForm select,
#avisForm textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.avis-message {
  margin: 8px 0 0;
  font-weight: 600;
}

.reviews-summary {
  max-width: 460px;
  margin: 28px auto 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .08);
}

.reviews-score {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.45rem;
  border-radius: 999px;
  padding: 12px 18px;
  min-width: 94px;
  text-align: center;
}

.reviews-summary p {
  margin: 4px 0 0;
}

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

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .07);
  position: relative;
}

.review-stars {
  color: var(--primary);
  letter-spacing: .08em;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.review-card p {
  color: #333;
  margin: 0 0 18px;
}

.review-card strong {
  color: #111;
}

.review-date {
  font-size: .9rem;
  color: #777;
  margin-top: 8px;
  margin-bottom: 10px;
}

.review-badge {
  display: inline-flex;
  margin-top: 12px;
  font-size: .82rem;
  color: #2f6b3f;
  background: #edf7ef;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
}

/* Page mentions légales */
.legal-page {
  max-width: 920px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  margin-top: 28px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .07);
}

.legal-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  margin: 0 0 22px;
}

.legal-card h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: #333;
}

.legal-card ul {
  margin-top: 8px;
  padding-left: 20px;
}

.legal-card a {
  color: var(--primary);
  font-weight: 600;
}

.legal-card a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #0b0c0e;
  color: #ddd;
  padding: 46px 0 22px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
}

.footer__brand {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 6px;
}

.footer__title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer a {
  display: block;
  padding: 6px 0;
  opacity: .9;
}

.footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__muted {
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .navbtn {
    display: inline-flex;
  }

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

  .booking__btn {
    grid-column: 1 / -1;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .gallery img {
    height: 180px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .reviews-grid,
  .reviews-slider {
    grid-template-columns: 1fr;
  }

  .reviews-summary {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 90px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header {
    width: 100%;
    overflow: visible;
  }

  .header__inner {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
  }

  .brand,
  .header__badge {
    display: none;
  }

  .header__logo {
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .header__logo img {
    width: 58px;
    height: 58px;
  }

  .owner-info {
    min-width: 0;
    overflow: hidden;
    text-align: center;
    font-size: .85rem;
    white-space: normal;
  }

  .owner-name,
  .owner-role {
    white-space: normal;
    line-height: 1.15;
  }

  .nav {
    display: none;
  }

  .navbtn {
    position: relative;
    right: auto;
    display: flex;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
  }

  .navmobile {
    padding-left: 16px;
    padding-right: 16px;
    background: #f5efe4;
  }

  .hero {
    width: 100%;
    min-height: 82vh;
    overflow: hidden;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero__title {
    font-size: 2.4rem;
  }

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

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

  .villa-modal__box,
  .avis-modal__box,
  .tarif-modal__box {
    width: calc(100% - 24px);
    margin: 16px auto;
    padding: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  section[id],
  #villa,
  #equipements,
  #localisation,
  #dispos,
  #resa,
  #avis {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 640px) {
  .tarif-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .gallery-airbnb {
    grid-template-columns: 1fr;
  }

  .gallery-airbnb__item img {
    height: 230px;
  }
}

@media (max-width: 520px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .gallery,
  .gallery-airbnb {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 210px;
  }
}

.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  background: #f5efe4 !important;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 0;
}

/* Header toujours visible */
main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 0;
}

@media (max-width: 768px) {
  body {
    padding-top: 74px;
  }

  html {
    scroll-padding-top: 88px;
  }
}

/* =========================
   MODAL RÉSERVATION
========================= */

.reservation-modal{
  position:fixed;
  inset:0;
  z-index:999999;

  display:none;
}

.reservation-modal.is-open{
  display:block;
}

.reservation-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
  backdrop-filter:blur(4px);
}

.reservation-modal__box{
  position:relative;
  z-index:2;

  width:min(760px, calc(100% - 30px));
  max-height:calc(100vh - 40px);

  overflow:auto;

  margin:20px auto;

  background:#fff;
  border-radius:24px;

  padding:32px;

  box-shadow:0 25px 80px rgba(0,0,0,.25);
}

.reservation-modal__close{
  position:absolute;
  top:14px;
  right:14px;

  width:42px;
  height:42px;

  border:none;
  border-radius:50%;

  background:#f2f2f2;

  font-size:28px;
  cursor:pointer;
}

.reservation-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

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

.reservation-form label{
  display:block;
  margin-bottom:6px;
  font-weight:600;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea{
  width:100%;

  border:1px solid #ddd;
  border-radius:14px;

  padding:14px;

  font:inherit;
}

@media (max-width:768px){

  .reservation-modal__box{
    width:calc(100% - 16px);
    margin:8px auto;
    padding:20px;
    border-radius:18px;
  }

  .reservation-form__grid{
    grid-template-columns:1fr;
  }
}

.booking.booking--side {
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}

.booking.booking--side .booking__field {
  min-width: 0;
}

.booking.booking--side input,
.booking.booking--side select {
  width: 100%;
  min-width: 0;
}

.booking.booking--side .booking__field label {
  white-space: nowrap;
  font-size: 0.78rem;
}

.booking.booking--side .booking__btn {
  grid-column: 1 / -1;
  width: 100%;
}

.booking__btn{
   color:#fff !important;
}

body{
  padding-top:0 !important;
}

.site-topbar{
  display:none !important;
}

.header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:99999 !important;
}

main{
  padding-top:96px;
}

section[id]{
  scroll-margin-top:110px;
}

/* =========================
   BOUTONS GLOBAUX
========================= */

.btn,
button,
.booking__btn,
.btn-estimation,
.btn-tarifs,
.hero__btn,
input[type="submit"]{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:52px;

    padding:0 28px;

    border:none;
    border-radius:999px;

    background:#b08d62;

    color:#fff !important;

    font-weight:700;
    font-size:1rem;

    cursor:pointer;

    transition:.25s ease;

    text-decoration:none;
}

.btn:hover,
button:hover,
.booking__btn:hover,
.btn-estimation:hover,
.btn-tarifs:hover,
.hero__btn:hover,
input[type="submit"]:hover{

    background:#9c7a52;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* Calendrier Google responsive mobile */
#dispos .embed {
  width: 100%;
  overflow: hidden;
}

#dispos .embed iframe {
  width: 100%;
  min-height: 650px;
  height: 70vh;
  border: 0;
}

@media (max-width: 768px) {
  #dispos .embed iframe {
    min-height: 720px;
    height: 720px;
  }
}

.calendar-mobile-btn{
   display:none;
}

@media (max-width:768px){

   .calendar-mobile-btn{
      display:flex;
      margin-bottom:18px;
   }

}

/* Diaporama horizontal */
.photo-strip-section {
  background: #fff;
}

.photo-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 24px 4px 12px;
  scroll-snap-type: x mandatory;
}

.photo-strip::-webkit-scrollbar {
  height: 8px;
}

.photo-strip::-webkit-scrollbar-thumb {
  background: #b08d62;
  border-radius: 999px;
}

.photo-strip__item {
  flex: 0 0 320px;
  height: 220px;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 16px 35px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-strip__item:hover {
  transform: scale(1.04);
  box-shadow: 0 24px 50px rgba(0,0,0,.18);
}

@media (max-width: 768px) {
  .photo-strip__item {
    flex-basis: 260px;
    height: 190px;
  }
}
/* Header fixe sur tous les navigateurs */
.header,
.header--gites{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
}

body{
  padding-top: 0 !important;
}

main{
  padding-top: 92px !important;
}

section[id]{
  scroll-margin-top: 110px !important;
}


/* =========================================================
   Variante galerie : 1 grande photo centrée + 4 photos dessous
   ========================================================= */
.photo-mosaic.photo-mosaic--stacked{
  display:block;
  max-width:1180px;
  margin:0 auto;
  border-radius:0;
  overflow:visible;
  box-shadow:none;
}

.photo-mosaic--stacked a{
  position:relative;
  display:block;
  overflow:hidden;
  background:#eee;
}

.photo-mosaic--stacked img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease, filter .35s ease;
}

.photo-mosaic--stacked a:hover img{
  transform:scale(1.035);
  filter:brightness(.92);
}

.photo-mosaic--stacked .photo-mosaic__big{
  width:min(960px, 100%);
  height:520px;
  margin:0 auto 16px;
  border-radius:24px;
  box-shadow:0 18px 45px rgba(0,0,0,.12);
}

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

.photo-mosaic--stacked .photo-mosaic__small{
  height:210px;
  border-radius:18px;
  box-shadow:0 14px 32px rgba(0,0,0,.10);
}

.photo-mosaic--stacked .photo-mosaic__more > span:not(.photo-caption){
  position:absolute;
  left:50%;
  top:50%;
  right:auto;
  bottom:auto;
  transform:translate(-50%, -50%);
  z-index:4;
  background:rgba(255,255,255,.96);
  color:#111;
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  white-space:nowrap;
}

.photo-mosaic--stacked .photo-caption{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  z-index:3;
  color:#fff;
  font-weight:700;
  font-size:.95rem;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(6px);
}

@media (max-width:980px){
  .photo-mosaic--stacked .photo-mosaic__big{
    height:420px;
  }

  .photo-mosaic--stacked .photo-mosaic__row{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:768px){
  .photo-mosaic--stacked .photo-mosaic__big{
    height:300px;
    border-radius:18px;
  }

  .photo-mosaic--stacked .photo-mosaic__row{
    grid-template-columns:1fr;
  }

  .photo-mosaic--stacked .photo-mosaic__small{
    height:230px;
  }
}
