* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "DM Sans";
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 15px;
  transition: all 0.3s ease;
  z-index: 999;
  color: #2b3d2b;
  padding-bottom: 20px;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

i {
  color: currentColor; /* hérite de la couleur du header */
  border-radius: 100%;
  border: 1px solid currentColor;
  padding: 5px;
  text-align: center;
}
.logo {
  width: 300px;
  height: 100px;
  object-fit: cover;
  transition: filter 0.3s ease;
}
header.white-text {
  color: white !important;
}

header.white-text img.logo {
  filter: brightness(0) invert(1); /* logo devient blanc si nécessaire */
}

.informations {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

ul li {
  list-style-type: none;
}

i {
  border-radius: 100%;
  border-color: #2b3d2b;
  border: solid 1px;
  padding: 5px;
  text-align: center;
}

header button {
  border: solid 2px;
  border-color: #ffffff;
  background-color: #2b3d2b00;
  padding: 10px;
  font-style: italic;
  color: inherit;
}

.banniere {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.decouverte {
  position: relative; /* nécessaire pour que le ::after soit positionné correctement */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.decouverte::before {
  content: "";
  position: absolute;
  top: 0; /* commence en haut de la section */
  left: 0;
  width: 100%;
  height: 200px; /* hauteur du fondu */
  background: linear-gradient(to bottom, #2b3d2b, rgba(43, 61, 43, 0));
  /* du menu (couleur pleine) vers transparent */
  pointer-events: none; /* pour que ça ne bloque pas les clics */
  z-index: 2; /* au-dessus de l'image mais sous le texte */
}

.banniere::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px; /* hauteur du fondu */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #2b3d2b 100%);
  pointer-events: none; /* pour ne pas bloquer les clics */
  z-index: 1;
}

.logo-banniere {
  width: 100%;
  max-width: 500px;
}

.banniere_img {
  width: 100%;
}

.banniere_img img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  object-position: 50% 63%;
  z-index: -1;
  position: absolute;
}

.decouverte_img {
  width: 100%;
}

.decouverte_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  position: absolute;
  object-position: 50% 5%;
}

.menu {
  width: 100%;
  height: 750px;
  background-color: #2b3d2b;
  box-shadow: 0 -100px 30px -10px #2b3d2b65,
    /* ombre vers le haut */ 0 100px 30px -10px #2b3d2b65; /* ombre vers le bas */
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  color: white;
}

.box {
  width: 100%;
  margin-top: 10%;
  color: #2b3d2b;
  text-align: center;
  padding: 10%;
}

.box h2 {
  font-size: 56px;
}
.box1 {
  width: 40%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 40px;
}

.box2 {
  width: 55%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
p {
  font-size: 20px;
}
h2 {
  font-family: "Brown-sugar";
  font-size: 78px;
}
h3 {
  font-family: "DM Sans-thin";
  margin-top: 20px;
}
.ligne_1 {
  border: solid 2px;
  border-color: white;
  width: 100%;
  height: 100%;
  max-width: 800px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ligne_2 {
  border: solid 2px;
  border-color: white;
  width: 250px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  position: absolute;
}

.img_menu {
  border: solid 2px;
  border-color: white;
  width: 220px;
  height: 370px;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.box1 button {
  margin-top: 10px;
  width: 150px;
  padding: 12px 24px;
  border: 2px solid #2b3d2b;
  background: white;
  font-style: italic;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  margin-top: 20px;
}
.img_menu img {
  width: 100%;
  min-width: 245px;
  object-fit: cover;
}

.rdv {
  position: absolute;
  bottom: -50px; /* elle déborde de la bannière */
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 20px;
  width: 800px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* pour donner un effet flottant */
  z-index: 2; /* au-dessus du fondu */
}
.button_resa {
  display: flex;
  justify-content: center;
}
.rdv button {
  margin-top: 10px;
  padding: 12px 24px;
  border: 2px solid #2b3d2b;
  background: white;
  font-style: italic;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  z-index: 3;
  bottom: -10;

  position: absolute; /* nécessaire pour que le z-index fonctionne */
}

.rdv button:hover {
  background: #2b3d2b;
  color: white;
}

.rdv form {
  display: flex;
  justify-content: space-between;
}

/* Styles généraux */
select,
input[type="date"],
input[type="time"] {
  -webkit-appearance: none; /* supprime le style par défaut (Safari/Chrome) */
  -moz-appearance: none; /* Firefox */
  appearance: none;

  background-color: #fff;
  border: 1px solid #2b3d2b;
  padding: 10px 15px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  color: #2b3d2b !important;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  width: 200px;
  margin-right: 20px; /* largeur fixe ou responsive */
  transition: all 0.2s ease;
}

/* Hover / focus */
select:hover,
input[type="date"]:hover,
input[type="time"]:hover,
select:focus,
input[type="date"]:focus,
input[type="time"]:focus {
  border-color: black;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Custom flèche pour <select> */
select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><polygon points='5,6 15,6 10,12'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  padding-right: 35px; /* espace pour la flèche */
}

/* Fix Firefox qui ne masque pas la flèche */
select::-ms-expand {
  display: none;
}

/* Input date : masque l’icône par défaut et ajoute la même flèche */
input[type="date"] {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><polygon points='5,6 15,6 10,12'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  padding-right: 35px;
}

/* Masquer le calendrier natif sur Chrome (optionnel) */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: absolute;
}

.decouverte button {
  margin-top: 10px;
  width: 200px;
  padding: 12px 24px;
  border: 2px solid #2b3d2b;
  background: white;
  font-style: italic;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  margin-top: 20px;
}

footer {
  width: 100%;
  
  z-index: 2; /* supérieur à l’image */
  background-color: rgba(
    43,
    61,
    43,
    0.6
  ); /* semi-transparent pour voir l’image derrière */
  color: white;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: row;
  text-transform: uppercase;
  justify-content: space-between;
}

@font-face {
  font-family: "DM Sans";
  src: url("font/DM_Sans/static/DMSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Brown-sugar";
  src: url("font/Brown Sugar.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans-thin";
  src: url("font/DM_Sans/static/DMSans-Thin.ttf") format("truetype");
}

.logo-banniere img {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlide 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.box h2,
.box h3,
.box p,
.decouverte .box h2,
.decouverte .box h3 {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease-out forwards;
}

.box h2 {
  animation-delay: 0.2s;
}
.box h3 {
  animation-delay: 0.4s;
}
.box p {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button {
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


@keyframes popIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#toggle_menue {
  display: none; /* caché par défaut, affiché en mobile */
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

#menue {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 500px;
  height: 100%;
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.3);
  z-index: 1000;
  text-align: center;
  padding-top: 100px;
  transition: opacity 0.3s ease;
  opacity: 0;
  overflow-y: auto;
}

#checkbox:checked ~ #menue {
  display: block;
  opacity: 1;
}

#menue ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#menue li {
  margin: 30px 0;
  font-size: 24px;
  transition: transform 0.3s ease;
}

#menue li a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

#menue li a:hover {
  color: #ffd700;
  transform: scale(1.1);
}
#checkbox {
  display: none;
}
#toggle{
  display: none;
}


.toggle {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition-duration: .3s;
}

.bars {
  width: 100%;
  height: 4px;
  background-color: rgb(253, 255, 243);
  border-radius: 5px;
  transition-duration: .3s;
}

#checkbox:checked + .toggle #bar2 {
  transform: translateY(14px) rotate(60deg);
  margin-left: 0;
  transform-origin: right;
  transition-duration: .3s;
  z-index: 2;
}

#checkbox:checked + .toggle #bar1 {
  transform: translateY(28px) rotate(-60deg);
  transition-duration: .3s;
  transform-origin: left;
  z-index: 1;
}

#checkbox:checked + .toggle {
  transform: rotate(-90deg);
}

/* #checkbox:checked + .toggle .bars {
    margin-left: 13px;
  } */
  
  
  /* #checkbox:checked + .toggle #bar3 {
    transform: rotate(90deg);
    transition-duration: .3s;
    transform-origin:right;
  } */

/* Mobiles (max 768px) */
@media (max-width: 768px) {
  .informationss {
    
    flex-direction: row;
    gap: 10px;
  }


  
  .banniere_img img{
    height: 100%;
  }

  .btn_header, .informations{
    display: none;
  }
  #toggle_menue {
    display: block;
  }
  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 16px;
  }

  p {
    font-size: 14px;
  }

  .logo {
    width: 150px;
  }

  .rdv form{
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .rdv {
    position: absolute;
    bottom: -50px; /* elle déborde de la bannière */
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    padding: 30px;
    
    /* 🎨 Glassmorphism */
    background: rgba(255, 255, 255, 0.12); 
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    
    /* ✨ Ombres douces et premium */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
  
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  
    z-index: 2;
    transition: all 0.3s ease;
  }
  
  .rdv:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
                inset 0 2px 2px rgba(255, 255, 255, 0.4);
  }
  
  /* Bouton chic */
  .rdv button {
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #2b3d2b, #3e5440);
    color: white;
    font-style: italic;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }
  
  .rdv button:hover {
    background: linear-gradient(135deg, #3e5440, #2b3d2b);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  /* Champs stylisés */
  .rdv form select,
  .rdv form input[type="date"] {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 16px;
    color: #2b3d2b;
    font-weight: 500;
    outline: none;
    width: 220px;
    transition: all 0.3s ease;
  }
  
  .rdv form select:focus,
  .rdv form input[type="date"]:focus {
    border: 1px solid rgba(43, 61, 43, 0.8);
    box-shadow: 0 0 12px rgba(43, 61, 43, 0.4);
  }
  
.box1{
  padding: 0;
  margin: 5px;
 margin-top: 20%;
  display: flex;
  align-items: center;
  width: 70%;
  
}
.menu{
  flex-direction: column;
 align-items: center;
 text-align: center;

  height: 900px;
}

.box2{
  width: 100%;
}
  footer {
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
  }
 
.logo-banniere{
  width: 100%;
display: flex;
justify-content: center;
margin-top: 20%;
}
.decouverte_img img{
  width: 100%;
  height: 100%;
}
.decouverte_img{
  width: 100%;
  height: 400px;
  
}
  .logo-banniere img {
    width: 400px;
  }

  .box{
    padding-top: 250px;
  }
  
}





