/* ============================================
   FOOTER — TyMod / BRIERO
   Fond #1a2e22 · Doré #c5a86a · Blanc cassé
   ============================================ */

.site-footer {
  background-color: #1a2e22;
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 1.5rem 1rem;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 3px solid #c5a86a;
}

.site-footer .container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------- Grid ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Colonnes ---------- */
.footer-col {
  min-width: 0;
}

/* ---------- Logo ---------- */
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #c5a86a;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.footer-logo small {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 0.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Description ---------- */
.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ---------- Contact info ---------- */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-info-item {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.25rem;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-info-item:hover {
  color: #c5a86a;
}

.footer-hours {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ---------- Headings ---------- */
.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(197, 168, 106, 0.4);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #c5a86a;
}

/* ---------- Links ---------- */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: #c5a86a;
  padding-left: 4px;
}

/* Partenaires : taille réduite */
.footer-partners li {
  margin-bottom: 0.35rem;
}

.footer-partners a {
  font-size: 0.8rem;
}

/* ---------- Badges ---------- */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.footer-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #c5a86a;
  background: rgba(197, 168, 106, 0.12);
  border: 1px solid rgba(197, 168, 106, 0.25);
  border-radius: 4px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Social ---------- */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #c5a86a;
  color: #1a2e22;
  transform: translateY(-2px);
}

/* ---------- Legal links (colonne 5) ---------- */
.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #c5a86a;
}

/* ---------- Copyright & Credit ---------- */
.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin: 0.75rem 0 0.25rem;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  margin: 0;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: #c5a86a;
}

/* ---------- Barre légale ---------- */
.footer-legal-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.footer-legal-text {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */

/* Tablette : 3 colonnes */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.75rem;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile large : 2 colonnes */
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1.25rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

/* Petit mobile : 1 colonne */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-legal-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }
}
