* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: #f7f3ee;
  color: #222;
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:4px 8%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img{
    height:135px;
    max-width:450px;
    display:block;
    object-fit:contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #b86a4b;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #b86a4b;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.header-btn {
  background: #b86a4b;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(184, 106, 75, 0.25);
}

.header-btn:hover {
  transform: translateY(-2px);
  background: #a85d40;
}

/* LANGUES */

.language-menu {
  position: relative;
}

.language-current {
  border: none;
  background: white;
  font-size: 22px;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.language-list {
  position: absolute;
  top: 55px;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: none;
  min-width: 180px;
}

.language-list.active {
  display: block;
}

.language-list button {
  width: 100%;
  border: none;
  padding: 12px 18px;
  text-align: left;
  background: white;
  cursor: pointer;
  font-size: 15px;
}

.language-list button:hover {
  background: #f2e7df;
}

/* HERO */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8%;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-content {
  max-width: 720px;
  color: white;
}

.eyebrow {
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 72px;
  line-height: 1;
  margin-bottom: 24px;
}

.subtitle {
  font-size: 20px;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
}

.btn-primary,
.btn-secondary {
  padding: 15px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: #b86a4b;
  color: white;
}

.btn-secondary {
  background: white;
  color: #222;
}

/* RECHERCHE / RÉSERVATION */

.booking-section {
  position: relative;
  min-height: 520px;
  padding: 110px 8%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
}

.booking-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition:
    background-image 0.4s ease,
    transform 0.6s ease;
  z-index: 0;
}

.booking-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.38));
  z-index: 1;
}

.booking-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 50px;
  align-items: center;
}

.booking-intro {
  color: white;
}

.booking-eyebrow {
  color: #f1c7b5;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.booking-intro h2 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.booking-intro p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 17px;
  max-width: 480px;
}

.booking-form {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 18px;
  align-items: end;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.22);
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.booking-field label {
  color: #555;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.booking-field input,
.booking-field select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 0 14px;
  background: white;
  color: #222;
  font-family: Inter, sans-serif;
  font-size: 15px;
  outline: none;
  transition: 0.25s;
}

.booking-field input:focus,
.booking-field select:focus {
  border-color: #b86a4b;
  box-shadow: 0 0 0 4px rgba(184, 106, 75, 0.12);
}

.booking-submit {
  grid-column: 1 / -1;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: #b86a4b;
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 12px 28px rgba(184, 106, 75, 0.28);
}

.booking-submit:hover {
  transform: translateY(-2px);
  background: #a85d40;
}

.booking-message {
  grid-column: 1 / -1;
  min-height: 20px;
  color: #a85d40;
  font-size: 14px;
  font-weight: 600;
}

.booking-night-count {
  grid-column: 1 / -1;
  background: #f7f3ee;
  border: 1px solid rgba(184, 106, 75, 0.22);
  border-radius: 16px;
  padding: 13px 16px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}

.booking-night-count.active {
  color: #b86a4b;
  background: #fff7f3;
}

.booking-hidden-button {
  display: none;
}

@media (max-width: 1150px) {
  .booking-container {
    grid-template-columns: 1fr;
  }

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

  .booking-submit,
  .booking-message {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .booking-section {
    padding: 80px 6%;
  }

  .booking-intro h2 {
    font-size: 36px;
  }

  .booking-form {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 22px;
  }

  .booking-submit,
  .booking-message {
    grid-column: auto;
  }
}

/* LOGEMENTS */

.logements {
  padding: 100px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title p {
  color: #b86a4b;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title h2 {
  font-family: "Playfair Display", serif;
  font-size: 46px;
}

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

.card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 26px;
}

.card-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 14px;
}

.infos {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  color: #666;
  font-size: 15px;
}

.card-btn {
  display: inline-block;
  background: #b86a4b;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* VIDEO */

.video-section {
  padding: 120px 8%;
  background: #f7f3ee;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.video-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video-eyebrow {
  letter-spacing: 3px;
  font-size: 13px;
  color: #b86a4b;
  font-weight: 600;
}

.video-text h2 {
  font-size: 52px;
  line-height: 1.1;
  font-family: "Playfair Display", serif;
  color: #1f1f1f;
}

.video-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  max-width: 500px;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* FOOTER */

.site-footer {
  background: #111;
  color: white;
  padding: 70px 8% 25px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-brand img{
    width:500px;
    max-width:100%;
    background:transparent;
    padding:0;
    border-radius:0;
    margin-bottom:22px;
    box-shadow:none;
}

.footer-brand p {
  max-width: 420px;
  color: #bbb;
  line-height: 1.7;
}

.site-footer h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #bbb;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #b86a4b;
}

.footer-contact p {
  color: #bbb;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #888;
  font-size: 14px;
}

/* HERO PAGE DECOUVRIR */

.page-hero {
  height: 70vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("images/langres-hero.jpg") center/cover;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.page-hero-content {
  max-width: 700px;
  color: white;
}

.page-eyebrow {
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 24px;
  font-family: "Playfair Display", serif;
}

.page-subtitle {
  font-size: 20px;
  line-height: 1.7;
  max-width: 600px;
}

/* PRESENTATION */

.presentation-section {
  padding: 120px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.presentation-image img {
  width: 100%;
  border-radius: 28px;
  display: block;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.presentation-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-mini-title {
  color: #b86a4b;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
}

.presentation-text h2 {
  font-size: 52px;
  line-height: 1.1;
  font-family: "Playfair Display", serif;
}

.presentation-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.discover-btn {
  display: inline-block;
  width: fit-content;
  background: #b86a4b;
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
}

/* SERVICES */

.services-section {
  padding: 110px 8%;
  background: white;
}

.services-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #f7f3ee;
  padding: 40px;
  border-radius: 24px;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card h3 {
  font-size: 26px;
  margin-bottom: 18px;
  font-family: "Playfair Display", serif;
}

.service-card p {
  color: #666;
  line-height: 1.7;
}

/* RESPONSIVE TAILLES MOYENNES (TABLETTES) */

@media (max-width: 1000px) {
  .header {
    padding: 18px 5%;
  }

  nav {
    display: none;
  }

  h1,
  .page-hero h1 {
    font-size: 52px;
  }

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

  .footer-container,
  .video-section,
  .presentation-section,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

/* RESPONSIVE PETITES TAILLES (SMARTPHONES) */

@media (max-width: 650px) {
  .hero,
  .page-hero {
    padding: 0 6%;
  }

  .hero {
    height: 100vh;
  }

  .page-hero {
    height: 60vh;
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .subtitle,
  .page-subtitle {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .logements,
  .video-section,
  .presentation-section,
  .services-section {
    padding: 80px 6%;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .video-text h2,
  .presentation-text h2 {
    font-size: 38px;
  }

  .footer-brand img {
    width: 190px;
  }
}

.card-slider {
  position: relative;
  width: 100%;
  height: 200px; /* À ajuster selon la hauteur de tes cartes */
  overflow: hidden;
}

.card-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Effet de fondu doux */
}

.card-slide.active {
  opacity: 1;
}
/* PRIX DES LOGEMENTS */

.card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.price-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  background: #f7f3ee;
  color: #222;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  box-shadow: inset 0 0 0 1px rgba(184, 106, 75, 0.18);
  white-space: nowrap;
}

.price-badge strong {
  color: #b86a4b;
  font-size: 24px;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.price-badge small {
  color: #666;
  font-size: 12px;
}

/* AVIS */

.avis-section {
  padding: 110px 8%;
  background: white;
}

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

.avis-card {
  min-height: 430px;
  background: #f7f3ee;
  border-radius: 24px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.avis-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

.stars {
  color: #b86a4b;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.avis-text {
  color: #333;
  line-height: 1.65;
  font-size: 15px;
  margin-bottom: 28px;
}

.avis-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.avis-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #b86a4b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.avis-author strong {
  display: block;
  font-size: 15px;
}

.avis-author span {
  display: block;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .avis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-badge {
    align-items: flex-start;
    width: 100%;
  }

  .avis-section {
    padding: 80px 6%;
  }

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

/* ÉTATS DU MESSAGE DE RÉSERVATION / API SMOOBU */

.booking-message {
  grid-column: 1 / -1;
  min-height: 20px;
  padding: 0;
  color: #a85d40;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.booking-message.loading,
.booking-message.success,
.booking-message.error {
  padding: 13px 16px;
  border-radius: 16px;
}

.booking-message.loading {
  background: #f7f3ee;
  color: #555;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.booking-message.success {
  background: #e9f7ef;
  color: #1f7a3f;
  border: 1px solid rgba(31, 122, 63, 0.18);
}

.booking-message.error {
  background: #fdecec;
  color: #a33a3a;
  border: 1px solid rgba(163, 58, 58, 0.18);
}

/* RÉSULTATS DE DISPONIBILITÉ SMOOBU */

.booking-results {
  grid-column: 1 / -1;
  display: none;
  margin-top: 4px;
}

.booking-results.active {
  display: block;
}

.booking-results h3 {
  color: #222;
  font-size: 18px;
  margin-bottom: 16px;
  font-family: "Playfair Display", serif;
}

.booking-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.booking-result-card {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  background: white;
  border: 1px solid rgba(184, 106, 75, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.booking-result-card img {
  width: 105px;
  height: 100%;
  min-height: 115px;
  object-fit: cover;
  display: block;
}

.booking-result-content {
  padding: 14px 14px 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.booking-result-content h4 {
  font-size: 16px;
  color: #222;
  font-family: "Playfair Display", serif;
}

.booking-result-content p {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.booking-result-btn {
  width: fit-content;
  background: #b86a4b;
  color: white;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: 0.3s;
}

.booking-result-btn:hover {
  background: #a85d40;
  transform: translateY(-1px);
}

@media (max-width: 650px) {
  .booking-results-grid {
    grid-template-columns: 1fr;
  }

  .booking-result-card {
    grid-template-columns: 95px 1fr;
  }

  .booking-result-card img {
    width: 95px;
  }
}

.header-mail-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b86a4b;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(184, 106, 75, 0.25);
  transition: 0.3s;
}

.header-mail-btn:hover {
  background: #a85d40;
  transform: translateY(-2px);
}
/* PAGE LOGEMENT - LES REMPARTS */
.property-hero {
  height: 88vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8%;
  overflow: hidden;
  background: #111;
}

.property-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.property-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.property-hero-slide.active {
  opacity: 1;
}

.property-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.22));
  z-index: 1;
}

.property-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: white;
}

.property-summary {
  padding: 0 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  transform: translateY(-50%);
  position: relative;
  z-index: 5;
  margin-bottom: -40px;
}

.property-summary-card {
  background: white;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.property-summary-card span {
  font-size: 28px;
}
.property-summary-card strong {
  font-size: 20px;
  color: #222;
}
.property-summary-card small {
  color: #666;
  font-weight: 600;
}

.property-intro,
.property-location {
  padding: 100px 8%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.property-intro-text h2,
.property-location-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  line-height: 1.1;
  margin: 14px 0 24px;
}

.property-intro-text p,
.property-location-text p {
  color: #555;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.property-intro-panel,
.smoobu-calendar-card {
  background: white;
  padding: 34px;
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.property-intro-panel h3 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 20px;
}

.property-intro-panel ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: #444;
  line-height: 1.5;
}

.property-gallery-section,
.property-features,
.property-reviews {
  padding: 100px 8%;
}

.property-gallery-section {
  background: white;
}

.property-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.property-gallery-item {
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.property-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 538px;
}

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

.property-gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 18px;
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: white;
  color: #222;
  font-size: 32px;
  cursor: pointer;
}

.no-scroll {
  overflow: hidden;
}

.property-features {
  background: #f7f3ee;
}

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

.feature-card,
.property-review-card {
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.feature-card span {
  font-size: 30px;
}
.feature-card h3,
.property-review-card strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  margin: 14px 0 10px;
}

.feature-card p,
.property-review-card p {
  color: #555;
  line-height: 1.7;
}

.property-booking-container {
  grid-template-columns: 0.8fr 1.2fr;
}

.property-reservation-panel {
  display: grid;
  gap: 22px;
}

.property-reservation-panel .booking-form {
  grid-template-columns: 1fr 1fr 1fr;
}

.smoobu-calendar-heading p {
  color: #b86a4b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.smoobu-calendar-heading h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.smoobu-calendar-placeholder {
  min-height: 260px;
  border: 2px dashed rgba(184, 106, 75, 0.35);
  background: #fff7f3;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #8f4f36;
  line-height: 1.6;
}

.property-map iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.property-reviews {
  background: white;
}
.property-review-card span {
  color: #777;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .property-summary,
  .property-intro,
  .property-location,
  .property-booking-container {
    grid-template-columns: 1fr;
  }
  .property-summary {
    transform: none;
    margin: 40px 0 0;
    grid-template-columns: repeat(2, 1fr);
  }
  .property-gallery,
  .property-features-grid,
  .property-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-gallery-item:first-child {
    grid-column: span 2;
    height: 420px;
  }
}

@media (max-width: 650px) {
  .property-hero {
    padding: 0 6%;
    height: 82vh;
  }
  .property-summary,
  .property-gallery,
  .property-features-grid,
  .property-reviews-grid,
  .property-reservation-panel .booking-form {
    grid-template-columns: 1fr;
  }
  .property-summary,
  .property-intro,
  .property-location,
  .property-gallery-section,
  .property-features,
  .property-reviews {
    padding-left: 6%;
    padding-right: 6%;
  }
  .property-intro-text h2,
  .property-location-text h2 {
    font-size: 38px;
  }
  .property-gallery-item,
  .property-gallery-item:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 260px;
  }
}

/* PHOTOS PAR ESPACE - SUITE 1 */

.room-gallery-section {
  padding: 110px 8%;
  background: white;
}

.room-gallery-list {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.room-block {
  background: #f7f3ee;
  border-radius: 30px;
  padding: 28px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: stretch;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.room-block-text {
  background: white;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(184, 106, 75, 0.14);
}

.room-block-text p {
  color: #b86a4b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.room-block-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  line-height: 1.15;
  color: #222;
  margin-bottom: 18px;
}

.room-block-text span {
  width: fit-content;
  background: #b86a4b;
  color: white;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.room-photo-grid {
  display: grid;
  gap: 16px;
  min-height: 340px;
}

.room-photo-grid-one {
  grid-template-columns: 1fr;
}

.room-photo-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.room-photo-grid-five {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 170px);
}

.room-photo-grid-five .room-photo-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.room-photo-item {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.room-photo-grid-one .room-photo-item,
.room-photo-grid-two .room-photo-item {
  min-height: 340px;
}

.room-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.45s ease;
}

.room-photo-item:hover img {
  transform: scale(1.05);
}

.room-photo-item:focus-visible {
  outline: 3px solid #b86a4b;
  outline-offset: 4px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: white;
  color: #222;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: 0.25s;
}

.gallery-nav:hover {
  transform: translateY(-50%) scale(1.06);
  background: #f7f3ee;
}

.gallery-prev {
  left: 28px;
}

.gallery-next {
  right: 28px;
}

.gallery-caption {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  color: #222;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-lightbox.single-image .gallery-nav {
  display: none;
}

@media (max-width: 1000px) {
  .room-block {
    grid-template-columns: 1fr;
  }

  .room-photo-grid-five {
    grid-template-rows: repeat(2, 210px);
  }

  .room-photo-grid-one .room-photo-item,
  .room-photo-grid-two .room-photo-item {
    min-height: 320px;
  }
}

@media (max-width: 650px) {
  .room-gallery-section {
    padding: 80px 6%;
  }

  .room-block {
    padding: 18px;
    border-radius: 24px;
    gap: 18px;
  }

  .room-block-text {
    padding: 22px;
    border-radius: 20px;
  }

  .room-block-text h3 {
    font-size: 25px;
  }

  .room-photo-grid,
  .room-photo-grid-two,
  .room-photo-grid-five {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .room-photo-grid-five .room-photo-item:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .room-photo-item,
  .room-photo-grid-one .room-photo-item,
  .room-photo-grid-two .room-photo-item {
    height: 250px;
    min-height: 250px;
  }

  .gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 36px;
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }

  .gallery-caption {
    bottom: 18px;
    max-width: 88vw;
    text-align: center;
  }
}

/* MENU LANGUES - liens multilingues */
.language-list a {
  display: block;
  width: 100%;
  padding: 12px 18px;
  text-align: left;
  background: white;
  cursor: pointer;
  font-size: 15px;
  color: #222;
  text-decoration: none;
}
.language-list a:hover,
.language-list a.active-language {
  background: #f2e7df;
}


.footer-logo,
.logo-fond,
.logofond,
.footer-logo img,
.logo-fond img,
.logofond img{
    max-width:500px;
    background:transparent;
    padding:0;
    border-radius:0;
    box-shadow:none;
}


/* Correction logo très grand + footer sans cadre */
@media (max-width: 1100px){
    .logo img{
        height:105px;
        max-width:350px;
    }

    .footer-brand img,
    .footer-logo,
    .logo-fond,
    .logofond,
    .footer-logo img,
    .logo-fond img,
    .logofond img{
        width:420px;
        max-width:100%;
    }
}

@media (max-width: 700px){
    .logo img{
        height:78px;
        max-width:250px;
    }

    .footer-brand img,
    .footer-logo,
    .logo-fond,
    .logofond,
    .footer-logo img,
    .logo-fond img,
    .logofond img{
        width:300px;
        max-width:100%;
    }
}

/* =========================================================
   CORRECTION DRAPEAUX + CALENDRIERS
   - Les emojis drapeaux peuvent s'afficher en lettres FR/GB sous Windows.
   - On remplace l'affichage par de vraies images de drapeaux.
   - On remet aussi les calendriers/formulaires en overflow visible.
   ========================================================= */

/* Menu langue : conteneur */
.language-menu{
    z-index:3005;
}

.language-list{
    z-index:3010;
    min-width:210px;
}

/* Bouton langue actuel */
.language-current{
    width:48px;
    height:48px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:0 !important;
    line-height:0;
    overflow:hidden;
}

.language-current::before{
    content:"";
    width:26px;
    height:19px;
    display:block;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    border-radius:3px;
    box-shadow:0 0 0 1px rgba(0,0,0,.10);
}

/* Drapeau du bouton actuel selon la langue de la page */
html[lang="fr"] .language-current::before{ background-image:url("https://flagcdn.com/fr.svg"); }
html[lang="en"] .language-current::before{ background-image:url("https://flagcdn.com/gb.svg"); }
html[lang="es"] .language-current::before{ background-image:url("https://flagcdn.com/es.svg"); }
html[lang="it"] .language-current::before{ background-image:url("https://flagcdn.com/it.svg"); }
html[lang="de"] .language-current::before{ background-image:url("https://flagcdn.com/de.svg"); }
html[lang="pt"] .language-current::before{ background-image:url("https://flagcdn.com/pt.svg"); }
html[lang="nl"] .language-current::before{ background-image:url("https://flagcdn.com/nl.svg"); }
html[lang="ru"] .language-current::before{ background-image:url("https://flagcdn.com/ru.svg"); }
html[lang="tr"] .language-current::before{ background-image:url("https://flagcdn.com/tr.svg"); }
html[lang="fi"] .language-current::before{ background-image:url("https://flagcdn.com/fi.svg"); }
html[lang="no"] .language-current::before{ background-image:url("https://flagcdn.com/no.svg"); }

/* Liens du menu langue : on masque l'emoji/les lettres et on reconstruit le contenu */
.language-list a[hreflang]{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    min-height:44px;
    padding:12px 18px;
    background:white;
    color:#222;
    text-decoration:none;
    font-size:0 !important;
    line-height:1.2;
    white-space:nowrap;
}

.language-list a[hreflang]::before{
    content:"";
    width:22px;
    height:16px;
    flex:0 0 22px;
    display:block;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    border-radius:2px;
    box-shadow:0 0 0 1px rgba(0,0,0,.10);
}

.language-list a[hreflang]::after{
    font-size:15px;
    line-height:1.2;
    color:#222;
}

.language-list a[hreflang="fr"]::before{ background-image:url("https://flagcdn.com/fr.svg"); }
.language-list a[hreflang="en"]::before{ background-image:url("https://flagcdn.com/gb.svg"); }
.language-list a[hreflang="es"]::before{ background-image:url("https://flagcdn.com/es.svg"); }
.language-list a[hreflang="it"]::before{ background-image:url("https://flagcdn.com/it.svg"); }
.language-list a[hreflang="de"]::before{ background-image:url("https://flagcdn.com/de.svg"); }
.language-list a[hreflang="pt"]::before{ background-image:url("https://flagcdn.com/pt.svg"); }
.language-list a[hreflang="nl"]::before{ background-image:url("https://flagcdn.com/nl.svg"); }
.language-list a[hreflang="ru"]::before{ background-image:url("https://flagcdn.com/ru.svg"); }
.language-list a[hreflang="tr"]::before{ background-image:url("https://flagcdn.com/tr.svg"); }
.language-list a[hreflang="fi"]::before{ background-image:url("https://flagcdn.com/fi.svg"); }
.language-list a[hreflang="no"]::before{ background-image:url("https://flagcdn.com/no.svg"); }

.language-list a[hreflang="fr"]::after{ content:"Français"; }
.language-list a[hreflang="en"]::after{ content:"English"; }
.language-list a[hreflang="es"]::after{ content:"Español"; }
.language-list a[hreflang="it"]::after{ content:"Italiano"; }
.language-list a[hreflang="de"]::after{ content:"Deutsch"; }
.language-list a[hreflang="pt"]::after{ content:"Português"; }
.language-list a[hreflang="nl"]::after{ content:"Nederlands"; }
.language-list a[hreflang="ru"]::after{ content:"Русский"; }
.language-list a[hreflang="tr"]::after{ content:"Türkçe"; }
.language-list a[hreflang="fi"]::after{ content:"Suomi"; }
.language-list a[hreflang="no"]::after{ content:"Norsk"; }

.language-list a[hreflang]:hover,
.language-list a[hreflang][aria-current="page"]{
    background:#F2E7DF;
}

/* Calendriers / formulaires : éviter les zones coupées */
.booking-property-side,
.booking-form,
.booking-form-inline,
.booking-field,
.row-calendar-card,
.calendarWidget,
.calendarContent{
    overflow:visible;
}

/* Champs date : rendu propre et cohérent */
.booking-field input[type="date"],
.booking-form-inline input[type="date"]{
    appearance:auto;
    -webkit-appearance:auto;
    background-color:#fff;
    color:#222;
    cursor:pointer;
    position:relative;
    z-index:2;
    min-width:0;
}

.booking-field input[type="date"]::-webkit-calendar-picker-indicator,
.booking-form-inline input[type="date"]::-webkit-calendar-picker-indicator{
    cursor:pointer;
    opacity:1;
}

/* Carte calendrier Smoobu : ne plus couper le calendrier */
.row-calendar-card .calendarWidget{
    max-height:none !important;
    overflow:visible !important;
    background:white;
}

.row-calendar-card .calendarWidget iframe,
.row-calendar-card .calendarWidget table,
.row-calendar-card .calendarWidget .calendarContent{
    width:100% !important;
    max-width:100% !important;
}

.row-calendar-card .calendarContent{
    min-height:360px;
}

@media(max-width:650px){
    .language-current{
        width:44px;
        height:44px;
    }

    .language-list{
        min-width:200px;
    }

    .row-calendar-card .calendarContent{
        min-height:320px;
    }
}

/* QR CODE GOOGLE AVIS */

.avis-qrcode-box {
  margin: 45px auto 0;
  padding: 28px;
  max-width: 820px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.avis-qrcode-text {
  flex: 1;
}

.avis-qrcode-mini {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b58a55;
}

.avis-qrcode-text h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #1f1f1f;
}

.avis-qrcode-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.avis-qrcode-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #f8f5ef;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avis-qrcode-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.avis-qrcode-link img {
  width: 135px;
  height: 135px;
  object-fit: contain;
  display: block;
}

@media (max-width: 700px) {
  .avis-qrcode-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .avis-qrcode-link img {
    width: 125px;
    height: 125px;
  }
}

/* LIENS LÉGAUX DANS LE FOOTER */

.footer-legal-links{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-legal-links a{
    text-decoration:none;
    color:#bbb;
    transition:.3s;
}

.footer-legal-links a:hover{
    color:#B86A4B;
}

/* Ajustement du footer avec une colonne en plus */
.footer-container{
    grid-template-columns:1.4fr 1fr 1fr 1fr;
}

/* Responsive */
@media(max-width:1000px){
    .footer-container{
        grid-template-columns:1fr;
        gap:45px;
    }
}

/* ==============================
   BANDEAU COOKIES / GOOGLE ANALYTICS
============================== */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  color: #1f2933;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cookie-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 1rem;
}

.cookie-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4b5563;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}

.cookie-btn-primary {
  background: #1f2933;
  color: #ffffff;
}

.cookie-btn-secondary {
  background: #f3f4f6;
  color: #1f2933;
}

.cookie-btn:hover {
  opacity: 0.88;
}

.cookie-link {
  color: #1f2933;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 700px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column-reverse;
  }

  .cookie-btn {
    width: 100%;
  }
}