@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/hanken-grotesk-latin-400-normal-e1668b1e.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/hanken-grotesk-latin-500-normal-ea6a2b50.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/hanken-grotesk-latin-600-normal-3ba62682.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/hanken-grotesk-latin-700-normal-e8365c92.woff2") format("woff2"); }
/* ============================================================================
   Kolektiv — landing (domaine produit uniquement). Même palette neutre que l'app :
   noir, blanc, gris, sable pour les mises en avant. Le motif « cloison » (lames verticales) n'apparaît
   qu'une fois, derrière la capture produit.
   ========================================================================== */
:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f4f5; --line: #e3e3e6; --line-strong: #c9c9ce;
  --fg: #141414; --fg-2: #3d3d3d; --muted: #6b6b70;
  --accent: #141414; --accent-hover: #2a2a2a; --accent-soft: #e3e3e6;
  --gold: #d9a441; --sand-soft: #fbf3df; --sand-fg: #7a5410;
  --ink: #0a0a0a; --ink-2: #161618; --ink-line: #2a2a2e; --ink-fg: #f2f2f2; --ink-muted: #a3a3a8;
  --btn-bg: #141414; --btn-fg: #ffffff; --btn-hover: #2a2a2a;
  --font: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f0f10; --surface: #161618; --surface-2: #1f1f22; --line: #2a2a2e; --line-strong: #3a3a40;
  --fg: #f2f2f2; --fg-2: #cfcfd3; --muted: #9a9aa0;
  --accent: #f2f2f2; --accent-hover: #ffffff; --accent-soft: #2a2a2e;
  --gold: #e2b25a; --sand-soft: #2d2410; --sand-fg: #e9c57a;
  --ink: #0a0a0a; --ink-2: #161618; --ink-line: #2a2a2e; --ink-fg: #f2f2f2; --ink-muted: #9a9aa0;
  --btn-bg: #f2f2f2; --btn-fg: #0f0f10; --btn-hover: #ffffff;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
/* Défilement doux seulement pour les ancres de la page : une navigation vers une autre page s'ouvre en haut, sans animation */
html { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
body.lp { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
a { color: var(--fg); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.lp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .lp-wrap { padding: 0 16px; } }

/* ---- Logotype ---- */
.wm { display: inline-block; font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--fg); white-space: nowrap; font-size: 22px; }
.wm[data-size="24"] { font-size: 24px; } .wm[data-size="18"] { font-size: 18px; }
.wm .wm-i { position: relative; }
/* Point du i rond, à la position exacte du point de Hanken Grotesk 700 (mesurée), couleur du texte */
.wm .wm-i::after { content: ""; position: absolute; left: 0.121em; top: 0.297em; width: 0.14em; height: 0.14em; transform: translateX(-50%); background: currentColor; border-radius: 50%; }
.lp-logo { text-decoration: none; display: inline-flex; padding: 4px 0; }

/* ---- Boutons ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 16px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); font-weight: 600; font-size: 14.5px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background 0.12s, border-color 0.12s; }
.lp-btn:hover { background: var(--surface-2); }
.lp-btn.primary { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.lp-btn.primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.lp-btn.ghost { border-color: transparent; background: transparent; }
.lp-btn.ghost:hover { background: var(--surface-2); }
.lp-btn.lg { min-height: 48px; padding: 12px 22px; font-size: 16px; }

/* ---- En-tête ---- */
.lp-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.lp-head-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.lp-nav { display: flex; gap: 26px; margin-right: auto; }
.lp-nav a { color: var(--fg-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.lp-nav a:hover { color: var(--fg); }
.lp-head-cta { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 920px) { .lp-nav { display: none; } }
@media (max-width: 520px) { .lp-head-cta .ghost { display: none; } .lp-head-cta .lp-btn { min-height: 38px; padding: 8px 12px; font-size: 14px; } }

/* ---- Hero ---- */
.lp-hero { padding-top: 88px; }
.lp-hero h1 { font-size: clamp(38px, 5.6vw, 68px); max-width: 15ch; letter-spacing: -0.035em; line-height: 1.04; }
.lp-lede { margin-top: 22px; max-width: 60ch; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--fg-2); line-height: 1.55; }
.lp-lede.sm { font-size: 17px; margin-top: 16px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lp-stage { position: relative; margin-top: 72px; padding: 56px 0 64px; }
.lp-stage::before { content: ""; position: absolute; inset: 120px 0 0 0; background-color: var(--ink);
  background-image: none; }
.lp-shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(16, 35, 30, 0.06), 0 30px 60px -30px rgba(6, 26, 20, 0.55); }
.lp-shot img { width: 100%; }
.lp-hero + .lp-section { border-top: 0; }
@media (max-width: 640px) { .lp-hero { padding-top: 56px; } .lp-stage { margin-top: 48px; padding-top: 32px; } .lp-stage { padding-bottom: 40px; } .lp-stage::before { inset: 80px 0 0 0; } .lp-cta .lp-btn { flex: 1 1 auto; } }

/* ---- Sections ---- */
.lp-section { padding: 112px 0; }
.lp-section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-section h2, .lp-final h2 { font-size: clamp(30px, 3.6vw, 44px); max-width: 20ch; }
.lp-section h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; }
.lp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.lp-split.top, #cloisonnement .lp-split { align-items: start; }
#cloisonnement .lp-split-text { padding-top: 24px; }
.lp-intro { max-width: 640px; }
.lp-note { margin-top: 22px; padding-left: 14px; border-left: 1px solid var(--fg); color: var(--fg-2); font-size: 15px; }
@media (max-width: 920px) { .lp-split { grid-template-columns: 1fr; gap: 40px; } .lp-section { padding: 80px 0; } }

/* ---- Fiche, quatre regards ---- */
.lp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; padding: 4px; background: var(--surface-2); border-radius: 10px; width: fit-content; max-width: 100%; }
.lp-tab { appearance: none; border: 0; background: transparent; color: var(--fg-2); font: inherit; font-size: 14.5px; font-weight: 600; padding: 9px 14px; border-radius: 7px; cursor: pointer; transition: background 0.12s, color 0.12s, box-shadow 0.12s; }
.lp-tab:hover { color: var(--fg); }
.lp-tab[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(16, 35, 30, 0.08), 0 0 0 1px var(--line); }
.lp-caption { margin-top: 20px; min-height: 4.8em; color: var(--fg-2); font-size: 15.5px; max-width: 46ch; }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;  overflow: hidden; }
.lp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.lp-card-head strong { display: block; font-size: 18px; letter-spacing: -0.015em; }
.lp-card-head span { color: var(--muted); font-size: 13.5px; }
.lp-tag { background: var(--surface-2); color: var(--muted) !important; font-weight: 600; font-size: 12.5px !important; padding: 3px 9px; border-radius: 999px; }
.lp-fields { margin: -1px 0 0; padding: 0 24px 10px; }
.lp-field { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.lp-field dt { color: var(--muted); font-size: 14.5px; }
.lp-field dd { margin: 0; font-weight: 600; font-size: 15px; min-width: 0; }
.lp-field .m { display: none; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; font-size: 13.5px; }
.lp-field .m::before { content: ""; width: 72px; height: 10px; border-radius: 3px; background: var(--line); flex: none; }
.lp-field[data-state="mask"] .v { display: none; }
.lp-field[data-state="mask"] .m { display: inline-flex; }
.lp-field[data-state="hide"] { display: none; }
@media (prefers-reduced-motion: no-preference) { .lp-field { animation: lp-in 0.22s ease both; } }
@keyframes lp-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .lp-field { grid-template-columns: 1fr; gap: 2px; } .lp-fields { padding: 0 18px 8px; } .lp-card-head { padding: 16px 18px; } .lp-tabs { width: 100%; } .lp-tab { flex: 1 1 45%; } }

/* ---- Fonctionnalités ---- */
.lp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; margin-top: 56px; }
.lp-feature { padding: 28px 0; border-top: 1px solid var(--line); }
.lp-feature p { margin-top: 8px; color: var(--fg-2); max-width: 52ch; }
@media (max-width: 760px) { .lp-features { grid-template-columns: 1fr; margin-top: 36px; } .lp-feature { padding: 22px 0; } }

/* ---- Sécurité ---- */
.lp-section.dark { background: var(--ink); color: var(--ink-fg); }
.lp-section.dark .lp-lede { color: var(--ink-muted); }
.lp-list-item { padding: 24px 0; border-top: 1px solid var(--ink-line); }
.lp-list-item:first-child { border-top: 0; padding-top: 4px; }
.lp-list-item h3 { color: #fff; }
.lp-list-item p { margin-top: 8px; color: var(--ink-muted); }
.lp-section.dark h2 { color: #fff; }

/* ---- Appel final + pied ---- */
.lp-final { padding: 112px 0 120px; background: var(--surface-2); }
.lp-final .lp-lede { max-width: 58ch; }
@media (max-width: 640px) { .lp-final { padding: 80px 0; } }

/* ---- Contrats (section pilotage) ---- */
.lp-contracts { list-style: none; margin: 0; padding: 0 24px 8px; }
.lp-contracts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.lp-contracts li:first-child { border-top: 0; }
.lp-contracts strong { display: block; font-size: 15px; }
.lp-contracts span { color: var(--muted); font-size: 13.5px; }
.lp-contracts .due { display: grid; justify-items: end; text-align: right; gap: 2px; }
.lp-contracts .due span:first-child { color: var(--fg); font-weight: 600; font-size: 14px; }
.lp-contracts .due .alert { color: var(--fg); background: var(--surface-2); padding: 1px 8px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
@media (max-width: 520px) { .lp-contracts { padding: 0 18px 6px; } .lp-contracts li { grid-template-columns: 1fr; gap: 6px; } .lp-contracts .due { justify-items: start; text-align: left; } }

/* ---- Pied de page : liens ---- */
.lp-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }

/* ---- Pages de texte (mentions, confidentialité, conditions) ---- */
.lp-doc { padding: 72px 0 104px; }
.lp-doc .lp-wrap { max-width: 800px; }
.lp-doc h1 { font-size: clamp(32px, 4vw, 44px); }
.lp-doc .updated { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.lp-doc .intro { margin-top: 24px; font-size: 17.5px; color: var(--fg-2); }
.lp-doc h2 { margin-top: 48px; font-size: 22px; letter-spacing: -0.02em; }
.lp-doc h3 { margin-top: 24px; font-size: 17px; letter-spacing: -0.01em; }
.lp-doc p, .lp-doc ul, .lp-doc dl { margin-top: 12px; color: var(--fg-2); }
.lp-doc ul { padding-left: 20px; display: grid; gap: 6px; }
.lp-doc dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.lp-doc dt, .lp-doc dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lp-doc dt { color: var(--muted); padding-right: 16px; }
.lp-doc dd { color: var(--fg); font-weight: 500; }
.lp-doc table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.lp-doc th, .lp-doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.lp-doc th { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.lp-doc .table-wrap { overflow-x: auto; }
.lp-missing { color: var(--sand-fg); background: var(--sand-soft); padding: 1px 8px; border-radius: 4px; font-weight: 600; font-size: 0.9em; }
@media (max-width: 560px) { .lp-doc { padding: 48px 0 72px; } .lp-doc dl { grid-template-columns: 1fr; } .lp-doc dt { border-bottom: 0; padding-bottom: 0; } }

/* ---- Hero : gratuité et preuves ---- */
.lp-badge { display: inline-block; margin-bottom: 22px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--fg-2); font-weight: 600; font-size: 14px; }
.lp-hero h1 { max-width: 16ch; font-size: clamp(38px, 5vw, 62px); }
.lp-proof { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14.5px; }
.lp-proof li { display: flex; align-items: center; gap: 8px; }
.lp-proof li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--fg); }

/* ---- Démarrer ---- */
.lp-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.lp-steps li { padding-top: 22px; border-top: 1px solid var(--fg); counter-increment: step; }
.lp-steps li::before { content: "Étape " counter(step); display: block; margin-bottom: 8px; color: var(--muted); font-weight: 600; font-size: 14px; }
.lp-steps p { margin-top: 8px; color: var(--fg-2); }
@media (max-width: 860px) { .lp-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; } }

/* ---- FAQ ---- */
.lp-faq details { border-top: 1px solid var(--line); }
.lp-faq details:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform 0.15s; }
.lp-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lp-faq summary:hover { color: var(--accent); }
.lp-faq details p { padding: 0 0 20px; color: var(--fg-2); max-width: 62ch; }

/* ---- Hero : aperçu de la semaine ---- */
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.lp-week { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;  overflow: hidden; margin-bottom: 4px; }
.lp-week-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.lp-week-head strong { font-size: 16px; }
.lp-week-head span { color: var(--muted); font-size: 13px; }
.lp-week ul { list-style: none; margin: 0; padding: 6px 20px 10px; }
.lp-week li { display: grid; gap: 2px; padding: 12px 0 12px 14px; border-top: 1px solid var(--line); position: relative; }
.lp-week li:first-child { border-top: 0; }
.lp-week li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 2px; background: var(--accent-soft); }
.lp-week li.sand::before { background: var(--fg); }
.lp-week .k { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.lp-week li strong { font-size: 14.5px; line-height: 1.35; }
.lp-week li span:last-child { color: var(--muted); font-size: 13px; }
@media (max-width: 1080px) { .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; } .lp-week { max-width: 560px; } }

/* ---- Page publique des avantages ---- */
.pb-org { font-size: 18px; letter-spacing: -0.015em; }
.pb .lp-badge { margin-bottom: 18px; }
.pb-list { margin-top: 40px; display: grid; gap: 0; }
.pb-item { padding: 28px 0; border-top: 1px solid var(--line); }
.pb-item:last-child { border-bottom: 1px solid var(--line); }
.pb-item h2 { margin-top: 4px; font-size: 22px; }
.pb-cat { margin: 0 !important; color: var(--muted) !important; font-weight: 600; font-size: 14px; }
.pb-share { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--fg) !important; font-weight: 600; font-size: 14px; }
.pb-foot .lp-foot-in a { margin-left: 0; }
.pb-logo { max-height: 40px; max-width: 220px; width: auto; height: auto; }

/* ---- Thème (landing) ---- */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); cursor: pointer; margin-left: 4px; }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon, :root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

/* ---- Paie, boîte à outils, page publique (maquettes) ---- */
.lp-card-head .lp-fake-btn, .lp-fake-btn { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 6px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.lp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.lp-tool { padding-top: 22px; border-top: 1px solid var(--fg); }
.lp-tool p { margin-top: 8px; color: var(--fg-2); }
.lp-tool ul { list-style: none; margin: 16px 0 0; padding: 0; }
.lp-tool li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--fg); }
@media (max-width: 860px) { .lp-tools { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; } }
.lp-pb-bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.lp-pb-bar .lp-tag { margin-left: auto; }
.lp-pb-logo { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #1d3b6e; color: #fff; font-weight: 700; font-size: 14px; }
.lp-pb-body { padding: 22px 24px 18px; }
.lp-pb-kicker { color: var(--muted); font-size: 13px; }
.lp-pb-title { margin-top: 4px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.lp-pb-body ul { list-style: none; margin: 16px 0 0; padding: 0; }
.lp-pb-body li { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.lp-pb-body li span { color: var(--muted); font-size: 13px; }
.lp-pb-body li strong { font-size: 15.5px; }

/* ---- Site : en-tête avec menu Fonctionnalités ---- */
.lp-nav { align-items: center; }
.lp-dd { position: relative; }
.lp-dd > summary { list-style: none; cursor: pointer; color: var(--fg-2); font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.lp-dd > summary::-webkit-details-marker { display: none; }
.lp-dd > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.7; }
.lp-dd > summary:hover, .lp-dd[open] > summary { color: var(--fg); }
.lp-dd-panel { position: absolute; left: -16px; top: calc(100% + 14px); width: 360px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px; z-index: 30; }
.lp-dd-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--fg); }
.lp-dd-item:hover { background: var(--surface-2); }
.lp-dd-item strong { font-size: 14.5px; }
.lp-dd-item span { color: var(--muted); font-size: 13px; }

/* ---- Site : pages intérieures ---- */
.lp-sub { padding-top: 72px; }
.lp-sub h1 { max-width: 22ch; font-size: clamp(34px, 4.6vw, 54px); }
.lp-sub .lp-lede { max-width: 62ch; }
.lp-sub + .lp-section { border-top: 0; }
.lp-crumb { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.lp-crumb a { color: var(--muted); }
.lp-stage.plain { padding-bottom: 0; }
.lp-stage.plain::before { display: none; }
.lp-section.tight { padding-top: 56px; }
.lp-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 8px; }
.lp-block { padding: 28px 0; border-top: 1px solid var(--line); }
.lp-block h2 { font-size: 21px; letter-spacing: -0.02em; }
.lp-block p { margin-top: 10px; color: var(--fg-2); max-width: 56ch; }
.lp-block ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.lp-block li { position: relative; padding-left: 16px; color: var(--fg); font-size: 15px; }
.lp-block li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--fg); }
@media (max-width: 820px) { .lp-blocks { grid-template-columns: 1fr; } }
.lp-h2-sm { font-size: 24px !important; }
.lp-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 24px; }
.lp-module, .lp-link { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); text-decoration: none; transition: border-color 0.12s; }
.lp-module:hover, .lp-link:hover { border-color: var(--fg); }
.lp-module strong, .lp-link strong { font-size: 16px; }
.lp-module span, .lp-link span { color: var(--muted); font-size: 14px; }
.lp-links { display: grid; gap: 10px; }
.lp-more-link { margin-top: 18px; }
.lp-more-link a { color: var(--fg); font-weight: 600; text-underline-offset: 4px; }
.lp-more-link.on-dark a { color: #fff; }
.lp-more { margin-top: 32px; }
.mt-l { margin-top: 40px; }

/* Matrice des droits */
.lp-matrix-wrap { margin-top: 32px; overflow-x: auto; }
.lp-matrix { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.lp-matrix th, .lp-matrix td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-matrix thead th { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.lp-matrix tbody th { font-weight: 600; width: 30%; }
.lp-matrix td { color: var(--fg); }
.lp-matrix td.no { color: var(--muted); }
.lp-list.light .lp-list-item { border-top-color: var(--line); }
.lp-list.light .lp-list-item h3 { color: var(--fg); }
.lp-list.light .lp-list-item p { color: var(--fg-2); }
.lp-list.light a { color: var(--fg); }

/* Guide public */
.lp-guide { margin: 0; padding: 0; list-style: none; counter-reset: g; }
.lp-guide li { counter-increment: g; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; row-gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.lp-guide li::before { content: counter(g); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--fg-2); }
.lp-guide strong { font-size: 16px; }
.lp-guide span { color: var(--muted); font-size: 14.5px; }

/* Simulateur public : composants de formulaire */
.lp-app .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.lp-app .card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; min-width: 0; }
.lp-app .card > h2 { font-size: 17px; margin-bottom: 12px; }
.lp-app .form { display: grid; gap: 14px; }
.lp-app .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.lp-app .field { display: grid; gap: 6px; }
.lp-app .field label { font-size: 13.5px; font-weight: 600; color: var(--fg-2); }
.lp-app .input { width: 100%; padding: 10px 12px; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--fg); font: inherit; }
.lp-app .input:focus { outline: 2px solid var(--fg); outline-offset: 1px; }
.lp-app .buttons { padding-top: 4px; }
.lp-app .btn { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 600; cursor: pointer; }
.lp-app .kv { display: grid; grid-template-columns: 200px 1fr; gap: 10px 16px; margin: 0; }
.lp-app .kv dt { color: var(--muted); font-size: 14px; }
.lp-app .kv dd { margin: 0; }
.lp-app .small { font-size: 13.5px; } .lp-app .muted { color: var(--muted); } .lp-app .mt { margin-top: 12px; } .lp-app .mb { margin-bottom: 12px; } .lp-app .m0 { margin: 0; }
.lp-app .hint { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.lp-app .eyebrow { font-size: 13px; color: var(--muted); }
.lp-app .mono { font-variant-numeric: tabular-nums; }
.lp-app .right { text-align: right; }
.lp-app .field { align-content: start; }
.lp-app .check { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.lp-app .notice { padding: 10px 14px; border-radius: 8px; background: var(--sand-soft); color: var(--sand-fg); font-size: 14px; }
.lp-app .page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.lp-app .card > .page-head h2, .lp-app .card h2 { font-size: 17px; letter-spacing: -0.01em; }
.lp-app .sim { align-items: start; }
.lp-app .sim-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.lp-app .sim-figures > div { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.lp-app .sim-figures strong { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.lp-app details.fieldset { display: grid; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.lp-app details.fieldset > summary { cursor: pointer; list-style: none; font-size: 14px; }
.lp-app details.fieldset > summary::-webkit-details-marker { display: none; }
.lp-app details.fieldset > summary::before { content: "+ "; color: var(--muted); }
.lp-app details.fieldset[open] > summary::before { content: "− "; }
.lp-app .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.lp-app table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-app th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.lp-app td { padding: 8px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
.lp-app td:first-child { white-space: normal; }
.lp-app th.right, .lp-app td.right { text-align: right; }
.lp-app tr.sub td { background: var(--surface-2); }
@media (max-width: 560px) { .lp-app .kv { grid-template-columns: 1fr; gap: 2px; } .lp-app .kv dt { margin-top: 10px; } }

/* ---- Pied de page : plan du site ---- */
.lp-foot { padding: 56px 0 48px; background: var(--bg); border-top: 1px solid var(--line); }
.lp-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.lp-foot-brand p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 30ch; }
.lp-foot-brand a { display: inline-block; margin-top: 12px; color: var(--fg); font-size: 14px; }
.lp-foot-h { color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.lp-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-foot ul a { color: var(--fg-2); text-decoration: none; font-size: 14px; }
.lp-foot ul a:hover { color: var(--fg); text-decoration: underline; }
@media (max-width: 820px) { .lp-foot-grid { grid-template-columns: 1fr 1fr; } .lp-foot-brand { grid-column: 1 / -1; } }

/* Simulateurs : sections, unités dans les champs, paramètres repliables */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.affix { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); transition: border-color 0.12s, box-shadow 0.12s; }
.affix:focus-within { border-color: var(--fg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fg) 12%, transparent); }
.affix .input, .lp-app .affix .input { flex: 1; min-width: 0; border: 0; border-radius: 8px; background: transparent; box-shadow: none; }
.affix .input:focus, .lp-app .affix .input:focus { outline: none; box-shadow: none; }
.affix .unit { display: flex; align-items: center; padding: 0 12px 0 2px; color: var(--muted); font-size: 13px; white-space: nowrap; user-select: none; }
.sim-form .form { gap: 0; }
.sim-form .row { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); align-items: start; }
.sim-section { margin: 0; padding: 0 0 20px; border: 0; min-width: 0; }
.sim-section > .row + .row, .sim-section > .row + .check, .sim-section > .row + .hint { margin-top: 14px; }
/* légende sortie de la bordure du fieldset (flottante), pour un titre de section ordinaire */
.sim-section legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.sim-section legend + * { clear: both; }
.sim-section + .sim-section { padding-top: 20px; border-top: 1px solid var(--line); }
.sim-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sim-more + .sim-section { padding-top: 20px; }
.sim-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.sim-more > summary::-webkit-details-marker { display: none; }
.sim-more > summary > span { display: grid; gap: 2px; font-size: 14px; }
.sim-more > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin: 0 6px 4px 0; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s; }
.sim-more[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.sim-more > summary:hover strong { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.sim-more > summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 6px; }
.sim-more-body { display: grid; gap: 14px; padding: 4px 0 20px; }
.sim-form .buttons { padding-top: 20px; }
.sim-form .check { border-bottom: 0; padding: 0; }
.sim-submit { min-width: 160px; justify-content: center; }
@media (max-width: 560px) { .sim-submit { width: 100%; } }
.lp-app select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
@media (min-width: 900px) { .lp-app .sim > .sim-result { position: sticky; top: 84px; } }
.sim-compare { display: grid; gap: 10px; padding: 16px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); line-height: 1.55; }
.sim-compare p { margin: 0; }
.sim-saving { font-size: 15px; }

.lp-foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.lp-foot-bottom a { color: var(--muted); text-decoration: none; }
.lp-foot-bottom a:hover { color: var(--fg); text-decoration: underline; }
