:root {
  --ink: #10202b;
  --ink-2: #1a2e3a;
  --paper: #f6f4ee;
  --paper-2: #ebe8df;
  --white: #fff;
  --muted: #53616a;
  --line: #d5d8d4;
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: #e66f3c;
  --accent-dark: #963d1c;
  --green: #2e6b54;
  --amber: #9b681e;
  --red: #934034;
  --blue: #346a7d;
  --violet: #675779;
  --shadow: 0 24px 70px rgba(16, 32, 43, 0.12);
  --radius-lg: 26px;
  --radius: 16px;
  --radius-sm: 9px;
  --container: 1180px;
  --header-height: 76px;
  --scroll-anchor-offset: var(--header-height);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", var(--font);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-anchor-offset);
}

body {
  margin: 0;
  scroll-padding-top: var(--scroll-anchor-offset);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(2.7rem, 5.2vw, 5.35rem);
  font-weight: 730;
  max-width: 830px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4vw, 4.25rem);
  font-weight: 710;
}

h3 {
  font-size: clamp(1.25rem, 1.75vw, 1.65rem);
}

::selection {
  color: var(--white);
  background: var(--accent-dark);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 145px);
}

.section-dark,
.section-ink {
  color: var(--white);
  background: var(--ink);
}

.section-ink {
  background: #172b36;
}

.section-soft {
  background: #eae7de;
}

.sr-only {
  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: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--accent-dark);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow,
.toolbar-label,
.card-label {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #f1a17e;
}

.section-heading {
  margin-bottom: 58px;
}

.section-heading > p:last-child,
.split-heading > p,
.centered > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.centered {
  max-width: 830px;
  margin-inline: auto;
  text-align: center;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 70px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading > p {
  margin-bottom: 8px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #171b1d;
  background: #f18b5e;
  border-color: #f18b5e;
}

.button-primary:hover {
  background: #ffa47d;
  border-color: #ffa47d;
}

.button-ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: #879098;
}

.button-small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.88rem;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  overflow: visible;
  color: var(--ink);
  background: rgba(246, 244, 238, 0.92);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Ancres : titres de section visibles sous l'en-tête fixe */
section[id],
main[id],
[id].legal-card,
h1[id],
h2[id],
h3[id] {
  scroll-margin-top: var(--scroll-anchor-offset);
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(246, 244, 238, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(16, 32, 43, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  line-height: 1.1;
  text-decoration: none;
}

.identity strong,
.identity small {
  display: block;
}

.identity strong {
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.identity small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-mark {
  display: grid;
  width: 31px;
  gap: 4px;
}

.identity-mark span {
  display: block;
  height: 3px;
  background: var(--accent);
  border-radius: 5px;
}

.identity-mark span:nth-child(2) {
  width: 72%;
}

.identity-mark span:nth-child(3) {
  width: 42%;
}

/* Menu mobile partagé */
.menu-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.menu-bars span:nth-child(2) {
  width: 72%;
}

.menu-bars span:nth-child(3) {
  width: 42%;
}

.advDesktopNav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.advMobileMenu {
  display: none;
}

.advMobileLinks {
  display: none;
}

@media (max-width: 800px) {
  .ri-hide-mobile {
    display: none !important;
  }

  .advDesktopNav {
    display: none;
  }

  .site-header .header-inner {
    position: relative;
    gap: 10px;
  }

  .identity {
    flex: 1;
    min-width: 0;
  }

  .identity[data-ri-nav-toggle] {
    touch-action: manipulation;
    cursor: pointer;
  }

  .advMobileMenu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
    cursor: pointer;
    position: relative;
    z-index: 1402;
  }

  .advMobileLinks.open {
    display: block;
    position: fixed;
    top: calc(var(--header-height) + 6px);
    right: max(13px, env(safe-area-inset-right, 0px));
    left: auto;
    width: min(280px, calc(100vw - 26px));
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
    z-index: 1500;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .advMobileLinks a {
    display: block;
    padding: 11px;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.8rem;
    text-decoration: none;
  }

  .site-header.menu-open {
    z-index: 1490;
  }
}

@media (max-width: 800px) {
  .mobileLinks.open {
    display: block;
    position: fixed;
    top: calc(var(--header-height) + 6px);
    right: max(13px, env(safe-area-inset-right, 0px));
    left: auto;
    width: min(280px, calc(100vw - 26px));
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    z-index: 1500;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  header.menu-open {
    z-index: 1490;
  }
}

body[data-ri-site-nav] .top,
body[data-ri-site-nav] > .wrap > .top {
  display: none;
}

body[data-ri-site-nav] main.seo-article {
  padding-top: calc(var(--header-height) + 40px);
}

body[data-ri-site-nav] .seo-back {
  margin-top: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a:not(.button) {
  color: #3d4e57;
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav > a:not(.button):hover {
  color: var(--ink);
}

.main-nav .button-dark {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* Hero */
.hero {
  min-height: auto;
  padding: calc(var(--header-height) + 56px) 0 72px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
}

.hero::before {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.hero h1 {
  max-width: 22rem;
}

.hero-lead,
.hero-promise {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.hero-control {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  font-weight: 650;
}

.hero-cta-note {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(16, 32, 43, 0.12);
}

.hero-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-panel {
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 90px rgba(0,0,0,0.24);
}

.panel-topline,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-topline {
  color: #66757d;
  border-bottom: 1px solid var(--line);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-indicator i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(46,107,84,0.12);
}

.hero-panel-body {
  padding: 30px 28px 20px;
}

.panel-kicker {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
}

.next-action-rule {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.rule-number,
.card-index {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.next-action-rule p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.outcome-stack {
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.outcome-stack > div {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 2px 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.outcome-stack > div:last-child {
  border-bottom: 0;
}

.outcome-stack strong,
.outcome-stack small {
  grid-column: 2;
}

.outcome-stack strong {
  font-size: 0.91rem;
}

.outcome-stack small {
  color: var(--muted);
}

.status-dot {
  grid-row: 1 / 3;
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
}

.status-dot.status-closed { background: var(--green); }
.status-dot.status-blocked { background: var(--red); }
.status-dot.status-decision { background: var(--amber); }

.panel-footer {
  justify-content: center;
  gap: 11px;
  color: #d3dcdf;
  background: var(--ink);
}

.panel-footer i {
  width: 18px;
  height: 1px;
  background: #5f747f;
}

.hero-ruler {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 20px;
  opacity: 0.2;
  background: repeating-linear-gradient(90deg, transparent 0 31px, #fff 32px 33px);
}

/* Operated service */
.operated-service {
  background: #f8f6f1;
}

.service-objection {
  max-width: 910px;
  margin-bottom: 52px;
}

.service-objection h2 {
  max-width: 850px;
}

.service-objection > p:last-child {
  max-width: 790px;
  color: var(--muted);
  font-size: 1.08rem;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.role-card {
  min-height: 380px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.role-card-accent {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.role-number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.role-card-accent .role-number,
.role-card-accent .card-label {
  color: #f1a17e;
}

.role-card h3 {
  min-height: 58px;
  margin-bottom: 24px;
}

.compact-list {
  gap: 9px;
  color: var(--muted);
  font-size: 0.84rem;
}

.role-card-accent .compact-list {
  color: #c3cdd1;
}

.service-rule {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 25px;
  margin-top: 24px;
  padding: 24px 28px;
  color: var(--white);
  background: #294754;
  border-radius: var(--radius);
}

.service-rule strong {
  color: #f1a17e;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-rule p {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 730;
}

/* J-2 */
.j2-scene {
  background: #f8f6f1;
}

.problem-layout,
.resolution-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  margin-bottom: 42px;
}

.problem-visual,
.resolution-visual {
  margin: 0;
}

.problem-visual img,
.resolution-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(16, 32, 43, 0.1);
}

.wound-list {
  display: grid;
  gap: 18px;
}

.wound-list article {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid #b07a2c;
  border-radius: var(--radius);
}

.wound-quote {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

.wound-list p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.operator-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.operator-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  background: #e8e6df;
}

.operator-card h3 {
  margin-bottom: 8px;
}

.operator-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.faq-section {
  background: #f8f6f1;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-list details {
  padding: 6px 22px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 70ch;
}

.two-views-light::before {
  display: none;
}

.two-views-light .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.two-views-light .view-card {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.two-views-light .view-number {
  color: rgba(16, 32, 43, 0.08);
}

.two-views-light .views-conclusion {
  color: var(--ink);
}

.two-views-light .views-conclusion strong {
  color: var(--ink);
}

.situation-quotes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.situation-quotes article {
  min-height: 150px;
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid #b07a2c;
  border-radius: var(--radius);
}

.situation-quotes p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
}

.j-contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 42px;
}

.j-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.j-card h3 {
  margin-bottom: 16px;
}

.j-card-late {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.j-card-late .card-label {
  color: #f1a17e;
}

.j-card-late p:not(.card-label) {
  margin: 0;
  color: #c6d0d4;
  font-size: 1.02rem;
}

.verb-chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 36px;
}

.verb-chain article {
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.verb-chain span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verb-chain strong {
  font-size: 1.12rem;
}

.verb-chain + .service-objection {
  margin-top: 12px;
}

.open-point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.open-point-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid #b07a2c;
  border-radius: var(--radius);
}

.open-point-card h3 {
  margin-bottom: 12px;
  font-size: 1.52rem;
}

.open-point-card p:not(.card-label) {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.status-launch { color: #4d5860; background: #e1e4e2; }
.status-progress { color: #24596b; background: #dce9ed; }
.status-followup { color: #815414; background: #f1e3c9; }
.status-received { color: #3c5f69; background: #deeaec; }
.status-incomplete { color: #89572a; background: #f0dfce; }
.status-contradictory { color: #5d4b70; background: #e8e1ed; }
.status-validate { color: #59406f; background: #e8dff0; }
.status-blocked { color: #873b31; background: #edd8d4; }
.status-decision { color: #7e4b18; background: #f1ddc7; }
.status-closed { color: #275f4a; background: #d9e9e1; }

.question-block {
  max-width: 890px;
  margin: 70px auto 0;
  padding: 10px 0 10px 34px;
  border-left: 4px solid var(--accent);
}

.question-block p {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  font-weight: 690;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.fit-signal {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 45px;
  margin-top: 54px;
  padding: 30px;
  background: #eeece5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fit-signal h3 {
  margin: 0;
  font-size: 1.45rem;
}

.signal-tags,
.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-tags span,
.proof-tags span {
  padding: 7px 10px;
  color: #4d5a62;
  background: var(--white);
  border: 1px solid #d8dad6;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 690;
}

/* Proofs and closure */
.proof-section {
  background: #e9e6dd;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: clamp(50px, 8vw, 105px);
}

.proof-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.proof-tags {
  margin-top: 28px;
}

.closure-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.closure-states {
  display: grid;
  gap: 8px;
}

.closure-states > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  align-items: center;
  gap: 15px;
  padding: 11px 13px;
  background: #f6f6f2;
  border: 1px solid #e1e3df;
  border-radius: 8px;
}

.closure-states small {
  color: var(--muted);
}

.closure-states > i {
  height: 13px;
  color: #869097;
  font-style: normal;
  line-height: 13px;
  text-align: center;
}

.closure-warning {
  padding-top: 20px;
  margin: 22px 0 0;
  color: #56646c;
  border-top: 1px solid var(--line);
  font-size: .78rem;
}

/* Simulation */
.simulation-section {
  overflow: hidden;
}

.simulation-disclaimer {
  display: inline-block;
  margin: 8px auto 0;
  padding: 8px 12px;
  color: #59666d !important;
  background: rgba(255,255,255,0.58);
  border: 1px solid #ced2ce;
  border-radius: 8px;
  font-size: 0.76rem !important;
}

.interface-notice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--white);
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
}

.interface-notice > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 20px 22px;
  background: var(--ink);
}

.interface-notice p {
  margin: 0;
  color: #c4cfd3;
  font-size: .83rem;
}

.interface-notice strong {
  color: var(--white);
}

.notice-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--ink);
  background: #f1a17e;
  border-radius: 50%;
  font-weight: 900;
}

.simulation-shell {
  overflow: hidden;
  background: #f9f8f4;
  border: 1px solid #cfd3cf;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.simulation-toolbar,
.panel-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.simulation-toolbar {
  padding: 20px 24px;
  color: var(--white);
  background: var(--ink);
}

.simulation-toolbar .toolbar-label {
  display: block;
  margin-bottom: 3px;
  color: #91a3ab;
}

.simulation-toolbar strong {
  font-size: 0.96rem;
}

.simulation-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.simulation-controls .button-dark {
  color: var(--ink);
  background: var(--white);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 9px;
  cursor: pointer;
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.timeline-wrap {
  overflow-x: auto;
  padding: 22px 24px 18px;
  background: #eef0ed;
  scrollbar-width: thin;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(15, minmax(48px, 1fr));
  min-width: 780px;
}

.timeline::before {
  position: absolute;
  top: 11px;
  right: 24px;
  left: 24px;
  height: 2px;
  background: #c6ccc9;
  content: "";
}

.timeline-day {
  position: relative;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 0;
  color: #7a858b;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 760;
}

.timeline-day i {
  z-index: 1;
  display: block;
  width: 10px;
  height: 10px;
  background: #c6ccc9;
  border: 2px solid #eef0ed;
  border-radius: 50%;
}

.timeline-day.has-event i {
  background: #7b8f98;
}

.timeline-day.active {
  color: var(--ink);
}

.timeline-day.active i {
  width: 14px;
  height: 14px;
  margin-top: -2px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230,111,60,0.17);
}

.simulation-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.summary-item {
  display: flex;
  min-height: 98px;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px;
  border-right: 1px solid var(--line);
}

.summary-item:last-child {
  border-right: 0;
}

.summary-item span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 720;
  text-transform: uppercase;
}

.summary-item strong {
  margin-top: 3px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.attention-summary.has-attention {
  color: #6e3d15;
  background: #f2dfcc;
}

.simulation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(285px, 0.62fr);
}

.prerequisite-panel {
  min-width: 0;
  padding: 26px 24px 30px;
}

.panel-heading-row {
  margin-bottom: 20px;
}

.panel-heading-row .toolbar-label {
  display: block;
  margin-bottom: 4px;
}

.panel-heading-row h3 {
  margin: 0;
  font-size: 1.25rem;
}

.filter-label select {
  min-height: 40px;
  padding: 7px 34px 7px 10px;
  background: var(--white);
  border: 1px solid #c9cecb;
  border-radius: 8px;
  font-size: 0.79rem;
}

.prerequisite-list {
  display: grid;
  gap: 8px;
}

.prerequisite-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(140px, 0.58fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 11px 12px;
  background: var(--white);
  border: 1px solid #dde0dd;
  border-radius: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.prerequisite-row:hover {
  border-color: #aeb7b7;
  transform: translateX(2px);
}

.prerequisite-row.is-new {
  border-color: #e09c7f;
  box-shadow: inset 3px 0 var(--accent);
}

.prerequisite-id {
  color: #7d898f;
  font-size: 0.7rem;
  font-weight: 850;
}

.prerequisite-name strong,
.prerequisite-action strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prerequisite-name strong {
  font-size: 0.85rem;
}

.prerequisite-name small,
.prerequisite-action small {
  display: block;
  color: #758087;
  font-size: 0.69rem;
}

.prerequisite-action strong {
  margin-top: 2px;
  color: #46545b;
  font-size: 0.74rem;
}

.prerequisite-detail {
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: #f1f2ef;
  border: 1px solid #d7dbd7;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.empty-state {
  padding: 36px 20px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed #c7ccca;
  border-radius: 10px;
  text-align: center;
}

.activity-panel {
  min-width: 0;
  padding: 26px 22px;
  color: var(--white);
  background: #1b303b;
}

.activity-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.activity-header .toolbar-label {
  color: #ee9670;
}

.activity-header h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.activity-header p {
  margin-bottom: 0;
  color: #aebbc0;
  font-size: 0.8rem;
}

.activity-feed {
  display: grid;
  max-height: 600px;
  gap: 0;
  padding: 8px 0;
  margin: 0;
  overflow: auto;
  list-style: none;
  scrollbar-color: #546a73 transparent;
}

.activity-feed li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
}

.activity-feed time {
  color: #f2a17d;
  font-size: 0.72rem;
  font-weight: 780;
}

.activity-feed strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.activity-feed span {
  display: block;
  color: #9fb0b6;
  font-size: 0.7rem;
  line-height: 1.45;
}

.activity-feed .activity-empty {
  display: block;
  padding: 24px 0;
  color: #a9b6bb;
  border: 0;
  font-size: 0.8rem;
}

.attention-box {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  color: #c4d0d4;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  border-radius: 11px;
}

.attention-box.has-attention {
  color: var(--ink);
  background: #f0d5bd;
  border-color: #f0d5bd;
}

.attention-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--ink);
  background: #f2a17e;
  border-radius: 50%;
  font-weight: 850;
}

.attention-box strong {
  display: block;
  font-size: 0.8rem;
}

.attention-box p {
  margin: 2px 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
}

.simulation-conclusion {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 45px;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  text-align: center;
}

.simulation-conclusion p {
  margin: 0;
}

.prerequisite-dialog {
  width: min(720px, calc(100% - 30px));
  max-height: min(86vh, 800px);
  padding: 0;
  color: var(--ink);
  background: #f8f7f2;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.3);
}

.prerequisite-dialog::backdrop {
  background: rgba(6, 18, 25, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-header {
  display: flex;
  position: sticky;
  z-index: 2;
  top: 0;
  align-items: flex-start;
  justify-content: space-between;
  padding: 23px 26px 19px;
  background: #f8f7f2;
  border-bottom: 1px solid var(--line);
}

.dialog-header .toolbar-label {
  display: block;
  margin-bottom: 5px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 1.7rem;
}

.dialog-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  background: #e8e8e3;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}

.dialog-body {
  padding: 24px 26px 32px;
}

.dialog-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
}

.dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin: 0 0 25px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.dialog-grid > div {
  min-height: 92px;
  padding: 14px;
  background: var(--white);
}

.dialog-grid dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.dialog-grid dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
}

.dialog-history-title {
  margin-bottom: 13px;
  font-size: 1rem;
}

.dialog-history {
  padding: 0;
  margin: 0;
  list-style: none;
}

.dialog-history li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.dialog-history time {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.dialog-history strong,
.dialog-history span {
  display: block;
}

.dialog-history strong {
  font-size: 0.83rem;
}

.dialog-history span {
  color: var(--muted);
  font-size: 0.76rem;
}

/* Cost calculator */
.cost-section {
  background: #f7f5ef;
}

.cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  align-items: center;
  gap: clamp(50px, 8vw, 105px);
}

.cost-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.cost-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.cost-stack span {
  padding: 7px 10px;
  color: #4f5c64;
  background: #e9e7e0;
  border: 1px solid #d9dad5;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 680;
}

.calculator {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.calculator-heading h3 {
  margin-bottom: 7px;
  font-size: 1.65rem;
}

.calculator-heading p {
  color: var(--muted);
  font-size: 0.82rem;
}

.calculator-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calculator label,
.contact-form label {
  display: grid;
  gap: 6px;
}

.calculator label > span:first-child,
.contact-form label > span:first-child {
  color: #56646c;
  font-size: 0.76rem;
  font-weight: 720;
}

.calculator input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  background: #fafaf7;
  border: 1px solid #cdd2cf;
  border-radius: 8px;
}

.calculator input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  outline: 2px solid rgba(52,106,125,0.18);
}

.input-unit {
  position: relative;
}

.input-unit i {
  position: absolute;
  top: 50%;
  right: 13px;
  color: #7c878d;
  font-style: normal;
  transform: translateY(-50%);
}

.input-unit input {
  padding-right: 34px;
}

.calculator-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
}

.calculator-result span {
  max-width: 240px;
  color: #b7c3c8;
  font-size: 0.76rem;
  font-weight: 680;
  line-height: 1.4;
}

.calculator-result strong {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1;
  white-space: nowrap;
}

.fine-print {
  margin: 14px 0 0;
  color: #778289;
  font-size: 0.69rem;
  line-height: 1.5;
}

/* Two views */
.two-views {
  overflow: hidden;
}

.two-views::before {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background: radial-gradient(circle at 50% 0, #406170, transparent 42%);
  content: "";
}

.two-views .container {
  position: relative;
}

.two-views .section-heading p:not(.eyebrow) {
  color: #aebbc0;
}

.views-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.view-card {
  position: relative;
  min-height: 425px;
  padding: clamp(30px, 5vw, 55px);
  overflow: hidden;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}

.view-number {
  position: absolute;
  top: 25px;
  right: 30px;
  color: rgba(255,255,255,0.14);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.view-card .card-label {
  max-width: 320px;
  color: #ee9b77;
}

.view-card h3 {
  max-width: 460px;
  margin-bottom: 35px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.view-card .check-list {
  color: #c3cdd1;
}

.views-conclusion,
.workflow-conclusion {
  max-width: 830px;
  margin: 48px auto 0;
  color: #b6c1c5;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  text-align: center;
}

.views-conclusion strong {
  color: var(--white);
}

/* Method */
.method-section {
  background: #f7f5ef;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.method-steps-eight {
  grid-template-columns: repeat(4, 1fr);
}

.method-step {
  display: grid;
  min-height: 230px;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.46);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-step > span {
  color: var(--accent-dark);
  font-size: 0.73rem;
  font-weight: 850;
}

.method-step h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Mandate */
.mandate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.mandate-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.mandate-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 15px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 9px;
}

.mandate-rule span {
  color: #f2a17c;
  font-size: 0.82rem;
  font-weight: 800;
}

.mandate-steps {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.mandate-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 12px;
}

.mandate-steps li > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.mandate-steps p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mandate-steps strong {
  color: var(--ink);
}

.mandate-diagram {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.diagram-client,
.diagram-service {
  width: min(330px, 88%);
  padding: 15px;
  margin-inline: auto;
  border-radius: 10px;
}

.diagram-client {
  color: var(--white);
  background: var(--ink);
}

.diagram-service {
  color: var(--ink);
  background: #f0d9cb;
  border: 1px solid #e8bfae;
}

.diagram-client small,
.diagram-service small {
  display: block;
  opacity: 0.7;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.mandate-arrow {
  position: relative;
  display: grid;
  min-height: 74px;
  place-items: center;
  color: #6f7d84;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.mandate-arrow i {
  position: absolute;
  font-style: normal;
  font-size: 1.4rem;
}

.mandate-arrow > span:first-child {
  margin-right: 75px;
}

.mandate-arrow .arrow-return {
  margin-left: 120px;
  color: var(--accent-dark);
}

.stakeholder-lines {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
}

.stakeholder-lines i:first-child {
  width: 1px;
  height: 26px;
  background: #aeb8b7;
}

.stakeholder-lines i:nth-child(2) {
  position: absolute;
  bottom: 18px;
  width: 70%;
  height: 1px;
  background: #aeb8b7;
}

.stakeholder-lines i:nth-child(3) {
  position: absolute;
  bottom: 0;
  width: 70%;
  height: 19px;
  background: repeating-linear-gradient(90deg, #aeb8b7 0 1px, transparent 1px 20%);
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stakeholder-grid span {
  padding: 9px 6px;
  color: #536169;
  background: #f0f1ed;
  border: 1px solid #d9ddda;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 700;
}

.introduction-example {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 38px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid #c9cdca;
}

.example-label {
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.introduction-example blockquote {
  margin: 0;
  color: #36464e;
  font-size: 1.03rem;
}

.introduction-example footer {
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.confidentiality-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(420px, 1.15fr);
  gap: 28px 65px;
  margin-top: 40px;
  padding: clamp(28px, 4vw, 42px);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.confidentiality-panel h3 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.confidentiality-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  color: #c1cdd1;
  list-style: none;
}

.confidentiality-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.87rem;
}

.confidentiality-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 2px;
  background: #f0a17f;
  content: "";
}

.trust-accuracy {
  grid-column: 1 / -1;
  padding-top: 18px;
  margin: 0;
  color: #93a5ac;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.75rem;
}

/* Traceability */
.trace-section {
  background: #f8f6f1;
}

.trace-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: clamp(50px, 8vw, 105px);
}

.trace-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.trace-copy .button {
  margin-top: 12px;
}

.history-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.history-card-head {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 20px;
  color: var(--white);
  background: var(--ink);
}

.history-card-head > span:first-child {
  color: #f4a17c;
  font-size: 0.76rem;
  font-weight: 800;
}

.history-card-head small,
.history-card-head strong {
  display: block;
}

.history-card-head small {
  color: #91a4ac;
  font-size: 0.68rem;
}

.history-card-head strong {
  font-size: 0.86rem;
}

.history-list {
  padding: 9px 20px 14px;
  margin: 0;
  list-style: none;
}

.history-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e4e1;
}

.history-list li:last-child {
  border-bottom: 0;
}

.history-list time {
  color: #778288;
  font-size: 0.73rem;
  font-weight: 750;
}

.history-list span {
  font-size: 0.8rem;
  font-weight: 650;
}

.history-list[data-collapsed="true"] li:nth-child(n+4) {
  display: none;
}

.escalation-example {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(460px, 1.3fr) minmax(190px, .65fr);
  align-items: center;
  gap: 28px;
  margin-top: 56px;
  padding: 30px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.escalation-intro h3 {
  margin: 0;
  font-size: 1.4rem;
}

.escalation-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
}

.escalation-data > div {
  padding: 11px 12px;
  background: #172b36;
}

.escalation-data dt {
  color: #8fa2aa;
  font-size: .64rem;
  font-weight: 750;
  text-transform: uppercase;
}

.escalation-data dd {
  margin: 3px 0 0;
  font-size: .79rem;
  font-weight: 720;
}

.escalation-action {
  padding: 18px;
  color: var(--ink);
  background: #f0d9cb;
  border-radius: 9px;
}

.escalation-action span,
.escalation-action strong {
  display: block;
}

.escalation-action span {
  margin-bottom: 7px;
  color: #7b5845;
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.escalation-action strong {
  font-size: .9rem;
  line-height: 1.35;
}

/* Workflow */
.workflow-section {
  background: #e9e6dd;
}

.workflow-demo {
  overflow: hidden;
  background: #f9f8f4;
  border: 1px solid #cbd0cc;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.workflow-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.segmented-control {
  display: inline-flex;
  padding: 4px;
  background: #e5e6e2;
  border-radius: 9px;
}

.segmented-control button {
  min-height: 34px;
  padding: 6px 11px;
  color: #68747a;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
}

.segmented-control button.active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(20,38,48,0.09);
}

.workflow-canvas {
  position: relative;
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(230px, 0.8fr) minmax(260px, 1fr) minmax(210px, 0.72fr);
  align-items: center;
  gap: clamp(45px, 7vw, 90px);
  padding: 55px 6%;
  overflow: hidden;
}

.workflow-canvas::before {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(#e1e3df 1px, transparent 1px),
    linear-gradient(90deg, #e1e3df 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
}

.workflow-stakeholders,
.pursuit-layer,
.project-manager {
  position: relative;
  z-index: 2;
}

.workflow-stakeholders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.workflow-stakeholders > span {
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid #cdd2cf;
  border-radius: 9px;
  font-size: 0.73rem;
  font-weight: 760;
  text-align: center;
}

.workflow-stakeholders i {
  margin-top: 2px;
  color: var(--accent-dark);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
}

.flow-lanes {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.flow-lanes i {
  position: absolute;
  top: calc(31% + var(--lane, 0) * 7%);
  left: 24%;
  width: 54%;
  height: 2px;
  overflow: hidden;
  background: #bac1c0;
  transform: rotate(calc((var(--lane, 0) - 2.5) * 3deg));
  transform-origin: left;
}

.flow-lanes i::after {
  position: absolute;
  width: 52px;
  height: 2px;
  background: var(--accent);
  animation: flow-pulse 2s linear infinite;
  content: "";
}

.flow-lanes i:nth-child(1) { --lane: 0; }
.flow-lanes i:nth-child(2) { --lane: 1; }
.flow-lanes i:nth-child(3) { --lane: 2; }
.flow-lanes i:nth-child(4) { --lane: 3; }
.flow-lanes i:nth-child(5) { --lane: 4; }
.flow-lanes i:nth-child(6) { --lane: 5; }

@keyframes flow-pulse {
  from { transform: translateX(-60px); }
  to { transform: translateX(650px); }
}

.pursuit-layer {
  padding: 30px 22px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid #344b56;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(16,32,43,0.18);
  text-align: center;
  opacity: 0;
  transform: translateY(25px) scale(0.94);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.pursuit-layer small,
.pursuit-layer strong {
  display: block;
}

.pursuit-layer small {
  color: #91a4ac;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.pursuit-layer strong {
  margin: 6px 0 14px;
}

.pursuit-layer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.pursuit-layer span {
  padding: 4px 6px;
  color: #c7d0d4;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  font-size: 0.58rem;
}

.project-manager {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  color: var(--white);
  background: #2e5261;
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(16,32,43,0.2);
}

.manager-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: #f2a17d;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 850;
}

.project-manager small,
.project-manager strong {
  display: block;
}

.project-manager small {
  color: #b7c6cb;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.decision-flow {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 20.7%;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translate(15px, -50%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.decision-flow span {
  padding: 6px 8px;
  color: #7c4c1a;
  background: #f2dfc8;
  border: 1px solid #dfc59f;
  border-radius: 5px;
  font-size: 0.57rem;
  font-weight: 750;
}

.workflow-demo[data-workflow-state="transition"] .pursuit-layer,
.workflow-demo[data-workflow-state="after"] .pursuit-layer {
  opacity: 1;
  transform: none;
}

.workflow-demo[data-workflow-state="transition"] .flow-lanes i,
.workflow-demo[data-workflow-state="after"] .flow-lanes i {
  left: 24%;
  width: 30%;
}

.workflow-demo[data-workflow-state="after"] .decision-flow {
  opacity: 1;
  transform: translate(0, -50%);
}

.workflow-demo[data-workflow-state="after"] .flow-lanes i {
  background: #a6b1b3;
}

.workflow-caption {
  min-height: 60px;
  padding: 18px 24px;
  margin: 0;
  color: #5f6c73;
  background: #eeefeb;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  text-align: center;
}

.workflow-conclusion {
  color: #5e6b72;
}

.workflow-conclusion strong {
  color: var(--ink);
}

/* Boundaries */
.boundaries-section {
  background:
    radial-gradient(circle at 10% 50%, rgba(68,105,119,0.22), transparent 30%),
    var(--ink);
}

.boundaries-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.8fr;
  align-items: stretch;
  gap: 18px;
}

.boundaries-title {
  padding-right: clamp(20px, 4vw, 60px);
}

.boundaries-title p:not(.eyebrow) {
  color: #aebbc0;
}

.boundary-card {
  padding: 28px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.boundary-card > span {
  display: block;
  margin-bottom: 24px;
  color: #f0a17e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boundary-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  color: #c3cdd1;
  list-style: none;
}

.boundary-card li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.86rem;
}

.boundary-card li:last-child {
  border-bottom: 0;
}

.boundary-yes {
  background: rgba(73,117,98,0.14);
  border-color: rgba(121,177,152,0.28);
}

/* Répartition (#fonctionnement) , fond clair, pas les styles « boundaries-section » sombres */
#fonctionnement .boundaries-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#fonctionnement .boundary-card {
  padding: clamp(20px, 4vw, 28px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(16, 32, 43, 0.07);
  -webkit-font-smoothing: antialiased;
}

#fonctionnement .boundary-card > span {
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
}

#fonctionnement .boundary-card ul {
  color: var(--ink);
}

#fonctionnement .boundary-card li {
  padding-bottom: 11px;
  border-bottom-color: var(--line);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

#fonctionnement .boundary-yes {
  background: #f2f9f5;
  border-color: rgba(46, 107, 84, 0.28);
}

#fonctionnement .boundary-yes li {
  color: #2a4540;
}

#fonctionnement .boundary-no {
  background: #faf9f6;
}

.boundary-promise {
  grid-column: 1 / -1;
  padding: 18px 20px;
  margin: 4px 0 0;
  color: #c4d0d4;
  background: rgba(255,255,255,.045);
  border-left: 3px solid var(--accent);
  font-size: .9rem;
}

.boundary-promise strong {
  color: var(--white);
}

/* Pilot + Pricing */
.pilot-section {
  background: #f8f6f1;
}

.pilot-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.pilot-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.pilot-copy .button {
  margin-top: 16px;
}

.pilot-copy .pilot-note {
  max-width: 520px;
  margin: 18px 0 0;
  padding-left: 15px;
  color: #526068;
  border-left: 3px solid var(--accent);
  font-size: 0.84rem;
}

.pilot-note strong {
  color: var(--ink);
}

.pilot-conditions {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.pilot-conditions h3 {
  margin-bottom: 25px;
}

.pilot-conditions .check-list {
  color: #526068;
}

.tarifs-section {
  background: var(--white);
  overflow-x: hidden;
}

.tarifs-section .section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.tarif-table-wrap {
  max-width: 100%;
}

.tarif-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.tarif-table th,
.tarif-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  text-align: center;
  vertical-align: middle;
}

.tarif-table thead th {
  color: var(--white);
  background: #294754;
  border-bottom-color: #294754;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.tarif-table thead th:first-child {
  text-align: left;
}

.tarif-table tbody th {
  text-align: left;
  font-weight: 750;
  white-space: nowrap;
}

.tarif-table tbody td {
  font-weight: 700;
  white-space: nowrap;
}

.tarif-row-kicker {
  display: none;
}

.tarif-table tbody tr:last-child th,
.tarif-table tbody tr:last-child td {
  border-bottom: 0;
}

.tarif-notes,
.tarif-defs {
  max-width: 760px;
  margin-top: 22px;
}

.tarif-notes p,
.tarif-defs p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

.tarif-notes p:last-child,
.tarif-defs p:last-child {
  margin-bottom: 0;
}

.tarif-example {
  max-width: 520px;
  margin-top: 28px;
  padding: 22px 24px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tarif-example .eyebrow {
  margin-bottom: 10px;
}

.tarif-example-calc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
}

.tarif-example-calc span[aria-hidden="true"] {
  color: var(--muted);
  font-weight: 600;
}

.tarif-example-calc strong {
  font-size: 1.15rem;
}

.tarif-example > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-pricing-hint {
  margin: 22px 0 0;
  color: #d5dee2;
  font-size: 0.95rem;
}

.contact-pricing-hint a {
  color: #f1a17e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-pricing-hint a:hover {
  color: var(--white);
}

.pricing-section {
  padding-top: 0;
  background: #f8f6f1;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  padding: clamp(32px, 5vw, 58px);
  color: var(--white);
  background: #294754;
  border-radius: var(--radius-lg);
}

.pricing-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.pricing-card > div > p:last-child {
  color: #becbd0;
}

.pricing-factors {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-factors li {
  padding: 8px 10px;
  color: #d7e0e3;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 650;
}

.fit-answer {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: 35px;
  margin-top: 18px;
  padding: 22px 28px;
  background: #eeece5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fit-answer strong {
  color: var(--accent-dark);
}

.person-answer {
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.person-photo {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid rgba(41,71,84,0.12);
  background: #dfe4e3;
}

.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.person-content {
  min-width: 0;
}

.fit-answer p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact-section {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17,36,47,0.98), rgba(27,53,64,0.96)),
    var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
}

.contact-copy > p:not(.eyebrow) {
  color: #b4c0c5;
}

.privacy-list {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.privacy-list span {
  position: relative;
  padding-left: 23px;
  color: #b9c5c9;
  font-size: 0.8rem;
}

.privacy-list span::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 2px;
  background: #f0a17f;
  content: "";
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(26px, 4vw, 38px);
  color: var(--ink);
  background: #f7f6f1;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 75px rgba(0,0,0,0.22);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form label small {
  font-weight: 500;
}

.contact-form [aria-invalid="true"] {
  border-color: var(--red);
  outline: 2px solid rgba(147,64,52,0.12);
}

.form-submit-row {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.form-status {
  color: #526168;
  font-size: 0.77rem;
  line-height: 1.45;
}

.form-status.error {
  color: var(--red);
}

.form-status.success {
  color: var(--green);
}

/* Footer */
.site-footer {
  padding: 58px 0 24px;
  color: #c1ccd0;
  background: #0b171f;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  padding-bottom: 38px;
}

.identity-footer {
  color: var(--white);
}

.identity-footer small {
  color: #aeb9bf;
}

.footer-main > div > p {
  max-width: 570px;
  margin: 22px 0 0;
  color: #8fa0a7;
  font-size: 0.86rem;
}

.footer-main nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 32px;
}

.footer-main nav a {
  color: #aebbc0;
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-main nav a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 25px;
  padding-top: 20px;
  color: #70838c;
  border-top: 1px solid rgba(255,255,255,0.09);
  font-size: 0.64rem;
}

.footer-legal p {
  margin: 0;
}

/* Legal notice */
.legal-body {
  background: #f8f6f1;
}

.legal-header {
  background: var(--ink);
  border-bottom-color: rgba(255,255,255,0.12);
}

.legal-main {
  min-height: calc(100vh - 310px);
  padding: calc(var(--header-height) + 72px) 0 90px;
}

.legal-heading {
  max-width: 800px;
  margin-bottom: 48px;
}

.legal-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.legal-heading > p:last-child {
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  padding: clamp(25px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  margin-bottom: 20px;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.legal-card h3 {
  margin: 25px 0 10px;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li,
.legal-card address {
  color: var(--muted);
  font-size: 0.91rem;
}

.legal-card address {
  font-style: normal;
}

.legal-card a,
.fine-print a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}

.legal-list {
  display: grid;
  gap: 9px;
  padding-left: 20px;
}

.legal-note {
  padding: 16px 18px;
  margin-top: 22px;
  background: #f1eee7;
  border-left: 3px solid var(--accent);
}

/* Progressive reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1180px) and (min-width: 1021px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav > a:not(.button) {
    font-size: 0.8rem;
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .cost-grid,
  .mandate-grid,
  .proof-grid,
  .trace-grid,
  .contact-grid,
  .confidentiality-panel,
  .problem-layout,
  .resolution-intro,
  .operator-card {
    grid-template-columns: 1fr;
  }

  .trust-accuracy {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 660px;
  }

  .situation-quotes,
  .verb-chain {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cost-copy,
  .mandate-copy,
  .trace-copy,
  .contact-copy {
    max-width: 760px;
  }

  .calculator,
  .history-card,
  .contact-form {
    max-width: 760px;
  }

  .boundaries-grid {
    grid-template-columns: 1fr 1fr;
  }

  .boundaries-title {
    grid-column: 1 / -1;
  }

  .method-steps-eight {
    grid-template-columns: 1fr 1fr;
  }

  .escalation-example {
    grid-template-columns: 1fr;
  }

  .workflow-canvas {
    grid-template-columns: minmax(210px, .8fr) minmax(210px, 1fr) minmax(190px, .7fr);
    gap: 35px;
    padding-inline: 4%;
  }

  .decision-flow {
    right: 20%;
  }
}

@media (max-width: 850px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 20px 24px;
    background: rgba(246, 244, 238, 0.98);
    border-bottom: 1px solid var(--line);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .site-header.menu-open .main-nav {
    display: grid;
  }

  .main-nav > a:not(.button) {
    padding: 10px 4px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .open-point-grid,
  .method-steps,
  .role-grid,
  .fit-signal,
  .situation-quotes,
  .verb-chain {
    grid-template-columns: 1fr 1fr;
  }

  .role-card-accent {
    grid-column: 1 / -1;
  }

  .simulation-layout {
    grid-template-columns: 1fr;
  }

  .activity-panel {
    order: -1;
  }

  .activity-feed {
    max-height: 330px;
  }

  .views-grid,
  .pilot-grid,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .view-card {
    min-height: auto;
  }

  .pilot-grid,
  .pricing-card {
    gap: 38px;
  }

  .introduction-example {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .workflow-canvas {
    min-height: 710px;
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 45px 8%;
  }

  .workflow-stakeholders {
    max-width: 500px;
    margin-inline: auto;
  }

  .pursuit-layer,
  .project-manager {
    width: min(360px, 88%);
    margin-inline: auto;
  }

  .flow-lanes {
    opacity: 0.45;
  }

  .flow-lanes i {
    top: 20%;
    left: 50%;
    width: 2px;
    height: 62%;
    transform: none;
  }

  .flow-lanes i::after {
    width: 2px;
    height: 52px;
    animation-name: flow-pulse-vertical;
  }

  @keyframes flow-pulse-vertical {
    from { transform: translateY(-60px); }
    to { transform: translateY(520px); }
  }

  .workflow-demo[data-workflow-state="transition"] .flow-lanes i,
  .workflow-demo[data-workflow-state="after"] .flow-lanes i {
    top: 20%;
    left: 50%;
    width: 2px;
    height: 38%;
  }

  .decision-flow {
    top: auto;
    right: 50%;
    bottom: 145px;
    transform: translate(50%, 10px);
  }

  .workflow-demo[data-workflow-state="after"] .decision-flow {
    transform: translate(50%, 0);
  }
}

@media (max-width: 860px) {
  .tarif-table {
    display: block;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .tarif-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .tarif-table tbody {
    display: block;
  }

  .tarif-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 16px 18px 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .tarif-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .tarif-table th,
  .tarif-table td {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border: 0;
    text-align: left;
    white-space: normal;
  }

  .tarif-table tbody th {
    display: block;
    padding-bottom: 12px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .tarif-row-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .tarif-table tbody td {
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .tarif-table tbody td::before {
    content: attr(data-label);
    flex: 1 1 auto;
    color: var(--muted);
    font-weight: 650;
  }

  .tarif-table tbody tr:last-child th,
  .tarif-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .tarif-example-calc {
    display: grid;
    justify-items: start;
    gap: 4px;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding-block: 74px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 65px);
    padding-bottom: 74px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .identity small {
    display: none;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .hero-panel-body {
    padding-inline: 20px;
  }

  .open-point-grid,
  .method-steps,
  .role-grid,
  .fit-signal,
  .interface-notice,
  .fit-answer,
  .calculator-fields,
  .views-grid,
  .boundaries-grid,
  .form-row,
  .situation-quotes,
  .verb-chain,
  .j-contrast {
    grid-template-columns: 1fr;
  }

  #fonctionnement .boundaries-grid {
    gap: 14px;
  }

  #fonctionnement .boundary-card {
    padding: 22px 18px;
  }

  #fonctionnement .boundary-card li {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Évite le texte « flou » (transform + sous-pixels) sur mobile */
  .js .reveal {
    transform: translateY(12px);
  }

  .js .reveal.visible {
    transform: none;
  }

  .role-card-accent {
    grid-column: auto;
  }

  .role-card {
    min-height: auto;
  }

  .service-rule {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .closure-states > div {
    grid-template-columns: 105px 1fr;
  }

  .escalation-data {
    grid-template-columns: 1fr 1fr;
  }

  .open-point-card {
    min-height: 245px;
  }

  .simulation-toolbar,
  .panel-heading-row,
  .workflow-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .simulation-controls {
    justify-content: space-between;
  }

  .simulation-controls .button {
    flex: 1;
  }

  .simulation-summary {
    grid-template-columns: 1fr 1fr;
  }

  .summary-item:nth-child(2) {
    border-right: 0;
  }

  .summary-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .summary-item {
    min-height: 88px;
    padding: 13px 16px;
  }

  .summary-item strong {
    font-size: 1.45rem;
  }

  .prerequisite-panel {
    padding-inline: 12px;
  }

  .prerequisite-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 82px;
  }

  .prerequisite-action {
    display: none;
  }

  .simulation-conclusion {
    display: block;
  }

  .simulation-conclusion p {
    margin-bottom: 5px;
  }

  .dialog-grid {
    grid-template-columns: 1fr;
  }

  .calculator,
  .pilot-conditions,
  .contact-form {
    padding: 22px 18px;
  }

  .calculator-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .mandate-grid {
    grid-template-columns: 1fr;
  }

  .mandate-diagram {
    padding: 19px 12px;
  }

  .stakeholder-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mandate-arrow {
    min-height: 92px;
  }

  .mandate-arrow .arrow-return {
    margin-left: 88px;
  }

  .history-card-head {
    grid-template-columns: 40px 1fr;
  }

  .history-card-head .status-pill {
    grid-column: 2;
  }

  .history-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .workflow-toolbar .button {
    width: 100%;
  }

  .segmented-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow-stakeholders {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-stakeholders > span {
    min-height: 65px;
  }

  .boundaries-title {
    grid-column: auto;
  }

  .pricing-card {
    width: min(calc(100% - 28px), var(--container));
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main nav {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    display: grid;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-card-wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .simulation-controls,
  .workflow-toolbar,
  .contact-form,
  .button {
    display: none !important;
  }

  .section,
  .hero {
    min-height: auto;
    padding-block: 35px;
  }

  .section-dark,
  .section-ink,
  .contact-section {
    color: #000;
    background: #fff;
  }
}


/* Consentement de mesure d'audience */
.footer-cookie-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(16, 32, 43, 0.24);
}

.analytics-consent strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.analytics-consent p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.analytics-consent p a {
  color: var(--accent-dark);
  font-weight: 700;
}

.analytics-consent-actions {
  display: flex;
  gap: 10px;
}

.analytics-consent-actions .button {
  min-width: 108px;
}

.analytics-refuse {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

@media (max-width: 700px) {
  .analytics-consent {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .analytics-consent-actions .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .site-header {
    overflow: visible;
  }

  .header-inner {
    position: relative;
  }
}
