/* Palette reprise de lib/theme.ts (app Prepz) pour rester cohérent avec l'app mobile. */
:root {
  --bg: #101208;
  --bg-alt: #0C0D09;
  --card: #171A11;
  --card-alt: #12140D;
  --border: #262B1D;
  --input-border: #3A4030;
  --accent: #3DE8FF;
  --accent-on: #151806;
  --gold: #F2C94C;
  --danger: #FF6B4A;
  --text: #F1F3E8;
  --text-secondary: #C9CFBB;
  --text-muted: #969D86;
  --text-faint: #5E6452;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 18, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--accent);
  text-decoration: none;
}
.site-header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-left: 28px;
}
.site-header nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 90px 0 70px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
}
.btn-disabled {
  background: var(--card);
  color: var(--text-faint);
  border: 1px solid var(--border);
  cursor: default;
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--input-border);
}

/* Sections */
section { padding: 64px 0; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin: 0 0 10px;
}
.section-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 48px;
  text-transform: uppercase;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.feature-card .icon { font-size: 28px; margin-bottom: 14px; display: block; }
.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Screenshots */
.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.screen-placeholder {
  aspect-ratio: 9 / 19.5;
  border: 1.5px dashed var(--input-border);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
  background: var(--card-alt);
}
.screen-shot {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--border);
  display: block;
}

/* CTA repeat */
.cta-band {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 24px;
}
.cta-band h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.cta-band p {
  color: var(--text-secondary);
  margin: 0 0 28px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 40px;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
}
footer.site-footer nav a {
  color: var(--text-faint);
  text-decoration: none;
  margin-left: 20px;
}
footer.site-footer nav a:hover { color: var(--text-secondary); }

/* Page mentions / confidentialité */
.legal-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.legal-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal {
  padding: 56px 0 80px;
  max-width: 760px;
}
.legal h1 {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.legal-updated {
  color: var(--text-faint);
  font-size: 13px;
  margin: 0 0 40px;
}
.legal h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 36px 0 10px;
}
.legal p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 15px;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .site-header nav { display: none; }
}
