/* ====================================================================
   legal.css — styles partagés des pages légales (Mijoo)
   Cohérent avec la charte de la landing page.
   ==================================================================== */
:root {
  --terracotta: #c56c4e;
  --ocre: #dda24e;
  --sauge: #8e9b6f;
  --argile: #a04e33;
  --olive: #5f6b49;
  --sable: #e8dac4;
  --terre: #44382a;
  --creme: #fbf6ee;
  --creme-2: #f6eede;
  --carte: #fffdf8;
  --terre-muted: rgba(68, 56, 42, 0.74);
  --terre-faint: rgba(68, 56, 42, 0.55);
  --hairline: rgba(68, 56, 42, 0.12);
  --hairline-2: rgba(68, 56, 42, 0.08);
  --r-md: 16px;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(221, 162, 78, 0.10), transparent 60%),
    radial-gradient(820px 620px at -5% 8%, rgba(142, 155, 111, 0.09), transparent 60%),
    var(--creme);
  color: var(--terre);
  font-family: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.04rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--argile); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--terracotta); }

:focus-visible { outline: 3px solid var(--sauge); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 820px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

/* En-tête */
.legal-header {
  border-bottom: 1px solid var(--hairline-2);
  background: rgba(251, 246, 238, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  position: sticky; top: 0; z-index: 10;
}
.legal-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--terre); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.35rem; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 0.95rem; color: var(--terre-muted);
  text-decoration: none; padding: 8px 14px; border: 1px solid var(--hairline);
  border-radius: var(--r-pill); transition: background-color .18s ease, color .18s ease;
}
.back-link:hover { background: var(--creme-2); color: var(--terre); }
.back-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Contenu */
.legal-main { padding-block: clamp(40px, 7vw, 80px); }
.legal-main h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.legal-eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--argile); margin-bottom: 14px;
}
.legal-updated { color: var(--terre-faint); font-size: 0.92rem; margin: 0 0 36px; }

.legal-main h2 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 40px 0 12px; padding-top: 8px;
}
.legal-main h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.12rem; margin: 22px 0 8px; }
.legal-main p, .legal-main li { color: var(--terre-muted); }
.legal-main p { margin: 0 0 14px; }
.legal-main ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal-main li { margin-bottom: 6px; }
.legal-main strong { color: var(--terre); font-weight: 700; }

/* Carte d'info (éditeur, hébergeur…) */
.info-card {
  background: var(--carte); border: 1px solid var(--hairline-2);
  border-radius: var(--r-md); padding: 22px 24px; margin: 0 0 18px;
}
.info-card p { margin: 0 0 4px; }
.info-card p:last-child { margin-bottom: 0; }

/* Encadré « à compléter » bien visible */
.todo {
  background: rgba(221, 162, 78, 0.14);
  border: 1px dashed var(--ocre);
  border-radius: var(--r-md);
  padding: 14px 18px; margin: 0 0 18px;
  font-size: 0.95rem; color: var(--terre);
}
.todo strong { color: var(--argile); }

hr.sep { border: none; border-top: 1px solid var(--hairline); margin: 40px 0; }

/* Pied de page */
.legal-footer {
  border-top: 1px solid var(--hairline);
  background: var(--creme-2);
  padding-block: 34px;
}
.legal-footer .container { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-footer a { color: var(--terre-muted); font-weight: 600; text-decoration: none; }
.legal-footer a:hover { color: var(--terracotta); }
.legal-footer .copyright { color: var(--terre-faint); font-size: 0.9rem; }
.legal-footer .baseline { font-family: "Fraunces", serif; font-style: italic; color: var(--terre-muted); }
