/**
 * @file
 * The footer components.
 *
 * It includes styles for the footer itself and its
 * components.
 */


/**
 * Global header rules
 */

.main__footer {
  margin-top: auto;
  background-color: var(--color-neutral--2);
  color: var(--color-neutral--6);
}

.region-footer {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 2rem;
}

@media all and (min-width: 1000px) {
  .region-footer {
    grid-template-columns: repeat(2,1fr);
  }
}
@media all and (min-width: 1500px) {
  .region-footer {
    grid-template-columns: repeat(4,1fr);
  }
}


/**
 * Block Adress
 */

 .icon__adress,
 .icon__phone,
 .icon__mail {
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: 0.5rem;
 }

 .icon__adress::before {
   content: url(../../images/footer/adress-icon.svg);
 }
 .icon__phone::before {
   content: url(../../images/footer/phone-icon.svg);
 }
 .icon__mail::before {
   content: url(../../images/footer/mail-icon.svg);
 }

.block-coordonnees__wrapper{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.block-coordonnees__logo{
  flex-shrink: 0;
}
.block-coordonnees__body {
  display: flex;
  flex-direction: column;
}
.block-coordonnees__body p{
  color: var(--neutral-75, #433D3D);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}
.block-coordonnees__body p::before{
  margin-top: 8px;
}

@media all and (min-width: 1000px) {
  .block-coordonnees__wrapper{
    flex-direction: row;
    min-width: 400px;
  }
  .block-coordonnees__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}





/**
 * Block Avis
 */

 .block-avis-reseaux__title,
 .block-avis-reseaux__title-social {
  color: var(--color-neutral--6);
  font-weight: 600;
  margin-bottom: 0.5rem;
 }

 .block-avis-reseaux__image {
  margin-bottom: 1.2rem;
 }

 .block-avis-reseaux__link {
  display: flex;
  padding: 0 2rem;
 }

 .block-avis-reseaux__image img,
 .block-avis-reseaux__link a{
    margin: 0 auto;
 }

 .block-avis-reseaux__link a {
  display: inline-block;
  width: 40px;
  height: 40px;
  position: relative;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;

 }

 .block-avis-reseaux__link a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
 }

.block-avis-reseaux__link a:first-child:before {
  background-image: url(../../images/footer/icon-facebook.svg);
}
.block-avis-reseaux__link a:before {
  background-image: url(../../images/footer/icon-instagram.svg);
}

@media all and (min-width: 1000px) {
  .block-avis-reseaux__link {
    padding: inherit;
    gap: 1.4rem;
   }
  .block-avis-reseaux__image img,
  .block-avis-reseaux__link a{
     margin: inherit;
  }
}


/**
 * Block title image
 */

.block-titre-image__title {
  color: var(--color-neutral--6);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

@media all and (min-width: 1000px) {
  .block-titre-image__title {
    text-align: inherit;
  }
}

/**
 * Menu footer
 */

 .menu--footer {
  color: var(--color-neutral--5);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%; /* 21.6px */
 }

 .menu--footer a {
  color: var(--color-neutral--5);
 }

 .menu--footer .menu__item{
  padding: 4px 0;
  text-align: center;
 }

 @media all and (min-width: 1000px) {
  .menu--footer .menu__item{
    text-align: inherit;
   }
}
