/* Takbir — « Noir et blanc, touche d'or », comme dans l'app. */

:root {
  --background: #000;
  --card: #111;
  --border: #222;
  --text: #fff;
  --secondary: #9a9a9a;
  --gold: #c9a86a;
  --gold-gradient: linear-gradient(180deg, #ffffff 0%, #c9a86a 100%);
}

* { box-sizing: border-box; }

/* Une seule langue visible à la fois */
html[data-lang="fr"] [data-l="en"],
html[data-lang="en"] [data-l="fr"] { display: none !important; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--background);
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Halo doré discret en haut de page */
body::before {
  content: "";
  position: fixed;
  inset: -30vh -20vw auto;
  height: 70vh;
  background: radial-gradient(ellipse at center, rgba(201, 168, 106, 0.16), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

a { color: var(--text); }

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
}

/* ---------- Accueil ---------- */

.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
}

.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 25px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(201, 168, 106, 0.18);
}

.hero h1 {
  margin: 8px 0 0;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  max-width: 460px;
  font-size: 18px;
  color: var(--secondary);
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--text);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease;
}
.store-button:hover { transform: translateY(-1px); }
.store-button svg { width: 22px; height: 22px; }
.store-button small { display: block; font-size: 11px; font-weight: 500; line-height: 1.1; }
.store-button span { text-align: left; line-height: 1.15; }

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.features li {
  list-style: none;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  color: var(--secondary);
}
.features ul { padding: 0; margin: 0; display: contents; }

/* ---------- Pages de texte (confidentialité, conditions…) ---------- */

.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--secondary);
  font-size: 15px;
}
.back img { width: 32px; height: 32px; border-radius: 8px; }

.doc h1 {
  margin: 28px 0 4px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.doc .updated { color: var(--secondary); font-size: 14px; margin: 0 0 28px; }
.doc h2 { margin: 32px 0 8px; font-size: 20px; }
.doc p, .doc li { color: #d6d6d6; }
.doc ul { padding-left: 20px; }
.doc strong { color: var(--text); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 18px 0;
}

/* ---------- Pied de page ---------- */

footer {
  padding: 24px 20px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--secondary);
}
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
footer a { color: var(--secondary); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
