/*.about-us {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 0.7fr 3.3fr 0.2fr 0.8fr;
  grid-template-rows: 1fr 3.8fr 0.7fr 0.5fr;
  padding: 50px 0;
}
.logo {
  width: 130px;
  height: auto;
}
.box-logo {
  grid-row: 1;
  grid-column: 1;
  padding-left: 45px;
}
.about-us .bg-left {
  grid-row: 2 / 4;
  grid-column: 1;
  background-image: url("../image/about-medium.jpeg");
  background-repeat: no-repeat; /* pas de répétition */
  /*background-position: center; /* centre l'image */
 /* background-size: cover;
}
.about-us .text {
  background-color: #007ca8;
  color: #fff;
  grid-row: 2 / 4;
  grid-column: 2 / 4;
  padding-left: 170px;
  padding-right: 120px;
  padding-top: 30px;
  padding-bottom: 30px;
  z-index: 2;
}
.about-us .bg-right {
  grid-row: 1 / 5;
  grid-column: 3 / 5;
  background-image: url("../image/about-large.jpeg");
  background-size: cover;
  background-position: center / left;
}*/
/* Style par défaut (desktop) */
.about-us {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.7fr 3.3fr 0.2fr 0.8fr;
  grid-template-rows: 1fr 3.8fr 0.7fr 0.5fr;
  padding: 0px 30px;
  margin-bottom: 200px;
  box-sizing: border-box;
}

.about-us .bg-left {
  grid-row: 2 / 4;
  grid-column: 1;
  background-image: url("../image/about-medium.jpeg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-us .text {
  background-color: #007ca8;
  color: #fff;
  grid-row: 2 / 4;
  grid-column: 2 / 4;
  padding: 30px 120px 30px 170px;
  max-width: 100%;
  overflow-wrap: break-word; /* empêche le texte de dépasser */
  z-index: 2;

  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement */
}

.about-us .text h2 {
  margin-top: 0;
}

.about-us .bg-right {
  grid-row: 1 / 5;
  grid-column: 3 / 5;
  background-image: url("../image/about-large.jpeg");
  background-size: cover;
  background-position: center left;
}

/* Tablettes (768px à 1024px) */
@media screen and (max-width: 1190px) {
  .about-us {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 30px 20px;
    min-height: auto;
  }

  .about-us .bg-left,
  .about-us .bg-right {
    display: none;
  }

  .about-us .text {
    grid-column: 1 / 2;
    padding: 20px;
    font-size: 1rem;
  }
}

/* Mobiles (moins de 768px) */
@media screen and (max-width: 767px) {
  .about-us {
    display: flex;
    flex-direction: column;
    padding: 15px;
  }

  .about-us .text {
    padding: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .about-us .text p {
    margin-bottom: 15px;
  }
}

/* projet */
.projets {
  width: 100%;
  min-height: 100vh;
  padding: 0px 30px;
  margin-bottom: 200px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.5fr 0.5fr;
  grid-template-rows: 4fr 1.5fr;
  grid-gap: 20px;
  position: relative;
}
.bg1-projets,
.bg2-projets,
.bg3-projets {
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
.bg1-projets {
  background-image: url("../image/image28.png");
  grid-row: 1 / 4;
  grid-column: 3 / 5;
  z-index: 3;
}
.bg2-projets {
  background-image: url("../image/image29.png");
  grid-column: 1;
  grid-row: 1 / 3;
}
.bg3-projets {
  background-image: url("../image/image30.png");
  grid-column: 2;
  grid-row: 1 / 3;
}
.box-projet {
  background: #007ca8;
  grid-row: 3 / 6;
  grid-column: 1 / 4;
  padding: 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.title {
  color: #fff;
  font-weight: 600;
  font-size: 50px;
  line-height: 1.2;
  margin: 0;
} /* --- Responsive --- */ /* Tablettes */
@media (max-width: 992px) {
  .projets {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .bg1-projets {
    grid-column: 1 / 3;
    grid-row: 1;
    height: 300px;
  }
  .bg2-projets,
  .bg3-projets {
    height: 250px;
  }
  .bg2-projets {
    grid-column: 1;
    grid-row: 2;
  }
  .bg3-projets {
    grid-column: 2;
    grid-row: 2;
  }
  .box-projet {
    grid-column: 1 / 3;
    grid-row: 3;
    text-align: center;
  }
  .title {
    font-size: 40px;
  }
} /* Mobiles */
@media (max-width: 600px) {
  .projets {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
  }
  .bg1-projets,
  .bg2-projets,
  .bg3-projets {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
  }
  .box-projet {
    width: 100%;
    text-align: center;
    padding: 30px 10px;
  }
  .title {
    font-size: 32px;
  }
}
/*
.projets {
  width: 100%;
  height: 100vh;
  padding: 60px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 0.8fr 3.2fr repeat(2, 1fr);
  grid-gap: 20px;
}
.bg1-projets {
  background-image: url("../image/image28.png");
  background-size: cover;
  background-position: center / center;
  grid-row: 2 / 4;
  grid-column: 1 / 3;
  z-index: 3;
}
.bg2-projets {
  background-image: url("../image/image29.png");
  background-size: cover;
  background-position: center / center;
  grid-row: 2;
}
.bg3-projets {
  background-image: url("../image/image30.png");
  background-size: cover;
  background-position: center / center;
  grid-row: 2;
}
.box-projet {
  background: #007ca8;
  grid-row: 3 / 5;
  grid-column: 2 / 5;
  padding: 20px;
  text-align: right;
}
.title {
  color: #fff;
  font-weight: 600;
  font-size: 60px;
  line-height: 1.2;
}*/

/* contact */
.contact {
  margin: 0;
  padding: 0px 30px;
  background-color: #fff;
  color: #000;
  margin-bottom: 150px;
  margin-top: 200px;
}
.contact h2 {
  color: #000;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 10%;
}

.contact-info {
  flex: 1 1 45%;
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-info h2 span {
  color: #007ca8;
}

.contact-info p {
  margin: 5px 0;
  line-height: 1.6;
}

.contact-info a {
  color: #000;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.form-container {
  flex: 1 1 45%;
}

.form-container h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

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

input,
textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

button {
  background-color: #007ca8;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #007ca8;
}

.social {
  margin-top: 20px;
}

.social a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .contact-info,
  .form-container {
    flex: 1 1 100%;
    margin-bottom: 40px;
  }
}
/*
- prendre les coupure
- compter les coupures
- somme insufisante
- reprendre les articles


- prendre les coupure
- compter les coupures
- encaisser le paiement
- donner les articles

- prendre les coupure
- compter les coupures
- rendre la différence
- donner les articles
*/