/*Tout le site-----------------------------------------------------------------------------------------------------------------------*/
*{
  font-family: 'Poppins', sans-serif;

}

html, body {
  margin: 0%;
  padding: 0%;
  height: 100%; /* IMPORTANT */
}

body {
  display: flex;
  flex-direction: column;
}

/*Presentation----------------------------------------------------------------------------------------------------------------------*/
.p1{
  margin-left:17%;  /* décale vers la droite */
  margin-top: 7%; 
  font-size: 35px;
  color:black
}

.p2{
  margin-left: 17%;  /* décale vers la droite */
  margin-top: -3%; 
  font-size: 20px;
  color: black;
}


.T_P li{
  display: inline;
    left: 5%;
    top: -10%;

}

.Boutton_Proposer {
  background-color: #007BFF; /* Bleu */
  color: rgb(255, 255, 255);              /* Couleur du texte */
  border: none;              /* Pas de bordure */
  padding: 1% 2%;        /* Espacement interne */
  border-radius: 10px;        /* Bords arrondis */
  cursor: pointer;           /* Curseur "main" */
  font-size: 16px;
  transition: background-color 0.3s; /* Animation fluide */
  margin-left: 1%;  /* décale vers la droite */
  margin-top: 1%; 
}

.Boutton_Proposer:hover {
  background-color: #0056b3; /* Bleu plus foncé */
}

.Boutton_Rechercher {
  background-color: #007BFF; /* Bleu */
  color: rgb(255, 255, 255);              /* Couleur du texte */
  border: none;              /* Pas de bordure */
  padding: 1% 2%;        /* Espacement interne */
  border-radius: 10px;        /* Bords arrondis */
  cursor: pointer;           /* Curseur "main" */
  font-size: 16px;
  transition: background-color 0.3s; /* Animation fluide */
  margin-left: 15%;  /* décale vers la droite */
  margin-top: -7%; 
}

.Boutton_Rechercher:hover {
  background-color: #0056b3; /* Bleu plus foncé */
}



.img,.imgB{
  position: relative;
  top: -5%;
  left: 45%;
  max-width: 40%;
  height: auto;
}



.hr{
  top :-10%
}
/*Zone de Recherche ----------------------------------------------------------------------------------------------------------------*/
.Zone_Recherche{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: -5%;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  padding: 0 2%;
}

.Zone_Recherche li{
 display: inline;
 list-style: none;
}



.Depart{
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  min-width: 150px;
}

.Arrivé{
  padding: 10px 15px;    
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  min-width: 150px;
}

.Date{
  padding: 10px 15px; 
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}



.Boutton_Recherche {
  background-color: #007BFF; /* Bleu */
  color: rgb(255, 255, 255);              /* Couleur du texte */
  border: none;              /* Pas de bordure */
  padding: 1% 2%;        /* Espacement interne */
  border-radius: 10px;        /* Bords arrondis */
  cursor: pointer;           /* Curseur "main" */
  font-size: 16px;
  transition: background-color 0.3s; /* Animation fluide */
  margin-left: 1%;  /* décale vers la droite */
  margin-top: 1%; 
}

.Boutton_Proposer:hover {
  background-color: #0056b3; /* Bleu plus foncé */
}

/* A propos                                                                                                                       */

.rectangle {
  max-width: 1100px;
  margin: 5% auto;
  padding: 1% 2%;
  background-color: #ececec;
  border-radius: 15px;
  text-align: center;
}

.p3, .p4 {
  font-size: 20px;
  margin-bottom: 2rem;
}

.A_propos, .A_propos2 {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
  gap: 2rem;
}

.A_propos li, .A_propos2 li {
  flex: 1 1 200px; /* largeur minimum de 200px, s’adapte à l’espace */
  max-width: 250px;
  text-align: center;
}

.A_propos img, .A_propos2 img {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

.A_propos p, .A_propos2 p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.4;
}


.blanc {
  height: 10%;
  width: 100%;
  background-color: #ffffff;
}
/*Pied de page----------------------------------------------------------------------------------------------------------------------*/

main {
  flex: 1; /* pousse le footer vers le bas */
}


/* IA                                                                                                                           */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    pointer-events: none;
}

.overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

.popup-content {
    position: relative;
    background: white;
    width: 43%;
    height: 82%;
    border-radius: 5%;
    overflow: hidden;
    box-shadow: 0 0 20% rgba(0,0,0,0.3);
    left: 5%;
    top :5%
}

.popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.fermer {
    position: absolute;
    top: 10%;
    right: 15%;
    cursor: pointer;
    z-index: 1000;
    width: 15%;
    height: 15%;
}

.assistant{
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
    position : fixed;
    top: 80%;
  }

  .IA{
    width: 50%;
    height: 50%;

  }



/* Smartphones */
@media (max-width: 576px) {
  .p1, .p2 {
    margin-left: 5%;
    font-size: 1.2rem;
  }
  .Zone_Recherche {
    margin-left: 5%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .Boutton_Recherche, .Boutton_Proposer {
    margin-left: 0;
    width: 90%;
  }
}

/* Mobile-Tablet (576px - 699.98px) */
@media (min-width: 576px) and (max-width: 699.98px) {
  .p1, .p2 {
    margin-left: 7%;
    font-size: 1.35rem;
  }
  .Zone_Recherche {
    margin-left: 7%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .Boutton_Recherche, .Boutton_Proposer {
    margin-left: 0;
    width: 90%;
    padding: 0.75rem 1rem;
  }
}

/* Tablet (700px - 767.98px) */
@media (min-width: 700px) and (max-width: 767.98px) {
  .p1, .p2 {
    margin-left: 8%;
    font-size: 1.45rem;
  }
  .Zone_Recherche {
    margin-left: 8%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .Boutton_Recherche, .Boutton_Proposer {
    margin-left: 0;
    width: 90%;
    padding: 0.8rem 1.1rem;
  }
  .Pied {
    width: 100%;
  }
}

/* Tablettes */
@media (min-width: 768px) and (max-width: 992px) {
  .p1, .p2 {
    margin-left: 10%;
    font-size: 1.5rem;
  }
  .Zone_Recherche {
    margin-left: 10%;
  }
  .Pied{
    width: 100%;
  }
}




/*mode sombre----------------------------------------------------------------------------------------------------------------------*/
