/* Kalla : les couleurs de l'app (nuit #07070D, halo violet, cartes Or et Diamant, accents des passions). Site sombre seulement, comme l'app. */
:root {
  --text: #f5f5fa;
  --text-soft: #a1a1b5;
  --background: #07070d;
  --surface: #12121c;
  --surface-2: #1a1a26;
  --border: #262636;
  --gold: #ffc94d;
  --gold-grad: linear-gradient(135deg, #ffe07a 0%, #e0a526 55%, #8a5d10 100%);
  --diamond: #9d7bff;
  --diamond-grad: linear-gradient(135deg, #c9b8ff 0%, #7b5cff 55%, #2c1a8a 100%);
  --cyan: #4de3ff;
  --lime: #c8ff4d;
  --halo: radial-gradient(ellipse at 50% 30%, #2a1b5c 0%, #07070d 70%);
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 17px/1.65 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

a { color: var(--gold); }
img { max-width: 100%; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

.container { width: 100%; max-width: 980px; margin: 0 auto; padding-inline: 20px; }

/* En-tête */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--background) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar-content { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 22px; }
.logo-icon { width: 30px; height: 30px; border-radius: 8px; display: block; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--text-soft); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
.nav-links a.lang-switch { border: 1.5px solid var(--text-soft); border-radius: 999px; padding: 0 10px; font-size: 13px; line-height: 22px; }
.nav-links a.lang-switch:hover { color: var(--text); border-color: var(--text); }

/* Accueil */
.hero { background: var(--halo); padding-block: 64px 80px; text-align: center; }
.hero-icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 24px; display: block; box-shadow: 0 16px 60px rgba(224, 165, 38, 0.25); }
.hero h1 { font-size: clamp(40px, 8vw, 68px); margin: 0 0 12px; }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 620px; margin: 0 auto; font-size: 19px; color: #d4d4e2; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--gold-grad); color: #1a1205; }
.btn-secondary { border: 1.5px solid rgba(245, 245, 250, 0.35); color: var(--text); }

.section { padding-block: 64px; }
.section-title { font-size: clamp(28px, 4.5vw, 38px); text-align: center; margin: 0 0 12px; }
.section-lead { text-align: center; color: var(--text-soft); max-width: 640px; margin: 0 auto 40px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .emoji { font-size: 30px; }
.feature h3 { font-size: 20px; margin: 10px 0 6px; }
.feature p { margin: 0; color: var(--text-soft); }
.feature .soon { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--diamond); border: 1px solid currentColor; border-radius: 999px; padding: 0 10px; }

.free-card { max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--diamond-grad); color: #fff; }
.free-card h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 34px); }
.free-card p { margin: 0 0 12px; }
.free-card .small-note { margin: 0; opacity: 0.9; font-size: 15px; }

.download { background: var(--surface); border-block: 1px solid var(--border); text-align: center; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store { min-width: 190px; padding: 12px 22px; border-radius: 14px; background: var(--text); color: var(--background); text-decoration: none; font-weight: 700; }
.store small { display: block; font-weight: 500; opacity: 0.75; }
.store[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }

.contact-card { max-width: 620px; margin: 0 auto; text-align: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 24px; }
.contact-card h2 { margin-top: 0; }

/* Pages légales et support */
.page { padding-block: 48px 72px; }
.page-header { margin-bottom: 32px; }
.page-header h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; }
.page-header p { color: var(--text-soft); margin: 0; }
.prose { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 24px 0 6px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { font-weight: 700; }
.note { background: var(--surface-2); border-left: 4px solid var(--gold); border-radius: 14px; padding: 14px 18px; }
details { border-bottom: 1px solid var(--border); padding-block: 14px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--text-soft); }

/* Pied de page */
.footer { border-top: 1px solid var(--border); padding-block: 32px; color: var(--text-soft); font-size: 15px; }
.footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text-soft); }
