/* ==========================================
   O'CASE AFFAIRE — FOOTER COMMUN
   Ordinateur, tablette et mobile
   ========================================== */

/* FOOTER PRINCIPAL */

.oc-footer {
  display: block;
  background: #361923;
  color: #fff8f4;
  padding: 0;
  border-top: 3px solid #b58c65;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* CONTENEUR */

.oc-footer .oc-footer__inner {
  display: block;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 24px;
}

/* LES QUATRE COLONNES */

.oc-footer .oc-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.oc-footer .oc-footer__grid > * {
  min-width: 0;
}

/* TITRES */

.oc-footer h2,
.oc-footer h3 {
  color: #f2d4a9;
  margin: 0 0 16px;
  line-height: 1.35;
}

.oc-footer h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.oc-footer h3 {
  font-size: 14px;
  font-weight: 700;
}

/* PRÉSENTATION ENSEIGNE */

.oc-footer .oc-footer__brand {
  display: block;
}

.oc-footer .oc-footer__brand p {
  margin: 0 0 13px;
  color: #e8d8d8;
  font-size: 13px;
  line-height: 1.8;
}

/* NAVIGATION */

.oc-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* CONTACT */

.oc-footer .oc-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
}

/* LIENS */

.oc-footer a {
  display: inline-block;
  color: #f5e9e9;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.oc-footer a:hover {
  color: #f2d4a9;
  text-decoration: underline;
}

.oc-footer a:focus-visible {
  outline: 2px solid #f2d4a9;
  outline-offset: 4px;
  border-radius: 3px;
}

/* BAS DU FOOTER */

.oc-footer .oc-footer__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 42px;
  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.oc-footer .oc-footer__bottom span {
  color: #d9bdc5;
  font-size: 12px;
  line-height: 1.5;
}

/* ==========================================
   TABLETTE
   ========================================== */

@media (max-width: 960px) {

  .oc-footer .oc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 650px) {

  .oc-footer .oc-footer__inner {
    width: calc(100% - 36px);
    padding: 38px 0 24px;
  }

  .oc-footer .oc-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .oc-footer h2 {
    font-size: 18px;
  }

  .oc-footer h3 {
    margin-bottom: 10px;
  }

  .oc-footer nav,
  .oc-footer .oc-footer__contact {
    gap: 9px;
  }

  .oc-footer .oc-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 34px;
  }

}
