/* Site officiel d'Otonom (otonm.com) — même direction que l'app (D5 « calme international »). */
:root {
  color-scheme: dark;
  --bg: #0b0a10;
  --raised: #100e17;
  --border: rgb(255 255 255 / 0.08);
  --text: #ecebf2;
  --muted: #a8a4b8;
  --faint: #716c84;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --radius: 14px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
}

.nav,
main,
.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
}

.nav nav a:not(.btn):hover {
  color: var(--text);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

.logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: rgb(255 255 255 / 0.04);
}

.btn:hover {
  background: rgb(255 255 255 / 0.08);
}

.btn-primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #6d28d9;
}

.hero {
  padding: 96px 0 72px;
  max-width: 760px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.lead {
  margin: 24px 0 32px;
  font-size: 19px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--faint);
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.section-lead {
  margin: 0 0 32px;
  color: var(--muted);
}

h3 {
  margin: 12px 0 2px;
  font-size: 18px;
  font-weight: 600;
}

.team,
.features,
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.team {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.team li,
.steps li {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--raised);
}

.team img {
  border-radius: 14px;
  object-fit: cover;
}

.team p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.team .role {
  color: var(--accent-light);
  font-size: 13px;
}

.steps {
  margin-top: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(124 58 237 / 0.18);
  color: var(--accent-light);
  font-weight: 700;
}

.steps p {
  margin: 4px 0 0;
  color: var(--muted);
}

.features {
  margin-top: 24px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.features li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.features strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.cta {
  padding: 80px 0 96px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta h2 {
  margin-bottom: 24px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 13px;
}

.footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 720px) {
  .nav nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .footer {
    flex-direction: column;
  }
}
