
/* page ///////////////////////////////////////////////////////////////////////////////*/

html *, body * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
}
p , .p_choix{
  font-family: 'Bahnschrift', 'Arial', 'sans-serif';
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Franklin Ghotic Medium','Arial', 'sans-serif';
}

/* bar_nav ////////////////////////////////////////////////////////////////////////////*/


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e2f;
  padding: 15px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 1px;
  height: 65px;
  width: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.nav-links li a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background-color: #8D99AE;
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.nav-links li a:hover {
  color: #8D99AE;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* titre et solution ///////////////////////////////////////////////////////////////////////////////////////////*/

.titre_cont{
  margin-top: 0 ;
  padding: 15px;
  background-color: #ECF3F4;
  width: 100%;
  height: 200px;
}
.titre{
  margin-top: 40px;
  color: #2B2C43;
  width: 100%;
  font-size: xx-large;
  text-align: center;
}
.solution_cont{
  display: flex;
  background-color: #ECF3F4;
  width: 100%;
  height: 400px;
}
.solutions{
  color: #2B2C43;
  float: left;
  float: left;
  margin-top: 20px;
  margin-left: 15%;
  width: 30%;
  height: 220px;
}
.solutions h1{
  font-size: 5ch;
}
.solutions p{
  margin-top: 10px;
}
.solutions button {
  transition: all 0.5s ease-in-out;
  cursor: pointer;
  background-color: #EF223D;
  margin-top: 25px;
  padding: 15px 30px;
  border-radius: 25px;
  border: 2px solid;
  border-color: #ECF3F4;
}
.solutions button:hover {
  transform: scale(1.05);
  transition: all 0.5s ease-in-out;
  border: 2px solid;
  border-color: #2B2C43;
}

.solution_cont img{ 
  border-radius: 10px;
  float: right;
  margin-left: 30px;
  margin-top: 5px;
  width: calc(300px * 125%);
  height: 300px;
}

/* pourquoi nous choisir /////////////////////////////////////////////////////////////////////////////////////////////////////*/
.pr_choisir_h1{
  margin-top: 50px;
  text-align: center;
  font-size: xx-large;
  color: #2B2C43;
}
.pr_choisir{
  display: flex;
  margin-top: 40px;
  flex-direction: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: auto;
}

.choix {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  height: auto;
  width: auto;
  text-align: left;
  border: none;
  outline: none;
  transition: 1s;
}

.active2, .choix:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}


.texte_choix {
  margin-top: 50px;
  border-radius: 10px;
  float: right;
  height: 110%;
  background-color: #ECF3F4;
  display: none;
  overflow: hidden;
}

.img1_pr_choisir{
  transition: all 0.3s ease-in-out;
  border: none;
  border-radius: 15px;
  width: 300px;
  height: calc(300px * 125%);
}
.img2_pr_choisir{
  transition: all 0.3s ease-in-out;
  border: none;
  border-radius: 15px;
  width: 300px;
  height: calc(300px * 125%);
}
.img3_pr_choisir{
  transition: all 0.3s ease-in-out;
  border: none;
  border-radius: 15px;
  width: 300px;
  height: calc(300px * 125%);
}

.img1_pr_choisir:hover { 
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}
.img2_pr_choisir:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}
.img3_pr_choisir:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}




/* containerServices ///////////////////////////////////////////////////////////////////////////////////////////////////////*/

.ContainerServices{
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  margin-left: 25%;
  gap: 10px;
  width: auto;
  height: auto;
}

.accordeon {
  background-color: #ECF3F4;
  border-radius: 10px;
  cursor: pointer;
  padding: 18px;
  width: 65%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}


.active, .accordeon:hover {
  background-color: #ccd2d3;
  transform: scale(1.09);
  transition: all 0.4s ease-in-out;
}


.texte_accordeon {
  transform: scale(1.09);
  background-color: #ccd2d3;
  border-radius: 10px;
  padding: 0 18px;
  width: 65%;
  display: none;
  overflow: hidden;
}




/* footer /////////////////////////////////////////////////////////////////////////////////////////////////////////*/

footer {
            margin-top: 50px;
            background-color: #1e1e2f;
            color: #eee;
            text-align: center;
            height: 130px;
            padding: 20px;
            font-size: 0.9em;
}


/* responsive page /////////////////////////////////////////////////////////////////////////////////////////////////////*/

@media (max-width: 851px) {
  .solution_cont {
    width: 100%;
    height: auto;
    flex-direction: column;
  }
  .solutions {
    width: 60%;
  }
  .img_1{
    display: none;
  }

  .pr_choisir {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .p_choix{
    display: none;
  }
  .titre{
    font-size: large;
  }
  .solutions h1{
    font-size: medium;
  }
  .solutions {
    width: 80%;
    height: auto;
    margin-left: 10%;
  }
  .ContainerServices{
    margin-left: 5%;
    width: 90%;
  }
  .accordéon, .texte_accordéon {
    width: 90%;
  }
}

/* respondsive bar_nav /////////////////////////////////////////////////////////////////////*/

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 15px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
}
