:root {
  --navy: #0a2038;
  --navy-2: #12304f;
  --gold: #f5b301;
  --gold-2: #ffd45c;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --fg: #0d1b2a;
  --muted: #5b6878;
  --border: #e3e7ee;
  --card: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1626;
    --bg-soft: #0f1e33;
    --fg: #eef2f8;
    --muted: #9aa8bb;
    --border: #1f324c;
    --card: #10223a;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* En-tête */
header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
}
nav.lang a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-left: 14px;
}
nav.lang a.on {
  color: var(--fg);
  font-weight: 600;
}

/* Accroche */
.hero {
  text-align: center;
  padding: 56px 0 40px;
}
.hero .icon {
  width: 128px;
  height: 128px;
  filter: drop-shadow(0 12px 28px rgba(10, 32, 56, 0.35));
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--muted);
  max-width: 680px;
  margin: 18px auto 0;
}
.cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 17px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(245, 179, 1, 0.35);
}
.btn:hover {
  filter: brightness(1.05);
}
.cta small {
  color: var(--muted);
  font-size: 13px;
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 999px;
  padding: 3px 10px;
}

/* Capture */
.shot {
  margin: 48px auto 0;
  max-width: 980px;
}
.shot img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(10, 32, 56, 0.28);
}

/* Fonctions */
section.features {
  padding: 72px 0 24px;
}
section h2 {
  font-size: clamp(26px, 4vw, 34px);
  text-align: center;
  letter-spacing: -0.01em;
}
section .sub {
  text-align: center;
  color: var(--muted);
  margin-top: 8px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
}
.card .k {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
}

/* Installation (bêta non signée) */
section.install {
  padding: 56px 0;
}
.steps {
  max-width: 720px;
  margin: 28px auto 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
}
.steps ol {
  padding-left: 20px;
}
.steps li + li {
  margin-top: 8px;
}
.steps p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
kbd {
  font: 12px ui-monospace, Menlo, monospace;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  background: var(--card);
}

/* Pied de page */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
footer .links a {
  margin-right: 16px;
}
footer p + p {
  margin-top: 8px;
}

/* Pages de texte (confidentialité, mentions) */
.doc {
  max-width: 760px;
  margin: 24px auto 64px;
}
.doc h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.doc h2 {
  font-size: 20px;
  text-align: left;
  margin: 28px 0 8px;
}
.doc p,
.doc li {
  color: var(--fg);
}
.doc .muted {
  color: var(--muted);
}
.doc ul {
  padding-left: 20px;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 32px;
  }
  .hero .icon {
    width: 96px;
    height: 96px;
  }
}
