/* Couleurs de l'app (Theme.swift) : indigo en clair, lavande sur fond quasi noir teinté d'indigo en sombre.
   Ni vert ni rouge : la couleur de marque ne suggère aucun verdict. */
:root {
  --brand: #332E73; --brand-fill: #332E73; --soft: #EEEBFA;
  --text: #1c1c1e; --muted: #6b6b73; --bg: #ffffff; --panel: #F2F2F7; --line: #e4e2f0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #B8B3FA; --brand-fill: #5C54C7; --soft: #2B2950;
    --text: #f2f2f7; --muted: #a1a1aa; --bg: #120F21; --panel: #211F38; --line: #2e2b4a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
:lang(ar) body, body:lang(ar) { font-family: -apple-system, "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", sans-serif; line-height: 1.85; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }

.bar {
  max-width: 960px; margin: 0 auto; padding: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--text); }
.brand img { border-radius: 8px; }
.langs { font-size: 15px; color: var(--muted); }
.langs a { text-decoration: none; }
.langs a[aria-current] { color: var(--text); font-weight: 600; }

main { max-width: 960px; margin: 0 auto; padding: 8px 16px 48px; }

.hero { text-align: center; padding: 32px 0 24px; }
.mascot { width: 208px; }
.hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 16px auto 12px; max-width: 16em; color: var(--brand); letter-spacing: -0.01em; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; margin: 0 auto; }
.pill {
  display: inline-block; margin-top: 20px; padding: 14px 24px; border-radius: 999px;
  background: var(--brand-fill); color: #fff; font-weight: 600;
}
.offer { font-size: 15px; color: var(--muted); }

.features {
  list-style: none; padding: 0; margin: 24px 0 8px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px;
}
.card { background: var(--panel); border-radius: 20px; padding: 20px; }
.card img { height: 96px; width: auto; display: block; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.faq, .doc { max-width: 720px; margin: 0 auto; }
.faq h2, .doc h2 { margin-top: 2em; }
.faq h3 { margin: 1.4em 0 0.3em; font-size: 18px; }
.doc h1 { color: var(--brand); line-height: 1.2; }
.note { background: var(--soft); border-radius: 14px; padding: 14px 18px; }

footer {
  max-width: 960px; margin: 0 auto; padding: 24px 16px 48px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
footer p { margin: 4px 0; }
