/* ============================================================
   FOOTER — Magasin des Coiffeurs
   Architecture : trust bar → 2 zones (brand | colonnes) → bottom
   Principe : le contenu dicte la taille, pas linverse
   ============================================================ */

.mdc-site-footer-shell {
  background:
    radial-gradient(circle at top left, rgba(199, 155, 56, 0.18), transparent 36%),
    linear-gradient(180deg, #15110a 0%, #0d0a06 100%);
  color: #f4efe7;
  border-top: 1px solid rgba(199, 155, 56, 0.22);
}

.mdc-site-footer-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 22px;
}

/* --- Trust bar (3 colonnes) --- */
.mdc-footer-trustbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.mdc-footer-trustitem {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.mdc-footer-trustitem strong {
  display: block;
  margin-bottom: 6px;
  color: #f7d98b;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mdc-footer-trustitem span {
  display: block;
  color: rgba(244, 239, 231, 0.8);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --- Grille principale : brand (gauche) + 4 colonnes (droite) ---
   Clé de voûte : le conteneur impose min-width:0 et overflow-wrap
   sur TOUS les enfants. Aucun texte ne peut déborder, quelle que
   soit sa longueur (email, URL, titre long). */

.mdc-footer-grid {
  display: grid;
  grid-template-columns: 280px repeat(4, minmax(0, 1fr));
  gap: 24px 28px;
  align-items: start;
}

/* Règle racine anti-débordement : appliquée à TOUT le footer grid */
.mdc-footer-grid * {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* --- Brand (colonne 1, largeur fixe) --- */
.mdc-footer-brand {
  padding-right: 12px;
}

.mdc-footer-kicker {
  margin: 0 0 10px;
  color: #f7d98b;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mdc-footer-brand h2 {
  margin: 0 0 12px;
  color: #fff8ee !important;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.mdc-footer-intro {
  margin: 0;
  color: rgba(244, 239, 231, 0.8);
  font-size: 0.88rem;
  line-height: 1.65;
}

.mdc-footer-actions,
.mdc-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mdc-footer-actions { margin-top: 18px; }
.mdc-footer-socials { margin-top: 14px; }

.mdc-footer-actions a,
.mdc-footer-socials a {
  text-decoration: none;
}

.mdc-footer-actions a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 217, 139, 0.4);
  color: #fff8ee;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background 180ms ease;
}

.mdc-footer-actions a:hover {
  border-color: rgba(247, 217, 139, 0.75);
  background: rgba(199, 155, 56, 0.14);
}

.mdc-footer-socials a {
  color: rgba(244, 239, 231, 0.65);
  font-size: 0.85rem;
}

.mdc-footer-socials a:hover { color: #f7d98b; }

/* --- Colonnes (2, 3, 4, 5) --- */
.mdc-footer-column {
  padding-top: 2px;
}

.mdc-footer-column h3 {
  margin: 0 0 12px;
  color: #fff4d8;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mdc-footer-column a,
.mdc-footer-column p {
  display: block;
  margin: 0 0 8px;
  color: rgba(244, 239, 231, 0.75);
  font-size: 0.85rem;
  line-height: 1.55;
  text-decoration: none;
}

.mdc-footer-column a:hover { color: #f7d98b; }
.mdc-footer-column strong { color: #fff4d8; }

/* --- Bottom bar --- */
.mdc-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mdc-footer-bottom p {
  margin: 0;
  color: rgba(244, 239, 231, 0.55);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* --- RESPONSIVE --- */

/* Tablette : brand full width, 4 colonnes en dessous */
@media (max-width: 1100px) {
  .mdc-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
  .mdc-footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    max-width: 500px;
  }
}

/* Mobile : tout empilé */
@media (max-width: 640px) {
  .mdc-site-footer-inner {
    width: calc(100% - 32px);
    padding-top: 28px;
  }
  .mdc-footer-trustbar,
  .mdc-footer-grid {
    grid-template-columns: 1fr;
  }
  .mdc-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
