/* ============ SÖHNE (Klim Type Foundry) ============ */
@font-face {
  font-family: 'Söhne';
  src: url('fonts/Sohne-Leicht.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Söhne';
  src: url('fonts/Sohne-Buch.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Söhne';
  src: url('fonts/Sohne-BuchKursiv.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Söhne';
  src: url('fonts/Sohne-Kraftig.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Söhne';
  src: url('fonts/Sohne-Halbfett.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Söhne';
  src: url('fonts/Sohne-HalbfettKursiv.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Söhne';
  src: url('fonts/Sohne-Dreiviertelfett.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Söhne';
  src: url('fonts/Sohne-Fett.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-page: #e7e6ee;
  --bg-section: #c4c3d2;
  --bg-cover: #2e3770;
  --bg-card: #ffffff;
  --navy: #2e3770;
  --navy-deep: #1e2550;
  --navy-soft: #a0a0be;
  --ink: #2e3770;
  --ink-soft: #a0a0be;
  --gold: #a0a0be;
  --rule: #d0cfe0;
  --accent: #2e3770;
  --good: #2e3770;
  --warn: #6b6d90;
  --bad: #4a4d78;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-cover); }

body {
  margin: 0;
  font-family: 'Söhne', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--bg-cover);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body > div[data-md],
body > .page,
.page-footer {
  background: var(--bg-page);
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 70px);
  position: relative;
}

.page-footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 70px) 30px;
  display: flex;
  justify-content: space-between;
  color: var(--navy-soft);
  font-size: 0.75rem;
  font-weight: 500;
}
.page-footer span:last-child { display: none; }

/* ============ COVER ============ */
.cover {
  background: var(--bg-cover);
  color: #fff;
  min-height: 100vh;
  min-height: calc(100dvh + 100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 60px);
  padding-bottom: calc(clamp(30px, 5vw, 60px) + 80px);
  position: relative;
  overflow: hidden;
}

.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.brand-mover {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.brand-mover small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-innokick {
  text-align: right;
  font-size: 0.95rem;
}
.brand-innokick small {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.brand-logo {
  display: block;
  /* Force any dark SVG fill to render white on the navy cover */
  filter: brightness(0) invert(1);
}
.brand-logo-mover {
  height: 22px;
  width: auto;
}
.brand-logo-innokick {
  height: 34px;
  width: auto;
  margin-left: auto;
}

.cover-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: clamp(40px, 8vw, 80px) 0;
}

.logo-remove {
  width: clamp(260px, 48vw, 560px);
  height: auto;
  display: block;
}

.cover-num {
  position: absolute;
  right: clamp(10px, 3vw, 40px);
  bottom: clamp(30px, 5vh, 60px);
  font-weight: 800;
  font-size: clamp(10rem, 28vw, 22rem);
  color: rgba(255,255,255,0.12);
  line-height: 0.85;
  letter-spacing: -0.05em;
}
@media (max-width: 720px) {
  .cover-num { display: none; }
  .logo-remove { width: 100%; }
}

.cover-bottom h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.cover-bottom .date {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.cover-bottom .authors {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 540px;
}

/* ============ SECTION OPENER ============ */
.opener {
  background: var(--bg-section);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vw, 100px);
}
.opener h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
}
.opener--with-toc {
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}
.toc-local {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 520px;
}
.toc-local li {
  padding: 5px 0;
  border-bottom: 1px dotted var(--navy-soft);
  font-size: 0.88rem;
  color: var(--navy);
}
.toc-local a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: baseline;
}
.toc-local a:hover { text-decoration: underline; }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h1.section-h {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 1em;
  line-height: 1.1;
}
.section-roman {
  display: inline-block;
  min-width: 2.2em;
  text-align: left;
  margin-right: 0.3em;
}

h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--navy);
  margin: 2em 0 0.6em;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.5em 0 0.4em;
  font-style: italic;
}

p {
  margin: 0.7em 0;
  color: var(--ink);
}

.lead {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.65;
}

blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 22px;
  margin: 1.4em 0;
  font-style: italic;
  color: var(--navy-soft);
  background: rgba(255,255,255,0.5);
  border-radius: 0 4px 4px 0;
}
blockquote cite {
  display: block;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--ink-soft);
  margin-top: 6px;
  font-weight: 500;
}

.pull-quote {
  background: var(--navy);
  color: #fff;
  padding: 24px 28px;
  border-radius: 6px;
  margin: 1.6em 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}
.pull-quote cite {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
  font-style: normal;
  font-weight: 400;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 50px);
  align-items: start;
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.team-card {
  background: rgba(255,255,255,0.5);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.7);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  object-fit: cover;
  object-position: top center;
}
img.team-avatar { background: var(--bg-page); }
.team-card h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.team-card .role {
  font-size: 0.78rem;
  color: var(--navy-soft);
  margin-bottom: 10px;
  font-style: italic;
}
.team-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding: 28px;
  background: rgba(255,255,255,0.4);
  border-radius: 8px;
}
@media (max-width: 600px) {
  .values-row { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
}
.value-item {
  text-align: center;
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.4rem;
}
.value-item .value-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

/* ============ MANDANT LAYOUT ============ */
.page:has(> .mandant-layout) > .section-h { display: none; }
.page:has(> .mandant-layout) { padding: 0; max-width: none; }
.mandant-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}
.mandant-text {
  padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
  margin-left: auto;
}
.mandant-hero {
  position: relative;
  overflow: hidden;
}
.mandant-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mandant-hero figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .mandant-layout {
    grid-template-columns: 1fr;
  }
  .mandant-hero {
    height: 100vh;
    order: -1;
  }
  .mandant-text {
    padding: clamp(30px, 5vw, 60px) clamp(20px, 5vw, 70px);
  }
}

/* ============ MANDANT QUOTE ============ */
.mandant-quote {
  background: var(--navy);
  color: #fff;
  padding: 28px;
  border-radius: 6px;
  margin-top: 24px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.mandant-quote cite {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ============ HIGHLIGHT BOXES ============ */
.highlight-box {
  background: var(--navy);
  color: #fff;
  padding: 22px 26px;
  border-radius: 6px;
  margin: 1.5em 0;
}
.highlight-box strong { color: var(--gold); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 1.6em 0;
}
.stat-card {
  background: rgba(255,255,255,0.7);
  border-left: 3px solid var(--gold);
  padding: 16px;
  border-radius: 0 4px 4px 0;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-desc {
  font-size: 0.78rem;
  color: var(--navy-soft);
  margin-top: 4px;
  line-height: 1.4;
}

/* ============ VISUALISATIONS ============ */
.viz {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 28px);
  margin: 2em 0;
}
.viz-wide {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  border-radius: 0;
  border-left: none;
  border-right: none;
  padding: clamp(16px, 3vw, 28px) clamp(40px, 6vw, 80px);
}
.viz-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-soft);
  margin-bottom: 4px;
}
.viz-h {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 18px;
  line-height: 1.25;
}
.viz-note {
  font-size: 0.78rem;
  color: var(--navy-soft);
  margin-top: 14px;
  font-style: italic;
  line-height: 1.5;
}

/* Proto gallery grid */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 2rem 0;
}
.proto-grid > div { text-align: center; }
.proto-grid img { cursor: pointer; }
@media (max-width: 640px) {
  .page:has(.proto-grid) { overflow: visible; }
  .proto-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin: 2rem calc(-1 * clamp(20px, 5vw, 70px));
    padding: 0 clamp(20px, 5vw, 70px);
    scrollbar-width: none;
  }
  .proto-grid::-webkit-scrollbar { display: none; }
  .proto-grid > div {
    flex: 0 0 78vw;
    scroll-snap-align: start;
    padding-right: 14px;
    box-sizing: border-box;
  }
  .proto-grid > div:last-child { padding-right: clamp(20px, 5vw, 70px); }
}

/* Proto carousel arrows */
.proto-carousel { position: relative; }
.proto-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: opacity 0.2s ease, transform 0.15s ease;
}
@media (max-width: 640px) {
  .proto-arrow { display: flex; }
}
.proto-arrow:hover { transform: translateY(-50%) scale(1.1); }
.proto-arrow--prev { left: -16px; }
.proto-arrow--prev svg { transform: rotate(-90deg); }
.proto-arrow--next { right: -16px; }
.proto-arrow--next svg { transform: rotate(90deg); }
.proto-arrow--hidden { opacity: 0; pointer-events: none; }

/* Nudge dot */
.proto-nudge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  pointer-events: none;
  animation: nudge-pulse 1.8s ease-in-out infinite;
}
.proto-nudge::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  opacity: 0;
  animation: nudge-ring 1.8s ease-out infinite;
}
@keyframes nudge-pulse {
  0%, 100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.85); }
}
@keyframes nudge-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Proto lightbox */
.proto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: pointer;
}
.proto-lightbox--open {
  opacity: 1;
  pointer-events: auto;
}
.proto-lightbox img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}
.proto-lightbox-caption {
  position: absolute;
  bottom: clamp(20px, 4vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* SWF cards */
.swf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .swf-grid { grid-template-columns: 1fr; }
}
.swf-card {
  border: 2px solid var(--navy);
  background: #fff;
  padding: 18px;
  border-radius: 6px;
}
.swf-card h5 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 4px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.swf-card .swf-sub {
  font-size: 0.75rem;
  color: var(--navy-soft);
  margin-bottom: 10px;
  font-style: italic;
}
.swf-card .swf-body {
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-col {
  display: flex;
  flex-direction: column;
}
.pricing-col h5 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-soft);
  margin: 0 0 12px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  font-weight: 600;
}
.pricing-card {
  background: var(--navy);
  color: #fff;
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricing-card .label { font-weight: 700; font-size: 0.95rem; }
.pricing-card .price {
  background: #fff;
  color: var(--navy);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  margin: 8px 0;
  font-weight: 700;
  font-size: 0.85rem;
}
.pricing-card .desc { font-size: 0.78rem; opacity: 0.9; }
.modules-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
@media (max-width: 540px) {
  .modules-row { grid-template-columns: 1fr; }
}
.packs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
@media (max-width: 540px) {
  .packs-row { grid-template-columns: 1fr; }
}
.pack-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

/* BMC hypothèses */
.bmc-h-grid {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 600px) {
  .bmc-h-grid { grid-template-columns: 50px 1fr; }
  .bmc-h-row .bmc-h-cell:last-child { grid-column: 2; }
}
.bmc-h-head {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-soft);
  text-align: center;
  padding: 4px 0;
  font-weight: 700;
}
@media (max-width: 600px) {
  .bmc-h-head:nth-child(3) { display: none; }
}
.bmc-h-row { display: contents; }
.bmc-h-code {
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 4px;
  font-size: 0.95rem;
}
.bmc-h-cell {
  background: var(--navy);
  color: #fff;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
}
.bmc-h-cell .lever { font-weight: 700; margin-bottom: 2px; }
.bmc-h-cell .sub { font-size: 0.75rem; opacity: 0.85; }

/* BMC complet */
.bmc-full {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: auto auto auto;
  gap: 8px;
  font-size: 0.78rem;
}
@media (max-width: 900px) {
  .bmc-full {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bmc-full .bmc-cell {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
.bmc-cell {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 12px 18px;
  border-radius: 4px;
}
.bmc-cell h6 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 800;
}
.bmc-cell ul { padding-left: 16px; margin: 0; }
.bmc-cell li { margin-bottom: 3px; line-height: 1.45; }
.bmc-vp {
  background: var(--bg-page);
  border: 2px solid var(--navy);
}
.bmc-vp .vp-quote {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 6px 0 10px;
  font-weight: 500;
}
.bmc-vp .vp-tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 600;
}
.bmc-row-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 8px 0 4px;
}

/* Veille */
.veille-list { display: flex; flex-direction: column; gap: 10px; }
.veille-item {
  border-left: 3px solid var(--navy);
  padding: 8px 14px;
  background: #fff;
}
.veille-item .name { font-weight: 700; color: var(--navy); }
.veille-item .geo { color: var(--navy-soft); font-size: 0.8rem; }
.veille-item .desc { font-size: 0.85rem; margin-top: 3px; line-height: 1.5; }
.veille-cta {
  background: var(--navy);
  color: #fff;
  padding: 16px 20px;
  border-radius: 6px;
  font-style: italic;
  font-size: 0.92rem;
  margin-top: 16px;
  line-height: 1.55;
}

/* Positioning matrix */
.matrix-wrap {
  position: relative;
  margin: 24px auto 40px;
  aspect-ratio: 1.4 / 1;
  max-height: 420px;
  max-width: 600px;
}
.matrix-axis-y, .matrix-axis-x {
  position: absolute;
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.matrix-axis-y { top: -14px; left: 50%; transform: translateX(-50%); }
.matrix-axis-x { bottom: -22px; right: 0; }
.matrix-grid {
  position: absolute;
  inset: 14px 0 14px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  border: 1px solid var(--rule);
  background: #fff;
}
.matrix-quad {
  border: 1px dashed var(--rule);
  padding: 10px;
  font-size: 0.7rem;
  color: var(--navy-soft);
  position: relative;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.65rem;
  text-align: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  padding: 4px;
}
.b-ch { background: var(--navy); }
.b-eu { background: #6b6d90; }
.b-target {
  background: var(--navy);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(160, 160, 190, 0.35);
}

@media (max-width: 600px) {
  .matrix-wrap { display: none; }
  .matrix-mobile { display: block; }
}
.matrix-mobile { display: none; }
.matrix-mobile .quad-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.matrix-mobile .quad-card h6 {
  font-size: 0.78rem;
  color: var(--navy);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.matrix-mobile .quad-card .actors {
  font-size: 0.85rem;
  color: var(--ink);
}
.matrix-mobile .quad-target {
  border: 2px solid var(--gold);
  background: rgba(160, 160, 190, 0.12);
}

/* Pains vs bénéfices */
.pvb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 720px) {
  .pvb-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .pvb-grid { grid-template-columns: 1fr; }
}
.pvb-col { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.pvb-cell {
  padding: 16px 12px;
  border-radius: 5px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pvb-pain { background: #fff; border: 1px solid var(--rule); }
.pvb-benefit { background: var(--navy); color: #fff; }
.pvb-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pvb-benefit .pvb-num { color: #fff; }
.pvb-desc { font-size: 0.78rem; margin-top: 8px; line-height: 1.4; }
.pvb-arrow {
  font-size: 1.4rem;
  text-align: center;
  color: var(--navy);
}

/* Trois piliers */
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 700px) {
  .valeurs-grid { grid-template-columns: 1fr; }
}
.valeur-pillar {
  background: var(--navy);
  color: #fff;
  padding: 18px;
  border-radius: 6px;
  text-align: center;
}
.valeur-pillar .v-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 700;
}
.valeur-pillar .v-text {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}
.valeurs-anchor {
  text-align: center;
  margin-top: 16px;
  font-style: italic;
  color: var(--navy-soft);
  font-size: 0.9rem;
}

/* VPC */
.vpc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .vpc-grid { grid-template-columns: 1fr; }
}
.vpc-side {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 16px;
  border-radius: 6px;
}
.vpc-side h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 800;
}
.vpc-row { margin-bottom: 12px; }
.vpc-row .lbl {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.vpc-row .body { font-size: 0.85rem; line-height: 1.5; }

/* VPC Canvas (SVG-based layout) */
.vpc-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 842 / 430;
  margin: 12px 0;
  overflow: hidden;
}
.vpc-canvas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}
.vpc-zone {
  position: absolute;
  padding: 5px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}
.vpc-zone-title {
  font-size: clamp(0.52rem, 0.85vw, 0.68rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.2;
}
.vpc-zone-body {
  font-size: clamp(0.5rem, 0.8vw, 0.65rem);
  line-height: 1.45;
  color: var(--navy);
}
.vpc-zone-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vpc-zone-body li {
  margin-bottom: 1px;
  padding-left: 9px;
  position: relative;
}
.vpc-zone-body li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: 700;
}
/* Right-side zones: keep left-aligned bullets */
.vpc-zone.vpc-align-r .vpc-zone-body li {
  padding-left: 9px;
  text-align: left;
}
.vpc-zone.vpc-align-r .vpc-zone-title { text-align: left; }

/* Zone positions — Value Map (square shape, left) */
.vpc-gc { left: 18%; top: 18%; width: 21%; height: 28%; }
.vpc-ps { left: 20.5%; top: 55%; width: 26%; height: 39%; justify-content: center; }
.vpc-pr { left: 4.5%; top: 42%; width: 21%; height: 25%; }

/* Zone positions — Customer Profile (circle, right) */
.vpc-ga { left: 79.5%; top: 40%; width: 22%; height: 28%; }
.vpc-cj { left: 61%; top: 18.5%; width: 24%; height: 39%; justify-content: center; }
.vpc-pa { left: 64%; top: 62%; width: 22%; height: 25%; }

/* Shape headers */
.vpc-shape-hd {
  position: absolute;
  font-size: clamp(0.5rem, 0.85vw, 0.68rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-soft);
}
.vpc-shape-hd-l { left: 5%; top: 10%; }
.vpc-shape-hd-r { left: 57%; top: 10%; width: 38%; text-align: center; }

/* Mobile: reflow to simple stacked layout */
@media (max-width: 720px) {
  .vpc-canvas {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .vpc-canvas-bg { display: none; }
  .vpc-shape-hd { display: none; }
  .vpc-zone {
    position: static;
    width: auto;
    height: auto;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 6px;
  }
  .vpc-zone.vpc-align-r .vpc-zone-body li {
    padding-left: 9px;
    padding-right: 0;
    text-align: left;
  }
  .vpc-zone.vpc-align-r .vpc-zone-body li::before {
    content: '·';
  }
  .vpc-zone.vpc-align-r .vpc-zone-body li::after {
    content: none;
  }
  .vpc-zone.vpc-align-r .vpc-zone-title { text-align: left; }
  .vpc-zone-title { font-size: 0.7rem; }
  .vpc-zone-body { font-size: 0.82rem; }
  /* Reorder: left shape zones first, then right */
  .vpc-gc { order: 1; }
  .vpc-ps { order: 2; }
  .vpc-pr { order: 3; }
  .vpc-ga { order: 4; }
  .vpc-cj { order: 5; }
  .vpc-pa { order: 6; }
}

/* SWOT */
.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 700px) {
  .swot-grid { grid-template-columns: 1fr; }
}
.swot-cell {
  border-radius: 6px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--rule);
}
.swot-cell h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 3px;
  color: #fff;
  font-weight: 800;
}
.swot-s h5 { background: var(--good); }
.swot-w h5 { background: var(--warn); }
.swot-o h5 { background: var(--navy); }
.swot-t h5 { background: var(--bad); }
.swot-cell ul { padding-left: 18px; margin: 0; font-size: 0.85rem; line-height: 1.55; }

/* Bête à cornes */
.bete-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.bete-row { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; justify-content: center; }
.bete-bubble {
  border: 1.5px solid var(--navy);
  background: var(--bg-page);
  border-radius: 50%;
  width: clamp(220px, 38vw, 360px);
  height: clamp(140px, 22vw, 210px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 30px;
  font-size: 0.82rem;
}
.bete-bubble .b-q {
  font-size: 0.7rem;
  color: var(--navy-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.bete-center {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 18px 40px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.bete-arrow { font-size: 1.8rem; color: var(--navy); line-height: 1; }
.bete-fp {
  border: 1.5px solid var(--navy-soft);
  background: #fff;
  padding: 14px 20px;
  border-radius: 4px;
  text-align: center;
  font-size: 0.85rem;
  max-width: 540px;
  line-height: 1.55;
}
.bete-fp .fp-label {
  font-size: 0.7rem;
  color: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

/* Pieuvre */
.pieuvre-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 14px;
  align-items: center;
}
@media (max-width: 600px) {
  .pieuvre-wrap { grid-template-columns: 1fr 1fr; }
  .pieuvre-center { grid-column: 1 / span 2 !important; grid-row: auto !important; }
}
.pieuvre-center {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  grid-column: 2;
  grid-row: 2;
}
.pieuvre-center small { opacity: 0.85; }
.pieuvre-node {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 0.78rem;
  line-height: 1.45;
}
.pieuvre-node .pn-tag {
  display: inline-block;
  background: var(--bg-page);
  color: var(--navy);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.66rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

/* TOC */
.toc {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 40px;
}
@media (max-width: 600px) {
  .toc { columns: 1; }
}
.toc li {
  break-inside: avoid;
  padding: 6px 0;
  border-bottom: 1px dotted var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.92rem;
}
.toc .toc-h2 {
  font-weight: 700;
  color: var(--navy);
  margin-top: 14px;
  border-bottom: none;
  border-top: 2px solid var(--navy);
  text-transform: uppercase;
  padding-top: 10px;
}
.toc .toc-h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.toc .toc-h2 { display: block; }
.toc .toc-page { display: none; }
.toc a { color: inherit; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc-sub {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-sub li {
  font-weight: 400;
  text-transform: none;
  border-bottom: 1px dotted var(--rule);
  margin-top: 0;
}
.toc-roman {
  display: inline-block;
  width: 3em;
  text-align: left;
  flex-shrink: 0;
}

/* Glossaire */
.gloss-list {
  columns: 2;
  column-gap: 30px;
  list-style: none;
  padding: 0;
}
@media (max-width: 600px) {
  .gloss-list { columns: 1; }
}
.gloss-list li {
  break-inside: avoid;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--navy);
  font-size: 0.88rem;
  line-height: 1.5;
}
.gloss-list li strong { color: var(--navy); }

/* Conclusion section */
.conclusion-section {
  background: var(--navy);
  color: #fff;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 70px);
}
.conclusion-section .page { padding: 0; max-width: 980px; }
.conclusion-section h1 { color: #fff; }
.conclusion-section h2 { color: #fff; }
.conclusion-section .eyebrow { color: var(--gold); }
.conclusion-section p { color: rgba(255,255,255,0.92); }

/* Helpers */
.small { font-size: 0.85rem; }
.muted { color: var(--navy-soft); }
hr.section-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3em 0;
}

/* Figures */
figure.report-figure {
  margin: 1.6em 0;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  page-break-inside: avoid;
}
figure.report-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
figure.report-figure figcaption {
  font-size: 0.8rem;
  color: var(--navy-soft);
  margin-top: 10px;
  font-style: italic;
}
ul.bullet, ol.bullet {
  padding-left: 1.2em;
  margin: 0.8em 0;
}
ul.bullet li, ol.bullet li {
  margin-bottom: 6px;
  line-height: 1.55;
}

/* ============ STICKY HEADER ============ */
.report-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 80px;
  background: rgba(231, 230, 238, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 32px);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}
.report-header.rh-visible {
  transform: translateY(0);
}
.rh-current {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}
.rh-section {
  color: #a0a0be;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.2em;
}
.rh-sub {
  color: #2e3770;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.rh-toggle {
  background: transparent;
  border: none;
  color: #2e3770;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  flex-shrink: 0;
  border-radius: 4px;
}
.rh-toggle:hover { background: rgba(255,255,255,0.5); }
.rh-caret {
  display: block;
  width: 24px;
  height: 24px;
  transform: rotate(180deg); /* default closed = pointing down */
  transition: transform 0.2s ease;
}
.report-header.rh-open .rh-caret {
  transform: rotate(0deg); /* open = chevron up */
}
.rh-menu {
  position: absolute;
  top: 100%;
  right: clamp(16px, 4vw, 32px);
  margin-top: 6px;
  min-width: 320px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(46, 55, 112, 0.18);
  display: none;
  padding: 6px 0;
}
.report-header.rh-open .rh-menu {
  display: block;
}
.rh-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rh-menu li.rh-h2 {
  border-top: 1px solid var(--rule);
  margin-top: 4px;
  padding-top: 4px;
}
.rh-menu li.rh-h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}
.rh-menu li.rh-h2 > a {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 16px 6px;
}
.rh-menu li.rh-sub > a {
  font-size: 0.86rem;
  color: var(--ink);
  padding: 6px 16px 6px 24px;
  font-weight: 400;
}
.rh-menu li > a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  line-height: 1.35;
}
.rh-menu li > a:hover {
  background: var(--bg-page);
}
.rh-menu .rh-num { display: none; }

@media (max-width: 640px) {
  .report-header { min-height: 64px; padding: 10px 12px; gap: 8px; }
  .rh-section { font-size: 13px; }
  .rh-sub { font-size: 22px; }
  .rh-toggle { padding: 6px 8px; }
  .rh-caret { width: 22px; height: 22px; }
  .rh-menu {
    right: 8px;
    left: 8px;
    min-width: 0;
    max-width: none;
  }
}

/* Anchor scroll offset so links don't hide behind sticky header */
.report-section { scroll-margin-top: 96px; }
@media (max-width: 640px) {
  .report-section { scroll-margin-top: 76px; }
}

/* Annexe links */
.annexe-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--navy-soft);
  transition: border-color 0.2s;
}
.annexe-link:hover { border-color: var(--navy); }

/* Back button */
.annexe-back-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  padding: 12px 22px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(46,55,112,0.35);
  transition: opacity 0.2s, transform 0.2s;
}
.annexe-back-btn:hover { opacity: 0.88; transform: translateY(-1px); }
@media (max-width: 640px) {
  .annexe-back-btn { bottom: 18px; right: 18px; padding: 10px 16px; font-size: 0.8rem; }
}

/* Prototype split photos */
.proto-split {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 1.6em;
  margin-bottom: 1.6em;
}
.proto-split-img {
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.proto-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .proto-split {
    flex-direction: column;
    height: auto;
  }
  .proto-split-img {
    width: 100%;
    height: 100vh;
  }
}

/* Video embed */
/* Video skeleton loader */
.video-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #d8d7e3 25%, #e7e6ee 50%, #d8d7e3 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  z-index: 0;
  border-radius: inherit;
  transition: opacity 0.4s ease;
}
.video-skeleton--hidden { opacity: 0; pointer-events: none; }
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.video-container {
  position: relative;
  margin: 1.6em 0;
  border-radius: 8px;
  overflow: hidden;
}
.video-container video {
  display: block;
  width: 100%;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
.video-sound-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.video-sound-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}
.video-sound-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.video-sound-btn .icon-on { display: none; }
.video-sound-btn .icon-off { display: block; }
.video-sound-btn.active .icon-on { display: block; }
.video-sound-btn.active .icon-off { display: none; }
.video-sound-btn.active {
  background: var(--navy);
}
.video-caption {
  text-align: center;
  color: var(--navy-soft, #888);
  font-size: 0.82rem;
  margin-top: 6px;
}

/* Proto documentation grid */
.proto-doc-grid {
  width: 100vw;
  height: 100vh;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 2fr 3fr 1fr 2fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 6px;
  padding: 6px;
  background: var(--bg-page);
}
.proto-doc-item {
  overflow: hidden;
  border-radius: 10px;
}
.proto-doc-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.proto-doc-item .video-container {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 10px;
}
.proto-doc-item .video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.proto-doc-grid {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr;
}
/* Armoire grid — 5 portraits + 2 landscapes */
.proto-doc-arm {
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 2fr 3fr;
}
.pdarm-1 { grid-column: 1; grid-row: 1 / span 2; }
.pdarm-2 { grid-column: 2; grid-row: 1 / span 2; }
.pdarm-3 { grid-column: 3 / span 2; grid-row: 1; }
.pdarm-4 { grid-column: 5; grid-row: 1 / span 2; }
.pdarm-5 { grid-column: 3; grid-row: 2; }
.pdarm-6 { grid-column: 4; grid-row: 2; }
.pdarm-7 { display: none; }

/* Attelles grid — 5 portraits + 2 landscapes */
.proto-doc-att {
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr 1fr;
}
.pdatt-1 { grid-column: 1; grid-row: 1 / span 2; }
.pdatt-2 { grid-column: 2; grid-row: 1 / span 2; }
.pdatt-3 { grid-column: 3; grid-row: 1 / span 2; }
.pdatt-4 { grid-column: 4; grid-row: 1; }
.pdatt-5 { grid-column: 5; grid-row: 1 / span 2; }
.pdatt-6 { grid-column: 4; grid-row: 2; }
.pdatt-7 { display: none; }

/* Mockup attelles grid — 8 landscapes in 4×2 */
.proto-doc-mock {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
}
.pdmock-1 { grid-column: 1; grid-row: 1; }
.pdmock-2 { grid-column: 2; grid-row: 1; }
.pdmock-3 { grid-column: 3; grid-row: 1; }
.pdmock-4 { grid-column: 4; grid-row: 1; }
.pdmock-5 { grid-column: 1; grid-row: 2; }
.pdmock-6 { grid-column: 2; grid-row: 2; }
.pdmock-7 { grid-column: 3; grid-row: 2; }
.pdmock-8 { grid-column: 4; grid-row: 2; }
@media (max-width: 640px) {
  .proto-doc-grid,
  .proto-doc-att,
  .proto-doc-mock {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .proto-doc-item {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .proto-doc-item > img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .proto-doc-item .video-container,
  .proto-doc-item .video-container video {
    height: auto;
    aspect-ratio: 9 / 16;
  }
}

/* Budget tables */
.budget-table {
  width: 100%;
  overflow-x: auto;
}
.budget-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.budget-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-soft);
  padding: 8px 12px;
  border-bottom: 2px solid var(--rule);
}
.budget-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.budget-table tr:last-child td {
  border-bottom: none;
}
.budget-table td:first-child {
  font-weight: 600;
}

/* Print */
@media print {
  body { background: #fff; }
  .opener { page-break-before: always; }
  .page { page-break-after: always; }
  .report-header { display: none; }
  .annexe-back-btn { display: none !important; }
}
