/* =========================
   BASE
========================= */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Georgia", serif;
  color: #3b3b3b;
  background: #f7f5f2;
}

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

/* =========================
   HEADER
========================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #fff;
  position: relative;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.site-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-reserver {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  text-decoration: none;
}

.icon-reserver svg {
  width: 18px;
  height: 18px;
  stroke: #c9a44c;   /* ton or */
  stroke-width: 1.6;
  fill: none;
}

.lang-switch a {
  color: #888;
}

.lang-switch a.active {
  color: #333;
  font-weight: bold;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 22px;
}

.header-contact img {
  width: 16px;
  height: 16px;
  opacity: 0.65;
}

.header-contact .tooltip-text {
  display: none;
}

/* PC uniquement : affichage au survol */
@media (hover: hover) and (pointer: fine) {
  .phone-tooltip:hover .tooltip-text {
    display: block;
  }
}



.key-info-section {
  background: #f6f4f1;
  padding: 40px 0;
  margin-top: 20px;
}


.key-info-title {
  text-align: center;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6f6a63;
  margin-bottom: 40px;
}

.key-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}


.key-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}

.key-item .icon {
  font-size: 18px;
  opacity: 0.7;
}

.rooms h2 {
  text-align: center;
  margin-bottom: 30px;
}

.rooms h2 a {
  color: inherit;          /* 🔥 garde EXACTEMENT la couleur actuelle */
  text-decoration: none;   /* 🔥 supprime le soulignement */
  font-weight: inherit;
}


.hero-content h1 {
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1.15;
}

.intro-poetique {
  background: #f8f6f2;
  padding: 30px 20px;
}

.intro-poetique .contenu {
  width: 85%;
  margin: 0 auto;
  text-align: left;
}

/* Phrase poétique – large */
.intro-poetique .lead {
  max-width: 1400px;
  margin: 0 auto 40px;
}

/* Texte explicatif – plus contenu */
.intro-poetique .texte {
  max-width: 1000px;
  margin: 0 auto;
}

/* Phrase clé */
.intro-poetique .lead {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.6;
  color: #3f362e;
  margin-bottom: 40px;
}

/* Texte secondaire */
.intro-poetique .texte {
  font-size: 16px;
  line-height: 1.9;
  color: #6a5f55;
}

.intro-poetique .lead {
  font-family: "Lucida Bright", "Lucida Serif", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 25px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: #3f362e;
  margin-bottom: 40px;
}

.page-domaine .intro-poetique .texte {
  font-family: "Lucida Bright", "Lucida Serif", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: justify;
font-style: italic;
  color: #3f362e;
}


.intro-poetique .lead {
  letter-spacing: 0.3px;
}


.hero-content h1 {
  font-family: "Lucida Bright", "Lucida Serif", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 50px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  color: #3f362e;
  margin-bottom: 5px;
  margin-top: 5px;
}

.hero-content p {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  font-style: italic;
  letter-spacing: 0.4px;
  margin-top: 5px;

}






.section {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto 100px;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.section-intro {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.single-image {
  max-width: 900px;
  margin: 50px auto 0;
}

.single-image img {
  width: 100%;
  border-radius: 6px;
  display: block;
}


.section-light .section-intro,
.section-light .section-note {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Centrage du texte - Espaces extérieurs */
.section:first-of-type .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}



.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 40px auto;
  max-width: 1200px;
}

.gallery-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 40px auto;
  max-width: 1200px;
}

.gallery-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}




/* PAGE CONTACT */
.contact-page > div {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-infos {
  margin: 40px 0;
}

.contact-infos p {
  margin-bottom: 20px;
  line-height: 1.6;
}



.contact-page p {
  font-size: 16px;
  line-height: 1.7;
}

.contact-form {
  max-width: 500px;
  margin: 40px auto 60px auto;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form button {
  background: #d3a552;
  color: white;
  border: none;
  padding: 10px 30px;
  cursor: pointer;
}

.contact-columns {
  max-width: 1100px;
  margin: 0 auto 80px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-details {
  text-align: center;
  line-height: 1.7;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

@media (max-width: 768px) {
  .contact-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.header-contact {
  display: flex;
position: relative;
  overflow: visible;
  align-items: center;
  gap: 14px;
  margin: 0 22px;

}

.header-contact img {
  width: 16px;
  height: 16px;
  opacity: 0.65;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-contact a:hover img {
  opacity: 1;
  transform: translateY(-1px);
}


.room-page {
  max-width: 800px;
margin: 20px auto 60px;

  padding: 0 20px;
  text-align: center;
}

.room-title {
  font-size: 32px;
  margin-bottom: 30px;
}








.room-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
   max-height: 50vh; 
  overflow: hidden;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 30%
}

/* Images principales */
.room-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: contain;    /* 🔥 respecte le ratio original */
    object-position: center;

    opacity: 0;
    transition: opacity 0.4s ease;
  }

/* Image active */
.room-images img.active {
  opacity: 1;
  animation: kenburns 8s ease-in-out infinite;
}

/* Animation douce */
@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-2%, -2%);
  }
}

/* Miniatures */
.room-images-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.room-images-thumbs img {
  width: 100%;
  height: 36px;           /* 🔥 taille MINIATURE maîtrisée */
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.5;
  cursor: pointer;
}

.room-images-thumbs img.active {
  opacity: 1;
  outline: 2px solid #c9a44c;
}


.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 36px;
  height: 36px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.6);
  border: none;

  font-size: 22px;
  line-height: 1;
  color: #333;

  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
  left: 12px;
}

.slider-arrow.next {
  right: 12px;
}







  
.rooms h3 {
  margin: 1px !important;
  padding: 1px !important;
  margin-bottom: 0px;
  text-align: center;
}

.room-details {
  list-style: none;
  margin: 4px auto 12px;   /* 🔥 réduit haut + bas */
  padding: 0;
  max-width: 500px;
  text-align: center;
}

.room-details li {
 margin: 0;               /* 🔥 supprime les marges par défaut */
  padding: 0;
  line-height: 1;        /* 🔥 beaucoup plus compact */
}










/* Bouton */
.room-cta {
  display: inline-block;
  padding: 12px 30px;
  background: #c9a24d;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}


/* ===== TABLETTE ===== */
@media (max-width: 1024px) {
  .room-images {
    width: 90%;
    flex-wrap: wrap;
  }

  .room-image {
    flex: 0 0 calc(50% - 12px);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .room-images {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .room-image {
    flex: 0 0 100%;
  }
}

.room-content {
  width: 70%;
  max-width: 1200px;
  margin: 0 auto;
}

/* TEXTE */
.room-text {
margin-top: 24px;  
width: 100%;
  text-align: center;        /* ← texte aligné à gauche */
  display: flex;
  justify-content: center; /* ← bloc centré dans la page */
}

.room-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Mobile */
@media (max-width: 600px) {
  .room-content {
    width: 100%;
  }
}

.room-back {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.btn-retour{
  padding: 10px 18px;
  border: 1px solid #c9a35d;
  border-radius: 8px;
  background: transparent;
  color: #c9a35d;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}


.btn-reserver {
  padding: 10px 18px;
  border: 1px solid #c9a35d;
  border-radius: 8px;
  background: transparent;
  color: #c9a35d;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}















/* =========================
   NAV DESKTOP
========================= */

nav a {
  margin-left: 25px;
}

.btn {
  background: #c9a24d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
}

/* =========================
   HERO DESKTOP
========================= */

.hero {
  height: 55vh;
  min-height: 420px;
  max-height: 560px;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 60px;
  box-sizing: border-box;
}

.hero-content {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  padding: 4px 20px 18px 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* =========================
   SECTIONS
========================= */

.intro {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 60px;
}

.intro img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
}

.rooms {
  padding: 40px;
  background: #fff;
}

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

.room img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}






.footer {
  text-align: center;
  padding: 30px;
  background: #eae6df;
}


/* SLIDESHOW – PAGE chambres UNIQUEMENT */
.slideshow {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 6px;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slideshow img.active {
  opacity: 1;
}


/* SLIDESHOW GITE */
.slideshow {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 8px;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slideshow img.active {
  opacity: 1;
}





/* =========================
   MENU MOBILE
========================= */

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;

  width: 300px;
  max-width: 80vw;
  height: 100vh;

  background: #f5f2ec;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);

  display: flex;
  flex-direction: column;

  /* 🔥 ICI le changement */
  justify-content: flex-start;
  padding-top: 50px;   /* ajuste si besoin */

  align-items: center;
  gap: 22px;

  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 1000;
}


.mobile-menu a {
  font-size: 20px;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* =========================
   MOBILE
========================= */

@media (orientation: portrait) {

  /* cacher le menu desktop */
  header > nav {
    display: none;
  }

  /* HEADER STRUCTURE */
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    position: relative;
  }

  /* LOGO À GAUCHE */
  .logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
  }

.site-logo {
  height: 25px;
  width: auto;
  display: block;

  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
}

  /* CONTACT (icônes téléphone / mail) */
  .header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 40px; /* espace avant hamburger */
  }

  /* HAMBURGER */
.menu-toggle {
  display: block;
  position: absolute;
  right: 14px;

  /* 🔥 vrai centrage vertical */
  top: 50%;
  transform: translateY(-50%);

  font-size: 26px;
  line-height: 1;          /* IMPORTANT */
  padding: 0;              /* IMPORTANT */
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

  /* HERO MOBILE */
.hero {
  width:100vw;
  height: auto;
  min-height: 0;

  aspect-ratio: 26 / 10; /* ajuste si besoin */
  margin: 0;
  padding: 0;

  background-size: contain;
  background-position: CENTER top;
  background-repeat: no-repeat;
}

  /* masquer totalement le contenu du hero */
  .hero-content {
    display: none;
  }

}



/* =========================
   MOBILE PAYSAGE
========================= */

@media (max-width: 1024px) and (orientation: landscape)  {

  /* cacher le menu desktop */
  header > nav {
    display: none;
  }

  /* HEADER STRUCTURE */
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    position: relative;
  }

  /* LOGO À GAUCHE */
  .logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
  }

.site-logo {
  height: 25px;
  width: auto;
  display: block;

  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
}

  /* CONTACT (icônes téléphone / mail) */
  .header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 40px; /* espace avant hamburger */
  }

  /* HAMBURGER */
.menu-toggle {
  display: block;
  position: absolute;
  right: 14px;

  /* 🔥 vrai centrage vertical */
  top: 50%;
  transform: translateY(-50%);

  font-size: 26px;
  line-height: 1;          /* IMPORTANT */
  padding: 0;              /* IMPORTANT */
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

  /* HERO MOBILE */
.hero {
    display: none !important;
  }


  /* masquer totalement le contenu du hero */
  .hero-content {
    display: none;
  }

}


/* =========================
   PAGE RÉSERVER 
========================= */

/* ===== CONTENEUR GLOBAL ===== */
.reservation {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

/* Titre */
.reservation h1 {
  max-width: 1100px;
  margin: 0 auto 10px;
}

/* Texte intro */
.reservation p {
  max-width: 900px;
  margin: 0 auto 25px;
}

/* Bouton */
.conditions-button {
  text-align: center;
  margin: 24px 0 0;
}



.conditions-button button {
  background: transparent;
  border: 1px solid #c9a44c;
  color: #c9a44c;
  padding: 0px 0px;      /* ↓ plus petit */
  font-size: 13px;       /* ↓ texte plus fin */
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Contenu */
.modal-content {
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 32px;
  position: relative;
  text-align: left;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.modal-content ul {
  padding-left: 0;
  list-style: none;
}

.modal-content li {
  margin-bottom: 8px;
}

/* Bouton fermer */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

html, body {
  overflow-x: hidden;
}


/* === SMOOBU CALENDARS GRID === */

.smoobu-calendars {
  width: 100%;
  padding: 5px 5px;
  background: #faf8f5;
}

.smoobu-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px;

  width: 80%;
  margin: 0 auto;
}

.smoobu-cell {
  background: #fff;
  padding: 0px;
  border-radius: 0px;
 text-align: center
}

.smoobu-cell h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 18px;
}


@media (max-width: 1200px) {
  .smoobu-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .smoobu-grid {
    grid-template-columns: 1fr !important;
  }
}


/* === COMPACT CALENDRIERS SMOOBU (SANS SCROLL) === */

.smoobu-cell .calendarWidget,
.smoobu-cell .calendarContent {
  height: auto !important;
}
.smoobu-cell .calendar-day,
.smoobu-cell .day {
  height: 28px !important;
  line-height: 28px !important;
}

/* En-tête du calendrier (mois) plus compact */
.smoobu-cell .calendar-header,
.smoobu-cell .month-name {
  padding: 6px 0 !important;
  font-size: 14px !important;
}

/* Espacement général */
.smoobu-cell table {
  border-spacing: 0 !important;
}

/* === CENTRAGE PROPRE DES CALENDRIERS SMOOBU === */
/* === CENTRAGE DEFINITIF CALENDRIERS SMOOBU === */

.smoobu-cell {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 🔥 CENTRE COMMUN */
}

/* wrapper du calendrier */
.calendar-wrap {
  transform: scale(0.75);
  transform-origin: top center;
}

/* on ne touche plus au widget Smoobu */
.calendarWidget {
  margin: 0;
}








/* ===== WIDGET SMOOBU ===== */
#apartmentIframeAll,
.reservation-widget {
  max-width: 1100px;
  margin: 0 auto;
}

/* Force le centrage du widget */
#apartmentIframeAll iframe {
  display: block;
  margin: 0 auto;
}

/* ===== CONDITIONS & ANNULATIONS ===== */
.booking-conditions {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

/* Liste */
.conditions-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 14px;
}

/* Items */
.conditions-list li {
  line-height: 1.5;
}

/* ===== TABLETTE ===== */
@media (max-width: 1024px) {

  .reservation {
    margin: 30px auto;
  }

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

/* ===== MOBILE ===== */
@media (max-width: 600px) {

  .reservation {
    margin: 20px auto;
    text-align: center;
  }

  .reservation h1,
  .reservation p {
    text-align: center;
  }

  .conditions-list {
    grid-template-columns: 1fr;
  }
}

/* ===== SÉCURITÉ : AUCUN DÉCALAGE GAUCHE ===== */
.reservation,
.booking-conditions,
.smoobu-calendars {
  float: none !important;
  clear: both;
}

.reservation-note {
  margin: 4px 0;
  font-size: 0.8rem;
  color: #888;
  text-align: center;
}

.gite-reservation-note {
  text-align: center;
  margin-top: 16px;
}

.gite-reservation-note p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.gite-reservation-note .email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #444;
  text-decoration: none;
}

.gite-reservation-note .email-link:hover {
  text-decoration: underline;
}



.reassurance {
  text-align: center;
  font-size: 0.85rem;
  margin: 12px 0;
  color: #555;
}
.reassurance p {
  margin: 4px 0;
}

.google-rating-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.google-rating-link:hover {
  text-decoration: underline;
}





/* ===== NE RIEN MODIFIER AU DESSUS DE CETTE LIGNE =====NE RIEN MODIFIER AU DESSUS DE CETTE LIGNE =====NE RIEN MODIFIER AU DESSUS DE CETTE LIGNE ===== */


@media (max-width: 1024px) and (orientation: landscape) {

  /* ANNULATION DU LAYOUT DESKTOP */
  .intro {
    display: block !important;
  }

 .intro h2 {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 24px;
  }



  .intro > div {
    width: 100% !important;
    max-width: 100% !important;
  }
  .intro {
    flex-direction: column !important;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

  .intro {
    margin-top: -40px; /* 🔥 clé */
  }

  .intro {
    display: block;          /* stop colonnes */
    padding: 0;              /* on gère nous-mêmes */
  }

  .intro > div {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;  
    padding: 48px 16px 4px;
 box-sizing: border-box;
  }

  .intro img {
    display: block;
    width: 100vw;            /* 🔥 pleine largeur écran */
    max-width: none;

    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);


    height: auto;
  }



  .key-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔥 2 par ligne */
    gap: 24px 16px;
    margin-bottom: 0
  }
.key-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .key-item img {
    width: 50px;      /* 🔥 beaucoup plus élégant */
    height: auto;
    margin-bottom: 0
  }
  .key-item span {
    font-size: 12px;
    line-height: 1.4;
  }

  .key-info-section {
    padding-bottom: 0 ;
    margin-bottom: 0  ;
padding-top: 0px
  }

  .rooms h2 {
    margin-top: 0;        /* supprime la marge par défaut */
    padding-top: 0;   /* espace maîtrisé */
  }

  .room-grid {
    display: grid;
    grid-template-columns: 1fr; /* 🔥 1 chambre par ligne */
    gap: 32px;
  }

  .room img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* si déjà présent desktop */
  }
  .rooms {
 padding-top: 24px;
  }
  .room h3 {
    color: #b6a27a;
    margin-top: 12px;
    letter-spacing: 0.3px
  }
.room h3 a {
  color: inherit;           /* 🔥 garde EXACTEMENT la couleur actuelle */
  text-decoration: none;    /* 🔥 pas de soulignement */
  font-family: inherit;
  font-weight: inherit;
}

.room-grid {
  justify-items: center; /* 🔥 clé absolue */
}
.room {
  text-align: center;
}


.room h3 {
  margin-bottom: 4px;   /* 🔥 valeur idéale */
}

  .lang-switch {
    gap: 2px;
    margin-left: 40px;

  }

  .icon-reserver {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
 transform: translateY(-109:28 21/01/2026px);

  }

.room-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;

}

/* Images principales */
.room-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: 70vh; 

    object-fit: contain;   /* 🔥 respecte le ratio original */
    object-position: center;

    opacity: 0;
    transition: opacity 0.4s ease;
  }

/* Image active */
.room-images img.active {
  opacity: 1;
  animation: kenburns 8s ease-in-out infinite;
}

/* Animation douce */
@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-2%, -2%);
  }
}

/* Miniatures */
.room-images-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.room-images-thumbs img {
  width: 100%;
  height: 36px;           /* 🔥 taille MINIATURE maîtrisée */
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.5;
  cursor: pointer;
}

.room-images-thumbs img.active {
  opacity: 1;
  outline: 2px solid #c9a44c;
}

  .slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 18px;
    opacity: 0.4;
  }

/* Page Gîte – Intro */
  .page-gite .intro {
    text-align: center;
  }

  .page-gite .intro > div {
    max-width: 480px;
    margin: 0 auto;
  }

  .page-gite .intro p {
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }

  /* Titres capacité : espace réduit */
  .page-gite .intro h3 {
    margin-top: 24px;
    margin-bottom: 6px;
  }

  /* Listes : alignement propre des puces */
  .page-gite .intro ul {
    list-style: none;          /* enlève les points ronds */
    padding-left: 0;
    margin: 8px auto 20px;
    text-align: center;        /* centre le texte */
  }

  .page-gite .intro li {
    margin-bottom: 6px;
  }

  /* Image */
  .page-gite .intro img {
    margin-top: 24px;
    width: 100%;
    height: auto;
    border-radius: 8px;
  }



  .page-gite .room-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
  }

  .page-gite .room {
    width: 100%;
    max-width: 100%;
  }

  .page-gite img[src="assets/images/gite.jpg"] {
    display: none;
  }

.page-gite .slideshow {
  width: 100%;
  height: 55vh;
  position: relative;
  overflow: hidden
}

  .page-gite .slideshow img {
 position: absolute;
  inset: 0;                 /* 🔑 clé iOS */
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: none;
  }


  .page-gite .slideshow img.active {
    display: block;
  }

  /* Flèches */
.page-gite .slideshow .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

  .page-gite .slideshow .prev {
    left: 130px;
  }

  .page-gite .slideshow .next {
    right: 130px;
  }

  .page-gite .room h3 {
    margin-top: 12px;
  }


.gallery-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;

  height: 300px; /* hauteur par défaut (portrait) */
}

/* Images */
.gallery-row img {
  flex: 0 0 80%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px; /* optionnel mais très joli */
}

  .gallery-row::-webkit-scrollbar {
    display: none;
  }


  .reservation {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  /* Sécurise le conteneur de l'iframe */
  #apartmentIframeAll {
    width: 100%;
    box-sizing: border-box;
  }

  /* Sécurise l'iframe Smoobu elle-même */
  #apartmentIframeAll iframe {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }



.reassurance {
  text-align: center;
  font-size: 0.85rem;
  margin: 12px 0;
  color: #555;
}
.reassurance p {
  margin: 4px 0;
}

.google-rating-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.google-rating-link:hover {
  text-decoration: underline;
}




}











@media (max-width: 768px) {

  /* ANNULATION DU LAYOUT DESKTOP */
  .intro {
    display: block !important;
  }

 .intro h2 {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 24px;
  }



  .intro > div {
    width: 100% !important;
    max-width: 100% !important;
  }
  .intro {
    flex-direction: column !important;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

  .intro {
    margin-top: -40px; /* 🔥 clé */
  }

  .intro {
    display: block;          /* stop colonnes */
    padding: 0;              /* on gère nous-mêmes */
  }

  .intro > div {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;  
    padding: 48px 16px 4px;
 box-sizing: border-box;
  }

  .intro img {
    display: block;
    width: 100vw;            /* 🔥 pleine largeur écran */
    max-width: none;

    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);


    height: auto;
  }



  .key-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔥 2 par ligne */
    gap: 24px 16px;
    margin-bottom: 0
  }
.key-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .key-item img {
    width: 50px;      /* 🔥 beaucoup plus élégant */
    height: auto;
    margin-bottom: 0
  }
  .key-item span {
    font-size: 12px;
    line-height: 1.4;
  }

  .key-info-section {
    padding-bottom: 0 ;
    margin-bottom: 0  ;
padding-top: 0px
  }

  .rooms h2 {
    margin-top: 0;        /* supprime la marge par défaut */
    padding-top: 0;   /* espace maîtrisé */
  }

  .room-grid {
    display: grid;
    grid-template-columns: 1fr; /* 🔥 1 chambre par ligne */
    gap: 32px;
  }

  .room img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* si déjà présent desktop */
  }
  .rooms {
 padding-top: 24px;
  }
  .room h3 {
    color: #b6a27a;
    margin-top: 12px;
    letter-spacing: 0.3px
  }
.room h3 a {
  color: inherit;           /* 🔥 garde EXACTEMENT la couleur actuelle */
  text-decoration: none;    /* 🔥 pas de soulignement */
  font-family: inherit;
  font-weight: inherit;
}

.room-grid {
  justify-items: center; /* 🔥 clé absolue */
}
.room {
  text-align: center;
}

.room h3 {
  margin-bottom: 4px;   /* 🔥 valeur idéale */
}


.langs {
    font-size: 10px;      /* 🔥 clé : beaucoup plus petit */
    font-weight: 400;
    opacity: 0.65;        /* 🔥 passe au second plan */
    line-height: 1;
    gap: 2px;
  }

  .lang-switch a {
    font-size: 10px !important;   /* 🔥 FR / EN rétrécissent enfin */
    font-weight: 400;
    opacity: 1;
    line-height: 1;
  }

  .lang-switch span {
    font-size: 5px !important;   /* le | */
    opacity: 0.45;
    line-height: 1;
  }

  .lang-switch {
    gap: 2px;
    margin-left: 15px;

  }

  .icon-reserver {
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
 transform: translateY(-109:28 21/01/2026px);

  }






.room-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;

}

/* Images principales */
.room-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: contain;   /* 🔥 respecte le ratio original */
    object-position: center;

    opacity: 0;
    transition: opacity 0.4s ease;
  }

/* Image active */
.room-images img.active {
  opacity: 1;
  animation: kenburns 8s ease-in-out infinite;
}

/* Animation douce */
@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-2%, -2%);
  }
}

/* Miniatures */
.room-images-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.room-images-thumbs img {
  width: 100%;
  height: 36px;           /* 🔥 taille MINIATURE maîtrisée */
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.5;
  cursor: pointer;
}

.room-images-thumbs img.active {
  opacity: 1;
  outline: 2px solid #c9a44c;
}

  .slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 18px;
    opacity: 0.4;
  }

/* Page Gîte – Intro */
  .page-gite .intro {
    text-align: center;
  }

  .page-gite .intro > div {
    max-width: 480px;
    margin: 0 auto;
  }

  .page-gite .intro p {
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }

  /* Titres capacité : espace réduit */
  .page-gite .intro h3 {
    margin-top: 24px;
    margin-bottom: 6px;
  }

  /* Listes : alignement propre des puces */
  .page-gite .intro ul {
    text-align: left;
    list-style-position: outside;
    margin: 6px auto 20px;
    padding-left: 20px;
  }

  .page-gite .intro li {
    margin-bottom: 4px;
  }

  /* Image */
  .page-gite .intro img {
    margin-top: 24px;
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .page-gite .room-grid {
    display: block;
  }

  .page-gite .room {
    margin-bottom: 32px;
    text-align: center;
  }


  .page-gite img[src="assets/images/gite.jpg"] {
    display: none;
  }



  .page-gite .room {
    width: 100%;
    max-width: 100%;
  }



.page-gite .slideshow {
  width: 100%;
  height: 25vh;
  position: relative;
  overflow: hidden
}

  .page-gite .slideshow img {
 position: absolute;
  inset: 0;                 /* 🔑 clé iOS */
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: none;
  }



  .page-gite .slideshow img.active {
    display: block;
  }

  /* Flèches */
  .page-gite .slideshow .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
  }

  .page-gite .slideshow .prev {
    left: 10px;
  }

  .page-gite .slideshow .next {
    right: 10px;
  }

  .page-gite .room h3 {
    margin-top: 12px;
  }



  .page-domaine section.section,
  .page-domaine section.section-light {
    max-width: none;        /* on enlève la colonne desktop */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;     /* vraie marge mobile */
    padding-right: 12px;
    box-sizing: border-box;
  }
  .page-domaine .intro-poetique .contenu {
    width: auto;           /* 🔑 on enlève la colonne 85% */
    max-width: none;
    margin: 0;
    padding-left: 12px;    /* marge mobile cohérente */
    padding-right: 12px;
    box-sizing: border-box;
  }

  .page-domaine .intro-poetique {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }



  /* Les textes à l’intérieur suivent naturellement */
  .page-domaine .section-intro,
  .page-domaine .section-note {
    max-width: none;
  }

  .page-domaine .gallery {
    gap: 8px;
  }

 .page-domaine section.section {
    margin-bottom: 55px;   /* valeur normale mobile */
  }

  /* Et enlève l'espace inutile au début de la section suivante */
  .page-domaine section.section-light {
    padding-top: 0;
    margin-top: 0;
  }
.page-domaine .section-light .section-intro {
  text-align: justify;
}

  .gallery-small {
    position: relative;
    width: 100%;
    height: 240px;          /* ajuste si tu veux : 220 / 260 */
    overflow: hidden;
  }

  .gallery-small img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 🔑 plein écran, bien cadré */
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* ✨ fondu */
  }

  .gallery-small img.active {
    opacity: 1;
    z-index: 1;
  }

  .mobile-only {
    display: block;
  }



  .gallery-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;                 /* 🔑 autorise le swipe */
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-row img {
    flex: 0 0 80%;
    border-radius: 8px;
    object-fit: cover;
  }

  .gallery-row::-webkit-scrollbar {
    display: none;
  }

.contact-page {
    padding-left: 4px;
    padding-right: 8px;
    box-sizing: border-box;
  }

  /* Empêche les champs de dépasser */
  .contact-page input,
  .contact-page textarea,
  .contact-page button {
    width: 100%;
    box-sizing: border-box;
  }

  .reservation {
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }

  /* Sécurise le conteneur de l'iframe */
  #apartmentIframeAll {
    width: 100%;
    box-sizing: border-box;
  }

  /* Sécurise l'iframe Smoobu elle-même */
  #apartmentIframeAll iframe {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .smoobu-grid {
    display: none;
  }


  body .smoobu-grid {
    display: none !important;
  }


  .page-domaine .intro-poetique .lead {
    font-size: 1.3rem;
  text-align: justify;
  }

.page-domaine .intro-poetique .texte {
  font-family: "Lucida Bright", "Lucida Serif", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: justify;
font-style: italic;

}

.reassurance {
  text-align: center;
  font-size: 0.85rem;
  margin: 12px 0;
  color: #555;
}
.reassurance p {
  margin: 4px 0;
}

.google-rating-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.google-rating-link:hover {
  text-decoration: underline;
}



.reassurance {
  text-align: center;
  font-size: 0.85rem;
  margin: 12px 0;
  color: #555;
}
.reassurance p {
  margin: 4px 0;
}

.google-rating-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.google-rating-link:hover {
  text-decoration: underline;
}


.gpx-app {
  text-align: center;
  padding-left: 12px;
  padding-right: 12px;
}

.gpx-title {
  margin-top: 12px;
  margin-bottom: 12px;
}

.gpx-text {
  text-align: justify;
  text-justify: inter-word;
  margin: 10px 0;
}
.gpx-en {
  font-style: italic;
  color: #6f6f6f;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.store-buttons img {
  height: 40px;
  width: auto;
}




}





