/* ──────────────────────────────────────────────────────────────────
   Conférence Euridis — slides standalone
   DA APEX Vermillon (cream/ink/vermillon, brutalist light)
   Tokens répliqués depuis /Applications/ORM-Apex/orm_apex_machina/src/app/globals.css
   ────────────────────────────────────────────────────────────────── */

:root {
  /* Couleurs base */
  --paper: #fafaf7;
  --ink: #0a0a0a;
  --card: #ffffff;
  --secondary: #f3f3ee;
  --muted: #e7e5e0;
  --muted-fg: rgb(10 10 10 / 0.55);

  /* Brand & action */
  --vermillon: #c2410c;
  --vermillon-fg: #ffffff;
  --vermillon-soft: rgb(194 65 12 / 0.08);
  --vermillon-glow: rgb(194 65 12 / 0.3);

  /* Sémantique */
  --affirmative: #16a34a;
  --destructive: #dc2626;
  --warning: #f97316;
  --info: #3b82f6;

  /* UI */
  --border: rgb(10 10 10 / 0.15);
  --border-strong: rgb(10 10 10 / 0.85);
  --ring: #eab308;
  --overlay: rgb(10 10 10 / 0.3);

  /* Status pipeline (référence) */
  --status-qualifie: #a16207;

  /* Radius brutalist */
  --radius: 4px;
  --radius-sm: 3px;

  /* Shadows brutalist (jamais de blur sauf modal) */
  --shadow-brut: 2px 2px 0 0 rgb(10 10 10 / 0.85);
  --shadow-brut-lg: 4px 4px 0 0 rgb(10 10 10 / 0.85);
  --shadow-brut-xl: 6px 6px 0 0 rgb(10 10 10 / 0.85);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Layout slide */
  --slide-padding: 6vh 7vw;
  --banner-height: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ──────────────────────────────────────────────────────────────────
   Layout deck
   ────────────────────────────────────────────────────────────────── */

.deck {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  padding: var(--slide-padding);
  padding-bottom: calc(var(--banner-height) + 3vh);
  display: none;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  animation: slideIn 0.35s var(--ease-out);
}

.slide.active {
  display: flex;
}

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

/* HUD top-right : slide counter + timer */
.hud {
  position: fixed;
  top: 16px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 50;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-fg);
}

.hud .chip {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-brut);
  border-radius: var(--radius);
  padding: 4px 10px;
  font-variant-numeric: tabular-nums;
}

/* ──────────────────────────────────────────────────────────────────
   Typographie slides
   ────────────────────────────────────────────────────────────────── */

.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vermillon);
  margin-bottom: 1.5vh;
}

h1.title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2vh;
}

/* ══════════════════════════════════════════════════════════════════
   Override global : pas de texte en italique (instruction user 2026-06-05)
   Le contraste vermillon des accents reste conservé via color, juste sans italique.
   ══════════════════════════════════════════════════════════════════ */
em, i {
  font-style: normal !important;
}

h2.title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 2vh;
}

h3.subtitle {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted-fg);
  margin-bottom: 3vh;
}

.lead {
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.5;
  max-width: 60ch;
  color: var(--ink);
}

.lead em {
  color: var(--vermillon);
  font-style: normal;
  font-weight: 600;
}

.memo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  background: var(--vermillon-soft);
  border-left: 4px solid var(--vermillon);
  padding: 10px 16px;
  margin-top: 3vh;
  letter-spacing: -0.005em;
}

.cite {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.4;
  border-left: 4px solid var(--ink);
  padding-left: 1.5em;
  margin: 2vh 0;
  max-width: 70ch;
}

.cite .src {
  display: block;
  font-style: normal;
  font-size: 0.55em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  margin-top: 1em;
}

/* ──────────────────────────────────────────────────────────────────
   Composants brutalist
   ────────────────────────────────────────────────────────────────── */

.btn-brut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 24px;
  background: var(--vermillon);
  color: var(--vermillon-fg);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut-lg);
  cursor: pointer;
  transition: transform 100ms var(--ease-out), box-shadow 100ms var(--ease-out);
}
.btn-brut:hover  { transform: translate(-1px, -1px); box-shadow: var(--shadow-brut-xl); }
.btn-brut:active { transform: translate(2px, 2px); box-shadow: none; }

.card-brut {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 20px;
}

.kbd-brut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 1px 1px 0 0 var(--border-strong);
  color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────────
   Layouts spécifiques
   ────────────────────────────────────────────────────────────────── */

/* Slide 1 — Hook : centrage avec bouton lance-WF */
.slide.is-hook {
  align-items: flex-start;
  text-align: left;
}
.slide.is-hook .launch {
  margin-top: 4vh;
  display: flex;
  align-items: center;
  gap: 18px;
}
.slide.is-hook .launch-hint {
  font-size: 14px;
  color: var(--muted-fg);
  font-family: var(--font-display);
}

/* Slide 2 — 2 colonnes mirror déterministe vs probabiliste */
.mirror {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2vh;
}
.mirror .col {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  background: var(--card);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mirror .col .label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mirror .col.is-det .label { color: var(--info); }
.mirror .col.is-prob .label { color: var(--vermillon); }
.mirror .col h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mirror .col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mirror .col li {
  font-size: 16px;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.mirror .col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
}
.mirror .col.is-prob li::before { background: var(--vermillon); }

/* Slide 4 — 3 vignettes LLM/CONTEXTE/AGENT */
.triptyque {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 2vh;
}
.vignette {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.vignette .step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--vermillon);
}
.vignette .pictogram {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
}
.vignette .label-big {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.vignette .legend {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.4;
}
.vignette + .vignette {
  position: relative;
}
.vignette + .vignette::before {
  content: "→";
  position: absolute;
  top: 50%;
  left: -16px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  pointer-events: none;
}

/* Slide 4 — Animation distribution de probabilités */
.proba-anim {
  margin-top: 2vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1100px;
}

.proba-context {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--info);
  padding-left: 2px;
  transition: opacity 350ms ease;
  min-height: 1.2em;
}
.proba-context .ctx-tag {
  background: var(--info);
  color: var(--paper);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  font-size: 11px;
}
.proba-context .ctx-label { color: var(--ink); }
.proba-context.is-changing {
  opacity: 0.3;
}
.proba-context.is-flash {
  animation: ctx-flash 600ms var(--ease-spring);
}
@keyframes ctx-flash {
  0%   { transform: translateX(-8px); opacity: 0; }
  60%  { transform: translateX(2px);  opacity: 1; }
  100% { transform: translateX(0);    opacity: 1; }
}

.proba-phrase {
  font-family: var(--font-display);
  /* Réduit pour que la phrase la plus longue (« Marie m'a dit qu'elle voulait parler du renouvellement de son contrat. ») tienne sur 1 ligne */
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 14px 20px;
  min-height: 2.1em;
  letter-spacing: -0.005em;
  /* Garde-fou anti-wrap : si jamais ça déborde, on réduit encore via le scale du browser */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proba-phrase .built { color: var(--ink); }
.proba-phrase .new {
  color: var(--vermillon);
  font-weight: 700;
  display: inline-block;
  animation: word-pop 450ms var(--ease-spring);
}
.proba-phrase .cursor {
  display: inline-block;
  width: 12px;
  height: 0.9em;
  background: var(--vermillon);
  margin-left: 6px;
  animation: blink 1.1s steps(2, end) infinite;
  vertical-align: -0.1em;
}

@keyframes blink {
  0%, 50%       { opacity: 1; }
  50.01%, 100%  { opacity: 0; }
}
@keyframes word-pop {
  0%   { transform: scale(0.55); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.proba-panel {
  background: var(--secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.proba-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
}
.proba-panel-hint {
  color: var(--vermillon);
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  font-weight: 500;
}

.proba-candidates {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.proba-candidate {
  display: grid;
  grid-template-columns: 200px 1fr 56px;
  gap: 14px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  transition: opacity 250ms;
}
.proba-candidate .word {
  font-weight: 500;
}
.proba-candidate .bar-wrap {
  height: 12px;
  background: var(--muted);
  border-radius: 2px;
  overflow: hidden;
}
.proba-candidate .bar {
  display: block;             /* <span> est inline par défaut → width ne s'appliquerait pas */
  height: 100%;
  background: var(--ink);
  width: 0%;
  transition: width 750ms var(--ease-out);
}
.proba-candidate .pct {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--muted-fg);
}
.proba-candidate.chosen .word,
.proba-candidate.chosen .pct {
  color: var(--vermillon);
  font-weight: 700;
}
.proba-candidate.chosen .bar { background: var(--vermillon); }
.proba-candidate.faded { opacity: 0.35; }

.proba-foot {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-fg);
  max-width: 95ch;
  padding: 0 4px;
}
.proba-foot strong { color: var(--ink); }
.proba-foot em { color: var(--vermillon); font-style: normal; font-weight: 600; }

/* Slide 6 — Stack API/MCP/IA */
.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 2vh;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.stack-layer {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}
.stack-layer .layer-tag {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stack-layer .layer-body {
  font-size: 15px;
  line-height: 1.4;
}
.stack-layer .layer-body strong {
  font-family: var(--font-display);
  font-weight: 600;
}
.stack-layer.is-ai .layer-tag { color: var(--vermillon); }
.stack-layer.is-mcp .layer-tag { color: var(--info); }
.stack-layer.is-api .layer-tag { color: var(--ink); }
.stack-arrow {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--muted-fg);
  line-height: 1;
}

/* Slide 8 — Vidéo Loom (placeholder) */
.video-wrap {
  margin-top: 2vh;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ink);
}
.video-wrap .placeholder-note {
  text-align: center;
  padding: 24px;
}
.video-wrap .placeholder-note .big {
  font-size: 32px;
  margin-bottom: 12px;
}

/* Slide 9 — Grille de 5 cas */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
  margin-top: 2vh;
}
.case-grid .case {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case .case-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vermillon);
}
.case h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.case .benefit {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}

/* Slide 10 — Iceberg */
.iceberg {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 2vh;
}
.iceberg .visual {
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1;
  text-align: center;
  color: var(--info);
}
.iceberg .visual .below {
  display: block;
  font-size: 0.5em;
  color: var(--muted-fg);
  letter-spacing: 0.05em;
}
.iceberg .copy h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  margin-bottom: 1vh;
}
.iceberg .copy ul {
  list-style: none;
  margin-top: 1.5vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.iceberg .copy ul li {
  font-size: 16px;
  padding-left: 18px;
  position: relative;
  color: var(--muted-fg);
}
.iceberg .copy ul li::before {
  content: "↓";
  position: absolute;
  left: 0;
  color: var(--info);
}

/* Slide 11 — Reveal bandeau */
.reveal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 3vh;
}
/* Variante 2 chiffres (slide 11 refonte) — cards plus grandes pour absorber l'espace */
.reveal-grid--duo {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.reveal-grid--duo .reveal-card {
  padding: 30px 24px;
}
.reveal-grid--duo .reveal-card .big {
  font-size: clamp(56px, 6vw, 88px);
}

/* S11 layout 2 colonnes : funnel à gauche, coûts à droite */
.reveal-2col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  margin-top: 2vh;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.reveal-2col .reveal-funnel { max-width: none; margin: 0; }
.reveal-2col .reveal-costs { margin: 0; }

/* Encart coûts mensuels infra */
.reveal-costs {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reveal-costs .rc-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  margin-bottom: 6px;
}
.reveal-costs .rc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reveal-costs .rc-list li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  padding: 2px 0;
}
/* Variante 2 colonnes (juste outil + prix, sans description usage) */
.reveal-costs .rc-list--mensuel li {
  grid-template-columns: 1fr auto;
}
.reveal-costs .rc-usage {
  font-family: var(--font-body);
  font-size: 11px;
  font-style: italic;
  color: var(--muted-fg);
  opacity: 0.85;
}
.reveal-costs .rc-tool {
  color: var(--ink);
  font-weight: 500;
}
.reveal-costs .rc-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.reveal-costs .rc-total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1.5px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.reveal-costs .rc-total .rc-tool {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}
.reveal-costs .rc-price--total {
  color: var(--vermillon);
  font-size: 22px;
  line-height: 1;
}
.reveal-costs .rc-month {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-fg);
  margin-left: 2px;
}
.reveal-costs .rc-foot {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-style: italic;
  color: var(--muted-fg);
  line-height: 1.3;
}

/* Funnel explicatif sous le reveal — 47 → 12 cascade */
.reveal-funnel {
  margin-top: 2.5vh;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.reveal-funnel .rf-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  margin-bottom: 8px;
}
.reveal-funnel .rf-row {
  display: grid;
  grid-template-columns: 52px auto 1fr 70px;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  padding: 2px 0;
}
.reveal-funnel .rf-cost {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.reveal-funnel .rf-cost--final {
  color: var(--vermillon);
  font-size: 15px;
  font-weight: 800;
}
.reveal-funnel .rf-charge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vermillon);
  margin-left: 6px;
}
.reveal-funnel .rf-n {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.reveal-funnel .rf-arrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-fg);
  opacity: 0.4;
  text-align: right;
}
.reveal-funnel .rf-cut {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--vermillon);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.reveal-funnel .rf-l {
  color: var(--muted-fg);
  font-size: 13px;
}
.reveal-funnel .rf-row--final .rf-n {
  color: var(--vermillon);
  font-size: 22px;
}
.reveal-funnel .rf-row--final .rf-l {
  color: var(--ink);
  font-weight: 600;
  font-style: italic;
}
.reveal-card {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 22px 18px;
  text-align: center;
}
.reveal-card .big {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--vermillon);
  font-variant-numeric: tabular-nums;
}
.reveal-card .label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  margin-top: 8px;
}

/* Slide 12 — CTA / Slide 13 — Outro */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 3vh;
}
.contact-line {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}
.contact-line .item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 8px 14px;
}
.qr-placeholder {
  display: inline-grid;
  place-items: center;
  width: 200px;
  height: 200px;
  background:
    repeating-linear-gradient(0deg, var(--ink) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-shadow: 1px 1px 0 var(--ink);
}

/* ──────────────────────────────────────────────────────────────────
   Bandeau Live (compteur fake)
   ────────────────────────────────────────────────────────────────── */

.banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--banner-height);
  background: var(--ink);
  color: var(--paper);
  border-top: 1.5px solid var(--border-strong);
  padding: 8px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  z-index: 40;
  font-family: var(--font-display);
  transition: transform 420ms var(--ease-out);
}
/* État idle : banner caché (glisse hors écran). N'apparaît qu'au clic « OK, ON LANCE. » de S3. */
.banner.idle {
  transform: translateY(100%);
  pointer-events: none;
}

.banner .banner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(250 250 247 / 0.55);
}

.banner .banner-head .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner .banner-head .dot {
  width: 8px;
  height: 8px;
  background: var(--affirmative);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
.banner.idle .banner-head .dot { background: var(--muted-fg); animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgb(22 163 74 / 0.7); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 8px rgb(22 163 74 / 0); }
}

.banner .banner-head .wf-name {
  color: var(--paper);
  font-weight: 600;
}

.banner .banner-head .timer {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--paper);
}

.banner .banner-body {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: 13px;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.banner .stat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.banner .stat .n {
  font-size: 19px;
  font-weight: 700;
  color: var(--vermillon);
  min-width: 2ch;
  text-align: right;
}
.banner .stat .lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgb(250 250 247 / 0.75);
  text-transform: lowercase;
}

.banner .sep {
  width: 1px;
  height: 22px;
  background: rgb(250 250 247 / 0.2);
}

/* Nav hint bottom-left (discret) */
.nav-hint {
  position: fixed;
  bottom: calc(var(--banner-height) + 12px);
  left: 20px;
  display: flex;
  gap: 8px;
  z-index: 30;
  opacity: 0.6;
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--muted-fg);
  align-items: center;
}
.nav-hint .kbd-brut {
  font-size: 10px;
  padding: 1px 5px;
}

/* Print → PDF backup (Chrome) */
@media print {
  @page { size: 1920px 1080px; margin: 0; }
  body { background: var(--paper); }
  .deck { height: auto; width: auto; }
  .slide {
    display: flex !important;
    page-break-after: always;
    position: relative;
    width: 1920px;
    height: 1080px;
  }
  .hud, .nav-hint { display: none !important; }
  .banner { position: relative; }
}

/* a11y */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   ENRICHISSEMENT VITRINE v3.1 — patches générés par workflow
   ══════════════════════════════════════════════════════════════════ */

/* ─── Slide 1 — chip boussole + kicker-row ─── */
.kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 1.5vh;
}
.kicker-row .kicker {
  margin-bottom: 0;
}
.chip-step {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 3px 10px;
  font-variant-numeric: tabular-nums;
}

/* ─── Slide 2 — Roadmap visuelle horizontale + jiggle CTA + flash bandeau ─── */

.roadmap-bar {
  margin-top: 3vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  width: 100%;
}

.roadmap-segments {
  display: flex;
  gap: 8px;
  align-items: stretch;
  height: 44px;
}

.rm-seg {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  overflow: hidden;
  min-width: 0;
}

.rm-seg .rm-seg-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--vermillon);
  transition: width 600ms var(--ease-out);
}

.rm-seg.is-current {
  background: var(--vermillon);
  border-color: var(--ink);
}
.rm-seg.is-current .rm-seg-fill {
  width: 100%;
  background: var(--vermillon);
}

.roadmap-labels {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.rm-lbl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-family: var(--font-display);
  line-height: 1.1;
  padding: 0 2px;
  min-width: 0;
}

.rm-lbl .rm-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: visible;
  max-width: 100%;
}

.rm-lbl .rm-dur {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-fg);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.rm-lbl.is-current .rm-name { color: var(--vermillon); }
.rm-lbl.is-current .rm-dur  { color: var(--vermillon); }

/* Micro-jiggle bouton CTA à l'arrivée sur slide 2 */
.slide.is-hook .launch #launch-wf.is-arrived {
  animation: cta-nudge 600ms var(--ease-out);
  animation-iteration-count: 2;
}

@keyframes cta-nudge {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-2px); }
  40%  { transform: translateX(0); }
  60%  { transform: translateX(2px); }
  80%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* Flash bandeau live au clic CTA */
.banner.is-flash {
  animation: banner-flash 800ms var(--ease-out);
}
.banner.is-flash::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--vermillon);
  animation: banner-flash-bar 800ms var(--ease-out);
  pointer-events: none;
}

@keyframes banner-flash {
  0%   { opacity: 1; }
  20%  { opacity: 0.82; }
  60%  { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes banner-flash-bar {
  0%   { transform: scaleX(0); transform-origin: left center; opacity: 1; }
  40%  { transform: scaleX(1); transform-origin: left center; opacity: 1; }
  100% { transform: scaleX(1); transform-origin: left center; opacity: 0; }
}

/* ─── Slide 5 — Boucle agent visuelle + chips outils ─── */
#slide-5 {
  gap: 2vh;
}
#slide-5 .title {
  margin-bottom: 1vh;
}

.agent-loop {
  position: relative;
  width: 520px;
  max-width: 90%;
  height: 360px;
  margin: 1vh auto 0;
}
.agent-loop-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.agent-orbit-dot {
  filter: drop-shadow(1.5px 1.5px 0 rgb(10 10 10 / 0.85));
}

.agent-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 8px 14px;
  min-width: 110px;
  text-align: center;
}
.agent-node-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--vermillon);
  letter-spacing: 0.08em;
}
.agent-node-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.agent-node--top {
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
}
.agent-node--right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.agent-node--bottom {
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}
.agent-node--left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.agent-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1vh;
}
.agent-tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  background: var(--secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 1.5px 1.5px 0 0 var(--border-strong);
  color: var(--ink);
}
.agent-tool-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 14px;
  font-family: ui-monospace, monospace;
  color: var(--vermillon);
  line-height: 1;
}

.agent-punchline {
  margin-top: 1.5vh;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .agent-orbit-dot { opacity: 0.6; }
}

/* ─── Slide 8 — Timeline 8 segments + chip proof ─── */

/* Le placeholder est masqué par défaut quand la vidéo charge ; il devient visible si la vidéo .error (onerror) */
.video-wrap video + .placeholder-note { display: none; }
.video-wrap video[style*="display: none"] + .placeholder-note,
.video-wrap .placeholder-note.is-shown {
  display: block;
}
.video-wrap:not(:has(video)) .placeholder-note { display: block; }

/* Timeline horizontale, 8 segments */
.timeline-8 {
  position: relative;
  max-width: 900px;
  margin: 2vh auto 0;
  padding-top: 26px;
}
.timeline-8-cursor {
  position: absolute;
  top: 0;
  left: 6.25%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--vermillon);
  font-weight: 700;
  transition: left 320ms var(--ease-spring);
  pointer-events: none;
  text-shadow: 1px 1px 0 var(--ink);
}
.timeline-8[data-cursor="1"] .timeline-8-cursor { left: 6.25%; }
.timeline-8[data-cursor="2"] .timeline-8-cursor { left: 18.75%; }
.timeline-8[data-cursor="3"] .timeline-8-cursor { left: 31.25%; }
.timeline-8[data-cursor="4"] .timeline-8-cursor { left: 43.75%; }
.timeline-8[data-cursor="5"] .timeline-8-cursor { left: 56.25%; }
.timeline-8[data-cursor="6"] .timeline-8-cursor { left: 68.75%; }
.timeline-8[data-cursor="7"] .timeline-8-cursor { left: 81.25%; }
.timeline-8[data-cursor="8"] .timeline-8-cursor { left: 93.75%; }
.timeline-8[data-cursor="0"] .timeline-8-cursor { opacity: 0; }

.timeline-8-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 4px;
}
.timeline-8-track .seg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  background: var(--secondary);
  border: 1.5px solid transparent;
  opacity: 0.55;
  transition: opacity 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-spring);
  min-width: 0;
  text-align: center;
}
.timeline-8-track .seg .seg-kind {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.timeline-8-track .seg .seg-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-fg);
  letter-spacing: 0.01em;
}
.timeline-8-track .seg.is-api    .seg-kind { color: var(--info); }
.timeline-8-track .seg.is-ia     .seg-kind { color: var(--vermillon); }
.timeline-8-track .seg.is-check  .seg-kind { color: #a16207; }

.timeline-8-track .seg.is-current { opacity: 1; transform: translateY(-1px); }
.timeline-8-track .seg.is-current.is-api    { background: rgb(59 130 246 / 0.12);  border-color: var(--info); }
.timeline-8-track .seg.is-current.is-ia     { background: var(--vermillon-soft);   border-color: var(--vermillon); }
.timeline-8-track .seg.is-current.is-check  { background: rgb(234 179 8 / 0.12);   border-color: #a16207; }

.timeline-8-track .seg.is-done { opacity: 0.85; }
.timeline-8-track .seg.is-done::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  opacity: 0.4;
}
.timeline-8-track .seg.is-done.is-api    { color: var(--info); }
.timeline-8-track .seg.is-done.is-ia     { color: var(--vermillon); }
.timeline-8-track .seg.is-done.is-check  { color: #a16207; }

.timeline-8-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-fg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
}
.timeline-8-legend .lg-api   { color: var(--info); }
.timeline-8-legend .lg-ia    { color: var(--vermillon); }
.timeline-8-legend .lg-check { color: #a16207; }
.timeline-8-legend .lg-hint  {
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  color: var(--muted-fg);
  opacity: 0.75;
}

/* Chip de proof — pulse une fois quand .is-revealed */
.chip-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 1.6vh auto 0;
  padding: 8px 16px;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  align-self: center;
  opacity: 0.6;
  transition: opacity 320ms var(--ease-out);
}
.chip-proof .cp-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vermillon);
  background: var(--vermillon-soft);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}
.chip-proof .cp-stat strong {
  font-weight: 700;
  color: var(--vermillon);
}
.chip-proof .cp-sep {
  width: 1px;
  height: 16px;
  background: var(--border-strong);
  opacity: 0.3;
}
.chip-proof.is-revealed {
  opacity: 1;
  animation: chip-proof-pulse 1100ms var(--ease-spring) 1;
}
@keyframes chip-proof-pulse {
  0%   { transform: scale(1);    box-shadow: var(--shadow-brut); }
  35%  { transform: scale(1.05); box-shadow: var(--shadow-brut-xl); }
  70%  { transform: scale(0.99); box-shadow: var(--shadow-brut-lg); }
  100% { transform: scale(1);    box-shadow: var(--shadow-brut-lg); }
}

/* ─── Slide 10 — iceberg-svg mesuré + memo plein largeur ─── */
#slide-11 .iceberg {
  grid-template-columns: minmax(280px, 360px) 1fr;
  align-items: center;
}
#slide-11 .iceberg .visual {
  font-size: inherit;
  color: inherit;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iceberg-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  overflow: visible;
}
.iceberg-svg .iceberg-below {
  transform: scaleY(0);
  transform-origin: 160px 38px;
  transition: transform 0s linear;
}
.iceberg-svg.is-mounted .iceberg-below {
  transform: scaleY(1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.iceberg-svg .iceberg-lbl-top { text-anchor: start; }
.iceberg-svg .iceberg-lbl-bot { text-anchor: start; }
#slide-11 .iceberg .copy ul li.highlight {
  color: var(--vermillon);
  font-weight: 700;
  font-size: 18px;
  margin-top: 6px;
}
#slide-11 .iceberg .copy ul li.highlight::before {
  content: "";
}
#slide-11 .iceberg .copy ul li.highlight .star {
  color: var(--vermillon);
  margin-right: 6px;
  font-weight: 700;
}
#slide-11 .iceberg-memo {
  margin-top: 3vh;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.35;
  padding: 18px 22px;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .iceberg-svg .iceberg-below,
  .iceberg-svg.is-mounted .iceberg-below {
    transform: scaleY(1);
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════════════
   ENRICHISSEMENT VITRINE v3.2 — patches générés par workflow (finalize)
   ══════════════════════════════════════════════════════════════════ */

/* ─── Slide 11 — Count-up animé + extrapolation /mois ─── */

.reveal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

.reveal-card .big {
  transition: transform 200ms var(--ease-spring);
  will-change: transform;
}

.reveal-card.is-pulsing .big {
  animation: reveal-pulse 600ms var(--ease-spring) 1;
}

@keyframes reveal-pulse {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.14); }
  75%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}

.kbd-extrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-fg);
  background: var(--secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 1px 1px 0 0 var(--border-strong);
  padding: 3px 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-card .big,
  .reveal-card.is-pulsing .big {
    animation: none;
    transition: none;
  }
}

/* ─── Slide 12 — QR offline + rareté + secondary CTA ─── */
.cta-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 2vh;
}
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-box {
  width: 220px;
  height: 220px;
  background: var(--paper);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 10px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.qr-box svg {
  width: 100%;
  height: 100%;
  display: block;
  shape-rendering: crispEdges;
}
.qr-box::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  display: none;
}
.qr-box.is-rendered::after {
  display: block;
}
.qr-box.is-rendered::before {
  content: "⊕";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  z-index: 2;
  line-height: 1;
}
.qr-caption {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-fg);
  letter-spacing: 0.02em;
}

.rarity-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rarity-chip {
  font-size: 13px;
  padding: 6px 12px;
  background: var(--vermillon-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rarity-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vermillon);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink);
  animation: rarity-pulse 2.4s var(--ease-out) infinite;
}
@keyframes rarity-pulse {
  0%, 60%, 100% { opacity: 1; transform: scale(1); }
  30% { opacity: 0.55; transform: scale(0.85); }
}

.secondary-cta {
  margin-top: 3vh;
  padding: 12px 16px;
  background: var(--secondary);
  border: 1.5px solid var(--border);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-fg);
  align-self: flex-start;
}
.secondary-cta .sc-arrow {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--vermillon);
  font-size: 16px;
}
.secondary-cta .sc-text {
  color: var(--ink);
}
.secondary-cta .sc-kbd {
  font-size: 12px;
  margin: 0 2px;
}

@media (prefers-reduced-motion: reduce) {
  .rarity-dot { animation: none; }
}

/* ─── Slide 3 — Axe coût d'erreur + slideIn mirror ─── */
#slide-3 .cost-axis {
  margin-top: 2.5vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#slide-3 .cost-axis-ends {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 88%;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#slide-3 .cost-axis-end.is-info { color: var(--info); }
#slide-3 .cost-axis-end.is-vermillon { color: var(--vermillon); }

#slide-3 .cost-axis-track {
  position: relative;
  width: 88%;
  margin: 0 auto;
  height: 56px;
}
#slide-3 .cost-axis-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 0;
  border-top: 1.5px solid var(--ink);
}
#slide-3 .cost-axis-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#slide-3 .cost-axis-dot {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--ink);
  background: var(--card);
  border-radius: 50%;
  box-shadow: var(--shadow-brut);
}
#slide-3 .cost-axis-dot.is-info { background: var(--info); }
#slide-3 .cost-axis-dot.is-vermillon { background: var(--vermillon); }
#slide-3 .cost-axis-dot.is-blink { animation: cost-blink 1.4s ease-in-out infinite; }

#slide-3 .cost-axis-lbl {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 2px;
}
#slide-3 .cost-axis-lbl.is-info { color: var(--info); }
#slide-3 .cost-axis-lbl.is-vermillon { color: var(--vermillon); }

@keyframes cost-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

#slide-3.is-mounted .mirror .col.is-det,
#slide-3.is-mounted .mirror .col.is-prob {
  animation: mirror-slidein 400ms var(--ease-out) both;
}
#slide-3.is-mounted .mirror .col.is-det  { animation-name: mirror-slidein-left; }
#slide-3.is-mounted .mirror .col.is-prob { animation-name: mirror-slidein-right; }

@keyframes mirror-slidein-left {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mirror-slidein-right {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  #slide-3 .cost-axis-dot.is-blink { animation: none; }
  #slide-3.is-mounted .mirror .col.is-det,
  #slide-3.is-mounted .mirror .col.is-prob {
    animation: none;
  }
}

/* ─── Slide 9 — Stagger d'arrivée + vermillon au centre (position 5) ─── */
#slide-10 .case-grid .case {
  opacity: 0;
  transform: translateY(8px);
}
#slide-10 .case-grid.is-revealed .case {
  animation: case-slidein 420ms var(--ease-out) both;
}
#slide-10 .case-grid.is-revealed .case:nth-child(1) { animation-delay: 0ms; }
#slide-10 .case-grid.is-revealed .case:nth-child(2) { animation-delay: 80ms; }
#slide-10 .case-grid.is-revealed .case:nth-child(3) { animation-delay: 160ms; }
#slide-10 .case-grid.is-revealed .case:nth-child(4) { animation-delay: 240ms; }
#slide-10 .case-grid.is-revealed .case:nth-child(6) { animation-delay: 320ms; }

#slide-10 .case-grid.is-revealed .case.is-vermillon {
  animation: case-pop 520ms var(--ease-spring) both;
  animation-delay: 600ms;
}

@keyframes case-slidein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes case-pop {
  0%   { opacity: 0; transform: scale(0.7) translateY(0); }
  55%  { opacity: 1; transform: scale(1.08) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  #slide-10 .case-grid .case,
  #slide-10 .case-grid.is-revealed .case,
  #slide-10 .case-grid.is-revealed .case.is-vermillon {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ─── Slide 4 — Trait pointillé candidat top → phrase ─── */
.proba-anim {
  position: relative;
}

.proba-flyline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  z-index: 5;
}

.proba-flyline-stroke {
  stroke: var(--vermillon);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 5;
  stroke-dashoffset: 0;
  fill: none;
}

.proba-flyline.is-flying {
  animation: proba-flyline-fade 1000ms var(--ease-out) forwards;
}
.proba-flyline.is-flying .proba-flyline-stroke {
  animation: proba-flyline-flow 1000ms linear forwards;
}

@keyframes proba-flyline-fade {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes proba-flyline-flow {
  0%   { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .proba-flyline.is-flying {
    animation: none;
    opacity: 1;
  }
  .proba-flyline.is-flying .proba-flyline-stroke {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ─── Slide 6 — Dot vermillon dans flèches + chips techniques par couche ─── */
.stack-layer { position: relative; }

.layer-chip {
  position: absolute;
  top: 8px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 3px 6px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 1px 1px 0 0 var(--border-strong);
  background: var(--card);
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.92;
}
.layer-chip.chip-ai {
  color: var(--vermillon);
  background: var(--vermillon-soft);
}
.layer-chip.chip-mcp {
  color: var(--info);
  background: rgb(59 130 246 / 0.08);
}
.layer-chip.chip-api {
  color: var(--ink);
  background: var(--secondary);
}

.stack-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 28px;
}
.stack-arrow .arrow-label {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--muted-fg);
  line-height: 1;
}
.arrow-dot {
  position: absolute;
  left: calc(50% - 70px);
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vermillon);
  border: 1.5px solid var(--ink);
  box-shadow: 1px 1px 0 0 var(--ink);
  opacity: 0;
  animation: arrow-dot-fall 4s linear infinite;
}
.stack-arrow-delayed .arrow-dot {
  animation-delay: 0.4s;
}

@keyframes arrow-dot-fall {
  0%   { transform: translateY(0);    opacity: 0; }
  8%   { opacity: 1; }
  20%  { transform: translateY(28px); opacity: 1; }
  25%  { transform: translateY(28px); opacity: 0; }
  100% { transform: translateY(28px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .arrow-dot,
  .stack-arrow-delayed .arrow-dot {
    animation: none;
    opacity: 0.85;
    transform: translateY(12px);
  }
}

/* ─── Slides 4 / 6 / 8 — Kbd marginales (couche sachant) ─── */
.kbd-margin {
  position: absolute;
  right: 24px;
  bottom: calc(var(--banner-height) + 14px);
  z-index: 2;

  font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;

  color: var(--muted-fg);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 8px;

  opacity: 0.5;
  transition: opacity 200ms var(--ease-out), color 200ms var(--ease-out);
  pointer-events: auto;
  user-select: text;
  cursor: default;
}

.kbd-margin:hover,
.kbd-margin:focus-visible {
  opacity: 1;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .kbd-margin { transition: none; }
}

/* ══════════════════════════════════════════════════════════════════
   ENRICHISSEMENT VITRINE v3.3 — Retours batch 2 (workflow)
   ══════════════════════════════════════════════════════════════════ */

/* ─── Slide 1 — disclaimer scope (rewording tournevis/visseuse) ─── */
.disclaimer-s1 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 70ch;
  margin: 1.5vh 0 0;
  padding: 10px 14px;
  background: var(--secondary);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 0 var(--ink);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.45;
  color: var(--muted-fg);
}
.disclaimer-s1 .disclaimer-tag {
  flex: 0 0 auto;
  font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 2px 6px;
  line-height: 1.2;
  margin-top: 1px;
}
.disclaimer-s1 .disclaimer-body { flex: 1 1 auto; }
.disclaimer-s1 strong { color: var(--ink); font-weight: 700; }

/* ─── Slide 3 — Matrice 2×2 (remplace cost-axis 1D, neutralisé) ─── */
#slide-3 .cost-axis,
#slide-3 .cost-axis-track,
#slide-3 .cost-axis-ends { display: none !important; }

#slide-3 .cost-matrix {
  margin-top: 2.5vh;
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: 1fr 22px;
  gap: 6px 10px;
  align-items: stretch;
}
#slide-3 .cm-axis-y {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
#slide-3 .cm-axis-y-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  color: var(--ink);
}

#slide-3 .cm-grid {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--card);
  box-shadow: var(--shadow-brut);
  border-radius: 4px;
  overflow: hidden;
}
#slide-3 .cm-cell {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
#slide-3 .cm-cell + .cm-cell { border-left: 1.5px solid var(--ink); }
#slide-3 .cm-cell--lo-lo,
#slide-3 .cm-cell--lo-hi { border-top: 1.5px solid var(--ink); }
#slide-3 .cm-cell--lo-lo { border-left: none; }
#slide-3 .cm-cell-reco {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}
#slide-3 .cm-cell-reco.is-det  { color: var(--info); }
#slide-3 .cm-cell-reco.is-prob { color: var(--vermillon); }
#slide-3 .cm-cell-ex {
  font-family: var(--font-body, var(--font-display));
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-fg, #555);
  font-style: italic;
}
#slide-3 .cm-axis-x {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#slide-3 .cm-axis-x { justify-content: center; }
#slide-3 .cm-axis-x-label { color: var(--ink); }

/* ─── Slide 4 — Mini-carte 3 contextes + résonance rétroactive ─── */
.proba-contexts-map {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: -2px 0 2px;
  padding: 8px 10px;
  background: var(--secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  max-width: 520px;
}
.proba-contexts-map .ctx-row {
  display: grid;
  grid-template-columns: 14px 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 4px 6px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-fg);
  border: 1.5px solid transparent;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease;
}
.proba-contexts-map .ctx-row .ctx-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--muted-fg);
  transition: background 280ms ease, border-color 280ms ease, transform 280ms ease;
}
.proba-contexts-map .ctx-row .ctx-row-tag {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
}
.proba-contexts-map .ctx-row .ctx-row-label {
  color: var(--ink);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
  opacity: 0.55;
  transition: opacity 280ms ease;
}
.proba-contexts-map .ctx-row.is-active {
  background: var(--vermillon);
  border-color: var(--ink);
  color: var(--paper);
}
.proba-contexts-map .ctx-row.is-active .ctx-dot {
  background: var(--paper);
  border-color: var(--paper);
  transform: scale(1.15);
}
.proba-contexts-map .ctx-row.is-active .ctx-row-tag,
.proba-contexts-map .ctx-row.is-active .ctx-row-label {
  color: var(--paper);
  opacity: 1;
}

.proba-phrase .new.resonates,
.proba-phrase .added.resonates,
.proba-phrase .pword.resonates {
  animation: word-resonance 700ms var(--ease-out) forwards;
  border-radius: 3px;
  padding: 0 3px;
  margin: 0 -3px;
}
/* .pword = mots du prefix (statiques) — peuvent recevoir .resonates */
.proba-phrase .pword {
  display: inline-block;
  color: var(--ink);
}
/* .added = mot ajouté par le LLM dans un step précédent (n'est plus le .new courant
   mais reste comptable et peut résonner si un mot suivant le pointe). */
.proba-phrase .added {
  display: inline-block;
  color: var(--ink);
  font-weight: 500;
}
@keyframes word-resonance {
  0% {
    background: transparent;
    box-shadow: 0 0 0 0 var(--vermillon-soft);
    transform: scale(1);
  }
  35% {
    background: var(--vermillon-soft);
    box-shadow: 0 0 0 3px var(--vermillon-soft);
    transform: scale(1.04);
  }
  100% {
    background: transparent;
    box-shadow: 0 0 0 0 var(--vermillon-soft);
    transform: scale(1);
  }
}

/* ─── Slide 5 — Timeline agent (remplace .agent-loop SVG) ─── */
.agent-timeline {
  width: min(880px, 92%);
  margin: 1vh auto 0;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius, 4px);
  box-shadow: 4px 4px 0 0 var(--ink);
  padding: 18px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.agent-timeline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed var(--ink);
}
.atl-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--vermillon);
  text-transform: uppercase;
}
.atl-meta {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-fg, #555);
  text-transform: uppercase;
}
.agent-timeline-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.atl-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: var(--secondary, #f3f3ee);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius, 4px);
  box-shadow: 2px 2px 0 0 var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              transform 360ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.agent-timeline.is-revealed .atl-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--row-delay, 0ms);
}
.atl-start,
.atl-end {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.atl-end { color: var(--vermillon); }
.atl-arrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.45;
}
.atl-arrow--end { opacity: 0.6; }
.atl-action {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.atl-src {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-fg, #666);
  margin-left: 4px;
  text-transform: lowercase;
}
.atl-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper, #fafaf7);
  color: var(--vermillon);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 240ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              transform 240ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              background-color 240ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.agent-timeline.is-revealed .atl-row.is-done .atl-check {
  opacity: 1;
  transform: scale(1);
  background: var(--vermillon);
  color: var(--paper, #fafaf7);
  box-shadow: 1.5px 1.5px 0 0 var(--ink);
}
.agent-timeline-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  margin-top: 2px;
  border-top: 1.5px dashed var(--ink);
}
.atl-foot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vermillon);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.atl-foot-txt {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-fg, #555);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .atl-row {
    grid-template-columns: auto 1fr auto;
    gap: 8px 10px;
  }
  .atl-row .atl-arrow,
  .atl-row .atl-arrow--end {
    display: none;
  }
  .atl-end {
    grid-column: 2 / 3;
    justify-self: end;
  }
  .atl-check {
    grid-row: 1 / span 2;
    align-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .atl-row,
  .atl-check { transition: none; }
}

/* ─── Slide 13 — Q&A layout (Merci + QR + contact + rareté) ─── */
#slide-13.is-qa {
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  gap: 0;
}
#slide-13 .qa-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1vh;
  margin-bottom: 3.5vh;
}
#slide-13 .qa-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 11vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
#slide-13 .qa-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 0.01em;
  color: var(--vermillon);
  margin: 1.2vh 0 0 0;
}
#slide-13 .qa-grid {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 28px;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
}
#slide-13 .qa-col {
  display: flex;
  flex-direction: column;
}
#slide-13 .qa-col--qr { align-items: center; }
#slide-13 .qa-col--contact { align-items: flex-start; text-align: left; gap: 10px; }
#slide-13 .qa-col--rarity { align-items: flex-start; text-align: left; gap: 10px; }
#slide-13 .qa-qr {
  width: 180px;
  height: 180px;
  padding: 8px;
}
#slide-13 .qa-contact-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-fg);
}
#slide-13 .qa-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
#slide-13 .qa-contact-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
}
#slide-13 .qa-c-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  padding: 3px 6px;
  background: var(--vermillon-soft);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  text-align: center;
  line-height: 1;
}
#slide-13 .qa-c-val { font-weight: 500; letter-spacing: 0.01em; }
#slide-13 .qa-rarity { font-size: 13px; }
#slide-13 .qa-rarity-hint {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--muted-fg);
  line-height: 1.45;
}
#slide-13 .qa-kbd { font-size: 11px; margin: 0 2px; }
#slide-13 .qa-footer { margin-top: 3.5vh; align-self: center; }

/* ══════════════════════════════════════════════════════════════════
   ENRICHISSEMENT VITRINE v3.4 — Anti pop-corn (mots-clés sur slides)
   ══════════════════════════════════════════════════════════════════ */

/* Pattern commun : rangées de mots-clés inline avec séparateurs · */
.hook-keys,
.bio-keys,
.iceberg-keys {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-top: 3vh;
  font-family: var(--font-display);
}

.hook-keys .hk-key,
.bio-keys .bk-key,
.iceberg-keys .ic-key {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hook-keys .hk-sep,
.bio-keys .bk-sep,
.iceberg-keys .ic-sep {
  color: var(--muted-fg);
  font-weight: 400;
  opacity: 0.5;
}

/* Slide 1 — Hook keys : taille plus marquée car en bottom de la slide hook */
.hook-keys {
  font-size: clamp(15px, 1.4vw, 20px);
  margin-top: 2.5vh;
}

/* Slide 2 — Bio keys : taille plus discrète, sous le titre */
.bio-keys {
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2vh;
  margin-bottom: 1vh;
  color: var(--muted-fg);
}
.bio-keys .bk-key { color: var(--vermillon); }

/* Slide 10 — Iceberg keys : grille horizontale sous l'iceberg copy */
.iceberg-keys {
  font-size: clamp(16px, 1.5vw, 22px);
  margin-top: 0;
  justify-content: flex-start;
  gap: 16px;
}
.iceberg-keys .ic-key--star {
  color: var(--vermillon);
}

/* Slide 5 — memo plein largeur, taille augmentée comme l'iceberg-memo */
.agent-memo-full {
  margin-top: 3vh;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.3;
  padding: 16px 22px;
  text-align: center;
  align-self: center;
}
@media (max-width: 880px) {
  #slide-13 .qa-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px;
  }
  #slide-13 .qa-col--contact,
  #slide-13 .qa-col--rarity { align-items: center; text-align: center; }
  #slide-13 .qa-contact-list li { grid-template-columns: 48px 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   BLOC C — ONE-THING insertions (slide 1 pied + slide 5 H1 + slide 10 + slide 13)
   ══════════════════════════════════════════════════════════════════ */

/* ─── Slide 1 — ONE-THING en pied bas-gauche (micro signature) ─── */
.one-thing-foot {
  position: absolute;
  left: 7vw;
  bottom: calc(var(--banner-height) + 16px);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--muted-fg);
  opacity: 0.75;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  max-width: 88%;
}
.one-thing-foot .otf-brand {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.one-thing-foot .otf-tag {
  font-style: italic;
  font-weight: 500;
}

/* ─── Slide 5 — H1 promu "effectifs" + micro nuance ─── */
.agent-h1-promoted {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.2vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1vh;
}
.agent-h1-nuance {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  color: var(--muted-fg);
  letter-spacing: 0.02em;
  margin: -1vh 0 2vh;
}

/* ─── Slide 10 + 13 — ONE-THING brand (xl / hero) ─── */
.brand-onething {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
}
.brand-onething .bo-brand {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-size: 0.55em;
  text-transform: uppercase;
  margin-bottom: 0.2em;
}
.brand-onething em {
  color: var(--vermillon);
  font-style: normal;
}

.brand-onething--xl {
  font-size: clamp(56px, 6vw, 100px);
}
.brand-onething--hero {
  font-size: clamp(60px, 7vw, 120px);
}

/* Slide 10 en mode is-onething : layout simplifié (plus d'iceberg SVG) */
#slide-11.is-onething .iceberg {
  grid-template-columns: 1fr;
}
#slide-11.is-onething .kicker {
  color: var(--muted-fg);
}

/* ══════════════════════════════════════════════════════════════════
   BLOC D — Tampons vermillon (slides 5, 11, 13)
   ══════════════════════════════════════════════════════════════════ */

.stamp {
  position: absolute;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  background: var(--paper);
  border: 2px solid var(--vermillon);
  padding: 5px 12px;
  border-radius: 3px;
  pointer-events: none;
  user-select: none;
  opacity: 0.85;
  z-index: 3;
  /* Texture grunge légère via box-shadow inset multiple */
  box-shadow:
    inset 0 0 0 1px var(--vermillon),
    1px 1px 0 0 rgb(194 65 12 / 0.2);
}

.stamp--executed {
  top: 18%;
  right: 6%;
  transform: rotate(-3deg);
}

.stamp--live {
  top: -10px;
  right: -10px;
  font-size: 11px;
  padding: 3px 8px;
  transform: rotate(5deg);
}

.stamp--apex {
  bottom: 4%;
  right: 5%;
  font-size: 16px;
  padding: 6px 16px;
  transform: rotate(-2deg);
}
/* Variante "small" pour slide 13 sobre — 2× plus petit, plus discret */
.stamp--apex-small {
  font-size: 10px;
  padding: 4px 10px;
  opacity: 0.5;
}

/* ══════════════════════════════════════════════════════════════════
   Slide 1 — FOMO (grab attention)
   13 screens LinkedIn s'empilent ~4s, puis FOMO + Claude François reveal
   Pour fonctionner, déposer les 13 images dans assets/fomo/screen-01.png
   à screen-13.png + cloclo.png (Claude François). Floutez les noms côté Preview/Pixelmator.
   ══════════════════════════════════════════════════════════════════ */
.slide.is-fomo {
  padding: 0;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fomo-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fomo-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fomo-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(240px, 22vw, 360px);
  max-height: 65vh;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 6px 6px 0 0 var(--ink);
  background: var(--paper);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7) rotate(0);
  transform-origin: center center;
  overflow: hidden;
}
.fomo-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
}
/* Easter egg : screenshot du header LinkedIn de Sylvain Fantoni en overlay direct */
.fomo-author-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  z-index: 4;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

/* Chip claim : centré sur l'image, ton neutre (ink sur cream) plus discret */
.fomo-claim {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  box-shadow: 3px 3px 0 0 var(--ink);
  white-space: nowrap;
  z-index: 5;
}
/* ─── Intro Yomi : titre (T+0) + guillemets (T+1,0s), screens à T+1,3s ─── */
.fomo-yomi-title {
  position: absolute;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 54px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  white-space: nowrap;
  opacity: 0;
  z-index: 6;
}
.fomo-yomi-title em {
  color: var(--vermillon);
  font-weight: 800;
}
.fomo-guillemets {
  position: absolute;
  top: 12vh;
  left: 5vw;
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 160px);
  font-weight: 800;
  color: var(--vermillon);
  line-height: 1;
  opacity: 0;
  z-index: 6;
}
@keyframes fomo-fade-in {
  to { opacity: 1; }
}
.slide.is-fomo.is-playing .fomo-yomi-title {
  animation: fomo-fade-in 500ms var(--ease-out) 0s forwards;
}
.slide.is-fomo.is-playing .fomo-guillemets {
  animation: fomo-fade-in 400ms var(--ease-out) 1s forwards;
}
/* Masqués pendant le reveal FOMO (mais affichés pendant le slideshow) */
.slide.is-fomo.is-revealed .fomo-yomi-title,
.slide.is-fomo.is-revealed .fomo-guillemets {
  animation: none;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}

/* Empilement progressif : démarre à T+1,3s après le clic (titre puis guillemets d'abord) */
.slide.is-fomo.is-playing .fomo-screen {
  animation: fomo-pop 700ms var(--ease-spring) forwards;
  animation-delay: calc(var(--delay, 0s) + 1.3s);
}
/* Flou des screens : déclenché par .is-revealed (au clic) */
.slide.is-fomo.is-revealed .fomo-screen {
  filter: blur(6px) saturate(0.7);
  opacity: 0.55;
  transition: filter 700ms var(--ease-out), opacity 700ms var(--ease-out);
}
@keyframes fomo-pop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.5) rotate(0); filter: blur(0); }
  60%  { opacity: 1; transform: translate(calc(-50% + var(--tx, 0%)), calc(-50% + var(--ty, 0%))) scale(1.05) rotate(var(--rot, 0deg)); }
  100% { opacity: 1; transform: translate(calc(-50% + var(--tx, 0%)), calc(-50% + var(--ty, 0%))) scale(1)    rotate(var(--rot, 0deg)); }
}
@keyframes fomo-blur {
  to {
    filter: blur(6px) saturate(0.7);
    opacity: 0.55;
  }
}

/* Reveal final : FOMO + Cloclo apparaissent PAR-DESSUS la mosaïque floutée (pas d'overlay opaque) */
.fomo-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  background: transparent;
}
/* Reveal final : déclenché par .is-revealed (au clic) */
.slide.is-fomo.is-revealed .fomo-reveal {
  animation: fomo-reveal-in 700ms var(--ease-spring) forwards;
}
@keyframes fomo-reveal-in {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}
.fomo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--vermillon);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 6px 6px 0 var(--ink), 0 0 30px var(--paper);
  background: var(--paper);
  padding: 0 24px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 0 var(--ink);
}
/* Wrap pour les décorations Messie (ailes, auréole, sparkles) */
.fomo-cloclo-wrap {
  position: relative;
  display: inline-block;
  padding: 30px 80px 20px 80px;
}
.fomo-cloclo {
  width: clamp(140px, 16vw, 240px);
  height: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 0 var(--ink);
  transform: rotate(-2deg);
  background: var(--paper);
  position: relative;
  z-index: 3;
  display: block;
  margin: 0 auto;
}
/* Ailes d'ange — SVG inline derrière la photo */
.fomo-wings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(320px, 28vw, 480px);
  height: auto;
  transform: translate(-50%, -38%);
  z-index: 1;
  filter: drop-shadow(3px 3px 0 var(--ink));
  animation: fomo-wing-flap 2.4s ease-in-out infinite;
}
@keyframes fomo-wing-flap {
  0%, 100% { transform: translate(-50%, -38%) scaleX(1); }
  50%      { transform: translate(-50%, -40%) scaleX(0.96); }
}
/* Auréole dorée au-dessus de la tête */
.fomo-halo {
  position: absolute;
  top: 4px;
  left: 50%;
  width: clamp(90px, 11vw, 150px);
  height: clamp(24px, 3vw, 38px);
  transform: translateX(-50%) rotateX(70deg);
  border: 5px solid #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(251, 191, 36, 0.75), 0 0 6px rgba(251, 191, 36, 1) inset;
  z-index: 4;
}
/* Sparkles autour */
.fomo-sparkle {
  position: absolute;
  color: #fbbf24;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
  z-index: 5;
  animation: fomo-twinkle 1.6s ease-in-out infinite;
}
.fomo-sparkle--1 { top: 18%; left: 8%;  animation-delay: 0s; }
.fomo-sparkle--2 { top: 26%; right: 12%; animation-delay: 0.3s; }
.fomo-sparkle--3 { bottom: 22%; left: 14%; animation-delay: 0.6s; font-size: 22px; }
.fomo-sparkle--4 { bottom: 32%; right: 6%;  animation-delay: 0.9s; font-size: 22px; }
@keyframes fomo-twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.15); }
}
.fomo-sub {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 22px);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--paper);
  padding: 4px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-fomo.is-playing .fomo-screen,
  .slide.is-fomo.is-playing .fomo-reveal {
    animation: none;
    opacity: 1;
  }
  .slide.is-fomo.is-playing .fomo-screen {
    transform: translate(calc(-50% + var(--tx, 0%)), calc(-50% + var(--ty, 0%))) scale(1) rotate(var(--rot, 0deg));
  }
}

/* Slide 8 — Disclaimer (grille 2×2 de cartes brutalist) */
.disclaimer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2.5vh auto 2vh auto;
  max-width: 1000px;
}
.disc-card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.disc-card .disc-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  line-height: 1;
}
.disc-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin: 4px 0 2px 0;
  color: var(--ink);
  line-height: 1.2;
}
.disc-card p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.disc-card p em {
  font-style: italic;
  color: var(--vermillon);
}
.disc-card--anecdote {
  background: var(--vermillon);
  color: var(--vermillon-fg);
  border-color: var(--ink);
  transform: rotate(-0.4deg);
}
.disc-card--anecdote .disc-tag { color: var(--vermillon-fg); opacity: 0.85; }
.disc-card--anecdote h4 { color: var(--vermillon-fg); }
.disc-card--anecdote p { color: var(--vermillon-fg); opacity: 0.95; }
.disc-card--anecdote .disc-oral {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vermillon-fg);
  background: var(--ink);
  padding: 3px 8px;
  border-radius: 2px;
  align-self: flex-start;
}

/* Slide 2 — Plan du talk (3 chips brutaliste) */
.plan-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 3vh auto 3vh auto;
  max-width: 880px;
}
.plan-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 12px 16px;
  text-align: left;
}
.plan-chip .plan-n {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--vermillon);
  line-height: 1;
}
.plan-chip .plan-l {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.plan-chip .plan-s {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted-fg);
  line-height: 1.3;
  font-style: italic;
}

/* Slide 4 — Automatisation classique (App A → API → App B) */
.api-flow {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 24px;
  align-items: center;
  margin: 3vh auto 2vh auto;
  max-width: 880px;
}
.af-box {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.af-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-fg);
  line-height: 1;
}
.af-body {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.af-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.af-arrow-line {
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.af-arrow-head {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--vermillon);
  line-height: 1;
  background: var(--paper);
  padding: 0 4px;
}
.af-arrow-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.af-arrow-top {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vermillon);
}
.af-arrow-bot {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  color: var(--muted-fg);
  letter-spacing: 0.02em;
}

/* Slide 4 — 3 exemples concrets en mini schémas APP → APP */
.api-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 2vh auto 0 auto;
  max-width: 880px;
}
.aeg-flow {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.aeg-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aeg-box {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1;
  min-width: 78px;
  text-align: center;
}
.aeg-arrow {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--vermillon);
  line-height: 1;
}
.aeg-desc {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--muted-fg);
  text-align: center;
  line-height: 1.3;
}

/* Slide 10 — Stage interactif (cards révélées une par une, puis full grid au step 6) */
.case-stage {
  position: relative;
  margin-top: 2vh;
  min-height: 60vh;
}
.case-stage-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--muted-fg);
  text-align: center;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.case-stage[data-step="0"] .case-stage-hint { display: flex; }
.case-stage:not([data-step="0"]) .case-stage-hint { display: none; }

/* Stage 0 : tout masqué sauf hint. Stages 1-4 : seule la card N visible, centrée et grande. */
.case-stage[data-step="0"] .case-row .case,
.case-stage[data-step="0"] .case-6th-wrap { opacity: 0; pointer-events: none; }
.case-stage[data-step="1"] .case-row,
.case-stage[data-step="2"] .case-row,
.case-stage[data-step="3"] .case-row,
.case-stage[data-step="4"] .case-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.case-stage[data-step="1"] .case-row .case,
.case-stage[data-step="2"] .case-row .case,
.case-stage[data-step="3"] .case-row .case,
.case-stage[data-step="4"] .case-row .case {
  opacity: 0;
  display: none;
  transition: opacity 280ms var(--ease-out);
}
.case-stage[data-step="1"] .case-row .case[data-cidx="1"],
.case-stage[data-step="2"] .case-row .case[data-cidx="2"],
.case-stage[data-step="3"] .case-row .case[data-cidx="3"],
.case-stage[data-step="4"] .case-row .case[data-cidx="4"] {
  opacity: 1;
  display: flex;
  flex-direction: column;
  max-width: 640px;
  width: 100%;
  padding: 36px 40px;
  transform: scale(1);
}
.case-stage[data-step="1"] .case-row .case[data-cidx="1"] .case-tag,
.case-stage[data-step="2"] .case-row .case[data-cidx="2"] .case-tag,
.case-stage[data-step="3"] .case-row .case[data-cidx="3"] .case-tag,
.case-stage[data-step="4"] .case-row .case[data-cidx="4"] .case-tag { font-size: 13px; letter-spacing: 0.12em; }
.case-stage[data-step="1"] .case-row .case[data-cidx="1"] h4,
.case-stage[data-step="2"] .case-row .case[data-cidx="2"] h4,
.case-stage[data-step="3"] .case-row .case[data-cidx="3"] h4,
.case-stage[data-step="4"] .case-row .case[data-cidx="4"] h4 { font-size: 32px; margin: 12px 0 8px 0; }
.case-stage[data-step="1"] .case-row .case[data-cidx="1"] .benefit,
.case-stage[data-step="2"] .case-row .case[data-cidx="2"] .benefit,
.case-stage[data-step="3"] .case-row .case[data-cidx="3"] .benefit,
.case-stage[data-step="4"] .case-row .case[data-cidx="4"] .benefit { font-size: 20px; line-height: 1.4; }
.case-stage[data-step="1"] .case-row .case[data-cidx="1"] .case-ex,
.case-stage[data-step="2"] .case-row .case[data-cidx="2"] .case-ex,
.case-stage[data-step="3"] .case-row .case[data-cidx="3"] .case-ex,
.case-stage[data-step="4"] .case-row .case[data-cidx="4"] .case-ex { font-size: 14px; margin-top: 16px; }

/* Stages 1-4 : 07 méta card masquée */
.case-stage[data-step="1"] .case-6th-wrap,
.case-stage[data-step="2"] .case-6th-wrap,
.case-stage[data-step="3"] .case-6th-wrap,
.case-stage[data-step="4"] .case-6th-wrap { display: none; }

/* Stage 5 : full grid (4 cards row + 07 méta dessous), tout en + grand pour remplir l'écran */
.case-stage[data-step="5"] .case-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 2vh;
}
.case-stage[data-step="5"] .case-row .case {
  padding: 18px 16px 20px 16px;
  min-height: 0;
}
.case-stage[data-step="5"] .case-row .case .case-tag {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.case-stage[data-step="5"] .case-row .case h4 {
  font-size: 18px;
  margin: 8px 0 6px 0;
  line-height: 1.15;
}
.case-stage[data-step="5"] .case-row .case .benefit {
  font-size: 13px;
  line-height: 1.4;
}
.case-stage[data-step="5"] .case-row .case .case-ex {
  font-size: 11px;
  margin-top: 8px;
}

/* Badge DET / PROB sur chaque card */
.case-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  vertical-align: middle;
  font-family: var(--font-display);
}
.case-badge--det { color: var(--info, #3b82f6); }
.case-badge--prob { color: var(--vermillon); }

/* Exemples concrets sous le benefit */
.case-ex {
  margin: 8px 0 0 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--muted-fg);
  opacity: 0.85;
  line-height: 1.45;
}
.case-6th-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.case.case-6th {
  background: var(--vermillon);
  color: var(--vermillon-fg);
  border-color: var(--ink);
  max-width: 640px;
  padding: 22px 32px;
  text-align: center;
  transform: rotate(-0.5deg);
}
.case.case-6th .case-tag {
  color: var(--vermillon-fg);
  opacity: 0.9;
  font-size: 11px;
}
.case.case-6th h4 {
  color: var(--vermillon-fg);
  margin: 6px 0;
  font-size: 22px;
}
.case.case-6th .benefit {
  color: var(--vermillon-fg);
  opacity: 0.95;
  font-size: 15px;
  font-style: italic;
}

/* Easter egg méta — visible uniquement au step 6 */
.case-7th-easter {
  display: none;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding-right: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted-fg);
  opacity: 0.75;
  transform: rotate(-0.3deg);
}
.case-stage[data-step="6"] .case-7th-easter {
  display: flex;
}
.case-7th-easter .ce-tag {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  font-size: 10px;
  opacity: 0.85;
}
.case-7th-easter .ce-body {
  color: var(--muted-fg);
}
.case-7th-easter .ce-punch em {
  font-style: italic;
  color: var(--vermillon);
  font-weight: 700;
}

/* Slide 6 — schéma horizontal restaurant (refonte) */
.restaurant-flow {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: stretch;
  gap: 0;
  margin: 3vh 0 2vh 0;
}
.rf-zone {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.rf-icon {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-fg);
  line-height: 1;
}
.rf-tag {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--vermillon);
  line-height: 1;
  letter-spacing: -0.01em;
  padding: 4px 14px;
  border: 1.5px solid var(--vermillon);
  border-radius: var(--radius-sm);
  margin: 4px 0;
}
.rf-strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.rf-quote {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--muted-fg);
  line-height: 1.4;
}

/* Connecteurs avec dot vermillon qui circule */
.rf-conn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
}
.rf-conn-line {
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  overflow: visible;
}
.rf-conn-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--vermillon);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  left: 0;
  opacity: 0;
  animation: rf-dot-flow 2.8s linear infinite;
}
.rf-conn-dot--b {
  animation-delay: 1.4s;
}
@keyframes rf-dot-flow {
  0%   { left: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.rf-conn-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
  opacity: 0.7;
  position: absolute;
  top: calc(50% + 12px);
}
@media (prefers-reduced-motion: reduce) {
  .rf-conn-dot { animation: none; opacity: 1; left: 50%; }
}

/* Route alternative : self-service (court-circuit MCP) */
.rf-alt-route {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin: 1.5vh auto 0 auto;
  max-width: 880px;
  background: var(--paper);
  border: 1.5px dashed var(--ink);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.4;
}
.rf-alt-arrow {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--vermillon);
  line-height: 1;
}
.rf-alt-text {
  color: var(--ink);
}
.rf-alt-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--vermillon);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  margin-right: 4px;
}
.rf-alt-text em {
  font-style: italic;
  color: var(--vermillon);
  font-weight: 600;
}

/* Slide 13 sobre — titre conversationnel "Et vous, vous en feriez quoi ?" */
#slide-13 .qa-title--sober {
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}
#slide-13 .qa-title--sober em {
  color: var(--vermillon);
  font-style: italic;
  font-weight: 700;
}
#slide-13 .qa-sub--sober {
  color: var(--muted-fg);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 22px);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .stamp { transform: none; }
}

/* ══════════════════════════════════════════════════════════════════
   BLOC E — Slide 7 silence + Slide 10 inversion d'échelle + Bandeau troll
   ══════════════════════════════════════════════════════════════════ */

/* ─── Slide 7 — silence radical (rupture de centrage) ─── */
.slide.is-silence {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding-left: 8vw;
}
.silence-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 140px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  max-width: 80%;
}
.silence-title em {
  color: var(--vermillon);
  font-style: italic;
}

/* ─── Slide 10 — Inversion d'échelle 10%/90% ─── */
.scale-flip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 32px;
  margin-top: 4vh;
  width: 100%;
  max-width: 1100px;
}
.scale-flip-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.scale-flip-cell--right {
  align-items: flex-end;
  text-align: right;
}
.scale-flip-big {
  font-family: var(--font-display);
  font-size: clamp(200px, 22vw, 400px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.scale-flip-small {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 600;
  line-height: 1;
  color: var(--muted-fg);
  opacity: 0.5;
  letter-spacing: -0.01em;
}
.scale-flip-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

/* ─── Bandeau live qui troll (messages contextuels par slide) ─── */
.banner.is-trolling .banner-body {
  opacity: 0.05;
  transition: opacity 200ms ease;
}
.banner-troll {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.banner-troll.is-shown {
  opacity: 0.92;
}

/* ══════════════════════════════════════════════════════════════════
   Slide 8 — Présentation cas DORANIS2 × Dhala (avant vidéo finalisée)
   À ce moment-là, supprimer .case-demo-grid de l'HTML et passer la
   slide en .slide.is-video-full pour basculer la vidéo en plein écran.
   ══════════════════════════════════════════════════════════════════ */

/* Encart explication DORA/NIS2 sous le titre slide 8 */
.reg-explain {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 1.5vh;
  margin-bottom: 0.5vh;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.reg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  color: var(--ink);
}
.reg-chip strong {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--vermillon);
}
.reg-tail {
  font-style: italic;
  color: var(--muted-fg);
  font-weight: 500;
}

.case-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2vh;
  align-items: stretch;
}

.case-demo-brief,
.case-demo-funnel {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cdb-label,
.cdf-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  line-height: 1;
}

.cdb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cdb-list li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.4;
}

.cdb-key {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.cdb-val {
  color: var(--ink);
  font-weight: 500;
}

/* Funnel chiffré */
.case-demo-funnel {
  align-items: center;
  text-align: center;
}

.cdf-step {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  line-height: 1.1;
}

.cdf-n {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
  text-align: right;
}

.cdf-l {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-fg);
  letter-spacing: 0.01em;
  text-align: left;
}

.cdf-arrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-fg);
  opacity: 0.45;
  line-height: 1;
}

.cdf-step.is-final .cdf-n {
  color: var(--vermillon);
  font-size: 28px;
}

.cdf-step.is-final .cdf-l {
  color: var(--ink);
  font-weight: 700;
}

/* ─── Funnel display dynamique slide 8 (synchronisé timeline-8) ─── */
.funnel-display {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brut);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Hauteur FIXE : empêche l'UI de bouger quand chiffre/label changent de taille step à step */
  height: 240px;
  box-sizing: border-box;
}
.funnel-display .fd-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillon);
  line-height: 1;
}
.funnel-display .fd-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 6px 0;
}
.funnel-display .fd-n {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: opacity 220ms var(--ease-out), color 220ms var(--ease-out), transform 220ms var(--ease-spring);
}
.funnel-display .fd-l {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted-fg);
  letter-spacing: 0.01em;
  max-width: 32ch;
  transition: opacity 220ms var(--ease-out);
}
/* Step 0 (placeholder) : visuel discret */
.funnel-display[data-step="0"] .fd-n {
  font-size: clamp(28px, 3vw, 44px);
  color: var(--muted-fg);
  opacity: 0.4;
}
/* Step IA (6) : chiffre vermillon doux */
.funnel-display[data-step="6"] .fd-n {
  color: var(--vermillon);
}
/* Step final (8) : grand chiffre vermillon + pulse 1× */
.funnel-display[data-step="8"] .fd-n {
  color: var(--vermillon);
  font-size: clamp(72px, 7vw, 120px);
  animation: reveal-pulse 600ms var(--ease-spring) 1;
}
.funnel-display[data-step="8"] .fd-l {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
/* Anim fade lors d'un changement de step (classe ajoutée brièvement par JS) */
.funnel-display.is-changing .fd-n,
.funnel-display.is-changing .fd-l {
  opacity: 0;
}

/* Barre de volume : montre le % du TAM (11 418 PME) encore dans le pipeline */
.fd-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.fd-bar-rail {
  position: relative;
  height: 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  overflow: hidden;
}
.fd-bar-fill {
  height: 100%;
  background: var(--vermillon);
  /* Width pilotée par JS via style.width */
  transition: width 480ms var(--ease-spring), background-color 240ms var(--ease-out);
  min-width: 2px;
}
.fd-bar-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-fg);
  line-height: 1;
}
.fd-bar-pct {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  transition: color 220ms var(--ease-out);
}
.fd-bar-ref {
  font-style: italic;
  opacity: 0.7;
}
/* Note sous la barre : visible seulement aux steps "non-filtre" (sourcing/résolution) */
.fd-bar-note {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vermillon);
  font-style: italic;
  opacity: 0;
  min-height: 12px;
  transition: opacity 240ms var(--ease-out);
  margin-top: 2px;
}
.fd-bar-note.is-shown {
  opacity: 0.85;
}
/* Step 0 : barre vide visuel discret */
.funnel-display[data-step="0"] .fd-bar-fill {
  background: var(--muted-fg);
  opacity: 0.3;
}
.funnel-display[data-step="0"] .fd-bar-pct {
  color: var(--muted-fg);
  opacity: 0.4;
}
/* Step final : pct vermillon plus gros */
.funnel-display[data-step="8"] .fd-bar-pct {
  color: var(--vermillon);
  font-size: 14px;
}

/* ─── Mode vidéo plein écran (à activer quand WF finalisé) ───
   Usage HTML : <section class="slide is-video-full" id="slide-8">
                  <video src="../videos/demo-doranis2.mp4" autoplay controls></video>
                </section>
   Ce mode masque tout sauf la vidéo et l'étend en plein écran. */
.slide.is-video-full {
  padding: 0;
  padding-bottom: var(--banner-height);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.slide.is-video-full > *:not(video) {
  display: none;
}
.slide.is-video-full video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ink);
}
