/*
 * Praevento MC — site public
 *
 * Continuité produit : palette, typographie et jetons issus de
 * praevento-design-system.css, avec une densité adaptée à la lecture publique.
 * Trois écarts délibérés :
 * 1. les actions utilisent --color-primary-active (#0958D9), dont le contraste
 *    avec le blanc est conforme AA pour du texte courant ;
 * 2. --brand-green (#78BE20) ne porte jamais de texte blanc et reste un accent rare ;
 * 3. le corps passe de 15 à 17 px et les sections respirent davantage.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-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: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-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: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --color-primary: #1677ff;
  --color-primary-hover: #4096ff;
  --color-primary-active: #0958d9;
  --color-primary-bg: #e6f4ff;
  --color-primary-border: #91caff;
  --color-text: rgba(0, 0, 0, 0.88);
  --color-text-secondary: rgba(0, 0, 0, 0.65);
  --color-text-tertiary: rgba(0, 0, 0, 0.45);
  --color-border: #d9d9d9;
  --color-border-secondary: #f0f0f0;
  --color-bg-layout: #f5f5f5;
  --color-bg-container: #ffffff;
  --color-sidebar-bg: #001529;
  --brand-green: #78be20;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05),
    0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03);
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 28px;
  --space-2xl: 40px;
  --space-3xl: 56px;
  --section-space: 96px;
  --content-width: 1180px;
  --reading-width: 72ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg-container);
  color: var(--color-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-primary-active);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-primary-border);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-sidebar-bg);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

h1 {
  max-width: 18ch;
  margin-bottom: var(--space-xl);
  font-size: clamp(2.45rem, 5.3vw, 4.75rem);
}

h2 {
  max-width: 22ch;
  margin-bottom: var(--space-xl);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
}

h3 {
  margin-bottom: var(--space-md);
  font-size: 1.24rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-md);
  left: var(--space-md);
  padding: 10px 16px;
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--color-primary-active);
  color: var(--color-bg-container);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.brand-rule {
  height: 4px;
  background: var(--brand-green);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--color-border-secondary);
  background: rgba(255, 255, 255, 0.96);
}

.container {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 222px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  font-size: 0.92rem;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--color-text-secondary);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-sidebar-bg);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  border-color: var(--color-primary-active);
  background: var(--color-primary-active);
  color: var(--color-bg-container);
}

.btn-primary:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-bg-container);
}

.btn-outline {
  border-color: var(--color-border);
  background: var(--color-bg-container);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary-active);
  color: var(--color-primary-active);
}

.site-nav .btn {
  min-height: 44px;
  padding-inline: 16px;
  color: var(--color-bg-container);
}

.hero {
  padding: clamp(68px, 9vw, 118px) 0 var(--section-space);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.72fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: var(--space-lg);
  color: var(--color-primary-active);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 62ch;
  margin-bottom: var(--space-xl);
  color: var(--color-text-secondary);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-panel {
  position: relative;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-md);
  background: var(--color-sidebar-bg);
  box-shadow: var(--shadow-sm);
  color: rgba(255, 255, 255, 0.72);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 30px;
  width: 74px;
  height: 4px;
  background: var(--color-primary-active);
}

.hero-panel p {
  margin: 0;
}

.hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-features li {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-features li:last-child {
  border-bottom: 0;
}

.section {
  padding-block: var(--section-space);
}

.section-muted {
  background: var(--color-bg-layout);
}

.section-heading {
  max-width: var(--reading-width);
  margin-bottom: var(--space-2xl);
}

.section-heading p {
  max-width: 66ch;
  color: var(--color-text-secondary);
  font-size: 1.08rem;
}

.capture-intro {
  max-width: 68ch;
  margin-bottom: var(--space-2xl);
  color: var(--color-sidebar-bg);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.capture-shell {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-container);
  box-shadow: var(--shadow-sm);
}

.capture-placeholder {
  min-height: clamp(320px, 48vw, 620px);
  display: grid;
  place-items: center;
  padding: var(--space-xl);
  background: var(--color-bg-layout);
  color: var(--color-text-secondary);
  text-align: center;
}

figcaption {
  padding: 13px 18px;
  border-top: 1px solid var(--color-border-secondary);
  color: var(--color-text-secondary);
  font-size: 0.86rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.pillar {
  min-height: 100%;
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-container);
  box-shadow: var(--shadow-sm);
}

.pillar-kicker {
  margin-bottom: var(--space-md);
  color: var(--color-primary-active);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pillar p:last-child {
  margin-bottom: 0;
  color: var(--color-text-secondary);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.split-reverse .split-copy {
  order: 2;
}

.split-reverse .split-media {
  order: 1;
}

.split-copy {
  max-width: var(--reading-width);
}

.split-copy > p {
  color: var(--color-text-secondary);
}

.split-copy > p strong {
  color: var(--color-text);
}

.split-copy > p:last-child {
  margin-bottom: 0;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: var(--space-md);
  font-weight: 600;
}

.capture-compact .capture-placeholder {
  min-height: clamp(300px, 38vw, 500px);
}

.statement {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 64px);
  border-left: 4px solid var(--color-primary-active);
  background: var(--color-bg-container);
  box-shadow: var(--shadow-sm);
}

.statement h2 {
  max-width: 26ch;
}

.statement p {
  max-width: var(--reading-width);
  color: var(--color-text-secondary);
}

.statement p:last-child {
  margin-bottom: 0;
}

.boundary {
  background: var(--color-sidebar-bg);
  color: rgba(255, 255, 255, 0.78);
}

.boundary-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.boundary h2 {
  color: var(--color-bg-container);
}

.boundary p {
  max-width: var(--reading-width);
  margin-bottom: 0;
}

.demo-band {
  border-block: 1px solid var(--color-border-secondary);
}

.demo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2xl);
  align-items: center;
}

.demo-inner h2 {
  max-width: none;
}

.demo-copy {
  max-width: var(--reading-width);
}

.demo-copy p:last-child {
  margin-bottom: 0;
}

.final-cta {
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-inline: auto;
}

.final-cta h2 {
  max-width: 24ch;
}

.final-cta p {
  max-width: 56ch;
  margin-bottom: var(--space-xl);
  color: var(--color-text-secondary);
}

.site-footer {
  padding-block: var(--space-2xl);
  background: var(--color-sidebar-bg);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.footer-brand img {
  width: 190px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 22px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .split,
  .boundary-inner,
  .demo-inner {
    grid-template-columns: 1fr;
  }

  .split-reverse .split-copy,
  .split-reverse .split-media {
    order: initial;
  }

  .demo-inner .btn {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  :root {
    --section-space: 56px;
  }

  body {
    font-size: 17px;
  }

  .container {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .brand img {
    width: 196px;
  }

  .site-nav a:not(.btn) {
    min-height: 40px;
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-actions,
  .hero-actions .btn,
  .demo-inner .btn,
  .final-cta .btn {
    width: 100%;
  }

  .capture-placeholder {
    min-height: 260px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media print {
  .brand-rule,
  .skip-link,
  .site-nav,
  .hero-actions {
    display: none;
  }

  body {
    color: var(--color-text);
    font-size: 11pt;
  }

  .section,
  .hero {
    padding-block: 28pt;
  }

  .hero-grid {
    display: block;
  }

  .hero-panel {
    margin-top: 22pt;
    border: 1px solid var(--color-border);
    background: var(--color-bg-container);
    box-shadow: none;
    color: var(--color-text);
  }

  h1,
  h2,
  h3 {
    color: var(--color-text);
  }

  .hero-features li {
    border-color: var(--color-border);
  }

  .capture-shell,
  .pillar {
    break-inside: avoid;
    box-shadow: none;
  }

  .site-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-container);
    color: var(--color-text);
  }

  .footer-brand {
    display: none;
  }

  .footer-links a {
    color: var(--color-text);
  }
}

/* Direction A — version aboutie */
:root {
  --ink: #001529;
  --navy-soft: #0b2742;
  --blue: #0958d9;
  --blue-soft: #eaf3ff;
  --green: #78be20;
  --paper: #ffffff;
  --mist: #f5f7fa;
  --line: #dfe5ec;
  --muted: #526274;
  --shadow-card: 0 22px 56px rgba(0, 21, 41, 0.11), 0 3px 10px rgba(0, 21, 41, 0.06);
  --shadow-soft: 0 12px 32px rgba(0, 21, 41, 0.07);
  --content-width: 1216px;
  --reading-width: 70ch;
  --section-space: 104px;
}

html { scroll-padding-top: 92px; }
body { color: #172332; background: var(--paper); }
h1, h2, h3 { color: var(--ink); }
p { margin-bottom: 1.15em; }
.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; }

.brand-rule { height: 3px; }
.site-header { position: sticky; top: 0; box-shadow: 0 1px 0 rgba(0,21,41,.06); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 188px; }
.brand span, .footer-brand span { padding-left: 10px; border-left: 1px solid var(--line); color: var(--blue); font-size: .73rem; font-weight: 600; letter-spacing: .14em; }
.site-nav { gap: 20px; flex-wrap: wrap; }
.site-nav a { position: relative; font-size: .88rem; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 2px; background: var(--blue); transition: right .18s ease; }
.site-nav a:not(.btn):hover::after { right: 0; }
.site-nav .btn { border-radius: 7px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); }

.hero { padding: clamp(56px, 6vw, 86px) 0 clamp(48px, 5vw, 72px); }
.hero-grid { grid-template-columns: 1fr; gap: clamp(28px, 3vw, 40px); align-items: start; }
.hero h1 { max-width: 21ch; font-size: clamp(2.1rem, 3.6vw, 3.15rem); letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.hero-subtitle, .lead { max-width: 62ch; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.27rem); line-height: 1.65; }
.hero-panel { max-width: none; margin-top: 28px; padding: 0; background: transparent; box-shadow: none; }
.hero-panel::before { display: none; }
.hero-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hero-features li { min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .84rem; font-weight: 600; }
.hero-actions { margin-top: 32px; }
.btn { min-height: 50px; padding: 13px 21px; border-radius: 7px; cursor: pointer; }
.btn-primary { box-shadow: 0 8px 20px rgba(9,88,217,.18); }
.btn-secondary { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--blue); font-size: .76rem; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); }

.section { position: relative; }
.section-muted { background: var(--mist); }
.capture-shell { margin: 0; border-color: #d9e1ea; border-radius: 12px; box-shadow: var(--shadow-card); }
figcaption { padding: 11px 16px; background: #fff; color: #6b7786; font-size: .75rem; }

.product-window { min-height: 390px; background: #eef2f6; color: #233247; text-align: left; }
.window-bar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: var(--ink); color: rgba(255,255,255,.72); font-size: .72rem; }
.window-brand { color: #fff; font-weight: 600; letter-spacing: .12em; }
.window-brand b { margin-left: 7px; color: var(--green); }
.window-context { padding: 5px 9px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; }
.window-body { min-height: 334px; display: grid; grid-template-columns: 64px 1fr; }
.window-nav { padding-top: 18px; background: #0b2742; }
.window-nav i { width: 26px; height: 6px; display: block; margin: 0 auto 20px; border-radius: 4px; background: rgba(255,255,255,.22); }
.window-nav i:first-child { background: var(--green); }
.window-main { min-width: 0; padding: 28px; }
.window-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.window-heading strong { display: block; color: var(--ink); font-size: 1.08rem; }
.window-heading small { display: block; margin-top: 3px; color: #718094; font-size: .7rem; }
.status-pill { padding: 5px 9px; border: 1px solid #b7ddc7; border-radius: 999px; background: #effaf3; color: #1a7b43; font-size: .7rem; font-weight: 600; }
.window-table { overflow: hidden; border: 1px solid #d9e1ea; border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(0,21,41,.05); }
.window-row { min-height: 55px; display: grid; grid-template-columns: minmax(80px,.7fr) minmax(130px,1.5fr) minmax(88px,.8fr); align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid #edf0f4; font-size: .74rem; }
.window-row:last-child { border-bottom: 0; }
.window-row > span { color: #637184; }
.window-row b { overflow: hidden; color: #223147; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.window-row em { justify-self: end; padding: 4px 7px; border-radius: 4px; background: #eaf3ff; color: var(--blue); font-size: .66rem; font-style: normal; font-weight: 600; }
.window-row .state-1 { background: #fff6df; color: #986900; }
.window-row .state-2 { background: #effaf3; color: #247344; }

.pillars { gap: 18px; }
.pillar { position: relative; overflow: hidden; padding: 34px; border-color: #e2e7ed; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,21,41,.05); }
.pillar::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--blue); transform: scaleX(.18); transform-origin: left; }
.pillar h3 { font-size: 1.32rem; }
.statement { border-left-color: var(--green); border-radius: 0 10px 10px 0; box-shadow: var(--shadow-soft); }
.boundary { background: var(--ink); }
.demo-band { background: #fff; }
.final-cta { background: #eff4f9; }

/* Pages intérieures */
.page-hero { padding: clamp(72px, 8vw, 112px) 0; border-bottom: 1px solid var(--line); background: #f7f9fb; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(420px,1.12fr); align-items: center; gap: clamp(44px,7vw,90px); }
.page-hero h1 { max-width: 20ch; margin-bottom: 24px; font-size: clamp(1.95rem, 3.2vw, 2.85rem); line-height: 1.14; text-wrap: balance; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .capture-shell { margin: 0; }
.page-hero .product-window { min-height: 340px; }
.page-hero .window-body { min-height: 284px; }
.page-hero .window-main { padding: 22px; }
.page-hero .window-row { min-height: 47px; }
.reveal-copy { max-width: 50ch; margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--green); background: #fff; color: var(--muted); font-size: .9rem; }
.article-body { padding: 92px 0 116px; }
.article-body > .container { max-width: 920px; }
.prose { max-width: var(--reading-width); margin-inline: auto; }
.prose > section, .content-section { padding: 0 0 72px; }
.prose > section:last-child, .content-section:last-child { padding-bottom: 0; }
.prose h2 { max-width: 24ch; margin: 0 0 25px; padding-top: 8px; font-size: clamp(1.65rem,3vw,2.45rem); }
.prose h2:not(:first-child) { margin-top: 74px; }
.prose h2::before { content: ""; width: 28px; height: 3px; display: block; margin-bottom: 18px; background: var(--green); }
.prose h3 { margin-top: 34px; }
.prose p, .prose li { color: #46566a; }
.prose strong { color: #14243a; }
.prose ul, .prose ol { margin: 20px 0 26px; padding-left: 1.25em; }
.prose li { margin: .6em 0; padding-left: .3em; }
.prose blockquote { margin: 32px 0; padding: 24px 28px; border-left: 3px solid var(--blue); background: var(--blue-soft); }
.prose blockquote p:last-child { margin-bottom: 0; }
.article-link { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.guide-page .article-body > .container { max-width: 860px; }

.portrait-card { width: min(400px,100%); justify-self: end; overflow: hidden; border-radius: 12px; background: var(--ink); box-shadow: var(--shadow-card); }
.portrait-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.portrait-card p { margin: 0; padding: 18px 22px; color: #fff; font-weight: 600; }
.portrait-card span { color: rgba(255,255,255,.62); font-size: .82rem; font-weight: 400; }

/* Démonstration et tarifs */
.form-section { padding: 90px 0; background: #fff; }
.form-grid { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); gap: clamp(44px,7vw,92px); align-items: start; }
.form-aside { position: sticky; top: 118px; padding: 30px; border-radius: 10px; background: var(--ink); color: rgba(255,255,255,.72); }
.form-aside h2 { color: #fff; font-size: 2rem; }
.form-aside .eyebrow { color: #8ec6ff; }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 12px 0; padding-left: 26px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 600; }
.demo-form { padding: clamp(26px,5vw,48px); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-soft); }
.demo-form label { display: grid; gap: 8px; margin-bottom: 20px; color: var(--ink); font-size: .88rem; font-weight: 600; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbd4de; border-radius: 6px; background: #fff; color: #172332; font: inherit; font-weight: 400; }
.demo-form textarea { resize: vertical; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: 3px solid #cbe1ff; border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-privacy { color: var(--muted); font-size: .78rem; }
.form-status { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.hp-field { position: absolute; left: -9999px; }
.pricing-focus { padding: 72px 0 18px; background: #fff; }
.price-card { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 38px; padding: clamp(30px,5vw,52px); border: 1px solid var(--line); border-radius: 12px; background: var(--ink); color: rgba(255,255,255,.72); box-shadow: var(--shadow-card); }
.price-card .eyebrow { color: #8ec6ff; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.price strong { color: #fff; font-size: clamp(2.4rem,4vw,4rem); line-height: 1; }
.price span { font-size: .88rem; }
.price-points p { position: relative; margin: 8px 0; padding-left: 22px; }
.price-points p::before { content: "✓"; position: absolute; left: 0; color: var(--green); }

/* Documents légaux repris */
.legal-page .legal-notice { max-width: 920px; margin: 28px auto 0; padding: 14px 18px; border: 1px solid #f0cf84; border-radius: 7px; background: #fff8e8; color: #6d520f; font-size: .84rem; }
.legal-page .page-hero { padding: 66px 24px; text-align: center; }
.legal-page .page-hero h1 { max-width: 22ch; margin-inline: auto; }
.legal-page .page-hero p { max-width: 66ch; margin-inline: auto; color: var(--muted); }
.legal-page section, .legal-container { width: min(calc(100% - 48px),840px); margin-inline: auto; padding: 72px 0 100px; }
.legal-page section .container { width: 100%; }
.block-dark, .la { margin-bottom: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 5px 18px rgba(0,21,41,.035); }
.block-dark h2, .la-title { color: var(--ink); font-size: 1.12rem; font-weight: 600; }
.block-dark p, .block-dark div, .lp, .lu { color: #46566a; font-size: .92rem; line-height: 1.75; }
.legal-toc { margin-bottom: 28px; padding: 24px 28px; border-radius: 8px; background: var(--mist); }
.legal-toc h3 { margin-bottom: 12px; }
.legal-toc ol { columns: 2; }
.la-title { margin-bottom: 15px; }
.an { display: inline-block; margin-right: 7px; color: var(--blue); }
.ls { margin: 20px 0 7px; color: var(--ink); font-weight: 600; }
.ln, .lw { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--blue-soft); color: #46566a; font-size: .84rem; }
.lw { border-left-color: #d89500; background: #fff8e8; }
.sep { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }
.lt-wrap { overflow-x: auto; }
.lt { width: 100%; border-collapse: collapse; }
.lt th, .lt td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }

.site-footer { padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 48px; }
.footer-grid > div:not(.footer-intro) { display: flex; flex-direction: column; }
.footer-grid h2 { margin-bottom: 13px; color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { min-height: 36px; display: inline-flex; align-items: center; color: rgba(255,255,255,.66); text-decoration: none; font-size: .82rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { width: 170px; }
.footer-brand span { border-left-color: rgba(255,255,255,.22); color: var(--green); }
.footer-intro p { max-width: 32ch; margin-top: 18px; font-size: .84rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: .72rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-bottom a { color: rgba(255,255,255,.55); }

@media (max-width: 980px) {
  .site-header { position: relative; }
  .header-inner { min-height: 70px; flex-direction: row; align-items: center; padding: 0; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; padding: 18px 24px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft); }
  .site-nav.is-open { display: grid; }
  .site-nav a { width: 100%; justify-content: flex-start; }
  .site-nav .btn { justify-content: center; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero h1, .page-hero h1 { max-width: 17ch; }
  .hero-panel { max-width: none; }
  .page-hero .hero-media { max-width: 720px; }
  .portrait-card { justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .price-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2,1fr); }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 660px) {
  :root { --section-space: 64px; }
  .container { width: min(calc(100% - 32px),var(--content-width)); }
  .brand img { width: 160px; }
  .brand span { font-size: .66rem; }
  .hero { padding: 62px 0 72px; }
  .hero h1, .page-hero h1 { font-size: clamp(1.8rem,7.5vw,2.35rem); }
  .page-hero { padding: 58px 0 64px; }
  .article-body { padding: 64px 0 80px; }
  .content-section { padding-bottom: 54px; }
  .window-body { grid-template-columns: 44px 1fr; }
  .window-main { padding: 16px; }
  .window-nav i { width: 19px; }
  .window-context { display: none; }
  .window-row { min-height: 52px; grid-template-columns: 1fr; gap: 1px; padding: 9px 12px; }
  .window-row > span { font-size: .63rem; }
  .window-row em { position: absolute; right: 12px; justify-self: auto; }
  .window-row { position: relative; padding-right: 88px; }
  .product-window { min-height: 360px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .demo-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom nav { justify-content: flex-start; }
  .legal-page section, .legal-container { width: min(calc(100% - 32px),840px); padding-top: 48px; }
  .legal-page .legal-notice { margin-inline: 16px; }
  .legal-toc ol { columns: 1; }
}

@media print {
  .site-header, .site-footer, .legal-notice { display: none !important; }
  .page-hero, .article-body, .content-section { padding: 18pt 0; background: #fff; }
  .page-hero-grid { display: block; }
  .capture-shell { box-shadow: none; }
}

/* ============================================================
   MAQUETTE PRODUIT — .pshot
   08/09/2026. Remplace .product-window, qui imitait une fenetre
   d'application avec quatre lignes generiques : rien n'y etait
   propre a une main courante de securite.
   Ces maquettes montrent le vocabulaire reel du produit. Elles
   restent des SCHEMAS : la legende sous chaque figure le dit, et
   elle ne doit jamais etre retiree.
   ============================================================ */

.pshot { background: var(--color-bg-container); color: var(--color-text); text-align: left; }

.pshot-top {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 13px 20px; border-bottom: 1px solid var(--color-border-secondary);
  background: var(--color-bg-container);
  font-size: .8rem; color: var(--color-text-secondary);
}
.pshot-top b { color: var(--color-text); font-weight: 600; }
.pshot-state {
  margin-left: auto; padding: 3px 10px; border-radius: var(--radius-sm);
  border: 1px solid #b7eb8f; background: #f6ffed; color: #237804;
  font-size: .72rem; font-weight: 600; white-space: nowrap;
}
.pshot-state-neutral { border-color: var(--color-primary-border); background: var(--color-primary-bg); color: #0958d9; }

.pshot-body { padding: 18px 20px 22px; background: var(--color-bg-layout); }

.pshot-band {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-bottom: 10px; padding: 13px 16px; border-radius: var(--radius-md);
  background: var(--color-bg-container); box-shadow: 0 1px 2px rgba(0,0,0,.04);
  font-size: .82rem;
}
.pshot-band-a { border-left: 3px solid #faad14; }
.pshot-band-b { border-left: 3px solid var(--brand-green); }
.pshot-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--brand-green); }
.pshot-muted { color: var(--color-text-secondary); }

.pshot-card {
  margin-top: 10px; padding: 14px 16px; border-left: 3px solid transparent;
  border-radius: var(--radius-md); background: var(--color-bg-container);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pshot-card-warn { border-left-color: #faad14; }
.pshot-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 9px; }
.pshot-hh { font-variant-numeric: tabular-nums; color: var(--color-text-secondary); font-size: .8rem; }
.pshot-badge {
  padding: 2px 8px; border-radius: var(--radius-sm); background: #f0f5ff; color: #1d39c4;
  font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.pshot-badge-w { background: #fff7e6; color: #ad4e00; }
.pshot-badge-g { background: #f6ffed; color: #237804; }
.pshot-t { font-weight: 600; font-size: .92rem; }

.pshot-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pshot-chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 4px 9px; border-radius: var(--radius-sm);
  background: var(--color-bg-layout); color: var(--color-text-secondary); font-size: .74rem;
}
.pshot-chip b { color: var(--color-text); font-weight: 600; }
.pshot-chip-out b { color: #a8071a; font-weight: 500; font-style: italic; }
.pshot-free { margin: 9px 0 0; font-size: .79rem; color: var(--color-text-secondary); }

/* Deux vues cote a cote */
.pshot-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pshot-pane {
  padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--color-bg-container); box-shadow: 0 1px 2px rgba(0,0,0,.04);
  border-top: 3px solid #1d39c4;
}
.pshot-pane-client { border-top-color: #237804; }
.pshot-pane-lab {
  margin-bottom: 10px; font-size: .64rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-tertiary);
}
.pshot-line {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; border-bottom: 1px dashed var(--color-border-secondary); font-size: .78rem;
}
.pshot-line:last-child { border-bottom: 0; }
.pshot-line > span { color: var(--color-text-secondary); }
.pshot-line > b { font-weight: 600; text-align: right; }
.pshot-line-out > b { color: #a8071a; font-weight: 500; font-style: italic; }

/* Pave de chiffres (rapport) */
.pshot-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pshot-stat {
  padding: 13px 14px; border-radius: var(--radius-md);
  background: var(--color-bg-container); box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pshot-stat strong { display: block; font-size: 1.24rem; letter-spacing: -.02em; }
.pshot-stat span { display: block; margin-top: 3px; font-size: .7rem; color: var(--color-text-secondary); }
.pshot-stat small { display: block; margin-top: 2px; font-size: .66rem; color: var(--color-text-tertiary); }

@media (max-width: 760px) {
  .pshot-body { padding: 14px 14px 18px; }
  .pshot-split { grid-template-columns: 1fr; }
  .pshot-stats { grid-template-columns: repeat(2, 1fr); }
  .pshot-top { font-size: .74rem; }
  .pshot-chip, .pshot-line { font-size: .72rem; }
}

/* Passerelle vers la page du donneur d'ordre, depuis la page prestataire. */
.hero-aside {
  margin: 18px 0 0; max-width: 56ch;
  font-size: .88rem; color: var(--color-text-secondary);
}
.hero-aside strong { color: var(--color-text); font-weight: 600; }
