/* AUREL ACADEMY — Pages légales (mentions / conditions / confidentialité) */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }

:root {
  --bg: #FFF8F1;
  --bg-card: #FFFFFF;
  --ink: #14171F;
  --ink-2: #3A3F4D;
  --ink-mute: #6B7280;
  --gold: #B8851F;
  --orange: #F97316;
  --line: #E8E0D0;
  --line-2: #F0EAE0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
[dir="rtl"] body {
  font-family: 'Reem Kufi', 'Noto Sans Arabic', 'Inter', system-ui, sans-serif;
  line-height: 1.85;
}

.topbar {
  background: #0A0A0A;
  color: #F5F1EA;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245,241,234,0.08);
}
.topbar-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.brand {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #F5F1EA;
  text-decoration: none;
}
.brand .dot { color: var(--orange); }

.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(245,241,234,0.06);
  border: 1px solid rgba(245,241,234,0.10);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  background: transparent;
  border: none;
  color: rgba(245,241,234,0.55);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.lang-switch button.is-active { background: #F4B860; color: #0A0A0A; }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(184,133,31,0.10);
  border: 1px solid rgba(184,133,31,0.25);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
[dir="rtl"] .kicker { letter-spacing: normal; }

h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
[dir="rtl"] h1 { letter-spacing: normal; }

.updated {
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 40px;
}

article {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px clamp(24px, 4vw, 44px);
  box-shadow: 0 1px 0 rgba(20,23,31,0.02);
}

article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
[dir="rtl"] article h2 { letter-spacing: normal; }
article h2:first-child { margin-top: 0; }

article h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 8px;
}

article p { color: var(--ink-2); margin-bottom: 14px; }
article ul { margin: 6px 0 18px; padding-inline-start: 22px; color: var(--ink-2); }
article li { margin-bottom: 6px; }
article strong { color: var(--ink); font-weight: 700; }
article a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
article a:hover { color: var(--orange); }

.notice {
  background: #FFF4E5;
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: #7A4A1A;
}

footer {
  text-align: center;
  padding: 32px 20px;
  font-size: 13px;
  color: var(--ink-mute);
  border-top: 1px solid var(--line-2);
}
footer a { color: var(--ink-2); text-decoration: none; margin: 0 10px; }
footer a:hover { color: var(--gold); }

@media (max-width: 600px) {
  main { padding: 32px 16px 56px; }
  article { padding: 28px 18px; border-radius: 12px; }
  article h2 { font-size: 19px; }
}
