:root {
  --bg: #f1f0ed;
  --surface: #ffffff;
  --border: #e2e0da;
  --brand: #e67561;
  --brand-dim: #e675611a;
  --brand-ink: #a84631;
  --gold: #d4a017;
  --success: #4a9b72;
  --success-dim: #4a9b721a;
  --text: #242320;
  --text-muted: #6b6a62;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --round: "Fredoka", "Inter", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-ink); }

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

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.nav-word {
  font-family: var(--round);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a.ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a.ghost:hover { color: var(--text); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover { background: var(--brand-ink); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover { border-color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0 84px;
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 15ch;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 44ch;
  margin: 0 0 28px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-ctas .btn { padding: 13px 22px; font-size: 15px; }

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Mock chat card ---------- */
.chat-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(36, 35, 32, 0.08);
}

.chat-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.chat-mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.chat-q {
  align-self: flex-end;
  background: var(--brand-dim);
  color: var(--brand-ink);
  border-radius: 12px 12px 2px 12px;
  padding: 10px 14px;
  font-size: 14px;
  max-width: 85%;
  margin: 0 0 14px auto;
}

.chat-a {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 2px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-a .figure {
  font-family: var(--round);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  display: block;
  margin: 6px 0 8px;
}

.chat-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--success);
  background: var(--success-dim);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 4px;
}

/* ---------- Section shell ---------- */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 54ch;
  margin: 0 0 40px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.section-head p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-num {
  font-family: var(--round);
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
  background: var(--brand-dim);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Comparaison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.compare-col {
  background: var(--surface);
  padding: 28px 26px;
}

.compare-col.is-dokle { background: #fffaf8; }

.compare-col h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text-muted);
}

.compare-col.is-dokle h3 { color: var(--brand-ink); }

.compare-line {
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.compare-line:first-of-type { border-top: none; padding-top: 0; }

.compare-col.is-dokle .compare-line { font-weight: 500; }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

.plan.is-highlight {
  border-color: var(--brand);
  box-shadow: 0 14px 32px rgba(230, 117, 97, 0.14);
  transform: translateY(-6px);
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}

.plan-tag {
  font-size: 12px;
  color: var(--brand-ink);
  font-weight: 600;
  margin: 0 0 18px;
}

.plan-price {
  font-family: var(--round);
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 2px;
}

.plan-price span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 20px;
  min-height: 34px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.plan li {
  font-size: 13.5px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.plan .btn { width: 100%; text-align: center; }

/* ---------- Footer ---------- */
.foot {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.foot .brand-word {
  font-family: var(--round);
  font-weight: 500;
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero h1 { font-size: 34px; max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .plan.is-highlight { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
