/* ═══════════════════════════════════════════════════════════
   Get Started Ventures · v4 — "Diptyque"
   Écran scindé en deux colonnes 50/50 permanentes.
   Panneau gauche sticky, colonne droite défilante.
   Palette sauge / gris doux. Fraunces + Switzer.
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:       #EEF1EA;
  --bg-2:     #E0E6DA;
  --line:     #C9D1C2;
  --muted:    #6a7363;
  --ink:      #23271f;
  --accent:   #5d7355;

  --display:  'Fraunces', Georgia, serif;
  --body:     'Switzer', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease:     cubic-bezier(.25,.8,.25,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in:  cubic-bezier(.55,0,1,.45);

  /* durées "posées" — animation Diptyque */
  --dur-panel:   600ms;
  --dur-content: 500ms;

  --topbar-h: 52px;
  --panel-w:  48%;
}

/* ── Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  margin: 0; padding: 0;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Zéro italic — contrainte dure */
em, i { font-style: normal; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* Label Switzer capslock */
.label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Accessibilité : focus visible net */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sélection */
::selection { background: var(--accent); color: #fff; }

/* ── Topbar ──────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 40px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: opacity .25s;
}
.logo:hover { opacity: .7; }
.logo-mark { display: inline-flex; color: var(--accent); }
.logo-mark svg { display: block; }
.logo-v { color: var(--accent); }

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}
.topnav-link {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
  position: relative;
  padding-bottom: 2px;
  transition: color .25s;
}
.topnav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease-out);
}
.topnav-link:hover { color: var(--ink); }
.topnav-link:hover::after { right: 0; }

.btn-apply {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 2px;
  transition: background .25s, color .25s, transform .25s var(--ease-out);
}
.btn-apply:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Layout Diptyque ─────────────────────────────────────── */
.diptyque {
  display: flex;
  min-height: 100vh;
  padding-top: var(--topbar-h);
}

/* ── Panneau gauche ──────────────────────────────────────── */
.panel-left {
  position: sticky;
  top: var(--topbar-h);
  width: var(--panel-w);
  flex-shrink: 0;
  height: calc(100vh - var(--topbar-h));
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.panel-inner {
  position: relative;
  flex: 1;
  /* Les deux layers sont absolues dans ce conteneur */
}

/* Deux couches : active (visible) + next (entrant) */
.panel-layer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  will-change: transform, opacity;
}

.panel-layer.is-active {
  transform: translateY(0);
  opacity: 1;
}

/* État de repos du "next" — sous le pli */
.panel-layer.is-next {
  transform: translateY(100%);
  opacity: 0;
}

/* Animation : l'active sort vers le haut */
.panel-layer.is-exiting {
  animation: panelOut var(--dur-panel) var(--ease-in) forwards;
}

/* Animation : le next entre par le bas */
.panel-layer.is-entering {
  animation: panelIn var(--dur-panel) var(--ease-out) forwards;
}

@keyframes panelOut {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-60px); opacity: 0; }
}

@keyframes panelIn {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.panel-num {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(16px, 2.5vh, 28px);
}

.panel-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 60px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
}

/* Indicateur de progression */
.panel-progress {
  flex-shrink: 0;
  padding: 20px clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}

.pp-track {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
}
.pp-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent);
  width: 14.28%; /* 1/7 sections */
  transition: width .55s var(--ease-out);
}
.pp-count {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
}

/* Watermark losange */
.panel-mark {
  position: absolute;
  right: -10%;
  top: 8%;
  width: 65%;
  max-width: 300px;
  pointer-events: none;
  color: var(--accent);
  opacity: .4;
}
.panel-mark svg { width: 100%; height: auto; }

/* ── Colonne droite ──────────────────────────────────────── */
.panel-right {
  flex: 1;
  min-width: 0;
}

/* ── Sections ────────────────────────────────────────────── */
.section {
  border-bottom: 1px solid var(--line);
}

.section-inner {
  padding: clamp(64px, 10vh, 120px) clamp(40px, 6vw, 80px) clamp(56px, 9vh, 100px);
}

/* ── Labels & titres de sections ─────────────────────────── */
.section-label {
  display: block;
  margin-bottom: clamp(20px, 3vh, 32px);
}

.section-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: clamp(24px, 4vh, 40px);
  max-width: 28ch;
}

.section-body {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: clamp(32px, 5vh, 52px);
}

.section-note {
  display: block;
  margin-top: clamp(24px, 4vh, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ── Révélation au scroll ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-content) var(--ease-out),
    transform var(--dur-content) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO ────────────────────────────────────────────────── */
.section-hero { background: var(--bg); }

.hero-kicker {
  display: block;
  margin-bottom: clamp(20px, 3vh, 32px);
}

.hero-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: 0;
}

.hero-line { display: block; }

/* Filet décoratif accent sous le titre */
.hero-heading::after {
  content: '';
  display: block;
  margin-top: clamp(20px, 3vh, 32px);
  margin-bottom: clamp(20px, 3vh, 32px);
  height: 1px;
  width: clamp(48px, 8vw, 96px);
  background: var(--accent);
}

.hero-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: clamp(32px, 5vh, 52px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 7vh, 72px);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: clamp(24px, 3vh, 36px);
  border-top: 1px solid var(--line);
}

.hero-dots { color: var(--line); }

/* ── Boutons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: 2px;
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary span { transition: transform .3s var(--ease-out); display: inline-block; }
.btn-primary:hover span { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color .25s, border-color .25s;
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ── 01 FIRM — Stats ─────────────────────────────────────── */
.section-firm { background: var(--bg); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat-item {
  padding: clamp(20px, 3.5vh, 32px) clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* délai en cascade pour le reveal */
.stat-item:nth-child(1) { transition-delay: 0ms; }
.stat-item:nth-child(2) { transition-delay: 80ms; }
.stat-item:nth-child(3) { transition-delay: 160ms; }
.stat-item:nth-child(4) { transition-delay: 240ms; }

.stat-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-lab { display: block; }

/* ── 02 METHOD ───────────────────────────────────────────── */
.section-method { background: var(--bg-2); }

.method-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.method-item {
  padding: clamp(24px, 4vh, 40px) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 2.5vw, 28px);
  row-gap: 10px;
  align-items: start;
}
/* délai cascade reveal */
.method-item:nth-child(1) { transition-delay: 0ms; }
.method-item:nth-child(2) { transition-delay: 80ms; }
.method-item:nth-child(3) { transition-delay: 160ms; }
.method-item:nth-child(4) { transition-delay: 240ms; }

.method-when {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  min-width: 76px;
}

.method-step {
  grid-column: 2;
  grid-row: 1 / 3;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--line);
  align-self: start;
}

.method-h {
  grid-column: 3;
  grid-row: 1;
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -.01em;
}

.method-p {
  grid-column: 1 / -1;
  grid-row: 2;
  padding-left: calc(76px + clamp(16px, 2.5vw, 28px) + clamp(36px, 4vw, 56px) + clamp(16px, 2.5vw, 28px));
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
}

/* ── 03 SECTORS ──────────────────────────────────────────── */
.section-sectors { background: var(--bg); }

.sectors-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.sector-item {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(20px, 3vh, 32px) 0;
  border-bottom: 1px solid var(--line);
  transition:
    opacity var(--dur-content) var(--ease-out),
    transform var(--dur-content) var(--ease-out),
    padding-left .35s var(--ease-out);
}
.sector-item:hover { padding-left: 12px; }
/* délai reveal cascade */
.sector-item:nth-child(1) { transition-delay: 0ms; }
.sector-item:nth-child(2) { transition-delay: 60ms; }
.sector-item:nth-child(3) { transition-delay: 120ms; }
.sector-item:nth-child(4) { transition-delay: 180ms; }
.sector-item:nth-child(5) { transition-delay: 240ms; }
.sector-item:nth-child(6) { transition-delay: 300ms; }

.sector-num {
  flex-shrink: 0;
  min-width: 32px;
}

.sector-body { flex: 1; }

.sector-h {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}

.sector-p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 55ch;
}

/* ── 04 PORTFOLIO ────────────────────────────────────────── */
.section-portfolio { background: var(--bg-2); }

.port-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-bottom: clamp(20px, 3vh, 32px);
}

.port-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.port-row {
  cursor: pointer;
  transition:
    opacity var(--dur-content) var(--ease-out),
    transform var(--dur-content) var(--ease-out),
    background .2s;
}
.port-row:hover { background: rgba(93,115,85,.06); }
.port-row:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.port-row td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.port-row:last-child td { border-bottom: none; }

/* délai cascade */
.port-row:nth-child(1) { transition-delay: 0ms; }
.port-row:nth-child(2) { transition-delay: 60ms; }
.port-row:nth-child(3) { transition-delay: 120ms; }
.port-row:nth-child(4) { transition-delay: 180ms; }
.port-row:nth-child(5) { transition-delay: 240ms; }
.port-row:nth-child(6) { transition-delay: 300ms; }
.port-row:nth-child(7) { transition-delay: 360ms; }

.port-no { color: var(--muted); min-width: 52px; }
.port-name {
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.port-sector { font-size: 13px; color: var(--muted); }
.port-year { color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-live { background: rgba(93,115,85,.12); color: var(--accent); }
.badge-pipe { background: transparent; border: 1px solid var(--line); color: var(--muted); }

.port-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
}
.port-link {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .25s;
}
.port-link:hover { opacity: .7; }

/* ── 05 THREE PATHS ──────────────────────────────────────── */
.section-paths { background: var(--bg); }

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 4vh, 40px) clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition:
    opacity var(--dur-content) var(--ease-out),
    transform var(--dur-content) var(--ease-out);
}
/* délai cascade */
.path-card:nth-child(1) { transition-delay: 0ms; }
.path-card:nth-child(2) { transition-delay: 100ms; }
.path-card:nth-child(3) { transition-delay: 200ms; }

/* fond glissant au hover */
.path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(102%);
  transition: transform .5s var(--ease-out);
  z-index: 0;
}
.path-card:hover::before { transform: translateY(0); }
.path-card > * { position: relative; z-index: 1; }
.path-card:hover,
.path-card:hover .path-h,
.path-card:hover .path-cta { color: var(--bg); }
.path-card:hover .path-p,
.path-card:hover .path-tag { color: rgba(238,241,234,.6); }

.path-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.path-idx { color: var(--accent); }
.path-card:hover .path-idx { color: rgba(93,115,85,.6); }

.path-tag { color: var(--muted); }

.path-h {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--ink);
  flex: 1;
}

.path-p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}

.path-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: gap .3s var(--ease-out), color .25s, border-color .25s;
}
.path-card:hover .path-cta { border-color: rgba(238,241,234,.15); }
.path-cta span { display: inline-block; transition: transform .3s var(--ease-out); }
.path-card:hover .path-cta span { transform: translateX(4px); }

/* ── CTA CLOSER ──────────────────────────────────────────── */
.section-cta { background: var(--bg-2); }

.cta-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 0;
  max-width: 24ch;
}
.cta-heading::after {
  content: '';
  display: block;
  margin-top: clamp(16px, 2.5vh, 28px);
  height: 1px;
  width: clamp(48px, 8vw, 96px);
  background: var(--accent);
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex-wrap: wrap;
  margin-top: clamp(28px, 4.5vh, 48px);
}

.cta-note {
  display: block;
  margin-top: clamp(28px, 4vh, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--bg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(48px, 8vh, 80px) clamp(40px, 6vw, 80px);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  color: var(--bg);
  transition: opacity .25s;
}
.footer-logo:hover { opacity: .7; }
.footer-logo svg { color: var(--accent); }

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(238,241,234,.55);
  max-width: 28ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.footer-col-h {
  display: block;
  color: rgba(238,241,234,.4);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a,
.footer-col li {
  font-size: 13px;
  color: rgba(238,241,234,.65);
  transition: color .25s;
}
.footer-col a:hover { color: var(--bg); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(238,241,234,.1);
}
.footer-bottom .label { color: rgba(238,241,234,.35); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

/* Tablet — panneau légèrement moins large */
@media (max-width: 1100px) {
  :root { --panel-w: 40%; }
  .panel-title { font-size: clamp(26px, 3.5vw, 44px); }
  .paths-grid { grid-template-columns: 1fr; }
  .path-card { border-right: none; }
}

/* ── Mobile ≤ 860px : les deux moitiés s'empilent ── */
@media (max-width: 860px) {
  :root { --topbar-h: 48px; }

  .topnav { display: none; }

  .diptyque { flex-direction: column; }

  /* Panneau gauche : bandeau horizontal, plus sticky */
  .panel-left {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: stretch;
  }

  .panel-inner {
    flex: 1;
    min-height: 90px;
    position: relative;
  }

  /* Sur mobile, on garde uniquement la couche active visible en absolu */
  .panel-layer {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    padding: 16px clamp(20px, 4vw, 28px);
    justify-content: center;
  }
  .panel-layer.is-next { display: none; }

  .panel-mark { display: none; }

  .panel-num {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .panel-title {
    font-size: clamp(15px, 4vw, 22px);
    letter-spacing: -.02em;
    line-height: 1.2;
  }

  /* Indicateur latéral vertical */
  .panel-progress {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 16px 14px;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    min-width: 64px;
  }
  .pp-track {
    width: 1px;
    height: 48px;
    flex: none;
  }
  .pp-fill {
    top: 0; left: 0; right: 0; bottom: auto;
    width: 100% !important;
    height: 14.28%;
    transition: height .55s var(--ease-out);
  }
  .pp-count { font-size: 10px; }

  /* Colonne droite : pleine largeur */
  .panel-right { width: 100%; }

  .section-inner {
    padding: clamp(40px, 7vh, 72px) clamp(20px, 5vw, 40px) clamp(36px, 6vh, 60px);
  }

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

  /* Method : simplification grille */
  .method-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
  }
  .method-when { grid-column: 1; grid-row: 1; }
  .method-step { grid-column: 2; grid-row: 1; font-size: 36px; }
  .method-h { grid-column: 1 / -1; grid-row: 2; }
  .method-p { grid-column: 1 / -1; grid-row: 3; padding-left: 0; }

  /* Paths empilés */
  .paths-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .path-card { border-right: none; }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px clamp(20px, 5vw, 40px);
  }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom {
    padding: 20px clamp(20px, 5vw, 40px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Petit mobile ≤ 560px */
@media (max-width: 560px) {
  .topnav { display: none; }

  .hero-heading { font-size: clamp(36px, 10vw, 52px); }
  .section-heading { font-size: clamp(24px, 7vw, 36px); }
  .cta-heading { font-size: clamp(30px, 9vw, 48px); }

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

  /* Masquer colonnes Sector et Year sur mobile */
  .port-table thead th:nth-child(3),
  .port-table tbody td:nth-child(3),
  .port-table thead th:nth-child(5),
  .port-table tbody td:nth-child(5) { display: none; }

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

  .btn-primary, .btn-ghost { font-size: 13px; }
}

/* Très petit 360px */
@media (max-width: 380px) {
  .logo-word { font-size: 13px; }
  .btn-apply { padding: 6px 14px; font-size: 12px; }
  .section-inner { padding-left: 16px; padding-right: 16px; }
  .footer-top { padding: 40px 16px; }
  .footer-bottom { padding: 16px; }
}

/* ══════════════════════════════════════════════════════════
   PREFERS-REDUCED-MOTION
══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  /* Tout le contenu toujours visible sans JS */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  /* Panel : pas d'animation de glissement */
  .panel-layer.is-next { display: none; }
}

/* ══════════════════════════════════════════════════════════
   PAGES INTÉRIEURES — Apply · Portfolio · Détails société
   Scroll vertical classique, raccord avec la home Diptyque.
   Append-only — ne pas modifier l'existant au-dessus.
══════════════════════════════════════════════════════════ */

/* ── Layout de base pages intérieures ──────────────────── */
.inner-page {
  padding-top: var(--topbar-h);
  min-height: 100vh;
}

/* Topbar liens actifs pour pages intérieures (pas d'ancre hash) */
.topnav-link.is-current {
  color: var(--ink);
}
.topnav-link.is-current::after {
  right: 0;
}

/* ── Bloc hero intérieur (page header) ──────────────────── */
.inner-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vh, 100px) clamp(40px, 6vw, 80px) clamp(48px, 7vh, 80px);
}

.inner-hero-kicker {
  display: block;
  margin-bottom: clamp(16px, 2.5vh, 28px);
}

.inner-hero-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 0;
  max-width: 26ch;
}

.inner-hero-heading::after {
  content: '';
  display: block;
  margin-top: clamp(16px, 2.5vh, 28px);
  height: 1px;
  width: clamp(48px, 8vw, 96px);
  background: var(--accent);
}

.inner-hero-sub {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
  margin-top: clamp(20px, 3vh, 32px);
}

.inner-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(24px, 4vh, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ── Section contenu intérieure (fond alterné) ─────────── */
.inner-section {
  border-bottom: 1px solid var(--line);
}

.inner-section-inner {
  padding: clamp(56px, 9vh, 100px) clamp(40px, 6vw, 80px) clamp(48px, 7vh, 80px);
}

.inner-section:nth-child(even) { background: var(--bg-2); }
.inner-section:nth-child(odd)  { background: var(--bg); }

/* ── Footer partagé pages intérieures ───────────────────── */
.inner-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--bg);
}

.inner-footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(48px, 8vh, 80px) clamp(40px, 6vw, 80px);
}

.inner-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inner-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  color: var(--bg);
  transition: opacity .25s;
}
.inner-footer-logo:hover { opacity: .7; }
.inner-footer-logo svg { color: var(--accent); }

.inner-footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(238,241,234,.55);
  max-width: 28ch;
}

.inner-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.inner-footer-col-h {
  display: block;
  color: rgba(238,241,234,.4);
  margin-bottom: 16px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.inner-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.inner-footer-col a,
.inner-footer-col li {
  font-size: 13px;
  color: rgba(238,241,234,.65);
  transition: color .25s;
}
.inner-footer-col a:hover { color: var(--bg); }

.inner-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(238,241,234,.1);
}
.inner-footer-bottom .label { color: rgba(238,241,234,.35); }

/* ══════════════════════════════════════════════════════════
   APPLY PAGE
══════════════════════════════════════════════════════════ */

/* Section intro Apply */
.ap-intro {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 10vh, 120px) clamp(40px, 6vw, 80px) clamp(56px, 9vh, 100px);
}

.ap-intro-note {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(24px, 4vh, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Section formulaire */
.ap-form-wrap {
  background: var(--bg);
  padding: clamp(56px, 9vh, 100px) clamp(40px, 6vw, 80px);
}

/* Onglets */
.ap-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 6vh, 56px);
}

.ap-tab {
  padding: 12px 28px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color .25s, border-color .25s;
}
.ap-tab:hover { color: var(--ink); }
.ap-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.ap-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Grille du formulaire */
.ap-form {
  max-width: 720px;
}

.ap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  margin-bottom: clamp(20px, 3vh, 28px);
}

.ap-row.is-full {
  grid-template-columns: 1fr;
}

/* Champs conditionnels */
.ap-cond { display: none; }
.ap-cond.is-visible { display: contents; }

/* Label + input */
.ap-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ap-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ap-input,
.ap-select,
.ap-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
  -webkit-appearance: none;
}
.ap-input:focus,
.ap-select:focus,
.ap-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(93,115,85,.12);
}
.ap-input:focus-visible,
.ap-select:focus-visible,
.ap-textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.ap-input.is-error,
.ap-select.is-error,
.ap-textarea.is-error {
  border-color: #c0392b;
}
.ap-select-wrap {
  position: relative;
}
.ap-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  pointer-events: none;
}
.ap-textarea { resize: vertical; min-height: 120px; }

/* Pied de formulaire */
.ap-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 5vh, 48px);
  padding-top: clamp(20px, 3.5vh, 32px);
  border-top: 1px solid var(--line);
}

/* Confirmation */
.ap-thanks {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: clamp(36px, 6vh, 56px) clamp(32px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-2);
  margin-top: clamp(28px, 5vh, 48px);
}
.ap-thanks.is-visible { display: flex; }
.ap-thanks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(93,115,85,.12);
  color: var(--accent);
  font-size: 18px;
}
.ap-thanks-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -.025em;
  color: var(--ink);
}
.ap-thanks-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

/* Message erreur sous champ */
.ap-error-msg {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   PORTFOLIO LIST PAGE
══════════════════════════════════════════════════════════ */

.port-list-section {
  background: var(--bg);
  padding: clamp(56px, 9vh, 100px) clamp(40px, 6vw, 80px) clamp(48px, 7vh, 80px);
  border-bottom: 1px solid var(--line);
}

.port-list-group {
  margin-bottom: clamp(48px, 8vh, 80px);
}
.port-list-group:last-child { margin-bottom: 0; }

.port-list-group-label {
  display: block;
  margin-bottom: clamp(24px, 4vh, 40px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* Grille de cartes portfolio */
.port-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.port-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 4.5vh, 44px) clamp(24px, 3.5vw, 36px);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    opacity var(--dur-content) var(--ease-out),
    transform var(--dur-content) var(--ease-out);
}
.port-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(102%);
  transition: transform .5s var(--ease-out);
  z-index: 0;
}
.port-card:hover::before { transform: translateY(0); }
.port-card > * { position: relative; z-index: 1; }
.port-card:hover,
.port-card:hover .port-card-name { color: var(--bg); }
.port-card:hover .port-card-sector,
.port-card:hover .port-card-tagline { color: rgba(238,241,234,.6); }
.port-card:hover .badge-live { background: rgba(93,115,85,.2); color: var(--bg); }
.port-card:hover .badge-pipe { border-color: rgba(238,241,234,.25); color: rgba(238,241,234,.6); }

.port-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.port-card-num {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s;
}
.port-card:hover .port-card-num { color: rgba(238,241,234,.45); }

.port-card-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ink);
  transition: color .25s;
}

.port-card-sector {
  font-size: 12px;
  color: var(--muted);
  transition: color .25s;
}

.port-card-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
  transition: color .25s;
}

.port-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: border-color .25s;
}
.port-card:hover .port-card-footer { border-color: rgba(238,241,234,.12); }

.port-card-arrow {
  font-size: 14px;
  transition: transform .3s var(--ease-out);
}
.port-card:hover .port-card-arrow { transform: translateX(4px); }

/* Compteur reveal cascade pour cartes */
.port-card:nth-child(1) { transition-delay: 0ms; }
.port-card:nth-child(2) { transition-delay: 60ms; }
.port-card:nth-child(3) { transition-delay: 120ms; }
.port-card:nth-child(4) { transition-delay: 180ms; }
.port-card:nth-child(5) { transition-delay: 240ms; }

/* Encart note en bas de la liste portfolio */
.port-list-note {
  margin-top: clamp(28px, 5vh, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ══════════════════════════════════════════════════════════
   PORTFOLIO DETAIL PAGE
══════════════════════════════════════════════════════════ */

/* Hero de la page détail société */
.det-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vh, 100px) clamp(40px, 6vw, 80px) clamp(48px, 7vh, 80px);
}

.det-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vh, 40px);
}

.det-num {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.det-sector {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.det-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: 0;
}

.det-name::after {
  content: '';
  display: block;
  margin-top: clamp(16px, 2.5vh, 28px);
  height: 1px;
  width: clamp(48px, 8vw, 96px);
  background: var(--accent);
}

.det-tagline {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
  margin-top: clamp(12px, 2vh, 20px);
}

.det-meta-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 4vh, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.det-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.det-meta-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* Corps de la page détail : layout 2 colonnes */
.det-body {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.det-body-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  padding: clamp(56px, 9vh, 100px) clamp(40px, 6vw, 80px) clamp(48px, 7vh, 80px);
  align-items: start;
}

/* Colonne principale */
.det-main {
  padding-right: clamp(40px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

.det-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
  max-width: 56ch;
  margin-bottom: clamp(28px, 4.5vh, 44px);
  padding-bottom: clamp(28px, 4.5vh, 44px);
  border-bottom: 1px solid var(--line);
}

.det-paragraphs {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vh, 24px);
  margin-bottom: clamp(36px, 6vh, 56px);
}

.det-paragraphs p {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 58ch;
}

/* Bloc services */
.det-block {
  margin-bottom: clamp(36px, 6vh, 56px);
  padding-bottom: clamp(36px, 6vh, 56px);
  border-bottom: 1px solid var(--line);
}
.det-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.det-block-h {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

/* Pills services */
.det-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.det-pill {
  padding: 6px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink);
}

/* Leadership */
.det-leadership {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.det-person {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.det-person:last-child { border-bottom: none; padding-bottom: 0; }

.det-person-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.det-person-role {
  font-size: 13px;
  color: var(--muted);
}

/* Targets / chiffres clés */
.det-targets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.det-target {
  padding: clamp(16px, 2.5vh, 24px) clamp(16px, 2.5vw, 24px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.det-target-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
}

.det-target-lab {
  font-family: var(--body);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Colonne latérale */
.det-aside {
  padding-left: clamp(32px, 4vw, 56px);
  position: sticky;
  top: calc(var(--topbar-h) + 24px);
}

/* Carte latérale générique */
.det-side-card {
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-bottom: clamp(16px, 2.5vh, 24px);
  overflow: hidden;
}
.det-side-card:last-child { margin-bottom: 0; }

.det-side-card-h {
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

/* At a glance — dl */
.det-glance-dl {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.det-glance-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.det-glance-row:last-child { border-bottom: none; }

.det-glance-key {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.det-glance-val {
  font-size: 13px;
  color: var(--ink);
  text-align: right;
  line-height: 1.4;
}

/* Other ventures — liens */
.det-others-list {
  padding: 8px 0;
}

.det-other-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.det-other-link:last-child { border-bottom: none; }
.det-other-link:hover {
  background: rgba(93,115,85,.06);
  color: var(--accent);
}
.det-other-link-stage {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

/* CTA section bas de page détail */
.det-cta {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 10vh, 120px) clamp(40px, 6vw, 80px) clamp(56px, 9vh, 100px);
}

/* Navigation "autres ventures" en bas */
.det-ventures-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(40px, 6vw, 80px);
}

.det-ventures-nav-label {
  padding: clamp(32px, 5vh, 48px) 0 clamp(20px, 3vh, 28px);
  border-bottom: 1px solid var(--line);
}

.det-ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.det-venture-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 4vh, 40px) clamp(16px, 2.5vw, 28px) clamp(24px, 4vh, 40px) 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  transition: color .25s;
}
.det-venture-card:last-child { border-right: none; }
.det-venture-card:hover { color: var(--accent); }
.det-venture-card:nth-child(2) { padding-left: clamp(16px, 2.5vw, 28px); }
.det-venture-card:nth-child(3) { padding-left: clamp(16px, 2.5vw, 28px); }

.det-venture-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.det-venture-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.det-venture-sector {
  font-size: 12px;
  color: var(--muted);
  transition: color .25s;
}
.det-venture-card:hover .det-venture-sector { color: rgba(93,115,85,.7); }

.det-venture-arrow {
  margin-top: auto;
  font-size: 18px;
  transition: transform .3s var(--ease-out);
}
.det-venture-card:hover .det-venture-arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — PAGES INTÉRIEURES
══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .det-body-inner {
    grid-template-columns: 1fr 280px;
  }
  .det-ventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .det-venture-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 860px) {
  /* Hero intérieur */
  .inner-hero,
  .ap-intro,
  .det-hero,
  .port-list-section,
  .det-cta {
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }

  /* Apply */
  .ap-form-wrap {
    padding: clamp(40px, 7vh, 72px) clamp(20px, 5vw, 40px);
  }
  .ap-row {
    grid-template-columns: 1fr;
  }

  /* Détail : colonne -> 1 col */
  .det-body-inner {
    grid-template-columns: 1fr;
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }
  .det-main {
    padding-right: 0;
    border-right: none;
    padding-bottom: clamp(36px, 6vh, 56px);
    border-bottom: 1px solid var(--line);
  }
  .det-aside {
    padding-left: 0;
    padding-top: clamp(32px, 5vh, 48px);
    position: static;
  }

  /* Ventues nav 1 col mobile */
  .det-ventures-grid {
    grid-template-columns: 1fr;
  }
  .det-venture-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-left: 0;
  }
  .det-venture-card:nth-child(3) { display: flex; }
  .det-venture-card:last-child { border-bottom: none; }

  /* Footer intérieur */
  .inner-footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px clamp(20px, 5vw, 40px);
  }
  .inner-footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .inner-footer-bottom {
    padding: 20px clamp(20px, 5vw, 40px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Portfolio liste */
  .port-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .inner-footer-cols { grid-template-columns: 1fr; }
  .det-targets { grid-template-columns: 1fr; }
  .det-ventures-grid { grid-template-columns: 1fr; }
  .ap-tabs { gap: 0; }
  .ap-tab { padding: 10px 18px; font-size: 12px; }
  .det-meta-strip { gap: 16px; }
}

@media (max-width: 380px) {
  .inner-hero,
  .ap-intro,
  .det-hero,
  .port-list-section,
  .ap-form-wrap,
  .det-cta {
    padding-left: 16px;
    padding-right: 16px;
  }
  .det-body-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .det-ventures-nav {
    padding-left: 16px;
    padding-right: 16px;
  }
}
