.footer{
  background-color: var(--color-primary-green-500);
}

.footer .main-footer{
  display: flex;
  justify-content: flex-end;
}

.footer .main-footer .contact-container .logo{
  max-width: 288px;
  width: 68%;
}

.footer .main-footer .tab-container{
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .main-footer .tab-header{
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.11vw 1.37vw;
}

.footer .main-footer .tab-footer{
  display: flex;
}

.footer .main-footer .tab-desc{
  padding: 1.55vw 1.37vw;
  width: 50%;
  display: flex;
  flex-direction: column;
}

.footer .main-footer .tab-desc:first-child{
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .main-footer .row-map{
  display: flex;
  align-items: center;
  margin-top: auto;
}

.footer .main-footer .icon-map{
  margin-right: 10px;
  width: 8%;
}

.footer .main-footer .list-main-links{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.footer .main-footer .list-main-links__item{
  width: 50%;
  padding: 1.11vw 1.37vw;
}

.footer .main-footer .list-main-links__item:nth-child(odd){
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .main-footer .list-main-links__item:nth-child(-n+4){
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .main-footer .main-links{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer .main-footer .arrow-menu-footer{
  width: 15%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: border ease-out 0.3s;
}

.footer .main-footer .reseaux-container{
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .main-footer .reseaux-container .list-res__item{
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .subfooter .logo-geometre{
  display: flex;
  align-items: center;
}

.footer .subfooter .logo-geometre .icon{
  margin-right: 20px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .subfooter .list-links{
  display: flex;
  align-items: center;
}

@media (max-width: 1023px) {
  .footer{
    padding: 32px 16px;
  }

  .footer .main-footer{
    flex-direction: column;
    gap: 20px;
  }

  .footer .main-footer .tab-header{
    padding: 2.8vw 3.5vw;
  }

  .footer .main-footer .tab-desc{
    padding: 4.8vw 5.5vw;
  }

  .footer .main-footer .list-main-links__item{
    padding: 2.8vw 3.5vw;
  }

  .footer .main-footer .contact-container{
    margin-bottom: 20px;
  }

  .footer .main-footer .reseaux-container .list-res{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer .main-footer .reseaux-container .list-res__item{
    width: 50%;
  }

  .footer .main-footer .reseaux-container .list-res__item:first-child{
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer .main-footer .reseaux-container .list-res__item svg{
    display: block;
  }

  .footer .main-footer .reseaux-container{
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer .subfooter{
    margin-top: 30px;
  }

  .footer .subfooter .logo-geometre{
    justify-content: center;
  }

  .footer .subfooter .list-links{
    margin-top: 20px;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer .main-footer .contact-container{
    width: 32%;
    margin: 4.5% 0;
  }

  .footer .main-footer .tab-container{
    width: 27%;
    margin: 4.5% 0;
  }
  
  .footer .main-footer .agences-container{
    margin: 4.5% 4%
  }

  .footer .main-footer .reseaux-container .list-res{
    height: 100%;
  }

  .footer .main-footer .reseaux-container .list-res__item{
    height: 50%;
    padding: 10px;
  }

  .footer .main-footer .reseaux-container .list-res__item:first-child{
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer .subfooter{
    padding: 1.4% 2.8%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer .subfooter .list-links{
    gap: 40px;
  }
}

@media (min-width: 1200px) {
  .footer .main-footer .list-main-links__item:hover .arrow-menu-footer{
    border: 1px solid rgba(246, 246, 240, 0.7);
    transition: border ease-out 0.3s;
  }
}