/* ==========================================================================
   Mentions légales
   ========================================================================== */

.legal-card {
  box-sizing: border-box;
  width: min(100%, 390px);
  max-width: 390px;
  margin: 28px auto 0;
  padding: 18px 20px 20px;
  border: 3px solid transparent;
  border-radius: 22px;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(145deg, #234f42 0%, #3f7854 52%, #88a95a 100%) border-box;
  box-shadow: 0 10px 24px rgba(35, 79, 66, 0.08);
  text-align: center;
}

.legal-logo {
  display: block;
  width: min(72%, 230px);
  height: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

.legal-card p:not(.legal-title) {
  margin: 0 auto 14px;
  color: #687b42;
  -webkit-text-fill-color: #687b42;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.legal-button {
  display: grid;
  place-items: center;
  width: fit-content;
  max-width: calc(100% - 12px);
  min-height: 47px;
  margin: 0 auto;
  padding: 10px 22px;
  border: 2px solid rgba(28, 55, 48, 0.14);
  border-radius: 999px;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: #2f7ecb;
  box-shadow: 0 4px 7px rgba(29, 59, 61, 0.18);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.legal-button:active {
  transform: scale(0.97);
}
