/* ============================================
   FOOTER MODERNE ET PROFESSIONNEL
   ============================================ */

.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #ffffff;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer__content {
  padding: 60px 0 40px;
}

/* Newsletter Section */
.footer__newsletter {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__newsletter-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.footer__newsletter-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.footer__newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer__newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.footer__newsletter-button {
  padding: 14px 32px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.footer__newsletter-button:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.footer__newsletter-button:active {
  transform: translateY(0);
}

/* Links Section */
.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__column-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.footer__column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer__link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.3s ease;
}

.footer__link:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer__link:hover::before {
  width: 4px;
}

/* Social Icons */
.footer__socials {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer__social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__social:hover {
  background: #6366f1;
  border-color: #6366f1;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

/* Bottom Section */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer__bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__copyright {
  flex: 1;
  text-align: center;
}

.footer__copyright-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer__developer {
  display: flex;
  align-items: center;
}

.footer__developer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer__developer-link {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 4px;
  position: relative;
}

.footer__developer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.3s ease;
}

.footer__developer-link:hover {
  color: #818cf8;
}

.footer__developer-link:hover::after {
  width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
  .footer__container {
    padding: 0 20px;
  }

  .footer__content {
    padding: 50px 0 30px;
  }

  .footer__newsletter {
    margin-bottom: 50px;
    padding-bottom: 30px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer__bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer__copyright {
    order: 2;
  }

  .footer__developer {
    order: 3;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .footer__content {
    padding: 40px 0 30px;
  }

  .footer__newsletter {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .footer__newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .footer__newsletter-input {
    min-width: 100%;
    width: 100%;
  }

  .footer__newsletter-button {
    width: 100%;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__column-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .footer__socials {
    gap: 12px;
  }

  .footer__social {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .footer__container {
    padding: 0 15px;
  }

  .footer__content {
    padding: 30px 0 20px;
  }

  .footer__newsletter {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .footer__newsletter-title {
    font-size: 22px;
  }

  .footer__newsletter-text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .footer__newsletter-input,
  .footer__newsletter-button {
    padding: 12px 16px;
    font-size: 14px;
  }

  .footer__links {
    gap: 24px;
  }

  .footer__column-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .footer__link {
    font-size: 14px;
  }

  .footer__bottom {
    padding: 24px 0;
  }

  .footer__bottom-content {
    gap: 12px;
  }

  .footer__logo-img {
    height: 32px;
  }

  .footer__copyright-text,
  .footer__developer-text {
    font-size: 13px;
  }
}
