/* FlowIoT — pages légales (/mentions-legales/)
   Complément à style.css : reprend les variables, le header et les boutons. */

.legal {
  position: relative;
  z-index: 1;
  padding: 160px 0 110px;
}
.legal .wrap { max-width: 860px; }

.legal__head { margin-bottom: 56px; }
.legal__head h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 18px 0 20px;
}
.legal__head p {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal__section { margin-bottom: 48px; }
.legal__section h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.legal__section p {
  margin-bottom: 14px;
  line-height: 1.75;
}
.legal__section a { color: var(--cyan); }
.legal__section a:hover { text-decoration: underline; }

/* Fiche d'identité : libellé / valeur */
.legal__facts {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}
.legal__facts > div {
  display: grid;
  grid-template-columns: minmax(180px, 34%) 1fr;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(14, 21, 48, .72);
}
.legal__facts dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  align-self: center;
}
.legal__facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}

.legal__note {
  font-size: .9rem;
  color: var(--text-muted);
}
.legal__back { margin-top: 56px; }

@media (max-width: 640px) {
  .legal { padding: 130px 0 80px; }
  .legal__facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
