﻿/* Styles modernes pour le footer */
.main-footer {
  background-color: var(--footer-bg, #0d0d0d);
  color: #ffffff;
  padding: 3rem 0 1rem;
  position: relative;
  margin-top: 4rem;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-section {
  position: relative;
  padding-right: 1rem;
}

.footer-section:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1rem;
  height: 100%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

@media (min-width: 992px) {
  .footer-section:not(:last-child)::after {
    display: block;
  }
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #10b981;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, #10b981, transparent);
  bottom: -8px;
  left: 0;
  border-radius: 3px;
}

.footer-section p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0b0b0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: #10b981;
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info i {
  color: #10b981;
  margin-right: 0.75rem;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.contact-info a, .contact-info span {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.contact-info a:hover {
  color: #10b981;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-5px);
}

.social-links i {
  font-size: 1.2rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #888;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.legal-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
}

@media (min-width: 768px) {
  .legal-links {
    margin: 0;
  }
}

.legal-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #10b981;
}

.footer-tagline {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 20px;
  color: #10b981;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.footer-tagline:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-3px);
}

.footer-desc {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.social-description {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.availability {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  color: #b0b0b0;
}

.availability i {
  color: #4CAF50;
  margin-right: 0.5rem;
}

/* Mode clair */
[data-theme="light"] .main-footer {
  background-color: var(--footer-bg, #222222);
  color: #333;
}

[data-theme="light"] .footer-section h3 {
  color: #10b981;
}

[data-theme="light"] .footer-section p,
[data-theme="light"] .footer-section ul li a,
[data-theme="light"] .contact-info a,
[data-theme="light"] .contact-info span {
  color: #555;
}

[data-theme="light"] .footer-section ul li a:hover,
[data-theme="light"] .contact-info a:hover {
  color: #10b981;
}

[data-theme="light"] .footer-section:not(:last-child)::after {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #666;
}

[data-theme="light"] .legal-links a {
  color: #666;
}

[data-theme="light"] .legal-links a:hover {
  color: #10b981;
}

[data-theme="light"] .social-links a {
  background: rgba(0, 0, 0, 0.05);
  color: #555;
}

[data-theme="light"] .social-links a:hover {
  background: #10b981;
  color: #ffffff;
} 