/* ========================================
   LAYOUT/FOOTER.CSS
   Footer : structure 4 colonnes, widgets, barre légale, copyright
   Lignes originales : 634-818
   ======================================== */

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */

.sc-footer {
  background-color: var(--color-bleu-nuit);
  color: var(--color-texte-inverse);
}

.sc-footer__container {
  max-width: var(--grid-max-width);
  margin-inline: auto;
  padding-inline: var(--grid-padding-x);
}

/* Main */
.sc-footer__main { padding-block: var(--space-9) var(--space-7); }

.sc-footer__container:first-child {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
  gap: var(--space-8);
}

/* Logo */
.sc-footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  margin-bottom: var(--space-5);
}
.sc-footer__logo-wrap img { width: 40px; height: auto; flex-shrink: 0; }

.sc-footer__logo-texte {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.sc-footer__logo-prefix {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: var(--text-xs);
  color: rgba(250, 248, 243, 0.75);
  text-transform: none;
}
.sc-footer__logo-nom {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-or);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sc-footer__desc {
  font-size: var(--text-sm);
  color: rgba(250, 248, 243, 0.65);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

/* Réseaux sociaux */
.sc-footer__reseaux { display: flex; gap: var(--space-2); }

.sc-footer__reseau {
  width: 36px;
  height: 36px;
  background: var(--color-or);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bleu-nuit);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.sc-footer__reseau:hover { background: var(--color-or-hover); color: var(--color-bleu-nuit); text-decoration: none; }

/* Titres colonnes */
.sc-footer__col-titre {
  font-family: var(--font-corps);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-fond-base);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(250, 248, 243, 0.15);
}

/* Contact */
.sc-footer__contact-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.sc-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(250, 248, 243, 0.75);
  line-height: 1.5;
}
.sc-footer__contact-item svg { color: var(--color-or); flex-shrink: 0; margin-top: 2px; }

/* Liens rapides */
.sc-footer__liens {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.sc-footer__liens a {
  font-size: var(--text-sm);
  color: rgba(250, 248, 243, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: block;
  padding-block: var(--space-1);
}
.sc-footer__liens a:hover { color: var(--color-or); text-decoration: none; }

/* Horaires */
.sc-footer__horaires {
  width: 100%;
  border-collapse: collapse;
}
.sc-footer__horaires tr { border-bottom: 1px solid rgba(250, 248, 243, 0.08); }
.sc-footer__jour {
  font-size: var(--text-sm);
  color: rgba(250, 248, 243, 0.65);
  padding-block: var(--space-2);
  padding-right: var(--space-4);
  white-space: nowrap;
}
.sc-footer__heure {
  font-size: var(--text-sm);
  color: var(--color-fond-base);
  font-weight: 600;
  text-align: right;
  padding-block: var(--space-2);
}
.sc-footer__ferme .sc-footer__jour,
.sc-footer__ferme .sc-footer__heure {
  color: rgba(250, 248, 243, 0.35);
  font-weight: 400;
}

/* Barre légale */
.sc-footer__legal {
  border-top: 1px solid rgba(250, 248, 243, 0.12);
  padding-block: var(--space-4);
}
.sc-footer__legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(250, 248, 243, 0.45);
}
.sc-footer__legal-liens { display: flex; gap: var(--space-5); }
.sc-footer__legal-liens a {
  font-size: var(--text-xs);
  color: rgba(250, 248, 243, 0.45);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.sc-footer__legal-liens a:hover { color: var(--color-or); text-decoration: none; }

.sc-footer :focus-visible { outline-color: var(--color-or); }

/* Responsive footer */
@media (max-width: 1024px) {
  .sc-footer__container:first-child { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (max-width: 600px) {
  .sc-footer__container:first-child { grid-template-columns: 1fr; }
  .sc-footer__legal-inner { flex-direction: column; gap: var(--space-3); text-align: center; }
}
