html {
  scroll-behavior: smooth;
}


body {margin:0;
background-color:#FAF8F6;

}




h1 { text-transform: uppercase;}


#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
#hero-description h2 {color: white;}

.navbar {
 
    background-color: rgba(255,255,255,0.8);
     backdrop-filter: blur(10px);
     display: flex;
     justify-content: center;
     align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    padding: 15px 30px;
    box-sizing: border-box;
     gap: 50px;
}
.nav-links {   font-family: Montserrat;
  font-weight: 400;
    font-size: 16px;
    display: flex;
    list-style: none;
      align-items: center;
    margin:0;
    padding:0;
      gap: 40px;
}


.nav-links a {
    color:#6E4F8A;
    text-decoration:none;

}
#logo{
  height: 32px;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
   overflow: hidden;
  }

.slider-content {
  width: 300%;
  height: 100%;
  position: relative;
  display: flex;
  animation-name: slider;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear;
}

.slider-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes slider {
  0% {
    left: 0px;
  }
  20% {
    left: 0px;
  }
  25% {
    left: -100%;
  }
  70% {
    left: -100%;
  }
  75% {
    left: -200%;
  }
  100% {
    left: -200%;
  }
}
 #hero-txt {
  font-family: Cormorant Garamond;
  color:white;
  position: absolute;
  z-index: 5;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
    width: 100%;
  
}

#hero-txt h1 {font-size: 96px;
margin:0;
  color:white;}

#hero-txt h2 {font-size: 58px;
margin:0;
padding-top: 0;
color:white;}

#hero-overlay{
  position: absolute;
  height:100%;
  width:100%;
  z-index: 2;
  background-color: rgba(0,0,0,0.2);
  
}



#hero-description {
  position: absolute;
  bottom: 5%;
  right: 0;
  width: 500px;
  height: 250px;
  color:white;
  font-family: Montserrat;
  font-size: small;
  font-weight: 500;
  z-index: 5;
}


#hero-description h1 {
  font-family: Montserrat;
  font-size: 24px;
  color:white;
}

#hero-description p {
  font-size: 16px ;
    color:white;
  
}



.quartier {
  width: 100%;
  padding: 80px 0;
  background-color: #FAF8F6;}

#txt {
  font-family: Cormorant Garamond;
  text-align: center;
  color: #6E4F8A;
}

h1 {font-size: 42px;
   margin:0;
    color: #6E4F8A;
}

h2 {
  font-size: 26px;
  margin:0;
    color: #6E4F8A;

}

#quartier-img {
  width: 30%;
  margin-bottom: 40px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

#quartier-content {
  width: 80%;
  max-width: 1200px;
  gap: 40px;
  margin: auto;
  display: flex;
  margin-top: 80px;
  
}

#quartier-description {
  font-family: Montserrat;
  font-size: 14px;
  width: 50%; 
  line-height: 150%;  
  opacity:0.8;             
}
#quartier-txt {
  text-align:center;
  margin-top: 50px;
 }

.quartier-video {
  width: 100%;
  max-width: 1600px; 
  margin: 60px auto;
}

.quartier-video video {
  width: 100%;
  height: 850px;
  display: block;
  object-fit: cover;}

.separator-section  {
  width:70%;
  border-top: 0.5px solid #D6C7A1;
  margin:40px auto;

}

#lieu-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    width: calc(100% + 32px);
    margin-left: -16px;       
    margin-right: -16px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);}

     
.gauche h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    margin: 14px 0 4px;
    color: #222;
    padding: 0 12px;
}
 .gauche h2 {
    font-size: 11px;
    color: #888;
    font-weight: 300;
    margin-bottom: 14px
}

#lieu-txt {
  width:100%;
}

.lieu-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    width: 90%;
    border: 2px solid #c9a96e;
    background: transparent;
    position: relative;
    max-width: 960px; 
    margin:auto; 
    padding-bottom:80px ;
    padding-top: 80px;  
}

.lieu-content-2 {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    width: 90%;
    border: 2px solid #c9a96e;
    background: transparent;
    position: relative;
    max-width: 960px; 
    margin:auto; 
    padding-bottom:80px ;
    padding-top: 80px;  
}

.gauche-2 { flex: 0 0 390px;
    text-align: center;
    background-color: #e8e0d5;
    margin-top: -20px;
    margin-right: -40px; 
    margin-bottom: 40px;
    overflow: hidden;
    width:70%;
    padding: 0 16px 24px ;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  
}
.gauche {
    flex: 0 0 390px;
    text-align: center;
    background-color: #e8e0d5;
    margin-top: -20px;
    margin-left: -40px; 
    margin-bottom: -60px;
    overflow: hidden;
    width:70%;
    padding: 0 16px 24px ;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  width:50%;}

.gauche-2 h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    margin: 14px 0 4px;
    color: #222;
    padding: 0 12px;}

.gauche-2 h2 {
    font-size: 11px;
    color: #888;
    font-weight: 300;
    margin-bottom: 14px;}

.droite {
  width:50%;
}
  
 

.droite h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;}

.droite h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.droite p {
  font-family: Montserrat;
  font-size: 14px;
  width: 50%; 
  line-height: 150%;  
  opacity:0.8;
}

.droite-2 {margin-left: 20px;}

.droite-2 h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;}

.droite-2 h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.inverse .gauche {
  margin-left: 0;
  margin-right: -100px;
}

.separator {
   border-top: 1px solid #D6C7A1;
}
.tag-lieu {
  padding: 6px 16px;
  background-color:white;
  color: #333;              
  font-family: Montserrat, sans-serif;
  font-size: 10px;
  border-radius: 20px;       
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);}


#resto-bar-txt {
  font-family: Cormorant Garamond;
  text-align: center;
  color: #6E4F8A;
}

.resto-bar-img { 

  width: 50%;
  height: 380px;       
  object-fit: cover;    
  display: block;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);

}

#card-resto-bar {
  width: 80%;
  max-width: 1200px;
  gap: 40px;
  margin: auto;
  display: flex;
  margin-top: 80px;
}

#resto-bar-description {
  font-family: Montserrat;
  font-size: 14px;
  width: 50%; 
  line-height: 150%;  
  opacity:0.8;
}
#resto-bar-description h1 {
  font-family: Cormorant Garamond;
  font-size: 20px;
}
#resto-bar-description h2 {
  font-family:Montserrat;
  font-size: 14px;}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 16px;
  background-color:white;
  color: #333;              
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  border-radius: 20px;       
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}


#card-resto02 {
  width: 80%;
  max-width: 1200px;
  gap: 40px;
  margin: auto;
  display: flex;
  margin-top: 80px;
}




.galerie {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}




.galerie-grid {
  margin:100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
}

.galerie-grid img {
  width: 100%;
  height: 420px; 
  object-fit: cover; 
  display: block;
}

#galerie h1{
    text-align: center;
}

#infos  {
  max-width: 800px;  
  margin: 0 auto;     
}
#infos p {  
  font-family: Montserrat;
  font-size: 14px;
  width: 50%; 
  line-height: 150%;  
  opacity:0.8;
  
}

#infos h1{
    text-align: center;
}
 h3 {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 24px;
  width: 50%; 
  
  opacity:0.8;
}


.map-container iframe {
  width: 100%;
  height: 100vh;     
  border: 0;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 30px;
}

#fond-rectangle {
  background-color: white;
  width: 100%;
  height: 230px;
}
#logo-img {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 50px;
}

#logo-img img {
  max-width: 200px;
  height: auto;
  width: 100%;}

.nos-partenaires {
  display: flex;
  justify-content: center;
  align-items:center;
  gap: 40px;
  
}
.nos-partenaires h2 {
  text-align:center;
  margin-top: 50px;
    color: #222;
  
 }

 #fond-footer {
   background-color: #E8E1D9;
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  height: 80px;
 }
 #fond-footer h3 {
  text-align: center;
  margin: 5px 0; 
  font-size: small;
}


/* ========================================================
   RESPONSIVE — TABLETTE (max-width: 900px)
   ======================================================== */
@media (max-width: 900px) {

  #quartier-content,
  #card-resto-bar,
  #card-resto02 {
    flex-direction: column;
    width: 90%;
  }

  #quartier-img,
  .resto-bar-img {
    width: 100%;
  }

  #quartier-description,
  .droite p,
  #resto-bar-description,
  #infos p,
  h3 {
    width: 100%;
  }

  .lieu-content,
  .lieu-content-2 {
    flex-direction: column;
    width: 95%;
    gap: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .gauche,
  .gauche-2 {
    width: 100%;
    margin: 0 0 20px 0;
    flex: none;
  }

  .droite,
  .droite-2 {
    width: 100%;
    margin-left: 0;
  }

  .galerie-grid {
    margin: 40px 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .galerie-grid img {
    height: 300px;
  }
}


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

  /* Navbar : on réduit les espacements pour que le logo + les
     liens tiennent sur un petit écran */
  .navbar {
    padding: 12px 15px;
    gap: 15px;
    flex-wrap: wrap;
  }

  .nav-links {
    font-size: 12px;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  #logo {
    height: 26px;
  }

  /* Hero : les titres en 96px/58px sont beaucoup trop grands
     sur un écran de 390px de large, donc on les réduit fort */
  #hero-txt h1 {
    font-size: 38px;
  }

  #hero-txt h2 {
    font-size: 22px;
  }

  /* La description avait une largeur fixe de 500px : sur mobile
     elle sortirait de l'écran, donc on passe en % et on recentre */
  #hero-description {
    width: 90%;
    right: 5%;
    bottom: 3%;
    height: auto;
  }

  #hero-description h1 {
    font-size: 18px;
  }

  #hero-description p {
    font-size: 13px;
  }

  /* Titres généraux */
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 19px;
  }

  .quartier {
    padding: 40px 0;
  }

  #quartier-content {
    width: 90%;
    margin-top: 40px;
    gap: 20px;
  }

  #quartier-img {
    width: 100%;
    margin-bottom: 20px;
  }

  /* La vidéo en 850px de haut est pensée pour un grand écran :
     sur mobile on la laisse s'adapter avec une hauteur automatique */
  .quartier-video video {
    height: auto;
  }

  #lieu-img {
    height: 200px;
  }

  .lieu-content,
  .lieu-content-2 {
    width: 92%;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .gauche,
  .gauche-2 {
    width: 93%;
  }

  #card-resto-bar,
  #card-resto02 {
    width: 90%;
    margin-top: 40px;
    gap: 20px;
  }

  .resto-bar-img {
    height: 220px;
  }

  #resto-bar-description h1 {
    font-size: 18px;
  }

  .galerie-grid {
    margin: 20px 10px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .galerie-grid img {
    height: 250px;
  }

  /* Une iframe Google Maps en 100vh prend tout l'écran sur mobile,
     on lui donne une hauteur fixe plus raisonnable */
  .map-container iframe {
    height: 350px;
  }

  #logo-img {
    gap: 25px;
    flex-wrap: wrap;
  }

  #logo-img img {
    max-width: 100px;
  }

  .nos-partenaires {
    gap: 20px;
    flex-wrap: wrap;
  }
}