.social-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 14px 0 8px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(9,30,66,0.03);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(9,30,66,0.15);
  border-color: rgba(0,0,0,0.15);
}

.social-icon .fa-google { color: #db4437; }
.social-icon .fa-apple { color: #000; }
.social-icon .fa-facebook-f { color: #1877f2; }

html, body {
  height: 100%;
}

body {
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  
}

.main-content {
  flex: 1;
}

/* Footer Styles */
footer {
  background-color: #1e3a8a;
  color: #fff;
  margin-top: auto;
  padding: 50px 0 0 0;
  font-family: Arial, sans-serif;
}

/* Section des avantages du nouveau footer */
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.benefits {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 150px;
}

.benefit i {
  font-size: 32px;
  margin-bottom: 10px;
}

.benefit p {
  font-size: 14px;
  margin: 0;
  color: #e2e8f0;
}

/* Grille principale du premier footer */
.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 20px;
  box-sizing: border-box;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 4px solid #3b82f6;
  padding-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-section p {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Navigation combinée du nouveau footer */
.combined-nav {
  display: flex;
  gap: 20px;
}

.nav-column {
  flex: 1;
}

.nav-column h4 {
  font-size: 16px;
  font-weight: bold;
  color: #e2e8f0;
  margin-bottom: 10px;
}

/* Section À propos améliorée */
.footer-section.about-section p {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

/* Réseaux sociaux du nouveau footer */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

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

.social-links a:hover {
  background: #fff;
  color: #1e3a8a;
  transform: translateY(-3px);
}

/* Newsletter du nouveau footer */
.newsletter-section p {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-container i {
  position: absolute;
  left: 12px;
  color: #e2e8f0;
  font-size: 16px;
}

.newsletter-form input {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

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

.newsletter-form input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
  padding: 10px;
  background: #fff;
  color: #1e3a8a;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Messages du formulaire */
.form-message {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  display: none;
}

.form-message.success {
  background: rgba(0, 255, 0, 0.2);
  color: #fff;
}

.form-message.error {
  background: rgba(255, 0, 0, 0.2);
  color: #fff;
}

/* Contact info amélioré */
.contact-info p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  color: #e2e8f0;
  font-size: 14px;
}

.contact-info i {
  margin-right: 8px;
  width: 16px;
}

/* Footer bottom combiné */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #3b82f6;
  margin-top: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.432);
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: #e2e8f0;
}

.footer-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Méthodes de paiement du nouveau footer */
.payment-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-methods p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #e2e8f0;
}

.payment-icons {
  display: flex;
  gap: 10px;
}

.payment-icons i {
  font-size: 24px;
  color: #fff;
  transition: color 0.3s ease;
}

.payment-icons i:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 30px 20px;
  }
  
  .footer-top {
    padding: 0 30px 30px;
  }
  
  .benefits {
    justify-content: center;
  }
  
  .combined-nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 15px 30px;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .payment-methods {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 25px 20px 15px;
  }
  
  .footer-top {
    padding: 0 20px 25px;
  }
  
  .benefits {
    flex-direction: column;
    align-items: center;
  }
  
  .benefit {
    margin-bottom: 15px;
  }
  
  .footer-bottom {
    padding: 15px 20px;
  }
  
  .footer-links {
    gap: 10px;
    flex-direction: column;
  }
  
  .footer-section h3 {
    font-size: 16px;
  }
  
  .footer-section ul li a {
    font-size: 13px;
  }
  
  .newsletter-form input {
    font-size: 13px;
  }
  
  .newsletter-form button {
    font-size: 13px;
  }
}