/* ============================================================
   MARINE NGOUBAS WEDDING – FOOTER
   Pied de page
   ============================================================ */

/* ==============================
   1. CONTENEUR PRINCIPAL
   ============================== */
footer,
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 0 30px;
}

/* ==============================
   2. GRILLE DES COLONNES
   ============================== */
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

/* ==============================
   3. COLONNE MARQUE (première colonne)
   ============================== */
.foot .brand {
  font-family: var(--h2);
  font-size: 30px;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -.005em;
}

.foot .sub {
  font-family: var(--h2);
  font-size: 17px;
  font-style: italic;
  color: var(--gold-soft);
  margin: 6px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  display: inline-block;
  letter-spacing: .01em;
}

.foot > div > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
  max-width: 340px;
}

/* ==============================
   4. COLONNES DE LIENS
   ============================== */
.foot h5 {
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
  color: #fff;
}

.foot ul {
  list-style: none;
  font-size: 14.5px;
  line-height: 1.85;
}

.foot ul li {
  margin: 0;
}

.foot a {
  display: inline-block;
  opacity: .85;
  position: relative;
  transition: opacity .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}

.foot a:hover {
  opacity: 1;
  color: var(--rose-soft);
  transform: translateX(3px);
}

/* ==============================
   5. MENTIONS LÉGALES (bas du footer)
   ============================== */
.legal {
  border-top: 1px solid rgba(255, 255, 255, .25);
  padding-top: 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
}

.legal a {
  color: rgba(255, 255, 255, .8);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .3);
  transition: color .4s var(--ease), text-decoration-color .4s var(--ease);
}

.legal a:hover {
  color: var(--rose-soft);
  text-decoration-color: var(--rose-soft);
}

/* ==============================
   6. RESPONSIVE
   ============================== */

/* Tablette (≤ 980 px) : passage en une seule colonne */
@media (max-width: 980px) {
  .foot {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-bottom: 40px;
  }
  .foot .brand {
    font-size: 26px;
  }
  .foot > div > p {
    max-width: 100%;
  }
}

/* Petit mobile (≤ 560 px) : ajustements fins */
@media (max-width: 560px) {
  footer,
  .site-footer {
    padding: 50px 0 24px;
  }
  .foot {
    gap: 36px;
  }
  .foot .brand {
    font-size: 22px;
  }
  .foot .sub {
    font-size: 15px;
  }
  .foot h5 {
    font-size: 15px;
  }
  .legal {
    font-size: 13px;
    padding-top: 22px;
  }
}