/* =========================================================
   YK FOOTER — VERSION PRO UNIFORME
   - Même bleu que le header
   - Aucune "carte" interne
   - Aucun fond parasite
   - Compatible PC + GSM
   ========================================================= */

/* ===== BASE FOOTER ===== */

footer.footer{
  background: linear-gradient(90deg, #4a90e2, #2b6cb0) !important;
  color: #ffffff !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;

  padding: 12px 20px !important;

  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;

  box-shadow: 0 -6px 18px rgba(0,0,0,0.10);
}

/* ===== SUPPRESSION TOTALE DES FONDS INTERNES ===== */

footer.footer *,
footer.footer .left,
footer.footer .center,
footer.footer .right,
footer.footer .left a{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* ===== STRUCTURE DES 3 ZONES ===== */

footer.footer .left,
footer.footer .center,
footer.footer .right{
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}

/* LEFT */
footer.footer .left{
  justify-content: flex-start !important;
}

/* CENTER */
footer.footer .center{
  flex: 1 1 auto !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* RIGHT */
footer.footer .right{
  justify-content: flex-end !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* ===== LIENS ===== */

footer.footer a{
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

footer.footer a:hover{
  opacity: 0.9;
  text-decoration: underline;
}

/* ===== LOGO ===== */

footer.footer img{
  max-height: 34px !important;
  width: auto !important;
  height: auto !important;
}

/* =========================================================
   VERSION MOBILE
   ========================================================= */

@media (max-width: 768px){

  footer.footer{
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
    padding: 14px 12px !important;
  }

  footer.footer .left,
  footer.footer .center,
  footer.footer .right{
    width: 100% !important;
    justify-content: center !important;
  }

  footer.footer .center{
    font-size: 13px !important;
  }

  footer.footer .right{
    font-size: 13px !important;
  }

  footer.footer img{
    max-height: 28px !important;
  }
}

