:root {
  /* 1. Couleurs principales */
  --rouge       : #C3333B;
  --rouge-fonce : #9e262d;     /* chaque couleur à sa version plus sombre pour les hover */
  --bleu        : #88B5DC;
  --bleu-fonce  : #5d90bc;
  --vert        : #4A5A18;
  --vert-fonce  : #344010;
  --beige       : #D5CBA3;
  --beige-clair : #e8e2cc;
  --blanc-casse : #E5E3D4;
  --blanc-pur   : #ffffff;
  --texte-fonce : #2c2a24;     /* couleur principale du texte */
  --texte-moyen : #5a5648;     /* texte secondaire */
  --texte-clair : #8a8070;     /* texte tertiaire */
  --ombre-legere: 0 2px 12px rgba(44, 42, 36, 0.10);
  --ombre-forte : 0 8px 32px rgba(44, 42, 36, 0.18);

  /* --- Typographie --- */
  --font-titre  : 'Playfair Display', Georgia, serif;
  --font-corps  : 'Lato', 'Segoe UI', sans-serif;

  /* 2. Espacements  */
  --espace-xs   : 0.5rem;
  --espace-s    : 1rem;
  --espace-m    : 2rem;
  --espace-l    : 4rem;
  --espace-xl   : 6rem;

  /* --- Rayons de bord (border-radius) --- */
  --rayon-s     : 4px;
  --rayon-m     : 8px;
  --rayon-l     : 16px;

  /* --- Largeur max du contenu --- */
  --largeur-max : 1200px;

  /* --- Transitions --- */
  --transition  : all 0.25s ease;
}

/* Reset : neutralise les styles par défaut des navigateurs.
   Chaque navigateur a ses propres marges/paddings par défaut,
   le reset les remet tous à zéro pour partir d'une base commune. */
*, *::before, *::after {
  box-sizing: border-box; /* le padding est inclus dans la largeur */
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* défilement fluide lors des ancres # */
}

body {
  font-family: var(--font-corps);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--texte-fonce);
  background-color: var(--blanc-casse);
}

img {
  display: block;       /* supprime l'espace sous les images (inline par défaut) */
  max-width: 100%;      /* les images ne dépassent jamais leur conteneur */
  height: auto;         /* conserve les proportions */
}

ul {
  list-style: none;     /* supprime les puces par défaut */
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;   /* <address> est en italique par défaut, on annule */
}


/* On importe Playfair Display (titres) et Lato (corps) depuis Google Fonts. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');


/* conteneur centré avec une largeur max.
   C'est la classe qu'on applique à l'intérieur de chaque section
   pour que le contenu ne soit pas collé aux bords. */
.container {
  width: 100%;
  max-width: var(--largeur-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.centrer {
  text-align: center;
  margin-top: var(--espace-m);
}

/* 3. TYPOGRAPHIE GLOBALE*/

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titre);
  font-weight: 600;
  line-height: 1.2;
  color: var(--vert);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: var(--espace-s); }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; font-weight: 700; }

p { margin-bottom: var(--espace-s); color: var(--texte-moyen); }
p:last-child { margin-bottom: 0; }

/* 4. BOUTONS*/

/* .btn-principal : bouton rouge plein */
.btn-principal {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--rouge);
  color: var(--blanc-pur);
  font-family: var(--font-corps);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--rouge);
  border-radius: var(--rayon-s);
  cursor: pointer;
  transition: var(--transition);
}

.btn-principal:hover,
.btn-principal:focus {
  background-color: var(--rouge-fonce);
  border-color: var(--rouge-fonce);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(195, 51, 59, 0.3);
}

/* .btn-secondaire : bouton contour vert —  */
.btn-secondaire {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background-color: transparent;
  color: var(--vert);
  font-family: var(--font-corps);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--vert);
  border-radius: var(--rayon-s);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondaire:hover,
.btn-secondaire:focus {
  background-color: var(--vert);
  color: var(--blanc-pur);
  transform: translateY(-2px);
}

/* 5. HEADER & NAVIGATION*/

.site-header {
  position: sticky;     /* reste visible quand on scrolle */
  top: 0;
  z-index: 100;         /* passe devant le reste du contenu */
  background-color: var(--blanc-pur);
  border-bottom: 3px solid var(--beige);
  box-shadow: var(--ombre-legere);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--largeur-max);
  margin: auto;
}

/* --- Logo --- */
.logo {
  text-decoration: none;
}

.logo-titre {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--vert);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.logo-titre:hover {
  color: var(--rouge);
}

/*  6. Navigation principale   */
.nav-principale ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-principale > ul > li {
  position: relative; /* pour le sous-menu en position absolute */
}

.nav-principale > ul > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--texte-fonce);
  border-radius: var(--rayon-s);
  transition: var(--transition);
}

.nav-principale > ul > li > a:hover,
.nav-principale > ul > li > a.active {
  color: var(--rouge);
  background-color: var(--blanc-casse);
}



/* --- Sous-menu déroulant --- */
.nav-principale ul ul {
  /* caché par défaut */
  display: none;
  position: absolute;
  min-width: 200px;
  background-color: var(--blanc-pur);
  border: 1px solid var(--beige);
  border-radius: var(--rayon-m);
  box-shadow: var(--ombre-forte);
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

/* Afficher le sous-menu au survol du parent */
.nav-principale > ul > li:hover > ul {
  display: flex;
}

.nav-principale ul ul li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--texte-moyen);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid var(--beige-clair);
  transition: var(--transition);
}

.nav-principale ul ul li:last-child a {
  border-bottom: none;
}

.nav-principale ul ul li a:hover {
  background-color: var(--blanc-casse);
  color: var(--rouge);
}

/* 7. MENU BURGER (mobile)*/

/* Bouton burger : 3 traits  */
.btn-burger {
  display: none; /* caché sur desktop, visible sur mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-burger span {
  display: block;
  height: 3px;
  background-color: var(--vert);
  border-radius: 3px;
  transition: var(--transition);
}

/* Menu déroulant mobile — caché par défaut */
.nav-mobile {
  display: none;
  background-color: var(--beige);
  padding: 0rem 0rem;
}

/* Quand la classe "ouvert" est ajoutée par le JS, le menu s'affiche */
.nav-mobile.ouvert {
  display: block;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
}

.nav-mobile ul li a {
  display: block;
  padding: 0.85rem 1.5rem;
  color: var(--vert-fonce);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--vert-fonce);
  transition: var(--transition);
}

.nav-mobile ul li a:hover {
  background-color: var(--vert-fonce);
  padding-left: 2rem;
  color: var(--beige);
}

/* 8. SECTION HERO (page d'accueil) */

.hero {
  position: relative;
  min-height: 100vh;         /* occupe 100% de la hauteur de l'écran */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  /* Image de fond (piscine) + effet de filtre vert pour mieux voir le texte :  */
  background-image:
    linear-gradient(
      to bottom,
      rgba(74, 90, 24, 0.55) 0%, 
      rgba(44, 42, 36, 0.65) 100%  
    ),
    url('images/exterieur/piscine 3.jpg');   
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-contenu {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: var(--espace-m);
  animation: fadeUp 0.8s ease both; /* apparition animée */
}

/* Ligne décorative au dessus le titre */
.hero-contenu::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--beige);
  margin: 0 auto var(--espace-s);
  border-radius: 2px;
}

.hero h1 {
  font-family: var(--font-titre);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--blanc-pur);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-sous-titre {
  font-size: 1.15rem;
  color: var(--beige);
  margin-bottom: var(--espace-m);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 3rem;
}

/* Animation d'apparition du hero */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 9. PAGE HERO (pages intérieures)*/

/* Bandeau en haut de chaque page intérieure (pas l'accueil) */
.page-hero {
  background-color: var(--vert);
  background-image:
    linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert) 60%, #6a8020 100%);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}

.page-hero h1 {
  color: var(--blanc-pur);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--beige);
  font-size: 1.15rem;
  margin-bottom: 0;
}

/* Bandeau en haut de la chambre jonquille */
.page-hero_jonquille {
  background-image:
    linear-gradient( #EDDD53, #4A5A18);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}
.page-hero_jonquille h1 {
  color:var(--blanc-pur);
  margin-bottom: 0.5rem;
}

/* Bandeau en haut de la chambre châtaigne */
.page-hero_chataigne {
  background-image:
    linear-gradient( #967748,#3D270B);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}
.page-hero_chataigne h1 {
  color:var(--blanc-pur);
  margin-bottom: 0.5rem;
}

/* Bandeau en haut de la chambre cyrano */
.page-hero_cyrano {
  background-image:
    linear-gradient(#2B95FF, #122C8A);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}
.page-hero_cyrano h1 {
  color:var(--blanc-pur);
  margin-bottom: 0.5rem;
}

/* Bandeau en haut de la chambre lilas */
.page-hero_lilas {
  background-image:
    linear-gradient( #C8A2C8, #5D218F);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}
.page-hero_lilas h1 {
  color:var(--blanc-pur);
  margin-bottom: 0.5rem;
}

/* Bandeau en haut de la chambre petiote */
.page-hero_petiote {
  background-image:
    linear-gradient( #7D4646, #BF1111);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}
.page-hero_petiote h1 {
  color:var(--blanc-pur);
  margin-bottom: 0.5rem;
}

/* 10. SECTION PRÉSENTATION (accueil)*/

.presentation {
  background-color: var(--blanc-pur);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}

.presentation h2 {
  margin-bottom: var(--espace-s);
}

/* Ligne décorative sous les titres de section */
.presentation h2::after,
.apercu-chambres h2::after,
.points-forts h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--rouge);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.presentation p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  color: var(--texte-moyen);
}

/* 11. GRILLE DES CHAMBRES (aperçu accueil) */

.apercu-chambres {
  background-color: var(--blanc-casse);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}

.apercu-chambres h2 {
  margin-bottom: var(--espace-m);
}

/* Grille CSS : 3 colonnes sur desktop, s'adapte sur mobile */
.grille-chambres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--espace-m);
  margin-bottom: var(--espace-m);
}

/* Carte chambre */
.carte-chambre {
  background-color: var(--blanc-pur);
  border-radius: var(--rayon-l);
  overflow: hidden;         /* l'image ne dépasse pas les bords arrondis */
  box-shadow: var(--ombre-legere);
  transition: var(--transition);
  text-align: left;
}

.carte-chambre:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}

.carte-chambre__image {
  overflow: hidden;
  height: 220px;
}

.carte-chambre__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* l'image remplit le cadre sans se déformer */
  transition: transform 0.4s ease;
}

.carte-chambre:hover .carte-chambre__image img {
  transform: scale(1.05);  /* zoom au survol */
}

.carte-chambre_prix {
  font-size: 1rem;
  color: var(--rouge);
  margin: auto;
}

.carte-chambre__infos {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.carte-chambre__infos h3 {
  font-size: 1.1rem;
  color: var(--vert);
  margin-bottom: 0;
}

.carte-chambre__infos p {
  font-size: 0.92rem;
  margin-bottom: 0;
  color: var(--texte-moyen);
}

/* 12. SECTION POINTS FORTS (accueil)*/

.points-forts {
  background-color: var(--vert);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
}

.points-forts h2 {
  color: var(--blanc-pur);
  margin-bottom: var(--espace-m);
}

.points-forts h2::after {
  background-color: var(--beige);
  margin: 0.75rem auto 0;
}

.grille-atouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--espace-m);
}

.atout {
  padding: var(--espace-m) var(--espace-s);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--rayon-l);
  transition: var(--transition);
}

.atout:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.atout h3 {
  color: var(--beige);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.atout p {
  color: rgba(229, 227, 212, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 13. CTA RÉSERVATION (bande commune à plusieurs pages)*/

.cta-reservation {
  background-color: var(--beige);
  padding: var(--espace-l) var(--espace-s);
  text-align: center;
  border-top: 3px solid var(--beige-clair);
}

.cta-reservation h2 {
  color: var(--vert);
  margin-bottom: var(--espace-xs);
}

.cta-reservation p {
  color: var(--texte-moyen);
  margin-bottom: var(--espace-m);
}

/* 14. FOOTER */

.site-footer {
  background-color: var(--texte-fonce);
  color: var(--beige-clair);
  padding-top: var(--espace-l);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--espace-m);
  padding-bottom: var(--espace-m);
}

.footer-colonne h4 {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  color: var(--blanc-pur);
  margin-bottom: var(--espace-s);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rouge);
  display: inline-block;
}

.footer-colonne p,
.footer-colonne address p {
  font-size: 0.9rem;
  color: var(--texte-clair);
  margin-bottom: 0.4rem;
}

.footer-colonne ul li {
  margin-bottom: 0.3rem;
}

.footer-colonne a {
  color: var(--texte-clair);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-colonne a:hover {
  color: var(--beige);
  padding-left: 4px;
}

.footer-bas {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.footer-bas p {
  font-size: 0.82rem;
  color: var(--texte-clair);
  margin: 0;
}

/* 15. PAGE LISTE CHAMBRES (chambres.html)*/

.section-chambres {
  padding: var(--espace-l) var(--espace-s);
}

/* Chaque chambre : image à gauche, détails à droite */
.chambre-ligne {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--espace-m);
  background-color: var(--blanc-pur);
  border-radius: var(--rayon-l);
  overflow: hidden;
  box-shadow: var(--ombre-legere);
  margin-bottom: var(--espace-m);
  transition: var(--transition);
}

.chambre-ligne:hover {
  box-shadow: var(--ombre-forte);
  transform: translateY(-3px);
}

.chambre-ligne__image {
  overflow: hidden;
  min-height: 300px;
}

.chambre-ligne__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.chambre-ligne:hover .chambre-ligne__image img {
  transform: scale(1.04);
}

.chambre-ligne__details {
  padding: var(--espace-m);
  display: flex;
  flex-direction: column;
}

.chambre-ligne__details h2 {
  color: var(--vert);
  margin-bottom: 0.4rem;
}

.chambre-prix {
  font-family: var(--font-corps);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--rouge);
    white-space: nowrap;
    margin-top: -0.3rem;
}

.chambre-detail_prix {
  font-family: var(--font-corps);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--rouge);
    white-space: nowrap;
    margin-top: 3rem;
}

.chambre-capacite {
  font-size: 0.9rem;
  color: var(--bleu-fonce);
  font-weight: 700;
  margin-bottom: var(--espace-s);
}

.chambre-description {
  flex: 1; /* prend l'espace restant pour pousser le pied vers le bas */
  color: var(--texte-moyen);
  font-size: 0.95rem;
  margin-bottom: var(--espace-s);
}

/* Liste d'équipements avec puce personnalisée */
.chambre-equipements {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: var(--espace-s);
}

.chambre-equipements li {
  font-size: 0.88rem;
  color: var(--texte-moyen);
  padding-left: 1.1rem;
  position: relative;
}

/* Puce verte personnalisée */
.chambre-equipements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--vert);
  font-weight: 700;
}

.chambre-pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--espace-s);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--espace-s);
  border-top: 1px solid var(--beige-clair);
}

.chambre-capacite-hero {
  color: var(--beige);
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- Galerie photos chambre--- */
/* === GALERIE CHAMBRE === */

.chambre-galerie {
  padding: 2rem 0;
}

/* Conteneur de la grande image — hauteur fixe, ne bouge jamais */
.galerie-principale {
  width: 100%;
  height: 500px;           /* hauteur fixe  */
  background-color: #1a1a1a; /* fond sombre  */
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* La grande image s'adapte sans jamais dépasser le cadre */
.galerie-principale img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;    /* affiche l'image entière, pas de recadrage */
  display: block;
  transition: opacity 0.25s ease;
}

/* Grille de miniatures */
.galerie-miniatures {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 par ligne sur grand écran */
  gap: 0.5rem;
}

/* Chaque bouton miniature */
.galerie-miniature {
  width: 100%;
  aspect-ratio: 4 / 3;    /* ratio fixe pour toutes les miniatures */
  overflow: hidden;
  border: 2px solid ;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  background: none;
}

.galerie-miniature img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* recadrage centré pour les miniatures */
  display: block;
  transition: transform 0.2s ease;
}

/* Miniature survolée */
.galerie-miniature:hover {
  border-color: #8a7560; /* adapte à ta couleur d'accent */
  opacity: 0.9;
}

.galerie-miniature:hover img {
  transform: scale(1.05);
}

/* Miniature active (sélectionnée) */
.galerie-miniature.actif {
  border-color: #5a4535; /* couleur principale du site */
  opacity: 1;
}

/* --- bouttons plein écran et fermer --- */

.galerie-principale {
  position: relative;
}

/* Bouton plein écran */
.galerie-btn-fullscreen,
.galerie-btn-quitter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.galerie-btn-fullscreen svg,
.galerie-btn-quitter svg {
  width: 18px;
  height: 18px;
}

.galerie-btn-fullscreen:hover,
.galerie-btn-quitter:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Bouton quitter caché par défaut */
.galerie-btn-quitter {
  display: none;
}

/* En plein écran natif, le bouton quitter remplace le bouton plein écran */
.galerie-principale:fullscreen .galerie-btn-fullscreen,
.galerie-principale:-webkit-full-screen .galerie-btn-fullscreen {
  display: none;
}

.galerie-principale:fullscreen .galerie-btn-quitter,
.galerie-principale:-webkit-full-screen .galerie-btn-quitter {
  display: flex;
}

/* L'image occupe tout l'espace en plein écran */
.galerie-principale:fullscreen,
.galerie-principale:-webkit-full-screen {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

.galerie-principale:fullscreen img,
.galerie-principale:-webkit-full-screen img {
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
}

/* Responsive : 4 colonnes sur tablette, 3 sur mobile */
@media (max-width: 768px) {
  .galerie-principale {
    height: 340px;
  }

  .galerie-miniatures {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .galerie-principale {
    height: 260px;
  }

  .galerie-miniatures {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }
}

/* --- Détail de la chambre (description + aside) --- */
.chambre-detail {
  padding: var(--espace-l) var(--espace-s);
  background-color: var(--blanc-pur);
}

.chambre-detail__duo {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--espace-l);
  align-items: start;
}

.chambre-detail__description h2 {
  color: var(--vert);
  margin-bottom: var(--espace-s);
}

.chambre-couchages {
  margin-top: var(--espace-m);
  padding: var(--espace-s) var(--espace-m);
  background-color: var(--blanc-casse);
  border-left: 4px solid var(--vert);
  border-radius: 0 var(--rayon-m) var(--rayon-m) 0;
}

.chambre-couchages h3 {
  color: var(--vert);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.chambre-couchages ul {
  list-style: none;
}

.chambre-couchages ul li {
  padding: 0.25rem 0;
  font-size: 0.92rem;
  color: var(--texte-moyen);
}

/* --- Aside (boîte équipements + réservation) --- */
.chambre-detail__aside {
  position: sticky;
  top: 90px;           /* colle sous le header sticky */
}

.chambre-equipements-bloc {
  background-color: var(--blanc-casse);
  border-radius: var(--rayon-l);
  padding: var(--espace-m);
  margin-bottom: var(--espace-s);
  border: 1px solid var(--beige);
}

.chambre-equipements-bloc h3 {
  color: var(--vert);
  font-size: 1rem;
  margin-bottom: var(--espace-s);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--beige);
}

.chambre-equipements-bloc .chambre-equipements li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--beige-clair);
  width: 100%;
  flex: none;
}

.chambre-equipements-bloc .chambre-equipements li:last-child {
  border-bottom: none;
}

/* --- Navigation vers les autres chambres --- */
.navigation-chambres {
  padding: var(--espace-l) var(--espace-s);
  background-color: var(--blanc-casse);
  text-align: center;
}

.navigation-chambres h2 {
  margin-bottom: var(--espace-m);
}

.nav-chambres-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--espace-s);
}

.nav-chambre-lien {
  display: block;
  border-radius: var(--rayon-m);
  overflow: hidden;
  background-color: var(--blanc-pur);
  box-shadow: var(--ombre-legere);
  transition: var(--transition);
  text-align: center;
}

.nav-chambre-lien:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-forte);
}

.nav-chambre-lien img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nav-chambre-lien:hover img {
  transform: scale(1.07);
}

.nav-chambre-lien span {
  display: block;
  padding: 0.6rem;
  font-family: var(--font-titre);
  font-size: 0.95rem;
  color: var(--vert);
  font-weight: 600;
}

/* 17. PAGE EXPÉRIENCE*/

.experience-bloc {
  padding: var(--espace-l) var(--espace-s);
  background-color: var(--blanc-pur);
}

/* Alternance de couleur de fond */
.experience-bloc--alt {
  background-color: var(--blanc-casse);
}

.experience-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--espace-l);
  align-items: center;
}

.experience-duo__image {
  border-radius: var(--rayon-l);
  overflow: hidden;
  box-shadow: var(--ombre-forte);
}

.experience-duo__image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.experience-duo__image:hover img {
  transform: scale(1.03);
}

.experience-duo__texte h2 {
  color: var(--vert);
  margin-bottom: var(--espace-s);
}

/* Encadré d'avertissement */
.encadre-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--espace-s);
  padding: 0.75rem 1rem;
  background-color: rgba(195, 51, 59, 0.08);
  border-left: 4px solid var(--rouge);
  border-radius: 0 var(--rayon-m) var(--rayon-m) 0;
}

.encadre-info span {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.encadre-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--rouge-fonce);
  font-weight: 700;
}

/* Grille services inclus */
.experience-equipements {
  padding: var(--espace-l) var(--espace-s);
  background-color: var(--vert);
  text-align: center;
}

.experience-equipements h2 {
  color: var(--blanc-pur);
  margin-bottom: var(--espace-m);
}

.grille-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--espace-s);
}

.service-item {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--rayon-l);
  padding: var(--espace-s);
  transition: var(--transition);
}

.service-item:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.service-item__icone {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.service-item p {
  color: var(--beige-clair);
  font-size: 0.88rem;
  margin: 0;
}

/* 18. PAGE ACTIVITÉS */

.activites-intro {
  padding: var(--espace-m) var(--espace-s);
  background-color: var(--blanc-pur);
  text-align: center;
}

.activites-intro p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-activites {
  padding: var(--espace-m) var(--espace-s) var(--espace-l);
  background-color: var(--blanc-casse);
}

.grille-activites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--espace-m);
}

.carte-activite {
  background-color: var(--blanc-pur);
  border-radius: var(--rayon-l);
  overflow: hidden;
  box-shadow: var(--ombre-legere);
  transition: var(--transition);
}

.carte-activite:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}

.carte-activite__image {
  height: 200px;
  overflow: hidden;
}

.carte-activite__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carte-activite:hover .carte-activite__image img {
  transform: scale(1.06);
}

.carte-activite__contenu {
  padding: 1.25rem;
}

.carte-activite__contenu h3 {
  color: var(--vert);
  margin: 0.5rem 0 0.25rem;
}

/* Badges de catégorie */
.badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--culture {
  background-color: rgba(136, 181, 220, 0.25);
  color: var(--bleu-fonce);
}

.badge--nature {
  background-color: rgba(74, 90, 24, 0.15);
  color: var(--vert);
}

.badge--loisir {
  background-color: rgba(195, 51, 59, 0.1);
  color: var(--rouge);
}

.activite-distance {
  font-size: 0.82rem;
  color: var(--texte-clair);
  margin-bottom: 0.5rem;
}

/* Encadré conseil */
.activites-conseil {
  padding: var(--espace-m) var(--espace-s);
  background-color: var(--blanc-pur);
}

.encadre-conseil {
  display: flex;
  align-items: flex-start;
  gap: var(--espace-s);
  max-width: 680px;
  margin: auto;
  padding: var(--espace-m);
  background-color: rgba(136, 181, 220, 0.15);
  border-left: 4px solid var(--bleu);
  border-radius: 0 var(--rayon-l) var(--rayon-l) 0;
}

.encadre-conseil__icone {
  font-size: 2rem;
  flex-shrink: 0;
}

.encadre-conseil h3 {
  color: var(--bleu-fonce);
  margin-bottom: 0.25rem;
}

.encadre-conseil p {
  margin: 0;
  font-size: 0.92rem;
}

/* 19. PAGE AVIS – BLOCS PLATEFORMES */

/* Intro */
.avis-intro {
  padding: var(--espace-m) var(--espace-s);
  background-color: var(--blanc-pur);
  text-align: center;
}

.avis-intro p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--texte-moyen);
}

/* Section conteneur */
.section-avis-plateformes {
  padding: var(--espace-m) var(--espace-s) var(--espace-l);
  background-color: var(--blanc-casse);
}

/* Grille 3 colonnes égales */
.grille-plateformes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espace-m);
}

/* Carte commune */
.carte-plateforme {
  background-color: var(--blanc-pur);
  border-radius: var(--rayon-l);
  padding: var(--espace-m);
  box-shadow: var(--ombre-legere);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  border-top: 4px solid var(--beige);
}

.carte-plateforme:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-forte);
}

/* Couleur d'accentuation propre à chaque plateforme */
.carte-plateforme--booking:hover  { border-top-color: #003580; }
.carte-plateforme--google:hover   { border-top-color: #ff0000; }
.carte-plateforme--tripadvisor:hover { border-top-color: #34E0A1; }

/* En-tête de carte : logo/image */
.carte-plateforme__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.plateforme-logo--google {
  height: 55px;
  width: auto;
  margin-left: 60px;
}

/* Texte booking abaissé */
.textebooking{
  margin-top: 5px;
}
  
/* Corps de l'avis */
.carte-plateforme__avis {
  flex: 1;
  border-left: 3px solid var(--beige);
  padding-left: 1.15rem;
}

.plateforme-avis__texte {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--texte-moyen);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.plateforme-avis__meta {
  font-size: 0.82rem;
  color: var(--texte-clair);
}

.plateforme-avis__auteur {
  font-weight: 700;
  color: var(--texte-fonce);
}

/* Lien vers la fiche plateforme */
.plateforme-lien {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vert);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
  margin-top: auto;
}

.plateforme-lien:hover {
  color: var(--rouge);
}

/* 20. PAGE CONTACT */

.section-contact {
  padding: var(--espace-l) var(--espace-s);
}

.contact-duo {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--espace-l);
  align-items: start;
}

.contact-formulaire h2,
.contact-infos h2 {
  color: var(--vert);
  margin-bottom: var(--espace-m);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--beige);
}

/* --- Formulaire --- */
.formulaire {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Deux champs côte à côte */
.formulaire__ligne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.formulaire__champ {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.formulaire__champ label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--texte-fonce);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Styles communs aux champs de saisie */
.formulaire__champ input,
.formulaire__champ select,
.formulaire__champ textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--blanc-pur);
  border: 2px solid var(--beige);
  border-radius: var(--rayon-m);
  font-family: var(--font-corps);
  font-size: 0.95rem;
  color: var(--texte-fonce);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none; /* supprime le style natif sur Safari/iOS */
}

/* Couleur au focus (clic dans le champ) */
.formulaire__champ input:focus,
.formulaire__champ select:focus,
.formulaire__champ textarea:focus {
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(74, 90, 24, 0.12);
}

/* Validation HTML5 : rouge si invalide après interaction */
.formulaire__champ input:not(:placeholder-shown):invalid {
  border-color: var(--rouge);
}

.formulaire__champ textarea {
  resize: vertical; /* le textarea se redimensionne verticalement seulement */
  min-height: 130px;
}

.champ-obligatoire {
  color: var(--rouge);
}

.mention-obligatoire {
  font-size: 0.82rem;
  color: var(--texte-clair);
  margin: 0;
}

.btn-submit {
  align-self: flex-start; /* le bouton ne s'étire pas en pleine largeur */
  min-width: 220px;
}

/* --- Colonne infos de contact --- */
.contact-infos__bloc {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--espace-m);
  padding-bottom: var(--espace-m);
  border-bottom: 1px solid var(--beige-clair);
}

.contact-infos__bloc:last-of-type {
  border-bottom: none;
}

.contact-infos__icone {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.contact-infos__bloc h3 {
  color: var(--vert);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-infos__bloc p,
.contact-infos__bloc address p {
  font-size: 0.9rem;
  color: var(--texte-moyen);
  margin-bottom: 0.2rem;
}

.contact-infos__bloc a {
  color: var(--vert);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.contact-infos__bloc a:hover {
  color: var(--rouge);
}

/* Carte Google Maps */
.contact-carte {
  margin-top: var(--espace-m);
  border-radius: var(--rayon-l);
  overflow: hidden;
  border: 2px solid var(--beige);
}

.contact-carte__placeholder {
  text-align: center;
  padding: 2rem 1rem;
  background: #f5f5f0;
  border-radius: 8px;
}
.carte-mention-rgpd {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.75rem;
}

/* 21. RESPONSIVE  */

/* --- Tablette (max 900px) --- */
@media (max-width: 900px) {

  /* Navigation desktop --> cachée */
  .nav-principale {
    display: none;
  }

  /* Bouton burger --> visible */
  .btn-burger {
    display: flex;
  }

  /* Chambre en ligne --> empilée verticalement */
  .chambre-ligne {
    grid-template-columns: 1fr;
  }

  .chambre-ligne__image {
    min-height: 240px;
  }

  /* Expérience : colonnes --> une seule colonne */
  .experience-duo {
    grid-template-columns: 1fr;
  }

  /* Détail chambre : aside passe en dessous */
  .chambre-detail__duo {
    grid-template-columns: 1fr;
  }

  .chambre-detail__aside {
    position: static;
  }

  /* Contact : une seule colonne */
  .contact-duo {
    grid-template-columns: 1fr;
  }

   /* Galerie : image principale réduite */
  .galerie-principale {
    height: 280px;
  }

  /* Avis plateformes : 1 colonne sur tablette */
  .grille-plateformes {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* --- Mobile (max 600px) --- */
@media (max-width: 600px) {

  /* Espacements réduits */
  :root {
    --espace-l  : 2.5rem;
    --espace-xl : 3.5rem;
  }

  /* Formulaire : champs côte à côte → empilés */
  .formulaire__ligne {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    align-self: stretch;
  }

  /* Hero : pas de parallaxe sur mobile (problème de perf) */
  .hero {
    background-attachment: scroll;
    min-height: 70vh;
  }

   /* Galerie : miniatures plus petites */
  .galerie-principale {
    height: 220px;
  }

  .galerie-miniatures {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }

  .galerie-miniature {
    height: 56px;
  }

  /* Pied de chambre : empilé */
  .chambre-pied {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Détail chambre : texte */
  .chambre-ligne__details {
    padding: var(--espace-s);
  }

  /* Fil d'ariane réduit */
  .fil-ariane ol {
    flex-wrap: wrap;
  }

  /* Footer colonnes */
  .footer-inner {
    grid-template-columns: 1fr;
  }

  /* Avis plateformes : pleine largeur mobile */
  .grille-plateformes {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* ── Lien "Voir plus" ── */
    .voir-plus-btn {
      display: inline-block;
      margin-top: 1rem;
      font-size: 0.9rem;
      font-weight: 600;
      color: #6b4f35;
      text-decoration: none;
      border-bottom: 1.5px solid currentColor;
      cursor: pointer;
      background: none;
      border-top: none;
      border-left: none;
      border-right: none;
      padding: 0;
      font-family: inherit;
      transition: color 0.2s;
    }
    .voir-plus-btn:hover { color: #3d2b1a; }

    /* ── Overlay / Modal ── */
    .galerie-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.82);
      z-index: 9000;
      align-items: center;
      justify-content: center;
    }
    .galerie-overlay.actif { display: flex; }

    .galerie-modal {
      background: #fff;
      border-radius: 12px;
      max-width: 820px;
      width: 92%;
      max-height: 90vh;
      overflow-y: auto;
      padding: 2rem;
      position: relative;
    }

    .galerie-modal h3 {
      margin: 0 0 1.2rem;
      font-size: 1.3rem;
      color: #3d2b1a;
    }

    .galerie-fermer {
      position: absolute;
      top: 1rem;
      right: 1.2rem;
      background: none;
      border: none;
      font-size: 1.8rem;
      cursor: pointer;
      color: #666;
      line-height: 1;
    }
    .galerie-fermer:hover { color: #000; }


/* 22. PAGE MERCI (confirmation contact) */

.section-merci {
  padding: var(--espace-xl) var(--espace-s);
  background-color: var(--blanc-pur);
  text-align: center;
}

.merci-bloc {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--espace-l) var(--espace-m);
  background-color: var(--blanc-casse);
  border-radius: var(--rayon-l);
  border: 2px solid var(--beige);
  box-shadow: var(--ombre-legere);
}

.merci-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--espace-s);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blanc-pur);
  background-color: var(--vert);
  border-radius: 50%;
}

.merci-bloc h2 {
  color: var(--vert);
  margin-bottom: var(--espace-s);
}

.merci-bloc p {
  color: var(--texte-moyen);
  margin-bottom: var(--espace-m);
}

.merci-bloc .btn-principal {
  margin-top: var(--espace-xs);
}

/* Responsive : espacement réduit sur mobile */
@media (max-width: 600px) {
  .merci-bloc {
    padding: var(--espace-m) var(--espace-s);
  }
}

/* =============================================
   23. PAGES LÉGALES & FOOTER EXTENSION
   ============================================= */

.footer-liens-legaux {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-liens-legaux a {
  color: var(--texte-clair);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-liens-legaux a:hover {
  color: var(--blanc-pur);
}

/* Style de mise en page pour le contenu des textes légaux */
.section-legale {
  padding: var(--espace-xl) var(--espace-s);
  background-color: var(--blanc-pur);
  color: var(--texte-fonce);
  line-height: 1.6;
}

.contenu-legal {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.contenu-legal h1 {
  font-family: var(--font-titre);
  color: var(--vert);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--beige);
  padding-bottom: 0.5rem;
}

.contenu-legal h2 {
  font-family: var(--font-titre);
  color: var(--vert-fonce);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.contenu-legal p, .contenu-legal ul {
  margin-bottom: 1.2rem;
  color: var(--texte-moyen);
}

.contenu-legal ul {
  padding-left: 1.5rem;
}