/* Feuille de style partagée par les pages légales (mentions + confidentialité).
   Reprend les mêmes variables que index.html, en version allégée. */

:root{
  --bg:#131315;
  --bg-elevated:#1c1d20;
  --red:#e8352a;
  --white:#f3f2ef;
  --steel:#9a9ea5;
  --steel-dim:#64676c;
  --line:#34363a;
  --display:'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body:'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono:'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

*{ margin:0; padding:0; box-sizing:border-box; }

body{
  background:var(--bg);
  color:var(--white);
  font-family:var(--body);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  padding:0 20px 90px;
}

a{ color:inherit; }

.legal-wrap{ max-width:760px; margin:0 auto; }

/* --- En-tête --- */
.legal-top{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  flex-wrap:wrap;
  padding:26px 0; margin-bottom:44px;
  border-bottom:1px solid var(--line);
}
.legal-logo{
  display:flex; align-items:center; gap:12px; text-decoration:none;
  font-family:var(--display); font-weight:700; font-size:24px;
  letter-spacing:0.02em; text-transform:uppercase;
}
.legal-logo img{ height:42px; width:auto; display:block; }
@media (max-width:560px){ .legal-logo img{ height:34px; } }
.legal-back{
  font-family:var(--mono); font-size:12px; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--steel);
  text-decoration:none; display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line); padding:9px 16px; border-radius:999px;
  transition:border-color .2s ease, color .2s ease;
}
.legal-back:hover{ color:var(--white); border-color:var(--steel); }
.legal-back svg{ width:14px; height:14px; }

/* --- Contenu --- */
.legal-eyebrow{
  font-family:var(--mono); font-size:12px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--red);
  display:flex; align-items:center; gap:10px; margin-bottom:14px;
}
.legal-eyebrow::before{ content:""; width:22px; height:1px; background:var(--red); }

h1{
  font-family:var(--display); font-weight:700; text-transform:uppercase;
  font-size:clamp(32px,5.6vw,48px); line-height:1.02; letter-spacing:0.01em;
  margin-bottom:14px;
}
.legal-updated{
  font-family:var(--mono); font-size:12px; color:var(--steel-dim);
  margin-bottom:46px;
}

h2{
  font-family:var(--display); font-weight:700; text-transform:uppercase;
  font-size:22px; letter-spacing:0.02em;
  margin:44px 0 14px; padding-top:22px;
  border-top:1px solid var(--line);
}
h2:first-of-type{ border-top:none; padding-top:0; margin-top:0; }

h3{
  font-family:var(--body); font-weight:600; font-size:16px;
  color:var(--white); margin:24px 0 8px;
}

p{ color:var(--steel); margin-bottom:14px; max-width:66ch; }
p strong{ color:var(--white); font-weight:600; }

ul{ list-style:none; margin:0 0 18px; display:flex; flex-direction:column; gap:9px; }
li{ color:var(--steel); padding-left:20px; position:relative; max-width:66ch; }
li::before{
  content:""; position:absolute; left:2px; top:11px;
  width:5px; height:5px; border-radius:50%; background:var(--red);
}
li strong{ color:var(--white); font-weight:600; }

.legal-card{
  background:var(--bg-elevated); border:1px solid var(--line);
  border-radius:14px; padding:24px 26px; margin:0 0 20px;
}
.legal-card p:last-child{ margin-bottom:0; }
.legal-card a{ color:var(--steel); text-decoration:none; border-bottom:1px solid var(--line); }
.legal-card a:hover{ color:var(--red); border-color:var(--red); }

.legal-note{
  border:1px dashed var(--line); border-radius:12px;
  padding:16px 20px; margin:26px 0;
  font-size:14px; color:var(--steel-dim);
}

p a, li a{ color:var(--steel); text-decoration:underline; text-underline-offset:3px; }
p a:hover, li a:hover{ color:var(--red); }

/* --- Pied --- */
.legal-foot{
  border-top:1px solid var(--line); margin-top:56px; padding-top:24px;
  font-size:13px; color:var(--steel-dim);
  display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;
}
.legal-foot a{ color:var(--steel-dim); text-decoration:none; }
.legal-foot a:hover{ color:var(--red); }

:focus-visible{ outline:2px solid var(--red); outline-offset:3px; }

@media (max-width:560px){
  .legal-top{ padding:20px 0; margin-bottom:34px; }
  h2{ font-size:20px; }
}
