/* =========================================================
   public/css/90_footer.css
   MMX — FOOTER — "Maison éditoriale" (Hermès / Cartier)
   Wordmark serif centré + filets or + 4 colonnes éditoriales
   ========================================================= */


/* =========================================================
   STICKY LAYOUT — conservé
   ========================================================= */
html, body{ height: 100%; }
body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.app-footer{ flex-shrink: 0; }


/* =========================================================
   FOOTER MAISON — STRUCTURE COMMUNE (DARK + LIGHT)
   ========================================================= */
.app-footer.mmx-maison{
  position: relative;
  margin: 0;
  padding: 4rem 2rem 2.4rem;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border-top: none;
}


/* ===== Filet or ===== */
.mmx-maison__rule{
  height: 1px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 146, 77, 0.45) 18%,
    var(--mmx-gold, #B8924D) 50%,
    rgba(184, 146, 77, 0.45) 82%,
    transparent 100%
  );
}

.mmx-maison__rule--bottom{
  margin-top: 2.6rem;
  opacity: .55;
}


/* ===== Section 2 : Colonnes ===== */
.mmx-maison__columns{
  max-width: 1200px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding: 0 1rem;
}

@media (max-width: 991.98px){
  .mmx-maison__columns{
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem 2rem;
  }
}
@media (max-width: 575.98px){
  .mmx-maison__columns{
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.mmx-maison__col{
  text-align: left;
}

@media (max-width: 575.98px){
  .mmx-maison__col{ text-align: center; }
}

.mmx-maison__col-title{
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: .7rem;
  position: relative;
}

/* Petit filet or sous chaque titre de colonne */
.mmx-maison__col-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 1px;
  background: var(--mmx-gold, #B8924D);
}

@media (max-width: 575.98px){
  .mmx-maison__col-title::after{
    left: 50%;
    transform: translateX(-50%);
  }
}

.mmx-maison__col-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.mmx-maison__col-list li{
  margin: 0 0 .65rem 0;
  padding: 0;
}

.mmx-maison__col-link{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .005em;
  text-decoration: none !important;
  transition: color .22s ease, padding-left .25s ease;
  display: inline-block;
  position: relative;
}

.mmx-maison__col-link:hover{
  padding-left: 14px;
  font-style: italic;
}

.mmx-maison__col-link::before{
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .22s ease, transform .25s ease;
}
.mmx-maison__col-link:hover::before{
  opacity: 1;
  transform: translateX(0);
}


/* ===== Section 3 : Base (mention légale + monogramme) ===== */
.mmx-maison__base{
  max-width: 1200px;
  margin: 1.6rem auto 0;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mmx-maison__copy{
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .92rem;
  letter-spacing: .02em;
}

.mmx-maison__copy em{
  font-style: italic;
  font-weight: 500;
}


@media (max-width: 575.98px){
  .mmx-maison__base{
    justify-content: center;
    text-align: center;
  }
}


/* =========================================================
   DARK — Nuit profonde
   ========================================================= */
.app-footer.mmx-maison{
  background:
    linear-gradient(180deg,
      #070A14 0%,
      #050811 100%);
  color: rgba(232, 224, 200, 0.78);
}


.app-footer.mmx-maison .mmx-maison__col-title{
  color: var(--mmx-gold-hover, #C8A86B);
}

.app-footer.mmx-maison .mmx-maison__col-link{
  color: rgba(232, 224, 200, 0.78);
}
.app-footer.mmx-maison .mmx-maison__col-link:hover{
  color: #ffffff;
}
.app-footer.mmx-maison .mmx-maison__col-link::before{
  color: var(--mmx-gold, #B8924D);
}

.app-footer.mmx-maison .mmx-maison__copy{
  color: rgba(232, 224, 200, 0.74);
}
.app-footer.mmx-maison .mmx-maison__copy em{
  color: rgba(248, 240, 220, 0.96);
}


/* =========================================================
   LIGHT — Parchemin chaud
   ========================================================= */
html[data-theme="light"] .app-footer.mmx-maison {
  background:
    linear-gradient(180deg,
      #FAF7F0 0%,
      #F5F0E8 100%) !important;
}


html[data-theme="light"] .app-footer.mmx-maison .mmx-maison__col-title{
  color: #6B5320 !important;
}

html[data-theme="light"] .app-footer.mmx-maison .mmx-maison__col-link{
  color: #1a1a1a !important;
}
html[data-theme="light"] .app-footer.mmx-maison .mmx-maison__col-link:hover{
  color: var(--accent, #1E3A8A) !important;
}
html[data-theme="light"] .app-footer.mmx-maison .mmx-maison__col-link::before{
  color: var(--mmx-gold, #B8924D) !important;
}

html[data-theme="light"] .app-footer.mmx-maison .mmx-maison__copy{
  color: #2a2a2a !important;
}
html[data-theme="light"] .app-footer.mmx-maison .mmx-maison__copy em{
  color: #1a1a1a !important;
}


/* =========================================================
   NETTOYAGE — neutralise les anciens styles barre rouge / violet
   ========================================================= */
html[data-theme="light"] .app-footer::after,
.app-footer::after{
  display: none !important;
  content: none !important;
}


/* =========================================================
   Logo dans le pied (remplace l'ancien monogramme M·M·E)
   ========================================================= */
.mmx-maison__logo{
  display: inline-flex;
  align-items: center;
  opacity: .65;
  transition: opacity .25s ease;
}
/* APRÈS */
.mmx-maison__logo img{
  display: block;
  height: 60px;
  width: auto;
}

/* Mobile : on masquait l'ancien monogramme, on garde le logo visible */
@media (max-width: 575.98px){
  .mmx-maison__logo{ display: none; }
}