/* Pages légales Mobizone — aligné sur la vitrine */
:root {
  --ink: #0c1a24;
  --ink-soft: #3a4f5c;
  --paper: #e8f0f4;
  --brand: #0d6e6e;
  --brand-deep: #084848;
  --line: rgba(12, 26, 36, 0.1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(13, 110, 110, 0.16), transparent 55%),
    linear-gradient(165deg, #d4e3eb 0%, #eef4f7 50%, #c5d6e0 100%);
  min-height: 100vh;
}

a { color: inherit; }

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}

.brand-link {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brand-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.lang { display: flex; gap: 0.35rem; }
.lang button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.lang button[aria-pressed="true"] {
  border-color: var(--brand);
  color: var(--brand-deep);
  font-weight: 600;
}

main.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0.5rem clamp(1rem, 3vw, 2rem) 3rem;
}

.disclaimer {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid #f0d9a8;
  background: #fff8eb;
  color: #6b4e12;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
}
.legal-nav a {
  color: var(--brand);
  text-underline-offset: 2px;
}
.legal-nav a[aria-current="page"] {
  font-weight: 600;
  color: var(--brand-deep);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--brand-deep);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.updated {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

section {
  margin: 0 0 1.5rem;
}
section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
section p {
  margin: 0 0 0.65rem;
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
section ul {
  margin: 0.25rem 0 0.65rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
section li { margin-bottom: 0.25rem; }

.back {
  margin-top: 2rem;
  font-size: 0.9rem;
}
.back a {
  color: var(--brand);
  text-underline-offset: 2px;
}

footer.site-footer {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  background: #083c3c;
  color: rgba(232, 240, 244, 0.7);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
footer.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}
footer.site-footer a {
  color: rgba(232, 240, 244, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
