/* SmartDemal — page produit. Charte de l'app web (tokens.css) : vert brand
   #1f9d57, fond sauge #f1f4ec, encre #16241c. Une seule feuille, zéro build. */

:root {
  --bg: #f1f4ec;
  --surface: #ffffff;
  --ink: #16241c;
  --ink-2: #59685c;
  --ink-3: #8a968b;
  --brand: #1f9d57;
  --brand-deep: #137a3f;
  --brand-soft: #e6f3eb;
  --gold: #d4a017;
  --line: #dde4d9;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.link { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }

h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.06rem; margin-bottom: 8px; }

/* ── Navigation ── */
.nav {
  display: flex; align-items: center; gap: 28px;
  max-width: 1120px; margin: 0 auto; padding: 18px 24px;
}
.nav-brand { flex-shrink: 0; }
.nav-links { display: flex; gap: 22px; font-size: 0.95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--brand-deep); }
.nav-cta { margin-left: auto; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: 1.5px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 18px rgba(31, 157, 87, 0.35);
}
.btn-primary:hover { background: var(--brand-deep); }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink-2); padding: 9px 18px; font-size: 0.92rem; }
.btn-ghost:hover { color: var(--brand-deep); border-color: var(--brand); }

/* ── Héros ── */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
  align-items: center; max-width: 1120px; margin: 0 auto;
  padding: 56px 24px 72px;
}
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; padding-top: 32px; } }
.eyebrow {
  display: inline-block; font-size: 0.83rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.13rem; color: var(--ink-2); margin: 18px 0 26px; max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { font-size: 0.86rem; color: var(--ink-3); margin-top: 12px; }

/* ── Maquette téléphone (CSS pur, honnête : un aperçu stylisé) ── */
.hero-visual { display: grid; place-items: center; }
.phone {
  width: 290px; padding: 12px; border-radius: 38px;
  background: #16241c;
  box-shadow: 0 24px 60px rgba(22, 36, 28, 0.35);
}
.phone-screen {
  background: var(--bg); border-radius: 28px; padding: 18px 14px;
  display: flex; flex-direction: column; gap: 10px; min-height: 480px;
}
.ps-hero { background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: 16px; padding: 16px 14px; color: #fff; display: flex; flex-direction: column; }
.ps-hello { font-weight: 700; font-size: 1.05rem; }
.ps-sub { font-size: 0.78rem; opacity: 0.85; }
.ps-card {
  background: var(--surface); border-radius: 14px; padding: 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 8px rgba(22, 36, 28, 0.06);
}
.ps-card b { font-size: 0.85rem; display: block; }
.ps-card small { font-size: 0.72rem; color: var(--ink-3); }
.ps-shape {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px;
  background: var(--brand-soft);
  clip-path: polygon(15% 20%, 85% 8%, 92% 80%, 30% 92%);
  border: 2px solid var(--brand);
}
.ps-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin: 0 10px; }
.ps-dot.ok { background: var(--brand); }
.ps-dot.gold { background: var(--gold); }
.ps-advisor { display: flex; gap: 8px; align-items: flex-end; margin-top: auto; }
.ps-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft);
  display: grid; place-items: center; flex-shrink: 0; font-size: 0.9rem;
}
.ps-bubble {
  background: var(--surface); border-radius: 14px 14px 14px 4px;
  padding: 10px 12px; font-size: 0.78rem; color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(22, 36, 28, 0.06);
}

/* ── Bandeau de preuves ── */
.proof {
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 26px 24px;
}
.proof > div { max-width: 1120px; text-align: center; }
.proof b { display: block; font-size: 1rem; }
.proof span { font-size: 0.83rem; opacity: 0.72; }
@media (max-width: 880px) { .proof { grid-template-columns: repeat(2, 1fr); } }

/* ── Sections ── */
.section { max-width: 1120px; margin: 0 auto; padding: 72px 24px; }
.section-alt {
  max-width: none;
  background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-alt > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.section h2 { margin-bottom: 10px; }
.section-lead { color: var(--ink-2); max-width: 40rem; margin-bottom: 36px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid, .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.section-alt .card { background: var(--bg); }
.card p { font-size: 0.94rem; color: var(--ink-2); }
.card.role { border-top: 3px solid var(--brand); }

/* ── Étapes ── */
.steps {
  counter-reset: step; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.steps b { font-size: 1.05rem; }
.steps p { font-size: 0.94rem; color: var(--ink-2); margin-top: 6px; }

/* ── FAQ ── */
.faq { max-width: 46rem; margin-top: 26px; }
.faq details {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq summary::marker { color: var(--brand); }
.faq p { margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; }

/* ── CTA final ── */
.closing { text-align: center; padding: 84px 24px; }
.closing h2 { margin-bottom: 24px; }
.closing .cta-row { justify-content: center; }

/* ── Pied de page ── */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.85); padding: 44px 24px 28px; }
/* Le logo est encre-sur-transparent : pastille claire pour rester lisible. */
.footer img { background: #fff; padding: 6px 12px; border-radius: 10px; height: 40px; width: auto; }
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer-inner p { max-width: 26rem; font-size: 0.9rem; margin-top: 12px; opacity: 0.8; }
.footer .link { color: #9fd9b8; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 0.93rem; }
.footer-links a:hover { color: #9fd9b8; }
.footer-fine {
  max-width: 1120px; margin: 28px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem; opacity: 0.6;
}

/* ── Responsive téléphone (≤ 560 px) — retour fondateur 2026-07-19 ── */
@media (max-width: 560px) {
  .nav { padding: 12px 16px; gap: 12px; }
  .nav-brand img { height: 28px; }
  .nav-cta { padding: 8px 14px; font-size: 0.85rem; }
  .hero { padding: 28px 16px 44px; gap: 28px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  .phone { width: 250px; }
  .proof { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 16px; }
  .section { padding: 44px 16px; }
  .steps { gap: 18px; }
  .closing { padding: 56px 16px; }
  .footer { padding: 32px 16px 22px; }
  .footer-inner { flex-direction: column; gap: 20px; }
}
