
footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
  
  color: var(--color);
  background-color: var(--bg-color);
  box-shadow: var(--shadow-header);
  border-radius: var(--radius-2) var(--radius-2) 0 0;

  position: relative;
  padding: 15px 30px 15px 30px;
  text-align: center;
  margin: 20px 0 0 0;
  font-size: 0.7em;
}

footer > div { display: flex; justify-content: center; }
footer > .footer-mid {
  display: grid;
  place-items: center; /* centre le divider dans la cellule */
}
footer .divider-vertical {
  width: 1px;
  height: 45px;
  background: #ccc;
}

footer .footer-left {
  align-items: flex-end;
  flex-direction: column;
  display: flex;
  gap: 5px;
  .logo {
    display: flex;
    gap: 5px;
  }
  img { width: 32px; }
  p {
    align-self: center;
  }
}

footer .footer-contact {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

footer .footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
}
footer .footer-contact ul li { padding-top: 5px; }
footer .footer-contact ul li a {
  color: var(--text-color);
  text-decoration: none;
  margin-top: 2px;
}
footer .footer-contact ul li a:hover {
  color: var(--color-purple);
}
footer .footer-contact p {
  font-size: 0.9em;
}

footer .contact-icon img {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke-width: 1.5;
}

footer .contact-icon img:hover {
  animation: vibrate 0.2s linear infinite;
}

@keyframes vibrate {
  0%   { transform: translate(0); }
  25%  { transform: translate(1px, -1px); }
  50%  { transform: translate(-1px, 1px); }
  75%  { transform: translate(1px, 1px); }
  100% { transform: translate(-1px, -1px); }
}