/*----------------------------------------------------------------*/
/*                           FOOTER                               */
/*----------------------------------------------------------------*/
.footer {
  width: 100%;
  background-color: var(--secondaire);
  color: var(--primaire);
  text-align: center;
  font-weight: 700;
}

.footer .container {
  padding-block: 6rem;
}

.footer__action-btn {
  display: block;
  width: 100%;
  max-width: 20rem;
  padding: 0.5rem 1rem;
  margin-inline: auto;
  margin-bottom: 4rem;

  color: var(--secondaire);
  background-color: var(--primaire);
  /* background-color: #c68866; */
  border-radius: 0.4rem;
 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  transition: all 0.3s ease;
  cursor: pointer;

  /* On supprime le rectangle qui s'affiche quand on clique sur le lien en mobile */
  -webkit-tap-highlight-color: transparent;  
}

.footer__action-btn:hover {
  filter: brightness(85%);
  scale: 1.03;
}

.footer p {
  padding-block: 0.5rem;
  letter-spacing: 1px;
}

.footer__content {
  border-bottom: 1px solid var(--primaire);
}

.footer__logo-container {
  background-color: var(--primaire);
  max-width: fit-content;
  padding: 2rem;
  margin: auto;
  border-radius: 2px;
}

.footer__description {
  padding-block: 2rem;
}

.footer__description a {
  display: block;
  color: #c68866;
  font-weight: 700;
  text-decoration: underline;
  transition: all 0.3s ease;

  /* On supprime le rectangle qui s'affiche quand on clique sur le lien en mobile */
  -webkit-tap-highlight-color: transparent;
}

.footer__description a:hover {
  filter: brightness(85%);
}

.footer .icones-reseaux {
  justify-content: center;
  padding-top: 1rem;
}

.footer .ligne-decorative {
  width: 90%;
  margin: auto;
}

.footer__contenu-bas-page {
  display: grid;
  padding-top: 1rem;
}

.footer__contenu-bas-page #reinitialiser-cookies {
  border: none;
  outline: none;
  background-color: transparent;
  color: var(--primaire);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer__contenu-bas-page #reinitialiser-cookies:hover {
  color: rgba(255, 255,255,0.8);
}

@media (min-width: 400px) {
  .footer .ligne-decorative {
    width: 60%;
    margin: auto;
  }
}

@media (min-width: 750px) {
  .footer p {
    text-align: left;
  }

  .footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer__logo-container {
    margin: 0;
  }

  .footer__description a {
    text-align: left;
  }

  .footer .icones-reseaux {
    justify-content: flex-start;
  }

   .footer__contenu-bas-page {
    grid-template-areas: "copyright cookies";
    padding-top: 0;
  }

  .footer__contenu-bas-page .footer__copyright {
    grid-area: copyright;
    justify-self: left;
  }
  .footer__contenu-bas-page button {
    grid-area: cookies;
    justify-self: right;
  }
}

@media (min-width: 1024px) {
  .footer__action-btn {
    display: none;
  }
}
