/* Pages juridiques (CGV, CGU, confidentialité, suppression de compte) : même identité que le site, la boutique et le configurateur. */
:root {
  --bg: #0d0a12;
  --surface: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .14);
  --text: #f7f4fb;
  --muted: #bdb6ca;
  --accent: #d4af5f;
  --accent-ink: #17120a;
  --max-width: 820px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg); line-height: 1.7;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 8% 6%, rgba(212, 175, 95, .2), transparent 70%),
    radial-gradient(50% 40% at 96% 38%, rgba(150, 90, 210, .14), transparent 70%),
    var(--bg);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

header { padding: 14px 16px; border-bottom: 1px solid var(--line); }
header .container { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 10px; }
header img { height: 30px; width: auto; }
header h1 { font-size: 18px; margin: 0; font-weight: 700; }

nav { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); }
nav .container { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 16px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 2px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--text); }
nav a[href$="cgv.html"]:hover, nav a:hover { border-bottom-color: var(--accent); }
nav .langs { margin-left: auto; display: flex; gap: 8px; }
nav .langs a { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
nav .langs a:hover { border-color: var(--accent); color: var(--accent); }

main { max-width: var(--max-width); margin: 0 auto; padding: 28px 16px 64px; }
main > h2:first-child { font-size: clamp(26px, 5vw, 36px); margin: 8px 0 6px; line-height: 1.15; }
main > p:first-of-type em { color: var(--muted); font-size: 14px; }
h2 { font-size: 20px; margin: 36px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); line-height: 1.3; color: var(--text); }
main > h2:first-child { border-top: 0; padding-top: 0; }
h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
main > h2:first-child::before { display: none; }
h3 { margin: 22px 0 6px; font-size: 16px; }
p, li { color: #e6e0ee; }
p { margin: 0 0 12px; }
ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 4px; }
strong { color: var(--text); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #f0d28c; }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); color: var(--text); }

.button { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 10px 18px; border-radius: 12px; text-decoration: none; margin-top: 6px; }
.button:hover { background: #e4c071; color: var(--accent-ink); }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 22px 16px 34px; border-top: 1px solid var(--line); }

@media (max-width: 560px) {
  nav .langs { margin-left: 0; width: 100%; }
}
@media print {
  body { background: #fff; color: #000; }
  body::before { display: none; }
  nav, header { display: none; }
  p, li, strong, h2, h3 { color: #000; }
  a { color: #000; }
}
