/* =========================================================
   my-lib-management — feuille de style unique
   1. réglages  2. base  3. typographie  4. mise en page
   5. en-tête   6. boutons  7. blocs d'accueil  8. pages
   9. panel     10. mouvement  11. téléphone
   ========================================================= */

/* ---------- 1. réglages ---------- */
:root {
  color-scheme: light;

  --accent: #0066cc;
  --accent-fill: #0071e3;
  --accent-fill-hover: #0076df;
  --accent-soft: rgba(0, 102, 204, 0.07);
  --on-accent: #ffffff;

  --ink: #1a1a1c;
  --ink-2: #3c3c40;
  --muted: #5c5c62;
  --faint: #6f6f76;

  --paper: #ffffff;
  --parch: #f5f5f7;
  --surface: #ffffff;

  --line: #e5e5e9;
  --line-2: #d2d2d7;
  --grid: rgba(0, 0, 0, 0.038);

  --code: #0e0e10;
  --code-ink: #e9e9ec;
  --code-muted: #8b8b93;
  --code-line: rgba(255, 255, 255, 0.09);

  --good: #0f7a55;
  --warn: #96600a;
  --bad: #bd332a;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.05), 0 26px 70px rgba(0, 0, 0, 0.13);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --w: 1180px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

[data-theme="dark"] {
  color-scheme: dark;

  --accent: #5aabff;
  --accent-fill: #0a84ff;
  --accent-fill-hover: #2b96ff;
  --accent-soft: rgba(10, 132, 255, 0.14);
  --on-accent: #ffffff;

  --ink: #f2f2f4;
  --ink-2: #c9c9cf;
  --muted: #a1a1a8;
  --faint: #8a8a92;

  --paper: #0b0b0d;
  --parch: #111114;
  --surface: #17171b;

  --line: #26262b;
  --line-2: #35353c;
  --grid: rgba(255, 255, 255, 0.045);

  --code: #131317;
  --code-line: rgba(255, 255, 255, 0.08);

  --good: #3ecf8e;
  --warn: #f0a53e;
  --bad: #ff6b61;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.55), 0 12px 34px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, 0.6), 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ---------- 2. base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

[hidden] { display: none !important; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(0, 113, 227, 0.18); }

:focus-visible {
  outline: 2px solid var(--accent-fill);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 10px; }

/* ---------- 3. typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}

.t-hero { font-size: clamp(2.55rem, 6vw, 4.6rem); letter-spacing: -0.038em; line-height: 1.03; }
.t-display { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.t-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.024em; }
.t-sub { font-size: clamp(1.12rem, 1.6vw, 1.3rem); font-weight: 400; line-height: 1.45; letter-spacing: -0.012em; }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.body { font-size: 17px; line-height: 1.62; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.tiny { font-size: 12px; line-height: 1.4; color: var(--faint); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* ---------- 4. mise en page ---------- */
.wrap {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap--narrow { max-width: 760px; }

.section { padding: 104px 0; }
.section--tight { padding: 60px 0; }
.section--parch { background: var(--parch); }
.section--hair { border-top: 1px solid var(--line); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.stack > * + * { margin-top: 18px; }
.stack-lg > * + * { margin-top: 32px; }

.head { max-width: 720px; }
.head .eyebrow { margin-bottom: 18px; }
.head h2 + .lead { margin-top: 20px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

.grid-2 > *, .grid-3 > *, .grid-4 > *, .split > *, .doc-layout > * { min-width: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

/* fond quadrillé très discret */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 92px 92px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
}

/* ---------- 5. en-tête ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 60px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

@supports not (background: color-mix(in srgb, #fff 82%, transparent)) {
  .topbar { background: var(--paper); }
}

.topbar-in {
  height: 60px;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: 0 0 auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.022em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
  flex: 1 1 auto;
}
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

.topbar-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }

.link-quiet { font-size: 14px; color: var(--ink-2); }
.link-quiet:hover { color: var(--ink); text-decoration: none; }

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--parch); color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .moon { display: none; }
[data-theme="dark"] .icon-btn .moon { display: block; }
[data-theme="dark"] .icon-btn .sun { display: none; }

.menu-btn {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn svg { width: 16px; height: 16px; }

/* ---------- 6. boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--accent-fill);
  color: var(--on-accent);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-fill-hover); text-decoration: none; }
.btn:active { transform: scale(0.985); }

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

.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 50px; padding: 0 28px; font-size: 16.5px; }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--accent);
}
.arrow-link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- 7. blocs d'accueil ---------- */
.hero { padding: 84px 0 56px; position: relative; }
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { margin: 22px 0 0; }
.hero .lead { max-width: 620px; margin: 24px auto 0; }
.hero .btn-row { justify-content: center; margin-top: 34px; }

.install {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 10px 10px 10px 20px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.install:hover { border-color: var(--faint); }
.install .dollar { color: var(--faint); user-select: none; }
.install b { font-weight: 500; color: var(--ink); }
.install .copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--parch);
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  cursor: pointer;
}
.install .copy:hover { background: var(--line); color: var(--ink); }
.install .copy svg { width: 13px; height: 13px; }

.hero-figure { margin-top: 64px; padding-bottom: 0; }

/* aperçu du tableau de bord */
.preview {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  text-align: left;
}
.pv-top {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  background: var(--parch);
  border-bottom: 1px solid var(--line);
}
.pv-dots { display: flex; gap: 5px; }
.pv-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: block; }
.pv-url { font-family: var(--mono); font-size: 11.5px; color: var(--faint); flex: 1; text-align: center; }
.pv-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }

.pv-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); }
.pv-side { border-right: 1px solid var(--line); padding: 16px 12px; background: var(--surface); }
.pv-side-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); padding: 6px 10px 8px; }
.pv-side a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--muted);
}
.pv-side a.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.pv-side a svg { width: 13px; height: 13px; opacity: 0.75; }

.pv-main { padding: 20px; min-width: 0; }
.pv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pv-head h3 { font-size: 17px; letter-spacing: -0.02em; }
.pv-chip { font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 3px 9px; }

.pv-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.pv-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pv-card span { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 0.01em; }
.pv-card b { display: block; font-family: var(--mono); font-size: 19px; font-weight: 500; letter-spacing: -0.03em; margin-top: 4px; }
.pv-card b i { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 2px; }

.pv-chart { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 6px; }
.pv-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pv-chart-head span { font-size: 11px; color: var(--muted); }
.pv-seg { display: flex; gap: 2px; }
.pv-seg i { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: var(--r-pill); color: var(--faint); }
.pv-seg i.on { background: var(--parch); color: var(--ink); }

.pv-rows { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pv-row { display: grid; grid-template-columns: 1.4fr 1fr 0.85fr 0.6fr; gap: 8px; padding: 9px 12px; font-size: 11.5px; border-top: 1px solid var(--line); align-items: center; }
.pv-row:first-child { border-top: 0; background: var(--parch); color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.pv-row .m { font-family: var(--mono); font-size: 11px; }

.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.dot--good { background: var(--good); }
.dot--warn { background: var(--warn); }
.dot--bad { background: var(--bad); }
.dot--idle { background: var(--line-2); }

/* bande de chiffres */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 44px 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: 0.4em; font-weight: 500; color: var(--muted); top: -1.1em; margin-left: 2px; }
.stat-label { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 220px; }

/* grille de fonctions sans cartes */
.feats { border-top: 1px solid var(--line); }
.feat {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
}
.feat-num { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.1em; padding-top: 6px; }
.feat h3 { font-size: 19px; letter-spacing: -0.022em; }
.feat p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.62; color: var(--muted); max-width: 46ch; }
.feat .more { margin-top: 14px; display: inline-block; font-size: 14px; }

/* section sombre */
.band {
  background: #000000;
  color: #f5f5f7;
  --ink: #f5f5f7;
  --ink-2: #d6d6db;
  --muted: #a4a4ab;
  --faint: #89898f;
  --line: rgba(255, 255, 255, 0.13);
  --line-2: rgba(255, 255, 255, 0.2);
  --accent: #6fb5ff;
  --accent-fill: #0071e3;
  --accent-soft: rgba(255, 255, 255, 0.07);
  --code: #101013;
  --code-line: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .band { background: #17171b; }

.band a { color: #6fb5ff; }
.band .btn { color: #fff; }

/* bloc de code */
.code {
  background: var(--code);
  border: 1px solid var(--code-line);
  border-radius: 14px;
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--code-line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--code-muted);
  text-transform: uppercase;
}
.code pre {
  margin: 0;
  padding: 20px 18px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--code-ink);
  tab-size: 2;
}
.code pre b { font-weight: 500; }
.c-k { color: #c792ea; }
.c-s { color: #a9d67a; }
.c-c { color: #7c7c86; font-style: italic; }
.c-n { color: #e5b567; }
.c-f { color: #7dcfff; }
.c-p { color: #9aa0aa; }

/* citations */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.quote { padding: 34px 32px 34px 0; border-right: 1px solid var(--line); }
.quote:last-child { border-right: 0; padding-right: 0; }
.quote p { margin: 0; font-size: 17px; line-height: 1.55; letter-spacing: -0.014em; color: var(--ink); text-wrap: pretty; }
.quote footer { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--parch);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.quote cite { font-style: normal; font-size: 13px; color: var(--muted); }

/* faux mail d'alerte */
.email-mock {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.email-head { padding: 18px 22px 16px; border-bottom: 1px solid var(--line); background: var(--parch); }
.email-head .from { margin: 0; font-size: 12px; color: var(--muted); }
.email-head .subj { margin: 6px 0 0; font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.email-meta { display: grid; gap: 3px; padding: 14px 22px 0; font-size: 11.5px; color: var(--faint); }
.email-body { padding: 16px 22px 22px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.email-body .k {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.email-body .k span:last-child { color: var(--ink); }

/* bandeau d'appel */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }

/* ---------- 8. pages de contenu ---------- */
.page-head { padding: 76px 0 52px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: 16px; max-width: 780px; }
.page-head .lead { margin-top: 20px; max-width: 640px; }

.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  padding: 56px 0 110px;
}
.toc { position: sticky; top: 88px; }
.toc p { margin: 0 0 12px; }
.toc a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  margin-left: -1px;
}
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a.is-on { color: var(--accent); border-left-color: var(--accent); }

.prose { max-width: 720px; }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 18px; margin-top: 34px; scroll-margin-top: 92px; }
.prose h2 + h3 { margin-top: 18px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.prose a:hover { text-decoration-color: var(--accent); }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--parch);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.12em 0.36em;
  white-space: normal;
  overflow-wrap: break-word;
}
.band code { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.prose pre code { white-space: pre; overflow-wrap: normal; background: none; border: 0; padding: 0; }
.code pre code { white-space: pre; overflow-wrap: normal; }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child, .table th:first-child { padding-left: 0; }
.table td:last-child, .table th:last-child { padding-right: 0; }
.table--mono td:nth-child(1) { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; }
.table--num td:not(:first-child) { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13.5px; }

.table-scroll { overflow-x: auto; }

.note {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
}
.note p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.note p + p { margin-top: 8px; }

/* tarifs */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
}
.plan--featured { border-color: var(--accent); box-shadow: var(--shadow-1); }
.plan-badge {
  display: inline-block;
  font-size: 10.5px;
  font-family: var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  margin-bottom: 14px;
  white-space: nowrap;
  align-self: flex-start;
}
.plan-badge.is-ghost { visibility: hidden; }
.plan h3 { font-size: 18px; letter-spacing: -0.02em; }
.plan .plan-for { margin: 8px 0 0; font-size: 14px; color: var(--muted); min-height: 42px; }
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--font-display); font-size: 42px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price span { font-size: 14px; color: var(--muted); }
.plan .billed { font-size: 12.5px; color: var(--faint); margin-top: 6px; min-height: 18px; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.plan li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.plan li:last-child { border-bottom: 0; }
.plan li svg { width: 14px; height: 14px; margin-top: 3px; color: var(--accent); }
.plan li.is-off { color: var(--faint); }
.plan li.is-off svg { color: var(--faint); opacity: 0.55; }

.cmp-wrap { border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 13px; font-weight: 600; color: var(--ink); background: var(--parch); }
.cmp thead th small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { color: var(--ink); }
.cmp .yes { color: var(--accent); }
.cmp .no { color: var(--faint); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 16.5px;
  font-weight: 500;
  list-style: none;
  position: relative;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--faint);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 70ch; }

/* formulaire */
.form { display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--faint); }
.input, .textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent-fill);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-fill); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--accent-fill); width: 15px; height: 15px; }

.form-status {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  display: none;
}
.form-status.is-shown { display: block; }
.form-status.ok { background: rgba(15, 122, 85, 0.09); color: var(--good); border: 1px solid rgba(15, 122, 85, 0.25); }
.form-status.err { background: rgba(189, 51, 42, 0.08); color: var(--bad); border: 1px solid rgba(189, 51, 42, 0.22); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 80px; align-items: start; padding: 64px 0 110px; }

.info-list { border-top: 1px solid var(--line); }
.info-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-family: var(--mono); }
.info-list dd { margin: 6px 0 0; font-size: 15.5px; color: var(--ink); }
.info-list dd a { color: var(--accent); }

/* mentions / confidentialité */
.legal { max-width: 760px; padding: 56px 0 110px; }
.legal h2 { font-size: 20px; margin-top: 44px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 16px; margin-top: 26px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.68; color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li { margin-top: 6px; }
.legal > * + * { margin-top: 14px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }

/* 404 */
.notfound { min-height: calc(100vh - 60px); display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound .big {
  font-family: var(--mono);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--line-2);
}

/* ---------- footer ---------- */
.foot { background: var(--parch); border-top: 1px solid var(--line); padding: 64px 0 34px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-2);
}
.foot-brand p { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); max-width: 260px; line-height: 1.55; }
.foot-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-family: var(--font); }
.foot-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; }
.foot-col a:hover { color: var(--ink); text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 12.5px; color: var(--faint); }
.foot-bottom a { color: var(--muted); }

/* =========================================================
   9. PANEL (espace client)
   ========================================================= */
.panel-body-app { background: var(--parch); }

.panel { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }

.panel-side {
  background: var(--surface);
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px 16px;
  z-index: 40;
}
.panel-side .brand { padding: 0 8px 18px; }
.panel-brand-note { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 0 10px 18px; }

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); padding: 18px 10px 8px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.side-nav a:hover { background: var(--parch); text-decoration: none; color: var(--ink); }
.side-nav a.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.side-nav a svg { width: 16px; height: 16px; flex: 0 0 auto; opacity: 0.8; }
.side-nav a.is-on svg { opacity: 1; }

.side-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }

.settings-pop {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 118px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  padding: 14px;
  display: none;
  z-index: 50;
}
.settings-pop.is-open { display: block; }
.settings-pop h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); font-family: var(--mono); font-weight: 500; }
.settings-pop .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; background: var(--parch); padding: 3px; border-radius: 9px; }
.settings-pop .seg button {
  border: 0;
  background: transparent;
  padding: 7px 4px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.settings-pop .seg button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); font-weight: 500; }

.panel-main { min-width: 0; display: flex; flex-direction: column; }

.panel-top {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, #fff 88%, transparent)) {
  .panel-top { background: var(--surface); }
}
.panel-top .pt-left { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.panel-top .pt-left strong { color: var(--ink); font-weight: 500; }
.pt-actions { display: flex; align-items: center; gap: 14px; }
.pt-break { width: 1px; height: 22px; background: var(--line); }

.account { display: flex; align-items: center; gap: 9px; }
.account .avatar { width: 28px; height: 28px; background: var(--ink); color: var(--paper); border: 0; font-size: 11px; font-weight: 500; }
.account span { font-size: 13.5px; color: var(--ink); }

.panel-view { padding: 28px; max-width: 1320px; width: 100%; }

.pv-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 3px;
  margin-bottom: 24px;
  gap: 2px;
}
.pv-switch button {
  border: 0;
  background: transparent;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.pv-switch button.is-on { background: var(--ink); color: var(--paper); font-weight: 500; }
.pv-switch .demo-tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding: 7px 12px 7px 8px; align-self: center; }

.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.panel-head h1 { font-size: 26px; letter-spacing: -0.03em; }
.panel-head .sub { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.panel-head .right { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--surface);
}

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 18px;
}
.kpi .k-label { font-size: 12.5px; color: var(--muted); }
.kpi .k-value { font-family: var(--mono); font-size: 27px; font-weight: 500; letter-spacing: -0.04em; margin-top: 10px; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi .k-value i { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.kpi .k-foot { margin-top: 12px; font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 6px; }
.kpi .k-foot b { font-weight: 500; }
.kpi .k-foot .up { color: var(--good); }
.kpi .k-foot .down { color: var(--bad); }
.kpi .k-foot a { color: var(--accent); }

.panel-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  min-width: 0;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.card-head .link { font-size: 12.5px; color: var(--accent); }

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.side-link:hover { background: var(--parch); text-decoration: none; color: var(--ink); }
.side-link svg { width: 16px; height: 16px; flex: 0 0 auto; opacity: 0.8; }

.panel-head h2 { font-size: 26px; letter-spacing: -0.03em; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.seg { display: inline-flex; background: var(--parch); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.seg button {
  border: 0;
  background: transparent;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.seg button.is-on { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07); }

.chart { width: 100%; height: auto; display: block; }
.chart .grid-line { stroke: var(--line); stroke-dasharray: 3 4; stroke-width: 1; }
.chart .axis { fill: var(--faint); font-family: var(--mono); font-size: 9.5px; }
.chart .area { fill: var(--accent-soft); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.chart .marker { fill: var(--surface); stroke: var(--accent); stroke-width: 1.8; }

.panel-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.panel-table th {
  text-align: left;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--faint);
  font-weight: 500;
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.panel-table th:first-child, .panel-table td:first-child { padding-left: 0; }
.panel-table th:last-child, .panel-table td:last-child { padding-right: 0; }
.panel-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.panel-table tr:last-child td { border-bottom: 0; }
.panel-table .name { color: var(--ink); font-weight: 500; }
.panel-table .name small { display: block; font-weight: 400; color: var(--faint); font-size: 11px; margin-top: 2px; }
.panel-table .ident { font-family: var(--mono); font-size: 11.5px; color: var(--accent); }
.panel-table .m { font-family: var(--mono); font-size: 11.5px; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.state--good { color: var(--good); }
.state--warn { color: var(--warn); }
.state--bad { color: var(--bad); }
.state--idle { color: var(--faint); }

.mail { display: flex; flex-direction: column; }
.mail-item { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.mail-item:last-child { border-bottom: 0; padding-bottom: 0; }
.mail-item:first-child { padding-top: 0; }
.mail-item .unread { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.mail-item.read .unread { background: transparent; }
.mail-item .subject { font-size: 13px; color: var(--ink); line-height: 1.4; }
.mail-item.read .subject { color: var(--ink-2); font-weight: 400; }
.mail-item .from { font-size: 11.5px; color: var(--faint); margin-top: 3px; display: flex; justify-content: space-between; gap: 8px; }
.mail-empty { font-size: 12.5px; color: var(--faint); }

.side-hint { font-size: 11px; color: var(--faint); padding: 10px 10px 0; line-height: 1.4; }

/* vues */
.view { display: none; }
.view.is-on { display: block; }

/* ---------- 10. mouvement ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- 11. téléphone ---------- */
@media (max-width: 1080px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .doc-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .panel-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 60px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    margin: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .menu-btn { display: grid; }
  .link-quiet { display: none; }
  .topbar-in { gap: 12px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .quote { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .quote:last-child { border-bottom: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 42px 0 80px; }

  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 34px; }
  .toc { position: static; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
  .toc a { border-left: 0; padding-left: 0; padding: 4px 0; }
  .toc a.is-on { border-left: 0; }

  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel-side {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    height: 100vh;
    transform: translateX(-104%);
    transition: transform 0.28s var(--ease);
    box-shadow: var(--shadow-2);
    z-index: 80;
  }
  .panel-side.is-open { transform: none; }
  .panel-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    z-index: 70;
    display: none;
  }
  .panel-scrim.is-on { display: block; }
  .panel-menu { display: grid !important; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-view { padding: 18px; }
  .panel-top { padding: 0 18px; }
}

/* menu du panel, visible seulement en petit */
.panel-menu {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
}
.panel-menu svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .topbar-in { padding: 0 20px; }
  .panel-top { padding: 0 14px; }
  .panel-top .chip, .pt-actions .pt-break { display: none; }
  .account span { display: none; }
  .panel-top .pt-left { font-size: 12.5px; gap: 8px; }
  .section { padding: 68px 0; }
  .hero { padding-top: 52px; }
  .hero-figure { margin-top: 40px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0; }
  .stat:first-child { border-top: 0; }
  .stat-label { max-width: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feat { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 26px 0 30px; }
  .pv-body { grid-template-columns: minmax(0, 1fr); }
  .pv-side { display: none; }
  .pv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-row { grid-template-columns: 1.2fr 0.9fr 0.7fr; }
  .pv-row > :nth-child(3) { display: none; }
  .pv-row:first-child > :nth-child(3) { display: none; }
  .page-head { padding: 52px 0 36px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .panel-head h1 { font-size: 22px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 15px; }
  .kpi .k-value { font-size: 22px; }
  .panel-table th:nth-child(2), .panel-table td:nth-child(2) { display: none; }
  .cta-band { gap: 24px; }
  .legal { padding: 36px 0 70px; }
  .price b { font-size: 36px; }
  .t-hero { letter-spacing: -0.03em; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 13.5px; }
  .install { font-size: 11.5px; padding-left: 14px; gap: 8px; }
  .install .copy { padding: 0 9px; }
}
