body, html {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f8fafc;
  color: #063A6A;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.hero-header {
  position: relative;
  width: 100vw;
  min-height: 330px;
  height: 60vh;
  background: url('/assets/Photos hôtels/Ergeekphoto-12.jpg') top center/cover no-repeat !important;
  overflow: hidden;
}
.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 4vw;
  position: absolute;
  left: 0;
  top: 20px;
  z-index: 3;
  box-sizing: border-box;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .32em;
  padding: .23em 1.2em;
  background: rgba(255,255,255,0.14);
  border-radius: 25px;
  font-weight: 900;
  color: #fff;
  font-size: 1.17rem;
  box-shadow: 0 3px 16px #0002;
  letter-spacing: 1px;
  white-space: nowrap;
  user-select: none;
}
.logo-main { color: #fff; }
.logo-alt { color: #ffffff; padding-left: .24em; }

.nav-menu {
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
  background: none;
  position: static;
  font-size: .98rem;
}
.nav-menu li { margin: 0; }
.nav-menu a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.94;
  letter-spacing: .12em;
  transition: color .13s;
}
.nav-menu a:hover { color: #063A6A; }
.nav-burger, .nav-toggle { display: none; }


.hero-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 97vw;
  pointer-events: none;
  user-select: none;
}
.hero-title {
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 0 8px 45px #0005;
  letter-spacing: .06em;
  margin-bottom: .3rem;
  word-break: break-word;
}
.hero-subtitle {
  font-size: .99rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-shadow: 0 4px 30px #0007;
  opacity: .98;
  margin-top: 0;
}
.hero-pagination {
  position: absolute;
  bottom: 14px;
  right: 19px;
  color: #fff;
  font-family: inherit;
  font-size: 1.03rem;
  letter-spacing: 0.14em;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.25em;
  opacity: 0.98;
  background: rgba(21,34,66,0.14);
  padding: 0.23em 0.9em;
  border-radius: 21px;
}

/* ---- MENU BURGER RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-nav { padding: 0 2vw; }
  .nav-logo { font-size: .96rem; padding: .2em .6em; margin-left: .2rem; }
  .nav-burger {
    display: block;
    font-size: 2.3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 140;
    position: relative;
  }
  .nav-toggle { display: none; }
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2rem;
    padding: 2.3rem 5vw 3.3rem 5vw;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    min-width: 0;
    min-height: 0;
    height: 100vh;
    background: rgba(15,30,35,0.99);
    z-index: 2000;
    font-size: 1.13rem;
    box-sizing: border-box;
    overflow-y: auto;
    border-radius: 0 0 28px 28px;
    transition: opacity .22s cubic-bezier(.37,0,.4,1.42);
    box-shadow: 0 15px 62px #001a;
  }
  .nav-toggle:checked + .nav-burger + .nav-menu {
    display: flex;
    opacity: 1;
    animation: slideDown 0.18s cubic-bezier(.42,0,.4,1.34);
  }
  .nav-menu li {
    width: 100%;
    text-align: right;
    border-bottom: 1.2px solid rgba(255,255,255,0.16);
    padding: 0.8em 0.1em 0.8em 0.1em;
    font-size: 1.17rem;
    transition: background .16s;
  }
  .nav-menu li:last-child {
    border-bottom: none;
  }
  .nav-menu a {
    color: #fff;
    width: 100%;
    display: block;
    padding-right: 2vw;
  }
  .nav-menu a:active, .nav-menu a:focus { color:#063A6A;}
  .hero-center {
    position: relative;
    z-index: 1;
  }
  .nav-toggle:checked ~ .hero-center {
    opacity: 0.28;
    filter: blur(1.5px);
    pointer-events: none;
  }
}

@media (max-width: 500px) {
  .nav-menu {
    padding: 2.1rem 2vw 2.7rem 5vw;
    font-size: 1.01rem;
  }
  .nav-logo {font-size: .79em;}
}

@keyframes slideDown {
  from { transform: translateY(-60px); opacity: 0;}
  to { transform: none; opacity: 1;}
}

/* ----- CONTENU SITE ----- */
.section-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.3rem 2.2vw;
}
h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.7rem;
  letter-spacing: .04em;
}
.prestations-list {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.prestation-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 19px #0011;
  padding: 1.3rem 1.7rem;
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 350px;
}
.prestation-card h3 { text-align:center;color:#063A6A;font-size:1.28rem;}
.prestation-card ul { padding: 0; margin: 0; list-style: none;}
.prestation-card li { padding: .3em 0; color: #333; }
.gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
  box-shadow: 0 4px 16px #0012;
}
@media(max-width: 900px){
  .section-main { padding: 1.1rem .4rem; }
  .gallery img { width:90vw;max-width:300px;height:22vw;}
}
@media(max-width: 700px){
  .hero-title{font-size:1.02rem;}
  .section-main{padding:.7rem .6rem;}
  .prestations-list{gap:1rem;}
  .prestation-card{min-width:120px;padding:.89rem .52rem;}
  .gallery img{width:95vw;height:32vw;}
}
.about-text {
  max-width: 500px;
  margin: 0 auto 1.4rem auto;
  font-size: 1.11rem;
  color: #333;
  text-align: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  max-width: 360px;
  margin: 0 auto;
  background: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px #0001;
}
.contact-form input, .contact-form textarea {
  padding: .5rem;
  border: 1px solid #e6e6ea;
  border-radius: 7px;
  font-size: 1rem;
}
.btn-anim {
  background: #063A6A;
  color: #fff;
  border: none;
  border-radius: 19px;
  padding: .7rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.btn-anim:hover { background: #063A6A; }
#form-result { font-size:1.03em; text-align:center; }
footer {
  background: #093258;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 1.3rem 0;
  font-size: 1rem;
}
.footer-content { opacity: .86; }

a.nav-logo {
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .2s, opacity .18s;
}
a.nav-logo:hover {
  box-shadow: 0 0 16px #063A6A, 0 3px 20px #0008;
  opacity: 0.82;
}


/* --- G A L L E R I E --- */
.gallery-zoom {
  margin-top: 2rem;
}
.gallery-zoom .img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  gap: 0=px;
  justify-items: center;
  align-items: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1vw;
}
.gallery-zoom .img-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px #0011;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 1.3rem;
  width: 100%;
  aspect-ratio: 16/9;
  min-width: 220px;
  max-width: 440px;
  display: stretch;
  flex-direction: column;
  position: relative;
  align-items: flex;
  margin-bottom: 2rem;
}
.gallery-zoom .img-inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.gallery-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* CROP pour remplir la case sans distorsion */
  object-position: center;
  border-radius: 0;
  transition: transform .21s cubic-bezier(.5,0,.7,1.1);
}
.gallery-zoom .img-item:hover img { transform: scale(1.055); }
.gallery-zoom .zoom-btn {
  position: absolute;
  bottom: 1rem; right: 1.1rem;
  border: none;
  background: #ffffff83;
  border-radius: 50%;
  cursor: pointer;
  padding: 0.30em 0.40em;
  box-shadow: 0 3px 10px #0009;
  outline: none;
  opacity: 0.95;
  transition: background .16s, opacity .14s;
  z-index: 10;
}
.gallery-zoom .zoom-btn:hover { background: #40ddf8; opacity:1; }
@media (max-width:1100px){
  .gallery-zoom .img-grid { grid-template-columns: repeat(2,1fr);}
}
@media (max-width:700px){
  .gallery-zoom .img-grid { grid-template-columns: 1fr; gap: 1.1rem; max-width:99vw;}
  .gallery-zoom .img-item { min-width:0; max-width:99vw;}
}

/* --- ZOOM / LIGHTBOX --- */
.zoom-lightbox {
  display: none;
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: #505050be;
  justify-content: center; align-items: center;
  z-index: 3000;
}
.zoom-lightbox.active { display: flex; }
.zoom-lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto !important;
  height: auto !important;
  object-fit: contain; /* ratio d'origine au zoom */
  background: #111;
  border-radius: 10px;
  box-shadow: 0 4px 30px #222a;
  margin: auto;
}
.zoom-close {
  position: absolute; top: 24px; right: 38px;
  font-size: 3em; color: #fff; cursor: pointer;
  z-index: 100;
  transition: color .18s;
}
.zoom-close:hover { color:#063A6A; }
@keyframes fadeIn { from {opacity: 0; transform:scale(.96);} to {opacity:1; transform:scale(1);} }

/* --- AVANT / APRES (Comparateurs) --- */



:root {
  --ba-height: 420px;
  --ba-radius: 14px;
  --ba-handle: 40px;
  --ba-line: 2px;
  --ba-shadow: 0 8px 30px rgba(0,0,0,.15);
  --ba-accent: #063A6A;
  --ba-bg: #0f172a;
  --ba-text: #ffffff;
}

.comparateurs {
  display: flex;
  gap: 26px; /* espace entre les comparateurs */
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; /* décommente pour qu’ils passent sous la ligne sur mobile */
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.ba-container {
  flex: 1 1 0;
  min-width: 280px;      /* largeur min */
  max-width: 440px;      /* largeur max pour l’effet souhaité */
}
.ba-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  max-height: var(--ba-height);
  width: 100%;
  overflow: hidden;
  border-radius: var(--ba-radius);
  background: #0b1020;
  box-shadow: none;
  touch-action: none;
  user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path .05s linear;
  will-change: clip-path;
}
.ba-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--ba-line);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  pointer-events: none;
  transform: translateX(-50%);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ba-handle);
  height: var(--ba-handle);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ba-accent);
  box-shadow: 0 6px 18px #063A6A;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.ba-grip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(0deg, transparent 40%, #fff 40% 60%, transparent 60%);
  opacity: .9;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: col-resize;
  outline: none;
}
.ba-range:focus-visible + .ba-handle {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--ba-handle);
  height: 100vh;
  background: transparent;
  border: 0;
  cursor: col-resize;
}
.ba-range::-moz-range-thumb {
  -moz-appearance: none;
  appearance: none;
  width: var(--ba-handle);
  height: 100vh;
  background: transparent;
  border: 0;
  cursor: col-resize;
}
.ba-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 0 4px;
  color: #e2e8f0;
}
.ba-tag {
  font-size: 14px;
  background: rgba(15,23,42,.65);
  border: 1px solid rgba(255,255,255,.1);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ba-tag-left { align-self: flex-start; }
.ba-tag-right { align-self: flex-end; }

@media (max-width:700px){
  .comparateurs {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    max-width: 99vw;
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
  }
}

@media (max-width:700px){
  .gallery-zoom .img-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    max-width: 99vw;
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
  }
}
.btn-catégorie{
  background: #063A6A;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  display: block;
  transition: background 0.3s, transform 0.2s;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}



.carousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 32px auto;
  overflow: hidden;
  box-shadow: 0 2px 10px #0011;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(.7,.1,.18,1);
  width: 100%;
}
.carousel img {
  width: 100%;
  min-width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  display: block;
  border-radius: 0;
}
.carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #181844cc;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.8em;
  cursor: pointer;
  z-index: 2;
  transition: background .14s;
  opacity: .88;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow.left { left: 14px; }
.carousel-arrow.right { right: 14px; }
.carousel-arrow:hover { background: #09aeb7; }
@media (max-width:700px){
  .carousel { max-width:99vw;}
}

.content {
  max-width: 850px;
  margin: 36px auto;
  padding: 38px 30px 30px 30px;
}



.emoji {
  font-size: 1.17em;
  vertical-align: middle;
  margin-right: 0.37em;
}

.green {
  color: #33b653;
}

.red {
  color: #cc2222;
}

.yellow {
  color: #ecad13;
}

strong {
  color: #23304e;
}

p {
  font-size: 1.15em;
  margin-bottom: 1.7em;
}

.important {
  color: #cc2222;
  font-size: 1.13em;
  font-weight: 600;
}

.expert {
  font-size: 1.16em;
  color: #274689;
  font-weight: 600;
}

footer {
  width: 100%;
  background: #063A6A;
  color: #e4e8ed;
  padding: 38px 0 16px;
  margin-top: 40px;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.footer-social {
  margin-bottom: 20px;
}
.footer-social a {
  display: inline-block;
  margin: 0 10px;
  opacity: 0.78;
  transition: opacity 0.22s;
}
.footer-social a:hover { opacity: 1; }
.footer-social img {
  width: 26px; height: 26px;
  filter: grayscale(1) brightness(1.15);
  transition: filter 0.25s;
}
.footer-social a:hover img { filter: none; }
.footer-links {
  margin: 18px 0 12px;
}
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 14px;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-copyright {
  font-size: 0.95em;
  opacity: 0.68;
}
@media(max-width:700px){
  .footer-content { max-width: 98vw; }
  .footer-links a { margin: 0 8px;}
  .footer-social img { width: 22px; height: 22px; }
}
