/* ===== STYLE GLOBAL ===== */
.footer {
  background-color: #4352d6
              url("images/footer-bg.jpg") no-repeat center center/cover;
  color: white;
  font-family: 'Poppins', sans-serif;
  padding-top: 30px;
  overflow: hidden; background-color: #020c49;
   
}

/* ===== SECTION HAUT ===== */
.footer-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 10%;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  flex-wrap: wrap;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-search {
  display: flex;
  border: 1px solid #00c3ff;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}

.footer-search input {
   background: white;
  border: none;
  padding: 5px 6px;
  color: white;
  outline: none;
}

.footer-search button {
  background: #00c3ff;
  border: none;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
 
}

.footer-search button:hover {
  background: #0090cc;
}

.footer-lang select {
  background: white;
  color: #0c0c97;
  border: none;
  padding: 8px 10px;
  border-radius: 5px;
  font-weight: 600;
}

/* ===== SECTION CENTRALE ===== */
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 10%;
}

.footer-section h3 {
  color: #00c3ff;
  margin-bottom: 10px;
}

.footer-section p, 
.footer-section a, 
.footer-section li {
  font-size: 15px;
  line-height: 1.7;
  color: #ddd;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a:hover {
  color: #00c3ff;
  transition: 0.3s;
}

/* Newsletter */
.footer-section form {
  display: flex;
  margin-top: 10px;
}

.footer-section input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.footer-section button {
  background: #00c3ff;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: 0.3s;
}

.footer-section button:hover {
  background: #0090cc;
}

/* Réseaux sociaux */
.socials {
  margin-top: 10px;
}

.socials a {
  color: white;
  margin-right: 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.socials a:hover {
  color: #00c3ff;
}

/* ===== SECTION BAS ===== */
.footer-bottom {
  text-align: center;
  padding: 15px;
  background: #8fed8f;
  border-top: 1px solid rgba(6, 2, 50, 0.89);
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-main {
    text-align: center;
    gap: 25px;
  }

  .footer-section form {
    flex-direction: column;
  }

  .footer-section input, 
  .footer-section button {
    width: 100%;
    border-radius: 5px;
    margin-top: 5px;
  }
}
