/* Variables globales */
:root {
  --orange-cfdt: #E7591C;
  --bleu-cfdt: #00455E;
  --gris-texte: #555554;
  --blanc: #FFFFFF;
}

footer {
  background-color: #f5f5f5;
  border-top: 3px solid var(--orange-cfdt);
  padding: 20px 0;
  text-align: center;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: var(--gris-texte);
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-container p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.6;
}

footer a {
  color: var(--orange-cfdt);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer a:hover,
footer a:focus {
  color: var(--bleu-cfdt);
  text-decoration: underline;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.social-icons a {
  display: inline-block;
  line-height: 0;
  border-radius: 4px;
  padding: 5px;
  transition: background-color 0.2s ease;
}

.social-icons a:hover,
.social-icons a:focus {
  background-color: rgba(231, 89, 28, 0.1);
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: block;
}

.social-icons a:hover img,
.social-icons a:focus img {
  transform: scale(1.15);
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container p {
    font-size: 0.85em;
  }

  .social-icons {
    gap: 20px;
  }

  .social-icons img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 15px 0;
  }

  .footer-container {
    gap: 10px;
  }

  .footer-container p {
    font-size: 0.8em;
  }
}