
/*Ces regles permettent d'eliminer les marges et padding indesirables */
*{
    margin: 0;
    padding: 0;
    max-width: 100%; 
    box-sizing: border-box;
}


html, body{
    
    min-height: 100vh;
}

/*Les proprietés body et main permettent de garder le footer en bas et au main d'occuper tout l'espace vide*/
body{
    
    display: flex;
    flex-direction: column;
    height: 100%;
    
}


main{
    
   flex: 1;
}

/*Cette regle permet de modeliser le premier bar de menu*/

header #PremierBar{
    background-color: #4d79ff;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;  
}

/*Cette regle modeliser le container du texte dans le premier bar*/

#TexteMenu{
    
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
   
}

/*Cette regle permet de modeliser le titre du premier bar*/
#TexteMenu h1{
    
  font-family: "Work Sans", sans-serif;
  font-size: Clamp(0.5rem , 2vh, 1.7rem); 
  font-weight: bolder;  
  flex-wrap: wrap;
  text-align: center;
}

/*Cette regle permet de modeliser le paragraphe du premier bar*/
#TexteMenu p{
    
  font-family: "Work Sans", sans-serif;
  font-size: Clamp(0.6rem , 2vh, 1rem); 
  font-weight: normal;  
  flex-wrap: wrap;
  color: whitesmoke;
  max-width: 15rem;
  text-align: center;
  margin-bottom: 1rem;
}

/*Cette regle permet de modeliser l'image du logo dans le premier bar de menu*/
#PremierBar div img{
    
  height: 5rem;
  width: 8rem;
  margin-top: 1rem;
  max-width: auto;
  max-height: auto;

}

/*Cette regle permet la liste des reseaux sociaux dans le premier bar de menu*/
#PremierBar div ul{
    
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  margin-top: 2rem;
  gap: 1rem;
  color: white;
  flex-wrap: wrap;
  font-size: Clamp(0.6rem , 2vh, 1rem); 
  font-family: "Work Sans", sans-serif;
}

/*Cette regle modelise les icones des reseaux sociaux*/
#PremierBar div ul li a{
    
  flex-wrap: wrap;
  font-size: Clamp(0.6rem , 2vh, 1rem); 
  font-family: "Work Sans", sans-serif;
  color: #050e2a;
}


/*==================================================================================*/
/*Deuxieme Partie qui modelise le menu nav*/
/*=================================================================================*/

/*Cette regle permet de styliser le menu*/
header nav ul{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap; 
    background-color: #1a53ff;
    gap: 2rem;
    padding: 2rem;
}

/*Cette regle de styliser la liste de menu*/
header nav ul li{
    
  list-style-type: none;
  font-family: "Work Sans", sans-serif;
  font-size: Clamp(1rem , 2vh, 1rem); 
  font-weight: normal;  
  flex-wrap: wrap;
  color: #050e2a;
  max-width: 15rem;


}

nav ul li {
    position: relative;
    display: inline-block; /* mete meni yo kòt a kòt */
}

nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    background: #b3c6ff;
}

nav ul li ul {
    display: none; /* kache sous-meni yo */
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    min-width: 200px;
    z-index: 1000;
}

nav ul li:hover > ul {
    display: block; /* montre sous-meni a lè souri pase */
}

nav ul li ul li {
    display: block;
}

nav ul li ul li a {
    padding: 10px;
    color: black;
}

nav ul li ul li:hover {
    background: #f0f0f0; /* efè hover sou sous-meni */
}

/*=========================================================================================*/
/*Fin du bloc de menu*/
/*=========================================================================================*/

/*=========================================================================================*/
/*Bloc de style de photo hero*/
/*=========================================================================================*/
#PartieHero{
    
   background-image: url(../assets/hero.jpg);
   width: 100%;
   background-repeat: repeat;
   background-size: cover;
   height: 35rem;
   display: flex;
   flex-direction: column;
   gap: 3rem;
   align-items: center;


}

#PartieHero h2{
    
   font-family: "Work Sans", sans-serif;
   font-size: clamp(2.5rem ,  2vh ,  1.8rem);
   color: #ffffff;
   text-align: center;
   margin-top: 3rem;

}


#PartieHero p{
    
   font-family: "Work Sans", sans-serif;
   font-size: clamp(1.6rem ,  2vh ,  1.8rem);
   color: #ffffff;
   max-width: 60rem;
   text-align: justify
   
}


#PartieHero button{
    
  border: 5px solid #050e2a;
  background-color: #1a53ff;
  padding: 1rem;
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.4rem ,  2vh ,  1.8rem);
  border-radius: 15px;
   
}

#PartieHero button:hover{
    background-color: #b3c6ff;
}

#PartieHero button a{
    
  
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.4rem ,  2vh ,  1.8rem);
  text-decoration: none;
   
}

/*=========================================================================================*/
/*Fin Bloc de style de hero*/
/*=========================================================================================*/






/*=========================================================================================*/
/*Bloc de style des sections*/
/*=========================================================================================*/
/*Bloc de style pour la premiere section*/
#section1{

   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   background-color: black;
   gap: 4rem;
   padding: 2rem;
   
}

#section1 div h3{

  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.6rem ,  2vh ,  1.8rem);
  color: #0044cc;
  flex-wrap: wrap;
  margin-top: 2rem;

}


#section1 div p{

  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.2rem ,  2vh ,  1.8rem);
  color: white;
  flex-wrap: wrap;
  max-width: 50rem;
  text-align: left;
  margin-top: 2rem;
  text-align: justify;
}

#section1 div img{

  height: 30rem;
  width: 35rem;
  display: block;
  background-size: cover;
  max-width: auto;
  max-height: auto;
}
/*Fin de bloc de style pour la premiere section*/

/*Bloc de style pour la deuxieme section*/
#section2{

   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   background-color: #80aaff;
   gap: 3rem;
   padding: 3rem;
   
}

#section2 div h3{

  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.6rem ,  2vh ,  1.8rem);
  color: #0044cc;
  flex-wrap: wrap;
  margin-top: 2rem;

}

#section2 div p{

  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.2rem ,  2vh ,  1.8rem);
  color: white;
  flex-wrap: wrap;
  max-width: 50rem;
  text-align: left;
  margin-top: 1rem;
  text-align: justify;
}

#section2 div img{

  height: 35rem;
  width: 34rem;
  display: block;
  background-size: cover;
  max-width: auto;
  max-height: auto;
}

#section2 div ul{

  list-style-type: disc;
  margin-left: 2rem;
  margin-top: 1rem;
}

#section2 div ul li{

  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.2rem ,  2vh ,  1.8rem);
  color: #0044cc;
  flex-wrap: wrap;
  max-width: 50rem;
  text-align: left;
  margin-top: 1rem;
  text-align: justify;
}

#Accordeon {
  max-width: 900px;
  margin: 40px auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: cornflowerblue;
}

#Accordeon h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #111827;
}


#Accordeon p {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* Seksyon jeneral */
#Accordeon {
  max-width: 900px;
  margin: 40px auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  padding: 3rem;
}

#Accordeon h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #111827;
}

#Accordeon > p {
  text-align: center;
  margin-bottom: 25px;
  color: #4b5563;
}

/* Kontenè akordeon an */
.accordion {
  border-radius: 8px;
  overflow: hidden;
}

/* Chak item */
.accordion-item {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

/* Tèt akordeon (header) */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  background: #f9fafb;
  transition: background 0.2s ease;
  padding: 2rem;
}

.accordion-header:hover {
  background: #eef2ff;
}

.accordion-title {
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
}

.accordion-arrow {
  font-size: 0.9rem;
  color: #6b7280;
  transition: transform 0.2s ease;
}

/* Kontni kache / ouvè */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background: #ffffff;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.accordion-content p {
  margin: 10px 0;
  line-height: 1.5;
  color: #4b5563;
}

.accordion-content ul {
  margin: 8px 0 16px 18px;
  padding: 0;
}

.accordion-content li {
  margin-bottom: 6px;
}

/* Lè yon item aktif (ouvè) – w ap mete klas .active ak JS */
.accordion-item.active .accordion-content {
  max-height: 600px; /* ajiste si gen plis tèks */
  padding: 12px 18px 16px;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(90deg);
}

/* Bouton "Contactez-nous" */
.accordion-content button {
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  cursor: pointer;
}

.accordion-content button a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.accordion-content button:hover {
  background: #1d4ed8;
}

/*Fin du bloc de style de la deuxieme section*/

/*=========================================================================================*/
/* Fin de Bloc de style de la premiere section*/
/*=========================================================================================*/

/**=========================================================================================*/
/*Bloc de style de wrapper*/
/*=========================================================================================*/

#wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1024px;
    margin: 0 auto;
}
/*=========================================================================================*/
/*Fin de Bloc de style de wrapper*/
/*=========================================================================================*/


/*=========================================================================================*/
/*Bloc de style du footer*/
/*=========================================================================================*/

/*Ce bloc stylise le logo du footer*/
footer div img{

  height: 15rem;
  width: 100%;
  margin-top: 1rem;
  max-height: 100%;
  max-width: auto;
  background-size: cover;
   display: block; 
}

/*Ce bloc dispose les elements en ligne dans le footer*/
footer #ContainerFoot{
  
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  /*background-color: #1a75ff;*/
  background-color: #000000;
  padding: 3rem;
  flex-wrap: wrap;
   
}

/*Ce bloc stylise le titre h3 du footer*/
footer #ContainerFoot div h3{
  
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.3rem ,  2vh ,  1.8rem);
  color: white;
  flex-wrap: wrap;
 
}

/*Ce bloc stylise le paragraphe du footer*/
footer #ContainerFoot div p{
  
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1rem ,  2vh ,  1.8rem);
  color: white;
  flex-wrap: wrap;
  max-width: 20rem;
  text-align: left;
  margin: 1rem;
 
}

/*Ce bloc stylise le titre h4 du footer*/
footer #ContainerFoot div h4{
  
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1rem ,  2vh ,  1.8rem);
  color:#3333ff;
  flex-wrap: wrap;
  max-width: 10rem;
  max-width: 25rem;
 
}

/*Ce bloc stylise les liste du footer*/
footer #ContainerFoot div ul{
  
  list-style-type: square;
  margin: 1rem;
  
 
}

/*Ce bloc stylise les elements de la liste du footer*/
footer #ContainerFoot div ul li a{
  
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1rem ,  2vh ,  1.8rem);
  flex-wrap: wrap;
  max-width: 40rem;
  color: #506ec8;
  
}

/*=========================================================================================*/
/*Fin de Bloc de style du footer*/
/*=========================================================================================*/