/* Délest : feuille de style commune du site.
   Couleurs et typographie en variables sur :root, thème sombre via prefers-color-scheme.
   Polices hébergées sur le site (aucun appel à un service tiers). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ */
/* Couleurs                                                           */
/* ------------------------------------------------------------------ */
:root {
  color-scheme: light dark;

  /* Marque */
  --teal-900: #0E3B43;
  --teal-600: #2B7C73;
  --cream: #F4E6D2;
  --apricot: #F2A65A;
  --mint: #66D9D1;

  /* Thème clair */
  --bg: #FCF9F4;
  --bg-alt: #F6EEE2;
  --surface: #FFFFFF;
  --surface-2: #FBF6EF;
  --text: #173237;
  --text-2: #4A6267;
  --heading: #0E3B43;
  --brand: #2B7C73;
  --link: #1F6B63;
  --border: rgba(14, 59, 67, 0.11);
  --border-strong: rgba(14, 59, 67, 0.2);
  --accent-soft: rgba(43, 124, 115, 0.1);
  --apricot-soft: rgba(242, 166, 90, 0.18);
  --apricot-ink: #9A5410;
  --shadow-sm: 0 1px 2px rgba(14, 59, 67, 0.06);
  --shadow: 0 1px 2px rgba(14, 59, 67, 0.05), 0 12px 32px -14px rgba(14, 59, 67, 0.2);
  --shadow-lg: 0 2px 6px rgba(14, 59, 67, 0.05), 0 40px 80px -30px rgba(14, 59, 67, 0.35);
  --glow-1: rgba(102, 217, 209, 0.35);
  --glow-2: rgba(242, 166, 90, 0.26);
  --btn-primary-bg: #0E3B43;
  --btn-primary-bg-hover: #155059;
  --btn-primary-fg: #FBF4E9;
  --header-bg: rgba(252, 249, 244, 0.78);
  --code-bg: #F3EBDF;

  /* Illustrations de l'app (fenêtre macOS claire) */
  --mk-window: #FFFFFF;
  --mk-sidebar: #F3EFE9;
  --mk-chrome-border: rgba(14, 59, 67, 0.12);
  --mk-text: #1C2B2E;
  --mk-text-2: #637376;
  --mk-row-sel: rgba(43, 124, 115, 0.14);
  --mk-panel: #F8F5F0;
  --mk-line: rgba(14, 59, 67, 0.08);

  /* Typographie et mesures */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #061A1E;
    --bg-alt: #0A242A;
    --surface: #0D2B31;
    --surface-2: #0B262C;
    --text: #E3EDEB;
    --text-2: #A5BCB9;
    --heading: #F7ECDD;
    --brand: #66D9D1;
    --link: #7FE3DB;
    --border: rgba(244, 230, 210, 0.1);
    --border-strong: rgba(244, 230, 210, 0.2);
    --accent-soft: rgba(102, 217, 209, 0.12);
    --apricot-soft: rgba(242, 166, 90, 0.16);
    --apricot-ink: #F6BD84;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 16px 36px -16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 44px 90px -30px rgba(0, 0, 0, 0.75);
    --glow-1: rgba(43, 124, 115, 0.45);
    --glow-2: rgba(242, 166, 90, 0.14);
    --btn-primary-bg: #66D9D1;
    --btn-primary-bg-hover: #86E4DE;
    --btn-primary-fg: #06242A;
    --header-bg: rgba(6, 26, 30, 0.74);
    --code-bg: #0F3037;

    --mk-window: #1B2224;
    --mk-sidebar: #20292B;
    --mk-chrome-border: rgba(255, 255, 255, 0.1);
    --mk-text: #E8EEED;
    --mk-text-2: #93A3A5;
    --mk-row-sel: rgba(102, 217, 209, 0.18);
    --mk-panel: #172022;
    --mk-line: rgba(255, 255, 255, 0.07);
  }
}

/* ------------------------------------------------------------------ */
/* Base                                                               */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  color: var(--heading);
  margin: 0;
  text-wrap: balance;
}
h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 560;
  letter-spacing: -0.02em;
}
h3, h4 { font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(102, 217, 209, 0.4); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.placeholder {
  background: var(--apricot-soft);
  color: var(--apricot-ink);
  border-radius: 6px;
  padding: 0.05em 0.35em;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ */
/* Boutons                                                            */
/* ------------------------------------------------------------------ */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: 0 10px 24px -12px rgba(14, 59, 67, 0.6);
}
.btn-primary:hover { background: var(--btn-primary-bg-hover); }

.btn-pro {
  background: var(--apricot);
  color: #0E3B43;
  box-shadow: 0 10px 24px -12px rgba(190, 110, 30, 0.7);
}
.btn-pro:hover { background: #F5B676; }

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--accent-soft); }

.btn-sm { --btn-h: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ */
/* En-tête                                                            */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.brand img { width: 22px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a:not(.btn) {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 520;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:not(.btn):hover { color: var(--heading); background: var(--accent-soft); }
.nav .btn { margin-left: 8px; }

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

/* ------------------------------------------------------------------ */
/* Sections                                                           */
/* ------------------------------------------------------------------ */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--link);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; }
.lead {
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Accueil : bandeau principal                                        */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(42% 52% at 16% 28%, var(--glow-1), transparent 72%),
    radial-gradient(36% 46% at 86% 20%, var(--glow-2), transparent 72%);
  pointer-events: none;
}
.hero-copy {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.hero-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 18px 24px rgba(14, 59, 67, 0.22));
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 540;
}
.eyebrow .dot {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--brand);
}
.eyebrow .dot svg { width: 13px; height: 13px; }
.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 540;
}
.hero h1 em {
  font-style: italic;
  font-weight: 460;
  color: var(--brand);
}
.hero .lead {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
@media (max-width: 520px) {
  .hero .cta-row { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
  .plan { padding: 30px 24px 28px; }
  .group-card { padding: 24px 22px 10px; }
  .trust-card { padding: 26px 24px 28px; }
}
.reassure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 0.9375rem;
}
.reassure li { display: inline-flex; align-items: center; gap: 8px; }
.reassure svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.requirements {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 0.8125rem;
  opacity: 0.9;
}

.mock-figure.hero-visual {
  margin: clamp(56px, 7vw, 88px) auto 0;
  max-width: 1120px;
}

/* ------------------------------------------------------------------ */
/* Illustrations de l'app (maquettes HTML/CSS, pas des captures)      */
/* ------------------------------------------------------------------ */
.mock-figure { margin: 0; }
.mock-figure figcaption {
  margin-top: 16px;
  text-align: center;
  color: var(--text-2);
  font-size: 0.8125rem;
}
.mock-wrap { container-type: inline-size; }

.mk-window {
  --mk-fs: clamp(6px, 1.2cqi, 13px);
  font-size: var(--mk-fs);
  position: relative;
  display: grid;
  grid-template-columns: 17em 1fr;
  border-radius: 1.2em;
  overflow: hidden;
  background: var(--mk-window);
  color: var(--mk-text);
  border: 1px solid var(--mk-chrome-border);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-sans);
  line-height: 1.35;
  user-select: none;
  -webkit-user-select: none;
}
.mk-window * { line-height: inherit; }

.mk-sidebar {
  background: var(--mk-sidebar);
  border-right: 1px solid var(--mk-line);
  padding: 1.1em 0.8em 1.2em;
}
.mk-lights { display: flex; gap: 0.62em; padding: 0.1em 0.4em 1.3em; }
.mk-lights i { width: 0.92em; height: 0.92em; border-radius: 50%; display: block; }
.mk-lights i:nth-child(1) { background: #EE6A5F; }
.mk-lights i:nth-child(2) { background: #F5BE4F; }
.mk-lights i:nth-child(3) { background: #62C554; }
.mk-nav { list-style: none; margin: 0; padding: 0; }
.mk-nav li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.28em 0.6em;
  border-radius: 0.5em;
  font-size: 0.98em;
  white-space: nowrap;
}
.mk-nav li.mk-strong { font-weight: 650; margin-bottom: 0.4em; }
.mk-nav li.mk-sel { background: var(--mk-row-sel); font-weight: 600; }
.mk-nav .mk-sec {
  padding: 0.8em 0.6em 0.2em;
  color: var(--mk-text-2);
  font-size: 0.78em;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.mk-ico {
  width: 1.15em; height: 1.15em;
  border-radius: 0.34em;
  flex: none;
  background: var(--c, #8aa);
  opacity: 0.92;
}
.mk-c-scan { --c: linear-gradient(135deg, #8B7BE8, #5E63D9); }
.mk-c-clean { --c: linear-gradient(135deg, #58C98E, #2E9E6B); }
.mk-c-prot { --c: linear-gradient(135deg, #F08A7E, #D8616A); }
.mk-c-perf { --c: linear-gradient(135deg, #F5C15C, #E79A2E); }
.mk-c-apps { --c: linear-gradient(135deg, #B08BEA, #8A63D2); }
.mk-c-files { --c: linear-gradient(135deg, #5CC3E8, #2E8FD0); }

.mk-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: 1.6em 1.8em 1.8em;
}
.mk-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 1.3em;
}
.mk-title { font-size: 1.65em; font-weight: 700; letter-spacing: -0.01em; }
.mk-sub { color: var(--mk-text-2); font-size: 0.95em; margin-top: 0.15em; }
.mk-crumbs {
  display: flex; align-items: center; gap: 0.5em;
  margin-top: 0.7em;
  color: var(--mk-text-2);
  font-size: 0.9em;
  white-space: nowrap;
}
.mk-crumbs b { color: var(--mk-text); font-weight: 600; }
.mk-btn {
  flex: none;
  padding: 0.55em 1.3em;
  border-radius: 999px;
  background: linear-gradient(135deg, #5CC3E8, #2E8FD0);
  color: #fff;
  font-weight: 650;
  font-size: 0.95em;
  box-shadow: 0 0.4em 1em -0.4em rgba(46, 143, 208, 0.8);
}
.mk-body {
  display: grid;
  grid-template-columns: 1fr 18.5em;
  gap: 1.4em;
  min-height: 0;
}
.mk-map {
  position: relative;
  min-height: 26em;
  border-radius: 0.9em;
  background: var(--mk-panel);
}
.mk-tile {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  padding: 0.18em;
}
.mk-tile > div {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 0.7em;
  padding: 0.75em 0.85em;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--t1), var(--t2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}
.mk-tile .n { font-weight: 650; font-size: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tile .s { font-size: 1.35em; font-weight: 700; letter-spacing: -0.01em; }
.mk-tile .p { font-size: 0.82em; opacity: 0.9; }
.mk-tile.dark > div { color: #0E2F35; text-shadow: none; }
.mk-tile.small .s { font-size: 1.05em; }
.mk-list {
  background: var(--mk-panel);
  border-radius: 0.9em;
  padding: 1em 1em 0.6em;
  min-width: 0;
}
.mk-list .mk-h {
  margin: 0 0 0.7em;
  color: var(--mk-text);
  font-size: 1em;
  font-weight: 700;
}
.mk-list ol { list-style: none; margin: 0; padding: 0; }
.mk-list li { padding: 0.5em 0; border-top: 1px solid var(--mk-line); }
.mk-list li:first-child { border-top: 0; }
.mk-row { display: flex; align-items: center; gap: 0.55em; font-size: 0.95em; }
.mk-row .d { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--t1); flex: none; }
.mk-row .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row .sz { color: var(--mk-text-2); font-variant-numeric: tabular-nums; }
.mk-bar { height: 0.32em; margin: 0.4em 0 0 1.25em; border-radius: 99px; background: var(--mk-line); overflow: hidden; }
.mk-bar i { display: block; height: 100%; width: var(--f); border-radius: 99px; background: var(--t1); }

/* Couleurs des blocs de la carte */
.t-lib { --t1: #2B7C73; --t2: #1E5F5A; }
.t-vid { --t1: #5B7BE0; --t2: #4460C4; }
.t-doc { --t1: #F2A65A; --t2: #E58C3A; }
.t-dl { --t1: #3FA9D8; --t2: #2A8BBB; }
.t-proj { --t1: #9377DB; --t2: #7659C4; }
.t-img { --t1: #E27F9C; --t2: #CC6384; }
.t-mus { --t1: #4DB482; --t2: #379767; }
.t-desk { --t1: #E5BE55; --t2: #D3A63A; }
.t-other { --t1: #9AA7A9; --t2: #7F8D90; }

.mk-lights-inline { display: none; }
@container (max-width: 640px) {
  .mk-window { --mk-fs: clamp(7.5px, 2.35cqi, 12px); grid-template-columns: 1fr; }
  .mk-sidebar { display: none; }
  .mk-main { padding: 1.3em 1.2em 1.4em; }
  .mk-body { grid-template-columns: 1fr; }
  .mk-map { min-height: 0; aspect-ratio: 16 / 11; }
  .mk-list li:nth-child(n + 5) { display: none; }
  .mk-main .mk-lights-inline { display: flex; padding: 0 0 1em; }
}

/* Liste de résultats « Fichiers inutiles » */
.mk-window.mk-single { grid-template-columns: 1fr; }
.mk-window.mk-results {
  --mk-fs: clamp(8.5px, 2.35cqi, 14.5px);
}
.mk-results .mk-main { padding: 1.2em 1.4em 1.4em; }
.mk-head {
  display: flex; align-items: center; gap: 0.8em;
  padding-bottom: 1em;
  border-bottom: 1px solid var(--mk-line);
}
.mk-head .mk-lights { padding: 0; }
.mk-head .mk-title { font-size: 1.3em; flex: 1; }
.mk-sum { color: var(--mk-text-2); font-size: 0.92em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-items { list-style: none; margin: 0; padding: 0.4em 0 0; }
.mk-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.2em 0.9em;
  padding: 0.8em 0.4em;
  border-bottom: 1px solid var(--mk-line);
}
.mk-check {
  width: 1.3em; height: 1.3em;
  border-radius: 0.35em;
  border: 1.5px solid var(--mk-text-2);
  display: grid; place-items: center;
}
.mk-item.on .mk-check { background: #2B7C73; border-color: #2B7C73; }
.mk-check svg { width: 0.9em; height: 0.9em; color: #fff; }
.mk-item .nm { font-weight: 620; font-size: 1em; }
.mk-item .ds { color: var(--mk-text-2); font-size: 0.86em; grid-column: 2; }
.mk-item .sz { grid-row: 1 / span 2; grid-column: 3; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.95em; }
.mk-item .mk-check { grid-row: 1 / span 2; grid-column: 1; }
.mk-item .nm { grid-column: 2; grid-row: 1; }
.mk-item.off .nm { color: var(--mk-text); }
.mk-tag {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.1em 0.55em;
  border-radius: 99px;
  background: rgba(242, 166, 90, 0.2);
  color: #9A5410;
  font-size: 0.78em;
  font-weight: 650;
  vertical-align: 0.1em;
}
@media (prefers-color-scheme: dark) { .mk-tag { color: #F6BD84; } }
.mk-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1em;
  padding-top: 1.1em;
}
.mk-foot p { color: var(--mk-text-2); font-size: 0.86em; max-width: 30em; }
.mk-foot .mk-btn { background: linear-gradient(135deg, #58C98E, #2E9E6B); box-shadow: 0 0.4em 1em -0.4em rgba(46, 158, 107, 0.8); }

/* ------------------------------------------------------------------ */
/* Pourquoi Délest                                                    */
/* ------------------------------------------------------------------ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.trust-card { padding: 30px 28px 32px; }
.trust-card h3 { font-size: 1.2rem; margin-top: 22px; }
.trust-card p { margin-top: 10px; color: var(--text-2); font-size: 1rem; }
.icon-tile {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--brand);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.apricot { background: var(--apricot-soft); color: var(--apricot-ink); }

/* ------------------------------------------------------------------ */
/* Prudence : texte + illustration                                    */
/* ------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.check-list .tick {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--brand);
}
.check-list .tick svg { width: 15px; height: 15px; }
.check-list strong { color: var(--heading); font-weight: 650; }
.check-list p { color: var(--text-2); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; justify-content: center; color: var(--text-2); font-size: 0.8125rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.legend .on { background: #2B7C73; }
.legend .off { border: 1.5px solid var(--text-2); }

/* ------------------------------------------------------------------ */
/* Fonctions                                                          */
/* ------------------------------------------------------------------ */
.smart-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px 24px;
  align-items: center;
  padding: 28px 30px;
  margin-bottom: 18px;
  background:
    radial-gradient(80% 140% at 0% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
}
.smart-card h3 { font-size: 1.3rem; }
.smart-card p { color: var(--text-2); margin-top: 6px; }
@media (max-width: 720px) { .smart-card { grid-template-columns: 1fr; } }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 18px;
}
.group-card { padding: 28px 28px 14px; }
.group-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.group-card h3 { font-size: 1.25rem; }
.group-card .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.group-card .icon-tile svg { width: 21px; height: 21px; }
.g-clean .icon-tile { background: rgba(46, 158, 107, 0.13); color: #23855A; }
.g-prot .icon-tile { background: rgba(216, 97, 106, 0.12); color: #B84E58; }
.g-perf .icon-tile { background: rgba(231, 154, 46, 0.16); color: #A8640F; }
.g-apps .icon-tile { background: rgba(138, 99, 210, 0.13); color: #7450BE; }
.g-files .icon-tile { background: rgba(46, 143, 208, 0.13); color: #23749F; }
.g-menu .icon-tile { background: var(--accent-soft); color: var(--brand); }
@media (prefers-color-scheme: dark) {
  .g-clean .icon-tile { color: #7EDCAB; }
  .g-prot .icon-tile { color: #F29AA2; }
  .g-perf .icon-tile { color: #F5C477; }
  .g-apps .icon-tile { color: #C4A8F2; }
  .g-files .icon-tile { color: #86CDF2; }
}
.module-list { list-style: none; margin: 0; padding: 0; }
.module-list li { padding: 14px 0; border-top: 1px solid var(--border); }
.module-list li:first-child { border-top: 0; }
.module-list .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.module-list h4 { font-size: 1rem; }
.module-list p { margin-top: 4px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }

.badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.badge-free { background: var(--accent-soft); color: var(--link); }
.badge-pro { background: var(--apricot-soft); color: var(--apricot-ink); }

/* ------------------------------------------------------------------ */
/* Tarifs                                                             */
/* ------------------------------------------------------------------ */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin-inline: auto;
}
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 34px 34px;
}
.plan-pro {
  position: relative;
  border: 1.5px solid color-mix(in srgb, var(--apricot) 70%, transparent);
  background:
    radial-gradient(90% 60% at 100% 0%, var(--apricot-soft), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}
.plan h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan .tagline { margin-top: 6px; color: var(--text-2); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 4px; }
.price .amount {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--heading);
}
.price .per { color: var(--text-2); font-weight: 520; }
.plan .fine { color: var(--text-2); font-size: 0.875rem; }
.plan ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.975rem; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }
.plan-pro li svg { color: var(--apricot-ink); }
.plan li.plus { grid-template-columns: 1fr; color: var(--text-2); font-weight: 600; font-size: 0.875rem; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan .after-btn { margin-top: 14px; text-align: center; color: var(--text-2); font-size: 0.8125rem; }

.compare { margin-top: clamp(56px, 7vw, 88px); }
.compare h3 { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; letter-spacing: -0.015em; }
.compare > p { text-align: center; color: var(--text-2); margin-top: 10px; }
.table-wrap {
  max-width: 860px;
  margin: 30px auto 0;
  overflow: hidden;
  padding: 8px 0;
}
.compare table { width: 100%; border-collapse: collapse; font-size: 0.975rem; }
.compare th, .compare td { padding: 10px 22px; text-align: left; }
.compare thead th {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.compare thead th:nth-child(n + 2), .compare td { text-align: center; width: 22%; }
.compare tbody th { font-weight: 520; color: var(--text); }
.compare tbody tr + tr > * { border-top: 1px solid var(--border); }
.compare tr.grp th {
  padding-top: 22px;
  color: var(--link);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare tr.grp + tr > * { border-top: 0; }
.compare .yes, .compare .no {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  vertical-align: middle;
}
.compare .yes { background: var(--accent-soft); color: var(--brand); }
.compare .no { color: var(--text-2); opacity: 0.55; }
.compare .yes svg, .compare .no svg { width: 15px; height: 15px; }
.compare .note { display: block; font-size: 0.75rem; color: var(--text-2); margin-top: 2px; }
@media (max-width: 560px) {
  .compare th, .compare td { padding: 11px 12px; }
  .compare table { font-size: 0.9rem; }
  .compare thead th:nth-child(n + 2), .compare td { width: 24%; }
}

/* ------------------------------------------------------------------ */
/* Questions fréquentes                                               */
/* ------------------------------------------------------------------ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 620;
  font-size: 1.0625rem;
  color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--brand);
  transition: transform 0.2s ease;
}
.faq summary .chev svg { width: 16px; height: 16px; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 24px 22px; color: var(--text-2); }
.faq .answer p + p, .faq .answer ul + p, .faq .answer p + ul { margin-top: 10px; }
.faq .answer ul { margin: 0; padding-left: 1.2em; }
.faq .answer li + li { margin-top: 4px; }

/* ------------------------------------------------------------------ */
/* Téléchargement                                                     */
/* ------------------------------------------------------------------ */
.download {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) clamp(22px, 5vw, 64px);
  border-radius: 32px;
  background: linear-gradient(160deg, #134A52 0%, #0E3B43 55%, #0A2E35 100%);
  color: #E6F0EE;
  box-shadow: var(--shadow-lg);
}
.download::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 15% 0%, rgba(102, 217, 209, 0.28), transparent 70%),
    radial-gradient(40% 60% at 90% 100%, rgba(242, 166, 90, 0.22), transparent 70%);
}
.download img { width: 96px; height: 96px; margin: 0 auto 22px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35)); }
.download h2 { color: #F7ECDD; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; }
.download p { max-width: 560px; margin: 16px auto 0; color: #BFD3D0; font-size: 1.0625rem; }
.download .cta-row { margin-top: 30px; }
.download .btn-primary { background: #66D9D1; color: #06242A; }
.download .btn-primary:hover { background: #86E4DE; }
.download .btn-ghost { color: #F7ECDD; border-color: rgba(247, 236, 221, 0.3); }
.download .btn-ghost:hover { background: rgba(247, 236, 221, 0.08); }
.download .requirements { color: #A9C2BE; margin-top: 18px; max-width: none; }
.download :focus-visible { outline-color: #66D9D1; }

/* ------------------------------------------------------------------ */
/* Pied de page                                                       */
/* ------------------------------------------------------------------ */
.site-footer {
  margin-top: 0;
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-2); text-decoration: none; }
.footer-grid a:hover { color: var(--heading); text-decoration: underline; }
.footer-brand p { margin-top: 12px; max-width: 300px; }
.footer-legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
  font-size: 0.8125rem;
}
.footer-legal a { color: var(--link); }

/* ------------------------------------------------------------------ */
/* Pages de texte (mentions, confidentialité, CGV, licences)          */
/* ------------------------------------------------------------------ */
.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 40px);
  background:
    radial-gradient(50% 120% at 10% 0%, var(--accent-soft), transparent 70%),
    radial-gradient(40% 100% at 95% 0%, var(--apricot-soft), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.05; }
.page-hero p { margin-top: 14px; color: var(--text-2); max-width: 680px; font-size: 1.125rem; }
.prose {
  max-width: 760px;
  overflow-wrap: break-word;
  padding-top: 24px;
  padding-bottom: clamp(72px, 10vw, 120px);
}
.prose h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 1.2;
  margin: 48px 0 14px;
}
.prose h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol, .prose dl { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose dl { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px 20px; }
.prose dt { font-weight: 650; color: var(--heading); }
.prose dd { margin: 0; }
.prose blockquote {
  margin: 0 0 14px;
  padding: 16px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.prose blockquote p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--code-bg);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.prose .note {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--text);
}
.prose .updated { color: var(--text-2); font-size: 0.9375rem; }
.license-card { padding: 26px 28px; margin: 18px 0 26px; }
.license-card h3 { margin-top: 0; font-size: 1.15rem; }
.license-card p { color: var(--text-2); }
.license-text {
  margin: 14px 0 0;
  padding: 18px 20px;
  max-height: 420px;
  overflow: auto;
  border-radius: 12px;
  background: var(--code-bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.license-card details summary { cursor: pointer; color: var(--link); font-weight: 600; margin-top: 10px; }

/* ------------------------------------------------------------------ */
/* Mouvement réduit                                                   */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
