/* Google Font Marvel supprimée du CSS pour optimisation des performances */

/* ==========================================================================
   Notification Cookie - Animation CSS Pure
   ========================================================================== */

.cookie-notice {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
  color: #2c3e50;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  z-index: 10000;
  text-align: center;
  animation: fadeInOut 15s ease-in-out forwards;
  border-left: 4px solid #ff9800;
}

.cookie-notice p {
  margin: 0;
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.cookie-notice p:first-child {
  font-weight: bold;
  font-size: 15px;
  text-align: center;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    visibility: hidden;
  }
}

/* ==========================================================================
   Reset CSS Moderne
   ========================================================================== */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/* layout */
body,
html {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-areas:
    "header"
    "main"
    "footer";
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  width: 100%;
  /* Par défaut : height pour que l'animation marche */
  min-height: 100dvh;
  font-family: marvel;
  background-color: #aab44f;
  font-size: 16px;
  color: black;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
}

/* Mode paysage : fond blanc pour éviter trop de vert */
@media (orientation: landscape) {
  body,
  html {
    background-color: white;
  }
}
h1 {
  font-size: 2rem;
  text-align: center;
  margin: 20px 0;
}

main {
  grid-area: main;
  place-items: center;
  background-color: #f2ece2;
  padding-bottom: 20px;
}

.index-main {
  grid-area: main;
  display: grid;
  place-items: center;
  background-color: #f2ece2;
  padding-bottom: 20px;
}
footer {
  grid-area: footer;
  background-color: #000;
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.footer-info {
  text-align: center;
}

.footer-info h3 {
  color: #aab44f;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-info p {
  margin: 5px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-phone a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-phone a:hover {
  color: #aab44f;
}

.footer-contact-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #aab44f;
  color: #000;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  background: #B06712;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(170, 180, 79, 0.5);
}

.footer-cgv-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: rgba(52, 152, 219, 1);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-cgv-btn:hover {
  background: rgba(41, 128, 185, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.5);
}

/* Mentions légales */
.mentions-main {
  padding: 40px 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.mentions-title {
  text-align: center;
  color: #aab44f;
  margin-bottom: 40px;
}

.mentions-section {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.mentions-section h2 {
  color: #aab44f;
  margin-bottom: 20px;
}

.mentions-section h3 {
  color: #aab44f;
  margin-top: 30px;
  margin-bottom: 15px;
}

.mentions-section h4 {
  color: #aab44f;
  margin-top: 20px;
  margin-bottom: 10px;
}

.mentions-section a {
  color: rgba(52, 152, 219, 1);
  text-decoration: underline;
}

.mentions-section a:hover {
  color: rgba(41, 128, 185, 1);
  text-decoration: underline;
}

.mentions-list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
  display: block;
  width: 100%;
}

.mentions-list li {
  margin-bottom: 12px;
  line-height: 1.8;
  display: list-item;
  width: 100%;
  clear: both;
}

@media (min-width: 768px) {
  .mentions-list {
    margin-left: 40px;
    padding-left: 20px;
  }
}

.mentions-warning {
  font-weight: bold;
  color: #d9534f;
}

.mentions-cgv-highlight {
  border-left: 5px solid #aab44f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  scroll-margin-top: 120px;
}

.mentions-cgv-highlight h2 {
  font-size: 1.8em;
  color: #aab44f;
  margin-bottom: 25px;
}

.footer-cgv-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: rgba(52, 152, 219, 1);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-cgv-btn:hover {
  background: rgba(41, 128, 185, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.5);
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footer-logos img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-logos img:hover {
  transform: scale(1.1);
}

.footer-logo-invert {
  background-color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
}

.footer-copyright {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 80px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #999;
}

.footer-copyright a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-copyright a:hover {
  color: rgba(52, 152, 219, 1);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-info {
    text-align: left;
  }
  
  .footer-logos {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .footer-logos img {
    height: 60px;
  }
}
header {
  grid-area: header;
  background-color: #000;
}
header {
  grid-area: header;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  height: 100lvh;
  overflow: hidden;
  background-color: #000;
  /* Désactiver le tap touch sur mobile pour éviter de casser l'animation */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Désactiver le touch seulement sur les images du header */
header img,
header .a-isanim,
header .b-isanim,
header .c-isanim,
header .d-isanim,
header .e-isanim,
header .f-isanim,
header .g-isanim,
header .h-isanim,
header .i-isanim,
header .j-isanim {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

a {
  color: white;
  text-decoration: none;
}

/* menu mobile */
ul {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  padding-top: 70px;
}
.nav-item {
  height: 50px;
  line-height: 50px;
  padding: 0 12px;
  color: white;
  list-style: none;
  width: 150px;
}

img {
  object-fit: cover;
}

/* burger */

#menu-button {
  width: 50px;
  height: 50px;
  background: black;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1500;
  color: white;
  top: 20px;
  right: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  white-space: normal;
}

/* Styles pour les 3 spans du burger */
#menu-button span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* État fermé avec classe close - 3 traits visibles */
#menu-button.close span:nth-child(1) {
  transform: translateY(-8px) rotate(0deg);
  opacity: 1;
}

#menu-button.close span:nth-child(2) {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

#menu-button.close span:nth-child(3) {
  transform: translateY(8px) rotate(0deg);
  opacity: 1;
}

/* État ouvert sans classe close - rotation en croix */
#menu-button span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
  opacity: 1;
}

#menu-button span:nth-child(2) {
  transform: translateY(0);
  opacity: 0;
}

#menu-button span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
  opacity: 1;
}



#button-container {
  background-color: transparent;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1600;
  height: 100px;
  position: fixed !important;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #aab44f;
}

#button-container.color {
  background-color: #aab44f !important;
  height: 100px;
}

#menu {
  transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: fixed;
  top: 0;
  right: -100%;
  width: 230px;
  height: 500px;
  transform: translateZ(0);
  background-color: #aab44f;
  overflow-x: hidden;
  overflow-y: hidden;
  z-index: 1100;
  will-change: right;
  contain: layout style paint;
  /* Fixes pour Safari iOS */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  /* Force GPU même au repos */
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  pointer-events: auto;

}
#menu.show-menu {
  right: 0;
  width: 230px;
  height: 500px;
  pointer-events: auto;
  z-index: 700;

}

@media (orientation: landscape) and (min-width: 320px) and (max-width: 1024px) {
.nav-item {
height: 40px;
  }
  .booking-link {
    left: 30px;
    width: 200px;
} 
}

/* Overlay transparent pour permettre le scroll */
#menu.show-menu::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 230px;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
}

/* test menu début */
@media (min-width: 1100px) {
  #button-container {
    height: 150px;
    z-index: 1100;
    opacity: 0.8;
  }

}
/* fin test menu */

/* menu desktop ancien breakpoint */
/* @media (min-width: 850px) { */
@media (min-width: 1100px) {
  #menu-button {
    display: none;
  }

  #menu {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    min-width: 100%;
    position: fixed;
    margin-top: 0;
    height: 150px;
    background-color: #aab44f;
    opacity: 0.8;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1200;
    right: auto;
    border: none;
  }

  ul {
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-end;
    padding-top: 0;
  }

  .nav-item {
    width: auto;
    font-size: 1.4rem;
  }
}

@media (min-width: 1440px) {
  .nav-item {
    padding: 0px 25px;
    font-size: 1.6rem;
    font-weight: 700;
  }
}

@media (min-width: 1640px) {
  .nav-item {
    padding: 0px 25px;
    font-size: 2rem;
    font-weight: 700;
  }
}

.info-aside {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin: 20px 0;
  border-radius: 22px;
  corner-shape: smooth;
  row-gap: 15px;
}
.aside-image {
  width: 100%;
  height: 300px;
  padding: 2px;
  border-radius: 20px;
  corner-shape: smooth;
}

@media (min-width: 1100px) {
  .aside-image {
    width: 900px;
    height: 700px;
    padding: 0;
    align-self: center;
  }
}

.piscine-title {
  font-size: 1.8rem;
  background-color: #aab44f;
  color: white;
  padding: 15px 20px;
  border-radius: 22px;
  corner-shape: smooth;
  margin-bottom: 10px;
  width: fit-content;
  max-width: 90%;
  align-self: center;
}

@media (min-width: 768px) {
  .piscine-title {
    font-size: 2.2rem;
    max-width: 70%;
  }
}

@media (min-width: 1100px) {
  .piscine-title {
    font-size: 2.5rem;
    padding: 20px 30px;
    max-width: 60%;
  }
}

.piscine-text {
  margin-bottom: 20px;
  font-size: 1rem;
  margin: auto;
  color: black;
  background-color:#aab44f;
  padding: 10px;
  border-radius: 22px;
  corner-shape: smooth;
}
@media (min-width: 1100px) {
  .piscine-text {
    font-size: 1.8rem;
    width: 50%;
  }
}

/* Styles pour la section de réservation */
.booking-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.booking-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 5px; */
}

.tarif-text {
  font-style: italic;
}

.booking-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 10px;
  background-color: rgba(52, 152, 219, 1);
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 22px;
  corner-shape: smooth;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.booking-icon {
  width: 24px;
  height: 24px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.booking-link:hover {
  background-color: #99a340;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.booking-link:active {
  transform: translateY(0);
}

.booking-iframe {
  width: 100%;
  max-width: 1200px;
}

.booking-iframe iframe {
  width: 100%;
  height: 800px;
  border: none;
  border-radius: 22px;
  corner-shape: smooth;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .booking-link {
    font-size: 0.9rem;
    padding: 12px 20px;
    bottom: 20px;
    right: 20px;
  }
  
  .booking-iframe iframe {
    height: 600px;
  }
}

/* animation header */


/* Chaque slide prend toute la grille (aucun absolute) */

.a-isanim,
.b-isanim,
.c-isanim,
.d-isanim,
.e-isanim,
.f-isanim,
.g-isanim,
.h-isanim,
.i-isanim,
.j-isanim {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100lvh;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform-origin: center center;
  position: absolute;
  top: 0;
  left: 0;
}

/* Images avec animations */
.a-isanim {
  animation: ani1 60s infinite;
}

.b-isanim {
  animation: ani2 60s infinite;
}
.c-isanim {
  animation: ani3 60s infinite;
}
.d-isanim {
  animation: ani4 60s infinite;
}
.e-isanim {
  animation: ani5 60s infinite;
}
.f-isanim {
  animation: ani6 60s infinite;
}
.g-isanim {
  animation: ani7 60s infinite;
}
.h-isanim {
  animation: ani8 60s infinite;
}
.i-isanim {
  animation: ani9 60s infinite;
}
.j-isanim {
  animation: ani10 60s infinite;
}

/* Règle spécifique pour l'image portrait j-isanim */
.j-isanim {
  object-position: center;
}

/* Orientation spécifique pour j-isanim */
@media (orientation: portrait) {
  .j-isanim {
    object-position: center bottom;
  }
}

@media (orientation: landscape) {
  .j-isanim {
    object-fit: cover;
    object-position: center 85%; /* Focus sur la partie basse pour voir les voitures */
  }
}

/* ---- ANIMATIONS POUR 10 IMAGES - 60s TOTAL ---- */

@keyframes ani1 {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  10% {
    opacity: 1;
    transform: scale(1.05);
  }
  10.5% {
    opacity: 0.8;
    transform: scale(1.02);
  }
  11% {
    opacity: 0.4;
    transform: scale(1);
  }
  11.5% {
    opacity: 0.1;
    transform: scale(0.97);
  }
  12% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani2 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  8.33% {
    opacity: 0;
    transform: scale(0.95);
  }
  9% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  18.33% {
    opacity: 1;
    transform: scale(1.05);
  }
  19% {
    opacity: 0.4;
    transform: scale(1);
  }
  20% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani3 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  16.66% {
    opacity: 0;
    transform: scale(0.95);
  }
  17.5% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  18.33% {
    opacity: 1;
    transform: scale(1);
  }
  26.66% {
    opacity: 1;
    transform: scale(1.05);
  }
  27.5% {
    opacity: 0.4;
    transform: scale(1);
  }
  28.33% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani4 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  25% {
    opacity: 0;
    transform: scale(0.95);
  }
  25.8% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  26.66% {
    opacity: 1;
    transform: scale(1);
  }
  35% {
    opacity: 1;
    transform: scale(1.05);
  }
  35.8% {
    opacity: 0.4;
    transform: scale(1);
  }
  36.66% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani5 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  33.33% {
    opacity: 0;
    transform: scale(0.95);
  }
  34.1% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  35% {
    opacity: 1;
    transform: scale(1);
  }
  43.33% {
    opacity: 1;
    transform: scale(1.05);
  }
  44.1% {
    opacity: 0.4;
    transform: scale(1);
  }
  45% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani6 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  41.66% {
    opacity: 0;
    transform: scale(0.95);
  }
  42.4% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  43.33% {
    opacity: 1;
    transform: scale(1);
  }
  51.66% {
    opacity: 1;
    transform: scale(1.05);
  }
  52.4% {
    opacity: 0.4;
    transform: scale(1);
  }
  53.33% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani7 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 0;
    transform: scale(0.95);
  }
  50.7% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  51.66% {
    opacity: 1;
    transform: scale(1);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  60.7% {
    opacity: 0.4;
    transform: scale(1);
  }
  61.66% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani8 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  58.33% {
    opacity: 0;
    transform: scale(0.95);
  }
  59% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  60% {
    opacity: 1;
    transform: scale(1);
  }
  68.33% {
    opacity: 1;
    transform: scale(1.05);
  }
  69% {
    opacity: 0.4;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani9 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  66.66% {
    opacity: 0;
    transform: scale(0.95);
  }
  67.3% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  68.33% {
    opacity: 1;
    transform: scale(1);
  }
  76.66% {
    opacity: 1;
    transform: scale(1.05);
  }
  77.3% {
    opacity: 0.4;
    transform: scale(1);
  }
  78.33% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes ani10 {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  75% {
    opacity: 0;
    transform: scale(0.95);
  }
  75.7% {
    opacity: 0.2;
    transform: scale(0.97);
  }
  76.66% {
    opacity: 1;
    transform: scale(1);
  }
  99% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}



.logo {
  width: 150px;
  height: auto;
  padding: 10px 20px;
  align-self: baseline;
  z-index: 2000;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 1;
  border-radius: 35px;
}

/* Lien téléphone dans le header - Mobile First */
.header-phone {
  position: fixed;
  top: 20px;
  left: 140px;
  z-index: 2000;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  background: #B06712;
  padding: 6px 5px;
  border-radius: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone:hover {
  background: rgba(170, 180, 79, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(170, 180, 79, 0.5);
}

.header-phone:before {
  content: "📞";
  font-size: 0.8rem;
}

@media (min-width: 375px) {
  .header-phone {
    font-size: 1rem;
  }
}

@media (min-width: 481px) {
  .header-phone {
    padding: 8px 16px;
  }
}

@media (min-width: 768px) {
  .header-phone {
    left: 150px;
    font-size: 1rem;
    padding: 5px 16px;
  }
}

@media (min-width: 1100px) {
  .header-phone {
    left: 190px;
    top: 100px;
    font-size: 1.2rem;
    padding: 5px 24px;
  }
}

/* Styles pour les titres du header */
.header-title,
.header-subtitle {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  /* Combinaison de techniques pour maximiser la lisibilité */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.8),
    1px -1px 2px rgba(0, 0, 0, 0.8), -1px 1px 2px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.8);
  /* Contour noir pour renforcer la lisibilité */
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.5);
  text-stroke: 1px rgba(0, 0, 0, 0.5);
  z-index: 200;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  /* Arrière-plan semi-transparent avec couleur verte subtile */
  background: linear-gradient(
    to bottom,
    rgba(170, 180, 79, 0.3),
    rgba(0, 0, 0, 0.6)
  );
  padding: 5px 10px;
  border-radius: 4px;
  /* Désactiver complètement les interactions comme sur les images */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  pointer-events: none;
}

.header-title {
  font-size: 2.2rem;
  bottom: 30%;
  /* Désactiver le tap touch sur mobile pour éviter de casser l'animation */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.header-subtitle {
  font-size: 1.3rem;
  bottom: 12%;
  /* Désactiver le tap touch sur mobile pour éviter de casser l'animation */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

@media (min-width: 1200px) {
  .logo {
    width: 200px;
  }

  .header-title {
    font-size: 3.5rem;
  }

  .header-subtitle {
    font-size: 2rem;
  }
}

/* Responsive pour tablettes */
@media (min-width: 768px) {
  .header-title {
    font-size: 2.8rem;
  }

  .header-subtitle {
    font-size: 1.6rem;
  }
}

/* Carrousel CSS hébergements */
.hebergement-carousel-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  /* Empêcher le zoom par double-tap sur iOS */
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.hebergement-carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* La largeur se calcule automatiquement avec flex */
  /* Empêcher les interférences tactiles */
  touch-action: manipulation;
}

.hebergement-carousel-slide {
  width: 100%; /* Chaque image fait 100% du container visible */
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
  flex-grow: 0;
  /* Empêcher la sélection des images */
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.hebergement-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hebergement-carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.hebergement-carousel-btn-prev {
  left: 15px;
}

.hebergement-carousel-btn-next {
  right: 15px;
}

@media (min-width: 800px) {
  .hebergement-carousel-container {
    max-width: 700px;
  }

  .hebergement-carousel-slide {
    height: 500px;
  }
}

/* gallery chalet premium */

.gallery {
  background: #aab44f;
  width: 90%;
  margin: 20px auto;
  height: 350px;
}

.gallery-cell {
  width: 75%;
  height: 350px;
  margin-right: 10px;
  /* background: #8C8; */
  counter-increment: gallery-cell;
}

@media (min-width: 800px) {
  .gallery {
    width: 700px;
    height: 500px;
  }
  .gallery-cell {
    height: 500px;
  }
}


.flickity-page-dots .dot {
  width: 5px;
  height: 30px;
  margin: 0 6px;
  /* background: transparent; */
  opacity: 0;
  /* margin-top: 50px; */
}

.flickity-page-dots .dot.is-selected {
  opacity: 0;
}

/* page chalets-premium */

/* Header spécifique pour les pages avec image statique */
header.hero-header {
  height: 300px;
  background-color: transparent;
}

.hero {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center center;
}
.hero-premium {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center bottom;
}

/* Ajustement desktop pour hero-header */
@media (min-width: 850px) {
  header.hero-header {
    height: 500px;
    /* margin-top: 120px; */
  }
  .hero {
    height: 500px;
    /* margin-top: 120px; */
   
  }
  .hero-premium {
    object-position: center 80%;
    object-fit: cover;
    height: 500px;
    width: 100%;
}
}

.hero-groupes {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center bottom;
}


/* Ajustement desktop pour hero-header */
@media (min-width: 850px) {
  header.hero-header {
    height: 500px;
    /* margin-top: 120px; */
  }
  .hero-groupes {
    height: 500px;
      object-position: center 90%;
    /* margin-top: 120px; */
  }
}

/* ==========================================================================
   Carrousel Piscine
   ========================================================================== */

.carousel-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: 30px auto;
  background: #fff;
  border-radius: 22px;
  corner-shape: smooth;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  touch-action: pan-y;
}

.carousel {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  touch-action: pan-y;
  pointer-events: none;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* Flèches de navigation */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(170, 180, 79, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  corner-shape: smooth;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  pointer-events: auto;
}

.carousel-arrow:hover {
  background: rgba(170, 180, 79, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

/* Indicateurs */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  background: white;
  pointer-events: auto;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: #aab44f;
  transform: scale(1.2);
}

/* Responsive */
@media (min-width: 768px) {
  .carousel-container {
    max-width: 700px;
  }

  .carousel {
    height: 400px;
  }

  .carousel-arrow {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .carousel-container {
    max-width: 800px;
  }

  .carousel {
    height: 450px;
  }
}

.image-bottom{
  object-position: center bottom !important;
}

/* ==========================================================================
   Section Hébergements Accueil
   ========================================================================== */

.hebergements-section {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ede8 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hebergements-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hebergements-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #5a6c7d;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Wrapper pour chaque carrousel */
.hebergements-section .hebergement-carousel-wrapper {
  margin: 40px auto;
  max-width: 800px;
}

/* Container du carrousel hébergement */
.hebergements-section .hebergement-carousel-wrapper .hebergement-carousel-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(170, 180, 79, 0.2);
  overflow: hidden;
  touch-action: pan-y;
}

/* Carrousel */
.hebergements-section .hebergement-carousel {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  touch-action: pan-y;
  pointer-events: none;
}

.hebergements-section .hebergement-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hebergements-section .hebergement-carousel-slide.active {
  opacity: 1;
}

.hebergements-section .hebergement-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay avec titre centré */
.hebergements-section .hebergement-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #B06712;
  padding: 5px 10px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hebergements-section .hebergement-overlay h3 {
  color: black;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Flèches de navigation */
.hebergements-section .hebergement-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(170, 180, 79, 0.8);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  pointer-events: auto;
}

.hebergements-section .hebergement-carousel-arrow:hover {
  background: rgba(170, 180, 79, 1);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 15px rgba(170, 180, 79, 0.5);
}

.hebergements-section .hebergement-carousel-prev {
  left: 15px;
}

.hebergements-section .hebergement-carousel-next {
  right: 15px;
}

/* Indicateurs */
.hebergements-section .hebergement-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  background: white;
  pointer-events: auto;
}

.hebergements-section .hebergement-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hebergements-section .hebergement-dot.active,
.hebergements-section .hebergement-dot:hover {
  background: #aab44f;
  transform: scale(1.3);
  border-color: #8a943f;
}

/* Section emplacements */
.emplacements-info {
  text-align: center;
  max-width: 800px;
  margin: 50px auto 30px;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.emplacements-info h3 {
  color: #aab44f;
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.emplacements-info p {
  color: #5a6c7d;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Lien vers page hébergements */
.hebergements-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 30px auto;
  padding: 18px 40px;
  background: linear-gradient(135deg, #aab44f 0%, #8a943f 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(170, 180, 79, 0.3);
  text-align: center;
  justify-content: center;
  width: fit-content;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.hebergements-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(170, 180, 79, 0.5);
  background: linear-gradient(135deg, #8a943f 0%, #aab44f 100%);
}

.hebergements-icon {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (min-width: 768px) {
  .hebergements-section .hebergement-carousel {
    height: 450px;
  }

  .hebergements-section .hebergement-overlay h3 {
    font-size: 2.2rem;
  }

  .hebergements-section .hebergement-carousel-arrow {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
}

@media (min-width: 1024px) {
  .hebergements-section .hebergement-carousel {
    height: 500px;
  }

  .hebergements-section h2 {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .hebergements-section .hebergement-overlay h3 {
    font-size: 1.4rem;
    padding: 15px 25px;
  }

  .hebergements-section h2 {
    font-size: 2rem;
  }

  .hebergements-section .hebergements-link {
    font-size: 1rem;
    padding: 14px 30px;
  }
}

/* ==========================================================================
   Aside Histoire
   ========================================================================== */

.histoire-aside {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.histoire-content {
  /* display: grid; */
  grid-template-columns: 1fr;
  gap: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.histoire-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.histoire-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.histoire-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.histoire-text {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.histoire-text h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.histoire-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #aab44f 0%, #8a943f 100%);
  border-radius: 2px;
}

.histoire-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5a6c7d;
  margin-bottom: 15px;
}

.histoire-text p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (min-width: 768px) {
  .histoire-images {
    grid-template-columns: 1fr 1fr;
  }

  .histoire-image {
    height: 350px;
  }

  .histoire-content {
    grid-template-columns: 1fr;
  }

  .histoire-text {
    padding: 50px 40px;
  }

  .histoire-text h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .histoire-content {
    grid-template-columns: 1.2fr 1fr;
  }

  .histoire-images {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .histoire-image {
    height: 100%;
    min-height: 250px;
  }

  .histoire-text {
    padding: 60px 50px;
  }

  .histoire-text h2 {
    font-size: 2.8rem;
  }

  .histoire-text p {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   Section Activités Flex Container
   ========================================================================== */

.activites-flex-container {
  width: 100%;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.activite-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.activite-item h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  font-weight: 700;
  margin: 0;
}

.activite-item-image {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.activite-item-image img {
  width: 100%;
  height: auto;
  display: block;
}

.activite-item-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 35px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(44, 62, 80, 0.3);
  text-align: center;
}

.activite-item-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(44, 62, 80, 0.5);
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.activite-item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Responsive Desktop */
@media (min-width: 1024px) {
  .activites-flex-container {
    flex-direction: row;
    gap: 30px;
    align-items: stretch;
  }

  .activite-item {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .activite-item h2 {
    font-size: 1.8rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .activite-item-image {
    height: 280px;
    flex-shrink: 0;
  }

  .activite-item-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .activite-item-link {
    margin-top: auto;
  }
}

@media (max-width: 768px) {
  .activite-item h2 {
    font-size: 1.6rem;
  }

  .activite-item-link {
    font-size: 1rem;
    padding: 12px 28px;
  }

  .activite-item-icon {
    width: 18px;
    height: 18px;
  }
}

/* Container de la carte */
.map-section {
  width: 100%;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .map-section {
    width: 100%;
    max-width: 500px;
  }
}
.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 4px 3px 5px black;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .map-container {
    height: 370px;
    width: 450px;
  }
}

/* Image de la carte */
.carte {
  height: 275px;
  width: 100%;
}

@media (min-width: 768px) {
  .carte {
    height: 370px;
    width: 450px;
  }
}

/* Responsive landscape pour iPhone 15 Pro */
@media only screen and (min-width: 393px) and (orientation: landscape) {
  .carte {
    height: 370px;
    width: 450px;
  }

  .map-container {
    height: 370px;
    width: 450px;
  }
}
.popup-content {
  height: 130px;
}
/* Logo dans les popups Leaflet */
.popup-logo {
  width: 70px;
  height: 70px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 3px;
  object-fit: contain;
}

/* Animation cliquable */
@keyframes clickable {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.map-container:active {
  animation: clickable 0.5s;
}

/* Styles pour la carte Leaflet */
#map {
  height: 450px;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive pour la carte sur mobile */
@media (max-width: 768px) {
  #map {
    height: 350px;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  #map {
    height: 300px;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    margin: 10px auto;
  }
}

/* Styles pour les popups Leaflet */
.leaflet-popup-content {
  text-align: center;
  font-family: Arial, sans-serif;
  line-height: 1.4;
  margin: 8px 12px;
  padding: 6px;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-tip {
  background: white;
}

/* Styles pour le contenu du popup */
.popup-content h4 {
  margin: 2px 0;
  color: #aab44f;
  font-size: 14px;
  font-weight: bold;
}

.popup-content p {
  margin: 5px 0;
  color: black;
  font-size: 14px;
  font-weight: 600;
}

/* Styles pour les contrôles de carte */
.map-controls {
  /* margin: 20px 0; */
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid grey;
}

.map-control-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

/* Checkbox personnalisée */
.map-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid grey;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-checkbox:checked {
  border-color: grey;
}

.map-checkbox:checked::after {
  content: "✓";
  position: absolute;
  color: black;
  font-size: 14px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-checkbox:hover {
  border-color: grey;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Carte désactivée */
.map-disabled {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.map-disabled::after {
  content: "🔒 Interactions désactivées";
  position: absolute;
  top: 5px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 1000;
}

/* ==========================================================================
   Carrousel Restauration
   ========================================================================== */
.restauration-main-content {
  display: grid;
  justify-content: center;
  row-gap: 15px;
}
.intro-restauration {
  text-align: center;
  font-size: 1.2rem;
  width: 90%;
  margin: auto;
}

.carousel-control-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px auto;
  padding: 15px;
}

.carousel-control-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1rem;
  color: #333;
  user-select: none;
}

.carousel-control-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #aab44f;
}

.carousel-control-label span {
  font-weight: 500;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  margin: auto;
}

.restauration-carousel-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  /* Permettre le scroll vertical tout en gérant les gestes horizontaux via JS */
  touch-action: pan-y pinch-zoom;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  align-self: center;
  margin: auto;
}

.restauration-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  /* Permettre le scroll vertical tout en gérant les gestes horizontaux via JS */
  touch-action: pan-y pinch-zoom;
}

.restauration-slide {
  position: relative;
  width: 100%; /* Chaque image fait 100% du container visible */
  height: 100%;
  flex-shrink: 0;
  flex-grow: 0;
  /* Empêcher la sélection des images */
  -webkit-user-select: none;
  user-select: none;
}

.restauration-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Style spécifique pour les menus afin qu'ils soient visibles en intégralité */
.restauration-slide.menu-slide img {
  object-fit: contain;
  background-color: #f8f8f8;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 40px 20px 20px;
  text-align: center;
}

.carousel-caption h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.carousel-caption p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(170, 180, 79, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(170, 180, 79, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(170, 180, 79, 0.4);
}

.restauration-carousel-btn-prev {
  left: 20px;
}

.restauration-carousel-btn-next {
  right: 20px;
}

.carousel-indicators {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator.active {
  background: #aab44f;
  border-color: white;
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(170, 180, 79, 0.6);
}

/* Responsive pour desktop */
@media (min-width: 850px) {
  .restauration-carousel-container {
    height: 600px;
    width: 700px;
  }

  .carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .carousel-caption p {
    font-size: 1.2rem;
  }

  .carousel-btn {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .restauration-carousel-btn-prev {
    left: 30px;
  }

  .restauration-carousel-btn-next {
    right: 30px;
  }

  .indicator {
    width: 14px;
    height: 14px;
  }
}

/* Responsive pour mobile */
@media (max-width: 480px) {
  .carousel-caption {
    padding: 30px 15px 15px;
  }

  .carousel-caption h2 {
    font-size: 1.4rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .restauration-carousel-btn-prev {
    left: 10px;
  }

  .restauration-carousel-btn-next {
    right: 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .carousel-indicators {
    gap: 6px;
  }
}

/* ==========================================================================
   CONTACT FORM STYLES
   ========================================================================== */

.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-section h1 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #5a6c7d;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Alertes */
.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Formulaire principal */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1rem;
}

.required {
  color: #e74c3c;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  transform: translateY(-1px);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #27ae60;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Compteur de caractères */
.character-count {
  text-align: right;
  margin-top: 5px;
  font-size: 0.9rem;
  color: #7f8c8d;
}

#char-count {
  font-weight: 600;
}

/* Messages d'erreur */
.error-message {
  display: none;
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: 500;
}

/* hCaptcha */
.h-captcha {
  margin: 10px 0;
}

/* Bouton de soumission */
.btn-submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Informations du formulaire */
.form-info {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e1e8ed;
}

.form-info p {
  margin-bottom: 8px;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.privacy-note {
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
}

/* Informations de contact */
.contact-info {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 20px auto;
}

.contact-info h2 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item h3 {
  color: #3498db;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-item p {
  color: #5a6c7d;
  margin: 0;
  line-height: 1.6;
}

.contact-item a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-section h1 {
    font-size: 2.2rem;
  }

  .contact-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .contact-form {
    padding: 25px;
    margin-bottom: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .container {
    padding: 0 15px;
  }

  .contact-info {
    padding: 25px;
  }

  .contact-info h2 {
    font-size: 1.6rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .contact-section h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .contact-info {
    padding: 20px;
  }

  .contact-item {
    padding: 15px;
  }
}

/* style lié à la page contact */

/* Positionnement de la page contact avec classes contact-hcaptcha.php */
main.contact-page {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main.contact-page h1 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.contact-page__container {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  max-width: 800px;
  width: 100%;
  margin: 0 20px;
}

.contact-page__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-page__form label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-page__form input,
.contact-page__form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
  box-sizing: border-box;
}

.contact-page__form input:focus,
.contact-page__form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  transform: translateY(-1px);
}

.contact-page__form input:invalid:not(:placeholder-shown),
.contact-page__form textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.contact-page__form input:valid:not(:placeholder-shown),
.contact-page__form textarea:valid:not(:placeholder-shown) {
  border-color: #27ae60;
}

.contact-page__form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.contact-page__form .h-captcha {
  margin: 10px 0;
}

.contact-page__form .button,
.contact-page__form button[type="submit"] {
  background:  #B06712;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.contact-page__form .button:hover,
.contact-page__form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.contact-page__form .button:active,
.contact-page__form button[type="submit"]:active {
  transform: translateY(0);
}

.contact-page__form .button:disabled,
.contact-page__form button[type="submit"]:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-page__form .character-count {
  text-align: right;
  margin-top: 5px;
  font-size: 0.9rem;
  color: #7f8c8d;
}

.contact-page__form #char-count {
  font-weight: 600;
}

.contact-page__info,
.contact-page__title {
  text-align: center;
  margin: 6px 0;
}

/* message success error formulaire - style amélioré */
.error {
  padding: 15px 20px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.success {
  padding: 15px 20px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.error-message {
  display: none;
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: 500;
}

/* Message de bienvenue stylisé */
.contact-message-joie {
  text-align: center;
  font-size: 1.3rem;
  color: #2c3e50;
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
  padding: 20px 30px;
  border-radius: 12px;
  margin: 30px auto;
  max-width: 800px;
  box-shadow: 0 4px 15px rgba(170, 180, 79, 0.2);
  font-weight: 500;
  line-height: 1.6;
  border-left: 4px solid #aab44f;
  font-style: italic;
}

/* Responsive Design pour contact-page */
@media (max-width: 768px) {
  main.contact-page {
    padding: 40px 0;
  }

  main.contact-page h1 {
    font-size: 2.2rem;
  }

  .contact-page__container {
    padding: 25px;
    margin: 0 15px 2rem;
  }
}

@media (max-width: 480px) {
  main.contact-page h1 {
    font-size: 1.8rem;
  }

  .contact-page__container {
    padding: 20px;
  }

  .contact-page__form input,
  .contact-page__form textarea {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}

/* style lié à la page hébergements */
.hebergements-main-content {
  display: grid;
  justify-content: center;
  /* row-gap: 25px; */
}

/* Cards pour les hébergements */
.hebergement-card {
  background-color: #e5e7eb;
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(170, 180, 79, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hebergement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(170, 180, 79, 0.4);
}

.hebergement-card h2 {
  color: black;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hebergement-card h3 {
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}
.hebergement-card p {
  color: #333;
  line-height: 1;
  margin-bottom: 15px;
  text-align: justify;
  font-size: 1.3rem;
}

.hebergement-container {
  display: flex;
  /* flex-direction: column; */
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Bouton Plus d'informations */
.hebergement-info-btn {
  background-color: white;
  color: #aab44f;
  border: 2px solid #aab44f;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: auto auto 10px;
  display: block;
  text-decoration: none;
  text-align: center;
  width: fit-content;
  margin-top: auto;
}

.hebergement-info-btn:hover {
  background-color: #aab44f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(170, 180, 79, 0.3);
}

/* Style spécifique pour l'image du plan de terrasse */
.plan-terrasse {
  object-fit: contain !important;
  background-color: black;
}

/* Bouton Réserver */
.hebergement-reserve-btn {
  background-color: #aab44f;
  color: white;
  border: 2px solid #aab44f;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px auto 10px;
  display: block;
  text-decoration: none;
  text-align: center;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hebergement-reserve-btn:hover {
  background-color: #95a045;
  border-color: #95a045;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(170, 180, 79, 0.4);
}

.emplacement-title {
  color: #aab44f;
  text-align: center;
  font-size: 1.5rem;
}

.emplacement-list {
  list-style-type: none;
  padding-left: 20px;
  margin-top: 10px;
  color: #aab44f;
  font-size: 2rem;
  display: block;
}

.emplacement-list li {
  margin-bottom: 10px;
  display: block;
}

.reglement-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  /* object-fit: contain; */
}


.info-pmr h3 {
  color: #aab44f;
  text-align: center;
  margin-bottom: 15px;
  font-size: 2rem;
}

.info-pmr p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
  font-size: 1.3rem;
   padding: 0px 4px;
}

.pmr-logo {
  width: 100px;
  height: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  display: block;
  margin: auto;
}

/* testimonial */
.avis-section {
  display: grid;
  justify-content: center;
  row-gap: 25px;
}
.testimonial-slider {
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  /* min-height: 170px; Hauteur minimale */
}


.review {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  width: 100%;
  max-width: 800px;
  color: black;
  /* color: var(--text-color); */
  text-align: center;
  height: auto;
  margin-top: auto;
}

.review.active {
  opacity: 1;
  transform: translateX(0);
}

.review.previous {
  opacity: 0;
  transform: translateX(-100%);
}

.stars {
  font-size: 20px;
  color: gold;
}

.testimonial-author {
  font-weight: bold;
  margin-top: 10px;
  /* --text-color: #fff; */
}

.testimonial__title {
  margin-bottom: 0;
  color: black;
}

.intro-groupes,
.intro-avis {
  text-align: center;
  font-size: 1.2rem;
  width: 90%;
  margin: auto;
}

/* Styles pour les pages d'hébergements individuelles */
.hebergement-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.back-to-hebergements {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  margin-bottom: 2rem;
  background-color: rgba(52, 152, 219, 1);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  corner-shape: smooth;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.back-to-hebergements svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.back-to-hebergements:hover {
  background-color: rgba(41, 128, 185, 1);
  transform: translateX(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.back-to-hebergements:hover svg {
  transform: translateX(-4px);
}

.hebergement-title {
  font-size: 2.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.hebergement-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #aab44f, #6b7c3a);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Bannière d'informations hébergement */
.hebergement-info-banner {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid #aab44f;
  border-radius: 15px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 15px rgba(170, 180, 79, 0.15);
}

.mountain-icon svg {
  width: 40px;
  height: 32px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.hebergement-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
}

.spec-item {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
  white-space: nowrap;
}

.spec-divider {
  color: #aab44f;
  font-weight: bold;
  font-size: 1.1rem;
}

.mountain-view {
  background: #aab44f;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(170, 180, 79, 0.3);
}

.view-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-label::before {
  content: "🏔️";
  font-size: 1rem;
}

.hebergement-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.hebergement-description p {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(170, 180, 79, 0.05);
  border-left: 4px solid #aab44f;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hebergement-description p:last-child {
  margin-bottom: 2rem;
}

.hebergement-description strong {
  color: #aab44f;
  font-weight: 600;
}

/* Responsive pour les pages d'hébergements */
@media (max-width: 768px) {
  .hebergement-content {
    padding: 1rem;
  }

  .hebergement-title {
    font-size: 2rem;
  }

  .hebergement-info-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
    gap: 1rem;
  }

  .hebergement-specs {
    justify-content: center;
    font-size: 0.9rem;
  }

  .spec-item {
    font-size: 0.85rem;
  }

  .mountain-view {
    align-self: stretch;
    text-align: center;
  }

  .hebergement-description {
    font-size: 1rem;
    text-align: left;
  }

  .hebergement-description p {
    padding: 0.8rem;
  }
}

/* Section Équipements */
.equipements-section {
  margin: 2rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.equipements-toggle {
  background: linear-gradient(135deg, #aab44f, #6b7c3a);
  color: white;
  padding: 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(170, 180, 79, 0.3);
}

.equipements-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(170, 180, 79, 0.4);
}

.equipements-toggle h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.equipements-icon {
  font-size: 1.8rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.equipements-icon.rotate {
  transform: rotate(45deg);
}

.equipements-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(170, 180, 79, 0.05);
  border-radius: 0 0 10px 10px;
}

.equipements-content.open {
  max-height: 800px;
  padding: 1.5rem;
}

.equipements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.equipement-item {
  background: white;
  padding: 0.8rem;
  border-radius: 8px;
  border-left: 4px solid #aab44f;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.equipement-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(170, 180, 79, 0.2);
  border-left-color: #6b7c3a;
}

/* Responsive pour les équipements */
@media (max-width: 768px) {
  .equipements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .equipement-item {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .equipements-toggle h2 {
    font-size: 1.3rem;
  }

  .equipements-content.open {
    max-height: 1200px;
  }
}

@media (max-width: 480px) {
  .equipements-grid {
    grid-template-columns: 1fr;
  }

  .equipements-content.open {
    max-height: 1500px;
  }
}

/* ==========================================================================
   Page Histoire - Styles élégants et épurés
   ========================================================================== */

.histoire-main {
  background: linear-gradient(to bottom, #f8f9f5 0%, white 100%);
  padding: 3rem 0;
  min-height: 60vh;
}

.histoire-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.histoire-content h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.histoire-content h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, transparent, #aab44f, transparent);
}

.histoire-section {
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.histoire-section:not(:last-child) {
  border-bottom: 1px solid #e8e8e8;
}

.histoire-section h2 {
  font-size: 1.8rem;
  color: #34495e;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.histoire-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.2rem;
  text-align: justify;
}

.histoire-section em {
  font-style: italic;
  color: #6b7c3a;
  font-weight: 500;
}

.cinema-section {
  background: linear-gradient(135deg, #f9f9f9 0%, #fefefe 100%);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #aab44f;
  margin-top: 2rem;
}

.cinema-section h2 {
  color: #6b7c3a;
}

.cinema-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.cinema-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cinema-images img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(170, 180, 79, 0.3);
}

/* Responsive Desktop pour la page histoire */
@media (min-width: 1024px) {
  .histoire-main {
    padding: 4rem 0;
  }

  .histoire-content {
    max-width: 1100px;
    padding: 3rem 4rem;
  }

  .cinema-images {
    gap: 2rem;
    margin: 2.5rem 0;
  }

  .cinema-images img {
    height: 320px;
  }
}

/* Responsive pour la page histoire */
@media (max-width: 768px) {
  .histoire-main {
    padding: 2rem 0;
  }

  .histoire-content {
    padding: 1.5rem 1rem;
    border-radius: 8px;
  }

  .histoire-content h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .histoire-section {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }

  .histoire-section h2 {
    font-size: 1.5rem;
  }

  .histoire-section p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .cinema-section {
    padding: 1.5rem;
  }

  .cinema-images {
    gap: 1rem;
  }

  .cinema-images img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .cinema-images {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cinema-images img {
    height: 200px;
  }
  .histoire-content {
    padding: 1rem 0.8rem;
  }

  .histoire-content h1 {
    font-size: 1.7rem;
  }

  .histoire-section h2 {
    font-size: 1.3rem;
  }

  .histoire-section p {
    font-size: 0.95rem;
    text-align: left;
  }
}
