/* ============================================================ */
/* 💖 Footer global - Julie Le Bigot                            */
/* ============================================================ */

.jlb-footer {
  background-color: #ffeaf3;
  padding: 40px 0 20px;
  text-align: center;
  position: relative;
}

.jlb-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.jlb-footer__row {
  margin-bottom: 25px;
}

.jlb-footer__col {
  flex: 1;
  padding: 10px;
}

.jlb-footer__col--left p {
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}

.jlb-footer__col--right img {
  max-width: 200px;
  border-radius: 12px;
  opacity: 0.9;
}

.jlb-footer__copy {
  font-size: 13px;
  color: #777;
  border-top: 1px solid #f3d6e0;
  padding-top: 8px;
  margin-top: 20px;
}

/* ============================================================ */
/* 🩷 Liens standards du footer                                 */
/* ============================================================ */

.jlb-footer a {
  color: #b2004b;
  text-decoration: none;
  transition: color 0.3s;
}

.jlb-footer a:hover {
  color: #e20070;
  text-decoration: underline;
}

/* ============================================================ */
/* 💖 Section Politique + Sites utiles                          */
/* ============================================================ */

.footer-links-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

/* --- Lien Politique --- */
.footer-policy {
  color: #b2004b;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-policy:hover {
  color: #e20070;
  text-decoration: underline;
}

/* --- Bloc menu “Sites utiles” --- */
.footer-menu {
  position: relative;
  display: inline-block;
}

/* Bouton “Sites utiles” */
.footer-menu-btn {
  background: none;
  color: #b2004b;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #b2004b;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.footer-menu-btn:hover,
.footer-menu.open .footer-menu-btn {
  background: #b2004b;
  color: #fff;
  transform: translateY(-1px);
}

/* --- Sous-menu --- */
.footer-submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 230px;
  list-style: none;
  text-align: left;
  z-index: 100;
}

/* Apparition au clic ou survol */
.footer-menu:hover .footer-submenu,
.footer-menu.open .footer-submenu {
  display: block;
  animation: dropdownFade 0.25s ease;
}

/* Liens du sous-menu */
.footer-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #444;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-submenu a:hover {
  background: #fde4ec;
  color: #b2004b;
}

/* --- Icône lien externe --- */
.ext-icon {
  margin-left: 8px;
  opacity: 0.75;
  flex-shrink: 0;
}

.footer-submenu a:hover .ext-icon {
  opacity: 1;
  color: #b2004b;
}

/* --- Animation d'apparition --- */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================ */
/* 🩷 Section 2 colonnes : texte + carte centrés                 */
/* ============================================================ */

.jlb-footer__columns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  flex-wrap: nowrap;
  text-align: center;
}

/* Colonne gauche : texte centré */
.jlb-footer__col--left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.jlb-footer__col--left p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Colonne droite : image centrée */
.jlb-footer__col--right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.jlb-footer__col--right img {
  max-width: 300px;
  height: auto;
  border: none;
  border-radius: 10px;
  object-fit: contain;
}

/* Responsive : pile sur mobile */
@media (max-width: 900px) {
  .jlb-footer__columns {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .jlb-footer__col--left,
  .jlb-footer__col--right {
    text-align: center;
  }

  .jlb-footer__col--right img {
    max-width: 250px;
    margin-top: 5px;
  }
}

/* ============================================================
   🧾 Texte footer pleine largeur (sans carte)
============================================================ */

.jlb-footer__fulltext {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}


/* ============================================================ */
/* 📱 Responsive adjustments                                    */
/* ============================================================ */

@media (max-width: 900px) {
  .jlb-footer__columns {
    flex-direction: column;
    align-items: center;
  }

  .jlb-footer__col--right img {
    max-width: 160px;
  }
}

@media (max-width: 600px) {
  .footer-links-inline {
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-menu-btn {
    width: 100%;
    text-align: center;
  }

  .jlb-footer__col--left p {
    font-size: 14px;
  }

  .jlb-footer__copy {
    font-size: 12px;
  }

  /* ============================================================ */
/* 📱 Masquer la carte sur mobile                               */
/* ============================================================ */
@media (max-width: 900px) {
  .jlb-footer__col--right {
    display: none !important;
  }
}

}