@import url("font.css");
.main__footer {
  margin-top: 150px;
  background: #f6f6f6;
  color: #4f4f4f;
  position: relative;
}
.footer__container,
.mentionlegale {
  padding-inline: 50px;
}
.separateur {
  height: 1px;
  width: 100%;
  background-color: #e4e4e4;
  position: absolute;
  left: 0;
  right: 0;
}
.main__footer > h5 {
  text-align: center !important;
  font-weight: 500;
  color: #e4103a;
  font-size: 0.9rem;
  padding-bottom: 2rem;
  background-color: #fff;
}
.footer__container {
  position: relative;
}
.main__footer hr {
  position: absolute;
  left: 0;
  right: 0;
}

.footer-title {
  color: #e4103a;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.foorter-element {
  display: flex;
  align-items: start;
  padding: 2rem 20px 20px;
  gap: 5px;
  border-right: 1px solid #e4e4e4;
}
.foorter-element {
  margin-block: 1px;
}
.foorter-element > svg {
  color: #000;
  font-weight: bold;
  font-size: 24px;
}
.links-with-icons {
  position: relative;
}
.links-with-icons span {
  position: absolute;
  top: -3px;
  left: -1.8rem;
  font-size: 24px;
}
.foorter-element:last-child {
  border-right: none;
}
.footer-title-sm {
  text-transform: uppercase;
  font-weight: 600;
}
.main__footer ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main__footer a {
  text-decoration: none;
  color: inherit;
  font-size: 0.8rem;
}

.main__footer a:hover {
  color: #e4103a;
}
.footer-reseau {
  margin-top: 1rem;
}
.footer-reseau ul {
  display: flex;
  flex-direction: row;
  padding-top: 0.5rem;
}
.footer-reseau a {
  background: #e4103a;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}
.footer-reseau a:hover {
  background: #fff;
  color: #e4103a;
  border: 1px solid #e4103a;
}
.mentionlegale,
.politique {
  text-align: center;
  font-size: 0.8rem;
  /*padding: 25px 20px !important;*/	padding:2rem !important;
}
.mentionlegale a {
  font-weight: 600;
  text-align: left;
}
.politique a {
  border-right: 1px solid #e4103a;
  text-transform: uppercase;
  font-weight: 500;
  padding-right: 1rem;
  padding-left: 1rem;
  color: #333;
}
.politique a:hover {
  border-right: 1px solid #e4103a;
}
.politique a:last-child {
  border-right: none;
}
@media (max-width: 768px) {
  .footer__container,
  .mentionlegale {
    padding-inline: 0px;
  }
  .mentionlegale p:first-child {
    display: flex;
    flex-direction: column;
  }
  .politique a {
    display: block;
    border-right: none;
  }

  .foorter-element {
    border-right: none;    padding: 2rem 2rem;
    border-bottom: 1px solid #e4e4e4;
  }
  .main__footer > h5 {
    padding-inline: 20px;
  }
}
@media (min-width: 600px) and (max-width: 768px) {
  .foorter-element:nth-child(2n) {
    border-left: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
  }
}

.footer-col ul a {
  display: block;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  /* border-top: 1px solid #e4e4e4; */
}

/* Responsive pour les écrans plus petits */
@media (max-width: 1024px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-col {
    border-right: none;
  }
  .footer-col:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
}

/* @media (min-width: 1024px) {
    .footer__container {
        padding-inline: .8rem;
    }
}
@media (min-width: 1040px) {
    .footer__container {
        padding-inline: 8rem;
    }
} */
