/* **** BASE CONTENT **** */
*
{
    margin: 0;
    padding: 0;
    list-style: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none !important;
}

/* **** PROGRESS **** */
#progress {
    background-color: #061429;
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
    display: none;
    place-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
}
#progressValue {
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    background-color: var(--main-color);
    display: grid;
    place-items: center;
    font-size: 20px;
    color: white;
    font-weight: bold;
}

/* **** BASE COLOR **** */
:root {
  --main-color: #068c28da;
  --white-color: #ffffff;
  --second-color: var(--white-color);
  --third-color: #030303;
  --black-color: #068c28da;
}


/* FIRST MENU */
.first-menu {
    position: fixed;
    top: 0;
    background-color: white;
    width: 100%;
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3vh;
    z-index: 10000;
    border-top: 3px dashed var(--white-color);
}

.left-icon p, .right-icon i {
    margin: 0 1vh;
    font-size: 13px;
    font-weight: bold;
}

.left-icon {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.right-icon {
    display: flex;
    gap: 1vh;
}

/* SECOND MENU */
.second-menu {
    background-color: var(--black-color);
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 1000;
    top: 5vh; /* sous le first-menu */
    padding: 0 4vh;
    box-shadow: rgba(0, 0, 0, 0.4) 3px 3px 4px;
}

.second-menu .logo {
    flex-shrink: 0;
}
.second-menu .logo img {
    max-width: 60px;
    max-height: 50px;
}



@media screen and (max-width: 768px) {
    .second-menu {
        flex-wrap: wrap;
        height: auto;
        padding: 1vh 2vh;
    }

    .second-menu .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 1vh;
    }

    .second-menu .logo img {
        max-width: 60px;
        max-height: 50px;
        margin-top: 11vh;
    }

    .burger {
        position: absolute;
        right: 2vh;
        top: 6vh; /* ajuster pour l’espacement sous le logo */
        margin-top: 6vh;
    }

    .menu-links {
        top: 12vh; /* décalé après le logo */
    }
}

.burger {
  display: block;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 2vh;
  top: 6vh; /* ajusté pour être sous le premier menu */
  z-index: 1100; /* plus élevé que le menu (.menu-links) */
}
.menu-links {
    margin-left: auto; /* pousse les liens à droite */
}

.menu-links ul {
    display: flex;
    gap: 4vh;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-links ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.burger {
    display: none; /* par défaut = desktop */
}

@media screen and (max-width: 768px) {
    .burger {
        display: block; /* version mobile */
    }
}




/* LINKS */
.menu-links ul {
    display: flex;
    gap: 3vh;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-links ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.active,
.menu-links li a:hover {
    color: var(--third-color) !important;
}

/* BURGER BUTTON */
.burger {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .burger {
        display: block;
    }

    .menu-links {
        display: none;
        position: absolute;
        top: 10vh;
        left: 0;
        width: 100%;
        background-color: var(--black-color);
    }

    .menu-links ul {
        flex-direction: column;
        padding: 2vh;
        gap: 2vh;
        align-items: flex-start;
    }

    .menu-links.show {
        display: block;
        animation: slideDown 0.3s ease-in-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}


/* btn decourir */ 
.cta {
    display: flex;
    padding: 11px 33px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    background:  #068c28da;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
    border: none;
    cursor: pointer;
  }
  
  .cta:focus {
    outline: none;
  }
  
  .cta:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 black;
  }
  
  .cta .second {
    transition: 0.5s;
    margin-right: 0px;
  }
  
  .cta:hover .second {
    transition: 0.5s;
    margin-right: 45px;
  }
  
  .span {
    transform: skewX(15deg);
  }
  
  .second {
    width: 20px;
    margin-left: 30px;
    position: relative;
    top: 12%;
  }
  
  .one {
    transition: 0.4s;
    transform: translateX(-60%);
  }
  
  .two {
    transition: 0.5s;
    transform: translateX(-30%);
  }
  
  .cta:hover .three {
    animation: color_anim 1s infinite 0.2s;
  }
  
  .cta:hover .one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
  }
  
  .cta:hover .two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
  }
  
  @keyframes color_anim {
    0% {
      fill: white;
    }
  
    50% {
      fill:black;
    }
  
    100% {
      fill: white;
    }
  }

  /* baniere */ 
  .container-baniere
  {
    margin-top: 90px;
    width: 100%;
    background-image: url(../images/equipes/AG17.JPG);
    background-color: var(--white-color);
    height: 500px;
    background-size: cover;
  }

  .container-baniere a{
    color: #ffffff;
  }

  .text-baniere
  {
    position: absolute;
    top: 27%;
    left: 3%;
  }

  .text-baniere h1
  {
    font-weight: bold;
    font-size: 5vh;
    color: white;
  }
  .text-baniere p
  {
    font-size: 3vh;
    font-weight: bold;
    color: var(--main-color);
  }

/* ====== Section Mot du Directeur ====== */
.mot-directeur {
  background-color: #f3f3f3;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-directeur {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.image-directeur img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.texte-directeur h2 {
  font-size: 2em;
  color: var(--third-color);
  margin-bottom: 20px;
}

.texte-directeur p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

.signature {
  margin-top: 20px;
  font-style: italic;
  font-weight: bold;
  color: #555;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .container-directeur {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .texte-directeur p {
    text-align: center;
  }
}


.titre-section h3 {
  text-align: center;
  font-weight: 600;
  padding: 1vh;
  padding-top: 5vh;
}

.titre-section span {
  width: 85px;
  height: 3px;
  display: block;
  background-color: var(--black-color);
  margin: 0 auto 20px auto;
}

/* Responsive pour tablettes (<= 991px) */
@media screen and (max-width: 991px) {
  .content-institution {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .place-image {
    grid-area: auto;
    margin-bottom: 20px;
  }

  .place-text {
    grid-area: auto;
    margin-top: 0;
    text-align: justify;
  }
}

/* Responsive pour petits écrans (<= 576px) */
@media screen and (max-width: 576px) {
  .place-text {
    font-size: 16px;
  }

  .titre-section h3 {
    font-size: 20px;
  }

  .titre-section span {
    width: 60px;
  }
}

.banniere-reseaux {
  background: #068c28da;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 5%;
  position: relative;
  min-height: 250px;
}

.reseaux-texte h2 {
  color: #fff;
  font-size: 1.6em;
  margin-bottom: 20px;
}

.icones-reseaux a {
  display: inline-block;
  margin-right: 25px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  text-align: center;
  line-height: 70px;
  font-size: 2em;
  color: #fff;
  border: 2px solid #fff;
  transition: background 0.3s;
}

.icones-reseaux a:hover {
  background: #fff;
  color: #068c28da;
}

.groupe-photos {
  display: flex;
  gap: 20px;
}

.photo-cadre {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
  border: 5px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: rotate(-8deg);
}

.photo-cadre:nth-child(2) {
  transform: rotate(6deg);
}

.photo-cadre:nth-child(3) {
  transform: rotate(-4deg);
}

@media (max-width: 1024px) {
  .banniere-reseaux {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 3%;
    min-height: 200px;
  }
  .groupe-photos {
    margin-top: 30px;
    gap: 15px;
  }
}

@media (max-width: 700px) {
  .banniere-reseaux {
    flex-direction: column;
    align-items: center;
    padding: 25px 2%;
    min-height: 150px;
  }
  .reseaux-texte h2 {
    font-size: 1.1em;
    text-align: center;
  }
  .icones-reseaux a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.3em;
    margin-right: 15px;
  }
  .groupe-photos {
    gap: 10px;
    margin-top: 20px;
  }
  .photo-cadre {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border-width: 3px;
  }
}


@media (max-width: 500px) {
  .groupe-photos {
    flex-direction: column;
    align-items: center;
  }
  .photo-cadre {
    margin-bottom: 10px;
  }
}


.presence-regions {
  background: #b8e3e4;
  padding: 40px 0;
  text-align: center;
}
.presence-regions h2 {
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: bold;
}
.regions-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.region-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 20px 10px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.region-svg {
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
}
.region-name {
  font-size: 1.2em;
  font-weight: 600;
  color: #068c28;
}
@media (max-width: 700px) {
  .regions-grid {
    flex-direction: column;
    align-items: center;
  }
  .region-card {
    width: 90vw;
    max-width: 300px;
  }
}




         /* TEMOIGNAGE*/

         .container-Temoignage
         {
          background-color: #f3f3f3;
         } 
         .content-Temoignage {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          grid-template-rows: 1fr;
          grid-column-gap: 25px;
          grid-row-gap: 25px;
          text-align: center;
          background-color: #f3f3f3;
          margin-top: 15vh;
          margin-bottom: 15vh;
          }
          .content-Temoignage .Temoignage:hover
          {
            background-color: var(--main-color);
            padding: 5vh;
          }

          .content-Temoignage .Temoignage img 
          {
            width: 30%;
            margin-top: -20%;
          }

          .content-Temoignage .Temoignage P:nth-child(odd)
          {
            color: black;
            font-size: 15px;
          }
          
          .div1 { grid-area: 1 / 1 / 2 / 2; }
          .div2 { grid-area: 1 / 2 / 2 / 3; }
          .div3 { grid-area: 1 / 3 / 2 / 4; }

          .content-Temoignage h5
          {
            padding: 8px;
          }

       /* FOOTER DE BASE */
.container-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 25px;
  grid-row-gap: 5px;
  background-color: var(--main-color);
  min-height: 350px;
  padding: 9vh 5vw;
  margin-top: 3vh;
  width: 100%;
  color: white;
}

.footer1, .footer2, .footer3, .footer4 {
  color: black;
}

.footer3 a, .footer2 a {
  color: white;
  text-decoration: none;
}

.footer3 a:hover, .footer2 a:hover {
  color: black;
}

.footer1 span {
  color: white;
}

.footer4 button {
  background-color: white;
  border-radius: 10px;
  margin-top: 7px;
  width: 50%;
  padding: 8px;
  font-weight: bold;
  cursor: pointer;
}

.container-footer .content-sociaux i:hover {
  color: whitesmoke;
}

/* RESPONSIVE FOOTER */
@media screen and (max-width: 1024px) {
  .container-footer {
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 30px;
    padding: 6vh 5vw;
  }
}

@media screen and (max-width: 768px) {
  .container-footer {
    grid-template-columns: 1fr;
    text-align: center;
    grid-row-gap: 25px;
    padding: 5vh 5vw;
  }

  .footer4 button {
    width: 80%;
  }

  .footer3 a, .footer2 a {
    display: block;
    margin-bottom: 10px;
  }
}

            
             /* nos agences*/
             .container-nos-agences .card img
             {
              height: 300px;
             }
             .container-nos-agences .card 
             {
              height: 500px;
              border: 2px solid var(--white-color);
              box-shadow: 1px 3px 17px -3px rgba(0, 0, 0, 0.79);
              background-color: white;
             }
             
             .btn-modal
             {
              background-color: var(--main-color);
             }
             .btn-modal:hover
             {
              background-color: black;
             }
             .modal-footer button
             {
              background-color: var(--main-color);
             }
             .modal-footer button:hover
             {
              background-color: black;
             }
             
             
          /* Slider */
             h2{
              text-align:center;
              padding: 20px;
            }
            /* Slider */
            
            .slick-slide {
                margin: 0px 20px;
            }
            
            .slick-slide img {
                width: 100%;
            }
            
            .slick-slider
            {
                position: relative;
                display: block;
                box-sizing: border-box;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                        user-select: none;
                -webkit-touch-callout: none;
                -khtml-user-select: none;
                -ms-touch-action: pan-y;
                    touch-action: pan-y;
                -webkit-tap-highlight-color: transparent;
            }
            
            .slick-list
            {
                position: relative;
                display: block;
                overflow: hidden;
                margin: 0;
                padding: 0;
            }
            .slick-list:focus
            {
                outline: none;
            }
            .slick-list.dragging
            {
                cursor: pointer;
                cursor: hand;
            }
            
            .slick-slider .slick-track,
            .slick-slider .slick-list
            {
                -webkit-transform: translate3d(0, 0, 0);
                   -moz-transform: translate3d(0, 0, 0);
                    -ms-transform: translate3d(0, 0, 0);
                     -o-transform: translate3d(0, 0, 0);
                        transform: translate3d(0, 0, 0);
            }
            
            .slick-track
            {
                position: relative;
                top: 0;
                left: 0;
                display: block;
            }
            .slick-track:before,
            .slick-track:after
            {
                display: table;
                content: '';
            }
            .slick-track:after
            {
                clear: both;
            }
            .slick-loading .slick-track
            {
                visibility: hidden;
            }
            
            .slick-slide
            {
                display: none;
                float: left;
                height: 100%;
                min-height: 1px;
            }
            [dir='rtl'] .slick-slide
            {
                float: right;
            }
            .slick-slide img
            {
                display: block;
            }
            .slick-slide.slick-loading img
            {
                display: none;
            }
            .slick-slide.dragging img
            {
                pointer-events: none;
            }
            .slick-initialized .slick-slide
            {
                display: block;
            }
            .slick-loading .slick-slide
            {
                visibility: hidden;
            }
            .slick-vertical .slick-slide
            {
                display: block;
                height: auto;
                border: 1px solid transparent;
            }
            .slick-arrow.slick-hidden {
                display: none;
            }

            /*valeurs*/
         
              /*bureau*/
              
              /*qui somme nous*/
              .container-nous p{
                text-align: center;
              }
              
              .btn-nous a{
                background-color: var(--main-color);
                color: white;
                padding: 10px;
                text-align: center;
              }

              .parent ul h4{
                margin-left: 5vh;
                
              }

              .parent ul h4:hover
              {
                color: var(--main-color);
              }
              .parent ul li
              {
                margin-left: 6vh;
              }
              

              /*place maps*/
              
              .container-maps{
                height: 440px;
                background-color: #f3f3f3;
                
              }

              .content-maps {
                display: grid;
                grid-template-columns: 2fr 1fr;
                grid-template-rows: 1fr;
                grid-column-gap: 15px;
                grid-row-gap: 10px;
                margin-top: 7vh;
                margin-bottom: 7vh;
                }
                
                .coter-maps
                 { 
                  grid-area: 1 / 1 / 2 / 2; 

                }
                .coter-text { 
                  grid-area: 1 / 2 / 2 / 3; 

                }
              
                .coter-text{
                  margin-top: 5vh;
                  font-size: 15px;
                }


                /* styles.css */
.bank-services {
  padding: 60px 20px;
  background-image: url('../images/bannieres/mission.jpg');
  font-family: Arial, sans-serif;
}

.bank-services .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}



.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background-color: var(--white-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 250px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--main-color);
  margin-bottom: 15px;
}

.service-card p {
  color: black;
  font-size: 1.1em;
  
}


/* Responsive Styles */
/* Ajoute ceci à styles.css */
.section-accueil {
  padding: 60px 20px;
  background-color: var(--main-color);
  font-family: 'Segoe UI', sans-serif;
  margin-top: 7vh;
  margin-bottom: 7vh;
}

.section-accueil .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-accueil h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: white;
}

.section-accueil .intro {
  font-size: 0.95em;
  color: black;
  margin-bottom: 40px;
}

.accueil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.accueil-colonne img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 10px;
}

.accueil-colonne h4 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.accueil-colonne h3 {
  color: #004477;
  margin-bottom: 10px;
}

.accueil-colonne p {
  color: #f3f3f3;
  font-size: 0.95em;
}


/* 📱 Responsive Design */

@media (max-width: 768px) {
  .section-accueil {
    padding: 40px 15px;
    margin-top: 5vh;
    margin-bottom: 5vh;
  }

  .section-accueil h2 {
    font-size: 2em;
  }

  .section-accueil .intro {
    font-size: 0.9em;
  }

  .accueil-colonne h4 {
    font-size: 1em;
  }

  .accueil-colonne h3 {
    font-size: 1.2em;
  }

  .accueil-colonne p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .section-accueil {
    padding: 30px 10px;
  }

  .section-accueil h2 {
    font-size: 1.6em;
  }

  .accueil-colonne p {
    font-size: 0.85em;
  }

  .accueil-grid {
    gap: 20px;
  }
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 10px;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  text-align: center;
}

/* Animation au survol */
.image-wrapper:hover .overlay-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Texte plus visible sans survol ? Ajoute ceci pour l'afficher toujours */
.image-wrapper .overlay-text.always-visible {
  opacity: 1;
}




/*****************statistiques*****************/
.statistiques-banque {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.stat {
  background: var(--main-color);
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: scale(1.05);
}

.stat h3 {
  font-size: 2em;
  color: white;
  margin-bottom: 10px;
}

.stat p {
  font-size: 1em;
  color: white;
}


/*****************news*****************/

.popup-actualite {
  position: absolute;
  max-width: 300px;
  background: #f3f3f3;
  padding: 15px 20px;
  border-radius: 10px;
  display: none;
  z-index: 9999;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.popup-actualite::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 20px;
  border-width: 10px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
  color: var(--main-color);
}


.section-actualites .card-title {
  font-weight: 600;
  color: var(--main-color); /* Bleu MECZY */
}

.section-actualites .card-text {
  font-size: 0.95rem;
  color: black;
}

.section-actualites img {
  width: 100%;
  height: 70%;
  object-fit: cover;
}


/* Responsive Styles */
/* Smartphones (max-width: 767px) */
@media (max-width: 767px) {

  .first-menu, .second-menu {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .left-icon, .right-icon {
    position: static;
    margin: 5px auto;
  }

  .menu-links ul {
    flex-direction: column;
    position: static;
    text-align: center;
    margin-top: 10px;
  }

  .menu-links ul a {
    margin: 10px 0;
  }

  .container-baniere {
    height: auto;
    background-position: center;
  }

  .text-baniere {
    position: static;
    padding: 20px;
    text-align: center;
  }

  .text-baniere h1 {
    font-size: 24px;
  }

  .text-baniere p {
    font-size: 18px;
  }

  .content-institution {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .content-Temoignage {
    grid-template-columns: 1fr;
  }

  .container-footer {
    grid-template-columns: 1fr;
    padding: 4vh;
  }

  .parent {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .parent img {
    margin: 0 auto;
  }

  .container-bureau .bureau1 img {
    width: 100%;
    margin: 0 auto;
  }

  .btn-devenir {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .content-maps {
    grid-template-columns: 1fr;
  }

  .accueil-grid {
    grid-template-columns: 1fr;
  }
}
/* Tablettes (min-width: 768px) et (max-width: 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {

  .menu-links ul {
    gap: 2vh;
    flex-wrap: wrap;
  }

  .content-institution {
    grid-template-columns: 1fr;
  }

  .content-Temoignage {
    grid-template-columns: 1fr 1fr;
  }

  .container-footer {
    grid-template-columns: 1fr 1fr;
  }

  .parent {
    grid-template-columns: 1fr 1fr;
  }

  .content-maps {
    grid-template-columns: 1fr;
  }

  .btn-devenir {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Ordinateurs (min-width: 1024px) */
@media (min-width: 1024px) {
  .menu-links ul {
    gap: 5vh;
  }

  .content-institution {
    grid-template-columns: 1fr 1fr;
  }

  .content-Temoignage {
    grid-template-columns: repeat(3, 1fr);
  }

  .container-footer {
    grid-template-columns: repeat(4, 1fr);
  }

  .parent {
    grid-template-columns: repeat(3, 1fr);
  }

  .content-maps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .content-institution {
    grid-template-columns: 1fr;
  }
  .container-nos-agences .card {
    height: auto;
  }
}
