/* Start Global Rules *******************************************************************/
:root {
  /* --greenPrencipal */
  --green: #01a08c;
  --gryeF: #38598b;
  --greenO: #155263;
  --sousText: #4a4a48;
  --footerColor: #474747;
  --orange: #ffebbb;
}

@font-face {
  font-family: 'Roboto';
  src: url(../fonts/Roboto/Roboto-Regular.ttf);
}

* {
  font-family: 'roboto';
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth; /*les liens devient beau */
}

.container {
  background-color: #f7f7f7;
}

.acceuil-head-mobile {
  display: none;
}

section {
  padding: 3rem 9%;
}

section:nth-child(even) {
  background: #fff;
}

/* End Global Rules ***********************************************************************/
/****** Start Header  ******/

.header-page {
  /* width: 80%; */
  width: 100%;
  margin: 0 auto;
}

.header-page .acceuil-head {
  background-color: #fff;
  width: 100%;
  margin: 0 auto;
  height: 30vh;
  padding: 2rem 4%;
  box-shadow: 0 15px 10px #eeebeb;
  display: grid;
  grid-template-rows: 30% 35% 35%;
}
/* info */

.header-page .acceuil-head .head-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-page .acceuil-head .head-info .head-info-left {
  display: flex;
  align-items: center;
}

.header-page .acceuil-head .head-info .head-info-left form {
  background-color: #fff;
  border-radius: 8px;
  border: 2px solid var(--green);
  padding: 0 0.1rem;
}

.header-page .acceuil-head .head-info .head-info-left form input {
  max-width: 14rem;
  min-width: 12rem;
  border: none;
  outline: none;
  background-color: transparent;
  padding: 10px;
  font-weight: 15px;
  color: var(--green);
}

.header-page .acceuil-head .head-info .head-info-left form input::placeholder {
  color: var(--green);
  opacity: 0.5;
}

.header-page .acceuil-head .head-info .head-info-left form button {
  border: none;
  outline: none;
  height: 60%;
  border: none;
  background-color: #fff;
  cursor: pointer;
  padding: 0 0.3rem;
}

.header-page .acceuil-head .head-info .head-info-left form button i {
  color: var(--green);
  font-size: 1.6rem;
}

.header-page .acceuil-head .head-info .head-info-left .icon-resau i {
  font-size: 2.4rem;
  color: var(--green);
  padding-left: 0.4rem;
  border-radius: 100%;
}

.header-page .acceuil-head .head-info .btn-recrutement {
  text-decoration: none;
  background-color: var(--green);
  padding: 1.5rem 1.5rem;
  color: #fff;
  border-radius: 5px;
  font-size: 1.4rem;
  font-weight: 700;

  /* --- Ajout pour couper le texte --- */
  display: inline-block;
  max-width: 150px; /* largeur limitée */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* Animation fluide */
  transition:
    max-width 0.4s ease,
    background-color 0.3s ease;
  vertical-align: middle;
}

.header-page .acceuil-head .btn-recrutement:hover {
  background-color: #42b883;
  max-width: 280px; /* élargit juste un peu */
}

/* Icon and texte */

.header-page .acceuil-head .head-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-page .acceuil-head .head-icon img {
  width: 6rem;
  opacity: 0.8;
  border-radius: 100%;
  border: none;
}

.header-page .acceuil-head .head-icon .centre-head {
  padding-left: 15px;
}

.header-page .acceuil-head .head-icon .centre-head p {
  font-size: 2.7rem;
  font-weight: bold;
  color: var(--gryeF);
}

.header-page .acceuil-head .head-icon .centre-head span {
  font-size: 2rem;
  font-weight: bold;
  text-transform: capitalize;
  color: var(--green);
}

/* Menu */

.header-page .acceuil-head .nav-menu {
  width: 90%;
  margin: auto;
}

.acceuil-head .nav-menu ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  flex-wrap: wrap;
  padding-top: 2.8rem;
  position: relative;
}

/* Dropdown */
.acceuil-head .nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  min-width: 180px;
  display: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 8px 0;
  border-radius: 8px;
}

/* Ajustement des liens dans le dropdown */
.nav-menu .dropdown .dropdown-menu li,
.lienFooter .dropdown .dropdown-menu li {
  display: block;
}

.acceuil-head .nav-menu .dropdown:hover .dropdown-menu,
.lienFooter .dropdown:hover .dropdown-menu {
  display: block;
  z-index: 1001;
}

.acceuil-head .nav-menu a {
  color: var(--gryeF);
  font-weight: bold;
  font-size: 1.4rem;
  text-transform: uppercase;
  display: inline;
}

.acceuil-head .nav-menu a::after {
  content: '';
  display: block;
  width: 90%;
  height: 2px;
  background-color: var(--green);
  margin: 3px auto;
  transform: scale(0);
  transition: transform 0.2s ease-in-out;
}

.acceuil-head .nav-menu a:hover {
  color: var(--green);
}

.acceuil-head .nav-menu a:hover::after {
  transform: scale(1);
}

.dropdown .dropdown-menu li a {
  padding: 12px 15px;
  display: block;
  transition: background 0.3s ease-in-out;
}

#menu-btn {
  font-size: 2rem;
  border-radius: 0.5rem;
  color: var(--green);
  cursor: pointer;
}

/****** End Header ******/

/* Start section propos */

/* Start news */

.apropoActus .news {
  display: flex;
  padding-top: 1.3rem;
  justify-content: center;
  /* flex-wrap: wrap; */
}

.news .firstLien {
  width: 20%;
}

.apropoActus {
  padding-top: 4rem;
}

.apropoActus .tous-actus h3 {
  font-size: 2rem;
  color: black;
  text-transform: capitalize;
  letter-spacing: 0.2rem;
  font-weight: 600;
}

.news .firstLien .tous-actus:hover h3 {
  font-size: 2.5rem;
  color: var(--green);
}

.apropoActus .tous-actus i {
  display: inline-block;
  font-size: 3rem;
  color: var(--green);
  padding: 1.1rem 0;
}

.apropoActus .tous-actus span {
  opacity: 0;
}

.apropoActus .tous-actus:hover span {
  display: inline-block;
  opacity: 1;
  font-size: 2.2rem;
  color: var(--green);
  padding: 1rem 1.5rem 0;
  transition: 0.4s;
}

.apropoActus h2 {
  padding-bottom: 6rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.apropoActus h2::after {
  background-color: var(--green);
  margin: 0.7rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 20%;
}

.apropoActus .secondAcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  column-gap: 2.5rem;
  row-gap: 1.2rem;
}

.secondAcuts .box {
  padding-bottom: 1rem;
  height: 40rem;
  box-shadow: 1px 1px 5px 3px gainsboro;
}

.secondAcuts .image {
  height: 15rem;
  overflow: hidden;
}

.secondAcuts .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.secondAcuts .content h3 {
  color: var(--green);
  font-size: 2rem;
  padding: 1.3rem;
}

.secondAcuts p {
  color: var(--sousText);
  font-size: 1.3rem;
  line-height: 1.5;
  padding-top: 1rem;
  text-align: justify;
  padding: 1.3rem;
}

.secondAcuts .content hr {
  margin-top: 1.3rem;
}

.secondAcuts .content a {
  display: inline-block;
  color: var(--green);
  font-size: 1.5rem;
  padding: 1.3rem;
  cursor: pointer;
  z-index: 1;
  position: relative;
}
/* Fin news */

.propos {
  padding-top: 6rem;
}

.propos .firstPropos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.propos .firstPropos .imgPropos {
  flex: 1 1 45rem;
}

.propos .firstPropos .imgPropos img {
  width: 100%;
}

.propos .firstPropos .contentPropos {
  flex: 1 1 45rem;
}

.propos .firstPropos .contentPropos h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.propos .firstPropos .contentPropos h2::after {
  background-color: var(--green);
  margin: 0.4rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 20%;
}

.propos .firstPropos .contentPropos p {
  margin-top: 0.4rem;
  line-height: 1.7;
  font-size: 1.5rem;
  text-align: justify;
  font-weight: 700;
  opacity: 0.9;
  color: var(--sousText);
}

.propos .secondPropos {
  padding-top: 5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.propos .secondPropos .card {
  padding-bottom: 1.1rem;
}

.propos .secondPropos img {
  width: 13rem;
}

.propos .secondPropos h4 {
  text-align: center;
  font-size: 1.5rem;
  padding-top: 1.5rem;
  color: var(--sousText);
}

/* End section propos */

/* Start section Strategies */

.strategies {
  padding-top: 6rem;
}

.strategies .strategieContent {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.strategies .strategieContent .imgStrategie {
  flex: 1 1 25rem;
}

.strategies .strategieContent .imgStrategie img {
  width: 100%;
}

.strategies .strategieContent .content {
  flex: 1 1 65rem;
}

.strategies .strategieContent .content h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.strategies .strategieContent .content h2::after {
  background-color: var(--green);
  margin: 0.5rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 25%;
}

.strategies .strategieContent .content p {
  margin-top: 0.4rem;
  line-height: 1.7;
  font-size: 1.5rem;
  text-align: justify;
  font-weight: 700;
  opacity: 0.9;
  color: var(--sousText);
}

.strategies .strategieContent .content li {
  margin-top: 0.2rem;
  margin-left: 1.5rem;
  line-height: 1.5;
  font-size: 1.4rem;
  text-align: justify;
  font-weight: 700;
  opacity: 1;
  color: var(--sousText);
}

.strategies .strategieContent .content li span {
  color: var(--green);
  font-weight: 800;
}

.strategies .open-image i {
  font-size: 1.8rem;
  padding-left: 0.4rem;
  font-weight: 700;
  color: var(--gryeF);
}

.strategies .strategieContent .modal-politique {
  display: none; /* Caché par défaut */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.strategies .strategieContent .modal-content {
  display: block;
  margin: 3rem auto 0;
  max-width: 50%;
  max-height: 90%;
}

.strategies .strategieContent .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.strategies .strategieContent .close:hover,
.strategies .strategieContent .close:focus {
  color: #bbb;
}
/* End section Strategies */

/* Start organigrammes Strategies */

.organigrammes {
  padding-top: 6rem;
}

.organigrammes h2 {
  padding-bottom: 6rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.organigrammes h2::after {
  background-color: var(--green);
  margin: 0.4rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 10%;
}

.organigrammes .orgImg {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.organigrammes .orgImg img {
  width: 100%;
}

/* End organigrammes Strategies */

/* Start section nos chiffres */
.nosChiffres {
  padding-top: 5rem;
}

.nosChiffres h2 {
  padding-bottom: 6rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.nosChiffres h2::after {
  background-color: var(--green);
  margin: 0.4rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 10%;
}

.nosChiffres .nosChiffresIcons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
}

.nosChiffres .nosChiffresIcons .card .image {
  overflow: hidden;
}

.nosChiffres .nosChiffresIcons .card img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.nosChiffres .nosChiffresIcons .card h4 {
  text-align: center;
  font-size: 1.5rem;
  color: black;
  margin-top: 3rem;
}

/* End section nos chiffres */

/******************************************************* Start Mission *******************/
.nosMission {
  padding-top: 5rem;
}

.nosMission h2 {
  padding-bottom: 5rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.nosMission h2::after {
  background-color: var(--green);
  margin: 0.4rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 10%;
}

.nosMission .pargrapheMission p {
  margin-top: 0.4rem;
  line-height: 1.7;
  font-size: 1.8rem;
  text-align: justify;
  font-weight: 700;
  opacity: 0.9;
  color: var(--sousText);
}

.nosMission .controleSuivi {
  padding-top: 6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.nosMission .controleSuivi .firstPart {
  flex: 1 1 45rem;
}

.nosMission .controleSuivi .secondPart {
  flex: 1 1 45rem;
}

.nosMission .controleSuivi .secondPart img {
  width: 100%;
}

.nosMission .controleSuivi .firstPart h3 {
  padding-bottom: 1.7rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.nosMission .controleSuivi .firstPart ul {
  line-height: 1.7;
  font-size: 1.5rem;
  text-align: justify;
  font-weight: 600;
  opacity: 0.9;
  color: var(--sousText);
}

.nosMission .controleSuivi .firstPart .etude {
  padding-left: 2rem;
}

/******************************************************* End Mission *********************/

/******************************************************* start offre *********************/
.appelOffre {
  padding-top: 5rem;
}

.appelOffre h2 {
  padding-bottom: 5rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.appelOffre h2::after {
  background-color: var(--green);
  margin: 0.4rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 10%;
}

.appelOffre .appelOffre-paragraph > p {
  margin-top: 0.4rem;
  line-height: 1.7;
  font-size: 1.8rem;
  text-align: justify;
  font-weight: 700;
  opacity: 0.9;
  color: var(--sousText);
}

.offredetail {
  margin: 2rem auto;
  padding: 1.2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.offredetail div {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.offredetail div:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.offredetail p {
  font-size: 1.9rem;
  font-weight: bold;
  color: var(--sousText);
  margin-bottom: 10px;
}

.offredetail span {
  font-size: 1.7rem;
  color: var(--green);
  display: block;
}

.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.appelOffre .image-container {
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.appelOffre .image-container .image-box {
  width: 100%;
  border: 5px solid var(--green);
  border-radius: 10px;
  overflow: hidden;
}

.image-container .image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.image-container .separator {
  width: 80%;
  height: 10px;
  background: linear-gradient(to right, var(--green), #8bc34a); /* Dégradé vert */
  margin: 15px 0;
  border-radius: 5px;
}

/******************************************************* end offre ***********************/

/******************************************************* Start Actus *********************/
.actus {
  margin-top: 0.6rem;
}

.actus h2 {
  padding-bottom: 6rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.actus h2::after {
  background-color: var(--green);
  margin: 0.6rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 20%;
}

.actus .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  row-gap: 2rem;
  column-gap: 1rem;
}

.actus .box-container .box {
  padding: 1rem;
}

.actus .box-container .image {
  height: 20rem;
  overflow: hidden;
}

.actus .box-container .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.actus .box-container .image img:hover {
  transform: scale(1.2);
}

.actus .box-container .content {
  padding: 1.5rem;
  background-color: #e3e3e3;
}

.actus .content .icon {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.actus .content .icon a {
  font-size: 1.4rem;
  color: var(--sousText);
}

.actus .content .icon a:hover {
  color: var(--green);
}

.actus .content .icon i {
  padding-right: 0.5rem;
  color: var(--green);
}

.actus .content h3 {
  color: var(--gryeF);
  font-size: 2rem;
}

.actus .content p {
  color: var(--sousText);
  font-size: 1.5rem;
  line-height: 1.8;
  padding-top: 1rem;
}

.actus .btnContent {
  display: inline-block;
  background-color: #f95959;
  color: white;
  font-size: 1.5rem;
  padding: 1rem 1.4rem;
  margin-top: 1rem;
}

.actus .btnContent:hover {
  background-color: #f51313;
}

/******************************************************* Start Sous Actus */
.sousActus {
  padding-top: 6rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap-reverse;
}

.sousActus .frirstSousActus {
  width: 30rem;
  background-color: #f3f3f3;
  padding: 2rem;
}

.sousActus .frirstSousActus h2 {
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
}

.frirstSousActus .actualiteNew {
  padding-top: 3rem;
}

.frirstSousActus .actualiteNew .box {
  display: flex;
  gap: 1rem;
  padding-bottom: 4rem;
}

.frirstSousActus .actualiteNew .box .image {
  height: 8rem;
  width: 8rem;
  overflow: hidden;
}

.frirstSousActus .actualiteNew .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frirstSousActus .actualiteNew .box .imgText {
  font-size: 1.5rem;
  line-height: 2;
  position: relative;
  top: -8px;
}

.frirstSousActus .actualiteNew .box .imgText a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  word-spacing: 0.2rem;
}

.frirstSousActus .actualiteNew .box .imgText span {
  color: #0b88a8;
  font-weight: 700;
  letter-spacing: 0.2rem;
}

.sousActus .secondSousActus {
  width: 85rem;
}

.sousActus .secondSousActus .box .image {
  height: 45rem;
  overflow: hidden;
}

.sousActus .secondSousActus .box .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.sousActus .secondSousActus .box .content-sousArticle {
  padding: 3rem 0;
}

.sousActus .secondSousActus .box .content-sousArticle p {
  font-size: 1.5rem;
  line-height: 1.6;
  opacity: 0.8;
}

/******************************************************* End Sous Actus */

/******************************************************* End Actus *********************/

/******************************************************* Start Route ouvrage d'art**********/
.routeOuvrage {
  padding-top: 5rem;
}

.routeOuvrage h1 {
  padding-bottom: 6rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.routeOuvrage h1::after {
  background-color: var(--green);
  margin: 0.6rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 20%;
}

.routeOuvrage h2 {
  padding: 7rem 0;
  text-transform: uppercase;
  font-size: 2.5rem;
  word-spacing: 0.1rem;
  letter-spacing: 0.2rem;
}

.routeOuvrage h2::after {
  background-color: var(--footerColor);
  margin: 0.6rem 0;
  display: block;
  content: '';
  height: 4px;
  width: 10%;
}

.routeOuvrage .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
}

.routeOuvrage .box-container .image {
  overflow: hidden;
}

.routeOuvrage .box-container .image img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.routeOuvrage .box-container .content {
  padding: 3rem;
}

.routeOuvrage .box-container .content h3 {
  text-align: center;
  font-size: 1.7rem;
  color: black;
}

.routeOuvrage .box-container .content h3:hover {
  color: var(--green);
}

.agrements h2 {
  padding-bottom: 3rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.agrements h2::after {
  background-color: var(--green);
  margin: 0.6rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 10%;
}

/******************************************************* End Route ouvrage d'art**********/

/******************************************************* Start Equipement ******************/
.equipement {
  padding-top: 5rem;
}

.equipement h1 {
  padding-bottom: 5rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.equipement h1::after {
  background-color: var(--green);
  margin: 0.2rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 8%;
}

.equipement .marque {
  width: 100%;
}

.equipement .marque .image {
  text-align: center;
}

.marque .image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-bottom: 4rem;
}

.marque .image img {
  max-width: 100%;
  height: auto;
}

.equipement h2 {
  padding: 4rem 0;
  text-transform: uppercase;
  font-size: 2.5rem;
  word-spacing: 0.1rem;
  letter-spacing: 0.2rem;
}

.equipement h2::after {
  background-color: var(--footerColor);
  margin: 0.6rem 0;
  display: block;
  content: '';
  height: 4px;
  width: 10%;
}

.equipement .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
}

.equipement .box-container .image {
  overflow: hidden;
}

.equipement .box-container .image img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.equipement .box-container .content {
  padding: 3rem;
}

.equipement .box-container .content h3 {
  text-align: center;
  font-size: 1.7rem;
  color: black;
}

.equipement .box-container .content h3:hover {
  color: var(--green);
}

/* inspection equipement */

.equipement .secondEquipement {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  column-gap: 2.5rem;
  row-gap: 1.2rem;
}

.secondEquipement .box {
  padding-bottom: 1rem;
  height: 20rem;
  box-shadow: 1px 1px 5px 3px gainsboro;
}

.secondEquipement .image {
  height: 15rem;
  overflow: hidden;
}

.secondEquipement .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.secondEquipement .content h3 {
  color: var(--green);
  font-size: 2rem;
  padding: 1.3rem;
  text-align: center;
}
/******************************************************* End Equipement ******************/

/******************************************************* Start contact *********************/
.contact .contactDirection {
  margin-top: 2rem;
  margin-bottom: 5.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  row-gap: 2rem;
  column-gap: 1rem;
}

.contact .contactDirection .messagR {
  padding: 2rem;
  text-align: center;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.08);
}

.contact h2 {
  padding-bottom: 6rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.8rem;
  word-spacing: 0.3rem;
}

.contact h2::after {
  background-color: var(--green);
  margin: 0.2rem auto;
  display: block;
  content: '';
  height: 4px;
  width: 8%;
}

.contact .formContact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact .formContact .left-side {
  flex: 1 1 20rem;
  position: relative;
}

.contact .formContact .left-side::before {
  content: '';
  position: absolute;
  height: 15rem;
  width: 0.2rem;
  background: #596e79;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
}

.contact .formContact .left-side .details {
  margin: 1rem;
  text-align: center;
}

.contact .formContact .left-side .details i {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.contact .formContact .left-side .details .topic {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  color: #000;
}

.contact .formContact .left-side .details .text-one,
.contact .formContact .left-side .details .text-two {
  font-size: 1.3rem;
  color: #000;
}

.contact .formContact .right-side {
  flex: 1 1 65rem;
}

.contact .formContact .right-side .topic-text {
  font-size: 3rem;
  color: #000;
  font-weight: 600;
  letter-spacing: 0.2rem;
}

.contact .formContact .right-side .input-box {
  width: 100%;
  margin: 1rem 0;
}

.contact .formContact .right-side .input-box input,
.contact .formContact .right-side .input-box textarea {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.2rem;
  padding: 7px;
  font-size: 1.3rem;
  font-weight: 600;
  outline: none;
}

.contact .formContact .right-side .button input[type='submit'] {
  color: #fff;
  font-size: 1.5rem;
  outline: none;
  border: none;
  /* border-radius: 6px; */
  background-color: var(--green);
  padding: 1.1rem 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact .formContact .right-side .button input[type='submit']:hover {
  background: #53a8b6;
}

#map {
  height: 70vh;
  width: 70%;
  margin-top: 2rem;
}

/******************************************************* End contact *********************/
/******************************************************* Start Reclamation *********************/
.reclamation h2 {
  text-align: center;
  font-size: 2.3rem;
  opacity: 0.8;
  margin: 2.5rem 0;
  line-height: 1.5;
}

.reclamation .lienAccedez {
  color: var(--green);
}

.reclamation .reclamationControle {
  padding-top: 6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.reclamationControle .firstPart {
  flex: 1 1 45rem;
}

.reclamationControle .infoReclamation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  column-gap: 2.5rem;
  row-gap: 1.2rem;
}

.infoReclamation .messagR {
  padding: 3rem;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.08);
}

.reclamationControle .secondPart {
  flex: 1 1 45rem;
  padding: 3rem;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.08);
}

.secondPart .messagR,
.firstPart .messagR {
  margin: 0 0 1.2rem 0;
  text-align: center;
  margin-bottom: 1.8rem;
}

.messagR .iconR {
  color: var(--green);
  font-size: 2.8rem;
  border: dashed var(--green);
  padding: 1.5rem;
  border-radius: 100%;
}

.messagR h4,
.champR {
  font-size: 1.6rem;
  margin-top: 1rem;
  opacity: 0.7;
}

.messagR span {
  display: inline-block;
  font-size: 1.7rem;
  margin-top: 0.8rem;
  opacity: 0.7;
}

.secondPart .champR {
  margin: 0 0 1.2rem 0;
}

.secondPart .nomSocial {
  display: flex;
}

.secondPart label {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  opacity: 0.7;
}

.group-dev {
  width: 100%;
  margin: 1.5rem 0 0 0;
}

.group-dev input,
textarea {
  width: 100%;
  padding: 0.6rem;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.group-dev input:focus,
.group-dev textarea:focus {
  border-color: var(--green);
}

.form-dev {
  margin: 2rem 0;
}

.submitBtn {
  padding: 1rem 1.8rem;
  font-size: 1.7rem;
  background-color: var(--green);
  color: white;
  border: none;
}

.submitBtn:hover {
  background-color: #258679;
  cursor: pointer;
}

.submitBtn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  color: #666;
}

/* Styles du modal */
.modalConfidentialite,
.modalCookies {
  display: none; /* Par défaut, le modal est masqué */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
  font-size: 20px;
  margin-bottom: 10px;
}

.close,
.close2 {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 10px;
  cursor: pointer;
}

.close:hover,
.close:focus,
.close2:hover,
.close2:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-footer {
  margin-top: 10px;
  text-align: center;
}

.modal-footer button {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.modal-footer button:hover {
  background-color: #0056b3;
}

/******************************************************* End Reclamation *********************/

/******************************************************* Start Homologation ******************/
.homologation {
  background-color: white;
}

.homologation .header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.homologation .hero-img {
  width: 300px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #eee;
}

.homologation h1 {
  font-size: 2.6rem;
  margin: 0;
}

.homologation .meta {
  color: #666;
  font-size: 1.7rem;
  margin-top: 0.4rem;
  line-height: 1.5;
}

.homologation .content-hom {
  margin-top: 12px;
  padding: 12px 2px;
}

.homologation .content-hom p:first-child {
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
}

.homologation .notice {
  background: #fff8e6;
  border-left: 4px solid #ffb703;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  color: #5a4200;
  font-size: 1.7rem;
  line-height: 1.6;
}

.homologation .price {
  font-weight: 700;
  color: var(--green);
  margin-top: 10px;
  font-size: 1.7rem;
}

.pargEmail {
  margin-top: 0.8rem;
  font-size: 1.7rem;
}

.pargEmail a {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 1px;
}

/* links/buttons that show lists */
.homologation .actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.homologation .action-link {
  background: transparent;
  border: 1px solid var(--green);
  /* color: var(--green); */
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.7rem;
}

/* details styling */
.homologation details {
  margin-top: 12px;
  border: 1px solid #e6eefc;
  border-radius: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #fbfdff, #f7fbff);
}

.homologation summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.7rem;
  outline: none;
}

.homologation details[open] summary::after {
  content: '▲';
  float: right;
  font-size: 12px;
  color: var(--muted);
}

.homologation summary::after {
  content: '▼';
  float: right;
  font-size: 12px;
  color: var(--muted);
}

.homologation ul.checklist {
  margin: 10px 0 0 0;
  padding-left: 18px;
  font-size: 1.5rem;
}

#exigencesTech {
  color: var(--green);
  cursor: pointer;
}

.exigencesTechTitle {
  background: #fff8e6;
  padding: 12px;
  border-radius: 6px;
  color: #5a4200;
  font-size: 1.7rem;
}

.homologation .grid-tables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 1rem;
  background-color: #01a08c10; /* vert très clair (translucide) */
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* ombre douce */
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.homologation .grid-tables:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.grid-tables .content {
  margin-top: 10px;
}

.homologation .grid-tables h2 {
  margin-bottom: 1rem;
}

.homologation .grid-tables table {
  font-size: 1.4rem;
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.homologation .grid-tables table:hover {
  transform: translateY(-4px);
}

.homologation .grid-tables th {
  background: #01a08c;
  color: white;
  text-align: left;
  padding: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.homologation .grid-tables td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  background: #fcfcfc;
}

.homologation .grid-tables tr:nth-child(even) td {
  background: #f3f8f8;
}

.homologation .grid-tables tr:last-child td {
  border-bottom: none;
}
/******************************************************* End Homologation ******************/

/* Start section footer */
.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer .firstFooter {
  flex: 1 1 45rem;
}

.footer .firstFooter .head-icon {
  text-align: center;
  margin-bottom: 2rem;
}

.footer .firstFooter .head-icon img {
  width: 10rem;
  border-radius: 100%;
  margin-bottom: 1rem;
}

.footer .firstFooter .head-icon p {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.footer .firstFooter .centre-head-two {
  text-align: center;
  font-size: 1.7rem;
  color: #fff;
}

.footer .firstFooter .centre-head-two p {
  margin-bottom: 1.7rem;
}

.footer .secondFooter {
  flex: 1 1 45rem;
  padding-top: 3.7rem;
}

.footer .secondFooter .lienFooter {
  width: 90%;
  margin-bottom: 3.5rem;
}
.lienFooter .dropdown {
  position: relative;
}

.lienFooter .dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--greenO);
  border: 1px solid #ccc;
  min-width: 180px;
  display: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 8px 0;
  border-radius: 8px;
}

.footer .secondFooter .lienFooter a {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #fff;
  text-transform: uppercase;
}

.footer .secondFooter .lienFooter a::after {
  background-color: #fff;
  margin: 0.4rem 0;
  display: block;
  opacity: 0.4;
  content: '';
  height: 1px;
  width: 100%;
}

/* End section footer */
#toast-container {
  font-size: 1.6rem;
}
/* media ***********************************************************************************/

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .header-page {
    width: 100%;
    margin: 0 auto;
  }

  .header-page .acceuil-head {
    display: none;
  }

  .header-page .acceuil-head-mobile {
    box-shadow: 0 0 10px #ddd;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 2rem 4%;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 999;
    height: 8vh;
  }

  .header-page .acceuil-head-mobile .head-icon {
    display: flex;
    align-items: center;
  }

  .header-page .acceuil-head-mobile .head-icon img {
    width: 2.5rem;
    opacity: 0.9;
    border-radius: 100%;
    border: none;
  }

  .header-page .acceuil-head-mobile .fa-bars {
    display: flex;
    align-items: center;
  }

  .header-page .acceuil-head-mobile .nav-mobile {
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    background-color: rgb(252, 252, 252);
    position: fixed;
    top: 7.5rem;
    right: 0;
    transform: scale(0);
    width: 30rem;
    opacity: 0;
    transform-origin: top right;
    transition: none;
    height: 100vh;
    z-index: 999;
  }

  .homologation .header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .homologation .hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 150px;
  }

  .homologation .header-content h1 {
    font-size: 1.3rem;
  }

  .homologation .grid-tables {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .homologation .grid-tables table {
    font-size: 1rem;
    width: 100%;
  }

  /* Dropdown */
  .nav-mobile .dropdown {
    position: relative;
  }

  .nav-mobile .dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    min-width: 20rem;
    display: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 8px 0;
    border-radius: 8px;
  }

  /* Ajustement des liens dans le dropdown */
  .nav-mobile .dropdown .dropdown-menu li {
    display: block;
  }

  .nav-mobile .dropdown:hover .dropdown-menu {
    display: block;
    z-index: 1001;
  }
  /* End Dropdown */

  .nav-mobile hr {
    opacity: 0.5;
    width: 90%;
    margin: 0 auto;
  }

  .header-page .acceuil-head-mobile .nav-menu.active {
    transform: scale(1);
    opacity: 1;
    transition: 0.2s ease-out;
  }

  .header-page .acceuil-head-mobile .nav-mobile .list-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
    list-style-type: none;
    padding: 30px 5px;
  }

  .header-page .acceuil-head-mobile .nav-mobile .list-nav a {
    width: 100%;
    color: black;
    font-size: 1.9rem;
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 15px;
    text-align: center;
  }

  .header-page .acceuil-head-mobile .nav-mobile .list-nav a:hover {
    color: var(--green);
  }

  .nav-mobile .icon-resau {
    display: flex;
    justify-content: space-between;
    background-color: var(--green);
    height: 100%;
    border-radius: 5px;
  }

  .icon-resau .iconsN {
    color: white;
    font-size: 3rem;
    padding: 10px;
  }

  .mob-btn-recrutement {
    text-decoration: none;
    background-color: var(--green);
    padding: 1.5rem 1.5rem;
    margin-left: 15px;
    color: #fff;
    border-radius: 5px;
    font-size: 1.9rem;
    font-weight: 700;
  }

  .mob-btn-recrutement:hover {
    background-color: #42b883;
    padding: 1.6rem 1.6rem;
    font-size: 2rem;
  }

  .header-page .acceuil-image-main {
    margin-top: 3rem;
  }

  .actus {
    padding-top: 15rem;
  }

  .apropoActus .news {
    flex-direction: column;
  }

  .firstLien {
    width: 100%;
  }

  .sous-detail {
    margin-top: 6rem;
  }

  #map {
    height: 70vh;
    width: 85%;
    margin-top: 10rem;
  }

  /* pour la partie mobile */
  .news .firstLien {
    width: 100%;
  }

  /* pour la partie mobile Actus */
  .sousActus .frirstSousActus {
    width: 100%;
  }

  /* pour la politique de DG */
  .strategies .strategieContent .modal-content {
    max-width: 80%;
    max-height: 100%;
  }

  /* pour appel d'offre */
  .appelOffre {
    margin-top: 7rem;
  }

  .image-section .image-container {
    width: 95%;
  }
  .image-section .separator {
    height: 8px;
  }
}
