/* KontexVoX Prototype — DA officielle */
:root {
  --noir-nuit: #090909;
  --brun-profond: #191610;
  --brun-chaud-1: #2a2217;
  --brun-chaud-2: #543b28;
  --creme-pur: #fdfefc;
  --creme-papier: #f7f6f3;
  --gris-memoire: #b5a197;
  --or-haut: #f9dca7;
  --or-moyen-1: #dc9f6a;
  --or-moyen-2: #d5a164;
  --or-sombre: #b8906b;
  --braise: #e38244;
  --braise-claire: #e69058;
  --vert-ciel: #8fb8a8;
  --vert-clair: #5c8b7a;
  --vert-grave: #4d7b6a;
  --vert-permanence: #487c69;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  --e1: 4px; --e2: 8px; --e3: 12px; --e4: 16px; --e5: 24px; --e6: 40px; --e7: 64px; --e8: 104px; --e9: 168px;
  --r1: 6px; --r2: 12px; --r3: 20px; --r-pill: 999px;
  --o1: 0 24px 60px rgba(0,0,0,.35);
  --o2: 0 32px 80px rgba(0,0,0,.45);
  --o3: 0 1px 12px rgba(0,0,0,.45);
  --o4: 0 16px 48px rgba(0,0,0,.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--brun-profond);
  color: var(--creme-papier);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--e3) var(--e6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(25,22,16,0.95), rgba(25,22,16,0));
  transition: background 0.3s;
}
.site-header.scrolled {
  background: rgba(25,22,16,0.97);
  box-shadow: var(--o3);
  padding: var(--e2) var(--e6);
}
.site-header img.logo {
  height: 36px;
  width: auto;
  opacity: 0.9;
}
.site-nav {
  display: flex;
  gap: var(--e5);
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  color: var(--gris-memoire);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.site-nav a:hover { color: var(--creme-pur); }
.site-nav a.cta-nav {
  color: var(--vert-ciel);
  border: 1px solid rgba(143,184,168,0.35);
  padding: 6px 16px;
  border-radius: var(--r-pill);
}
.site-nav a.cta-nav:hover {
  background: rgba(143,184,168,0.1);
}

/* Mobile nav */
.menu-toggle { display: none; background: none; border: none; color: var(--creme-papier); font-size: 24px; cursor: pointer; }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--brun-profond);
    padding: var(--e4);
    gap: var(--e3);
    border-bottom: 1px solid var(--brun-chaud-2);
  }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--e8) var(--e6) var(--e7);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25,22,16,0.92) 0%, rgba(25,22,16,0.6) 50%, rgba(25,22,16,0.85) 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  color: rgba(253,254,252,0.92);
  line-height: 1.15;
  margin-bottom: var(--e4);
  letter-spacing: -0.01em;
}
.hero .subtitle {
  font-size: 18px;
  color: var(--gris-memoire);
  line-height: 1.5;
  margin-bottom: var(--e5);
  max-width: 520px;
}
.hero .cta-group {
  display: flex;
  gap: var(--e3);
  align-items: center;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--e1);
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--vert-permanence);
  color: var(--creme-pur);
  border: 1px solid var(--creme-pur);
}
.btn-primary:hover {
  background: var(--vert-grave);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--gris-memoire);
  border: 1px solid var(--gris-memoire);
}
.btn-ghost:hover {
  color: var(--creme-pur);
  border-color: var(--creme-pur);
}
.btn-outline {
  background: transparent;
  color: var(--vert-ciel);
  border: 1px solid rgba(143,184,168,0.35);
}
.btn-outline:hover {
  background: rgba(143,184,168,0.1);
}
.mention {
  font-size: 13px;
  color: var(--gris-memoire);
  opacity: 0.7;
}

/* ============ SECTIONS ============ */
section {
  padding: var(--e8) var(--e6);
}
.section-narrow {
  max-width: 720px;
  margin: 0 auto;
}
.section-wide {
  max-width: 1200px;
  margin: 0 auto;
}
.section-dark {
  background: var(--noir-nuit);
}
.section-warm {
  background: var(--brun-chaud-1);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: rgba(253,254,252,0.92);
  line-height: 1.2;
  margin-bottom: var(--e4);
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--or-moyen-1);
  margin-bottom: var(--e2);
}
p {
  margin-bottom: var(--e3);
  color: var(--creme-papier);
  opacity: 0.85;
}
p.lead {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ============ USE CASE CARDS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--e5);
  margin-top: var(--e6);
}
.use-card {
  background: var(--brun-chaud-1);
  border-radius: var(--r3);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--brun-chaud-2);
}
.use-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--o2);
}
.use-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.use-card:hover img { opacity: 1; }
.use-card-body {
  padding: var(--e4);
}
.use-card h3 {
  margin-bottom: var(--e1);
}
.use-card p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 0;
}

/* ============ STEPS ============ */
.steps {
  display: flex;
  gap: var(--e6);
  margin-top: var(--e5);
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
}
.step-number {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--vert-grave);
  font-weight: 600;
  line-height: 1;
  margin-bottom: var(--e2);
}
.step h3 {
  color: var(--creme-pur);
  margin-bottom: var(--e1);
}
.step p {
  font-size: 15px;
  opacity: 0.7;
}

/* ============ CROSS-LINKS ============ */
.cross-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--e5);
  margin-top: var(--e6);
}
.cross-link-group h3 {
  color: var(--vert-ciel);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--e3);
}
.cross-link-group a {
  display: block;
  padding: var(--e2) 0;
  color: var(--creme-papier);
  opacity: 0.8;
  border-bottom: 1px solid var(--brun-chaud-2);
  transition: opacity 0.2s;
  font-size: 15px;
}
.cross-link-group a:hover {
  opacity: 1;
  color: var(--or-moyen-1);
}
.cross-link-group a::before {
  content: "\2192";
  margin-right: var(--e2);
  color: var(--vert-grave);
}

@media (max-width: 768px) {
  .cross-links { grid-template-columns: 1fr; }
}

/* ============ QUOTE / PHOTO MUETTE ============ */
.quote-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--e7) var(--e5);
}
.quote-block .quote-mark {
  font-family: var(--serif);
  font-size: 80px;
  color: var(--vert-grave);
  line-height: 0.5;
  margin-bottom: var(--e4);
  opacity: 0.5;
}
.quote-block p {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.4;
  color: rgba(253,254,252,0.85);
  font-style: italic;
}

/* ============ SCENARIO ============ */
.scenario {
  background: var(--brun-chaud-1);
  border-radius: var(--r3);
  padding: var(--e6);
  margin: var(--e5) 0;
  border-left: 3px solid var(--vert-grave);
}
.scenario h3 {
  color: var(--or-moyen-1);
}

/* ============ TRUST / CONFIDENCE ============ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--e5);
  margin-top: var(--e5);
}
.trust-item {
  padding: var(--e4);
  background: var(--brun-chaud-1);
  border-radius: var(--r2);
  border: 1px solid var(--brun-chaud-2);
}
.trust-item dt {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--vert-ciel);
  margin-bottom: var(--e1);
}
.trust-item dd {
  font-size: 14px;
  opacity: 0.75;
}

/* ============ BLOG ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--e5);
  margin-top: var(--e5);
}
.blog-card {
  background: var(--brun-chaud-1);
  border-radius: var(--r2);
  padding: var(--e5);
  border: 1px solid var(--brun-chaud-2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--o4);
}
.blog-card .category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vert-ciel);
  margin-bottom: var(--e2);
}
.blog-card h3 {
  font-size: 20px;
  margin-bottom: var(--e2);
}
.blog-card p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: var(--e3);
}
.blog-card .read-more {
  font-size: 14px;
  color: var(--or-moyen-1);
}

/* ============ PAGE HEADER ============ */
.page-hero {
  padding: calc(var(--e8) + var(--e5)) var(--e6) var(--e7);
  background: var(--noir-nuit);
  position: relative;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  color: rgba(253,254,252,0.92);
  line-height: 1.15;
  margin-bottom: var(--e3);
  max-width: 720px;
}
.page-hero .subtitle {
  font-size: 18px;
  color: var(--gris-memoire);
  max-width: 600px;
  margin-bottom: var(--e5);
}

/* ============ PROFILE LIST ============ */
.profile-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--e3);
  margin-top: var(--e4);
}
.profile-item {
  padding: var(--e3) var(--e4);
  background: var(--brun-chaud-1);
  border-radius: var(--r1);
  border-left: 2px solid var(--vert-grave);
}
.profile-item strong {
  display: block;
  color: var(--or-moyen-1);
  margin-bottom: 2px;
}
.profile-item span {
  font-size: 14px;
  opacity: 0.7;
}

/* ============ PRICING ============ */
.billing-toggle {
  display: inline-flex;
  background: var(--brun-chaud-1);
  border: 1px solid var(--brun-chaud-2);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 4px;
  margin-bottom: 8px;
}
.billing-btn {
  background: transparent;
  color: var(--gris-memoire);
  border: none;
  padding: 10px 28px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--sans);
}
.billing-btn.active {
  background: var(--vert-permanence);
  color: var(--creme-pur);
}
.billing-save {
  background: var(--braise);
  color: var(--brun-profond);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  margin-left: 6px;
}
.billing-btn:not(.active) .billing-save {
  opacity: 0.5;
}
.billing-note {
  font-size: 14px;
  color: var(--gris-memoire);
  margin-top: 8px;
  opacity: 0.7;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--e5);
  margin-top: var(--e6);
}
.pricing-card {
  background: var(--brun-chaud-1);
  border-radius: var(--r3);
  padding: var(--e5);
  border: 1px solid var(--brun-chaud-2);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card-highlight {
  border-color: var(--vert-grave);
  box-shadow: 0 0 24px rgba(143,184,168,0.1);
}
.pricing-card-lifetime {
  border-color: var(--or-moyen-1);
  background: linear-gradient(180deg, var(--brun-chaud-1), rgba(216,159,106,0.05));
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vert-grave);
  color: var(--creme-pur);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pricing-card-highlight .pricing-badge {
  background: var(--vert-permanence);
}
.pricing-card-lifetime .pricing-badge {
  background: var(--braise);
  color: var(--brun-profond);
}
.pricing-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--creme-pur);
  margin-top: var(--e3);
  margin-bottom: var(--e2);
}
.pricing-price {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  color: var(--or-moyen-1);
  line-height: 1;
}
.pricing-period {
  font-size: 16px;
  color: var(--gris-memoire);
  font-weight: 400;
}
.pricing-alt {
  font-size: 14px;
  color: var(--vert-ciel);
  margin-top: 4px;
  margin-bottom: var(--e2);
}
.pricing-desc {
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: var(--e4);
  min-height: 40px;
}
.pricing-features {
  list-style: none;
  margin: 0 0 var(--e4) 0;
  padding: 0;
  flex: 1;
}
.pricing-features li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.5;
}
.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--vert-ciel);
  font-weight: 600;
}
.pricing-features li:nth-child(5)::before {
  content: "\2022";
  color: var(--gris-memoire);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--noir-nuit);
  padding: var(--e6) var(--e6) var(--e5);
  border-top: 1px solid var(--brun-chaud-2);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--e4);
}
.footer-nav {
  display: flex;
  gap: var(--e4);
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: var(--gris-memoire);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--creme-pur); }
.footer-copy {
  font-size: 12px;
  color: var(--gris-memoire);
  opacity: 0.5;
  margin-top: var(--e4);
  text-align: center;
  width: 100%;
}

/* ============ UTILITY ============ */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-vert { color: var(--vert-ciel); }
.text-or { color: var(--or-moyen-1); }
.faded { opacity: 0.6; }

/* Banner */
.prototype-banner {
  background: var(--braise);
  color: var(--brun-profond);
  text-align: center;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}
.site-header { top: 28px; }

/* Source Serif via CDN */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap');

/* ============================================================
   HALL IMMERSIF — scroll-based, FAKE 3D
   DA kontexvox.com : brun profond, or, vert grave, crème
   ============================================================ */

/* --- Video background (fixed, scroll-controlled) --- */
.immersive-video-wrap {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: var(--brun-profond);
}
.immersive-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translateZ(0);
}
.immersive-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(25,22,16,0.75) 0%,
    rgba(25,22,16,0.4) 30%,
    rgba(25,22,16,0.55) 60%,
    rgba(25,22,16,0.85) 100%
  );
  z-index: 1;
}

/* --- Header adjustments for immersive --- */
.immersive-header {
  background: transparent;
  transition: background 0.4s, padding 0.3s;
}
.immersive-header.scrolled {
  background: rgba(25,22,16,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--o3);
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 3px;
  z-index: 200;
  background: rgba(25,22,16,0.5);
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--vert-grave), var(--or-moyen-1));
  transition: width 0.1s linear;
}

/* --- Immersive acts (sections) --- */
.immersive-act {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--e8) var(--e6);
}

.immersive-content {
  position: relative;
  max-width: 720px;
}

/* --- Asymmetric layer offsets per act --- */
.act-content-1 { margin-left: 8%; }
.act-content-2 { margin-left: 55%; }
.act-content-3 { margin-left: 8%; max-width: 640px; }
.act-content-4 { margin: 0 auto; text-align: center; max-width: 600px; }
.act-content-5 { margin: 0 auto; max-width: 900px; text-align: center; }

/* --- ACT 1 : La photo nue --- */
.immersive-eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vert-ciel);
  margin-bottom: var(--e4);
  opacity: 0;
  animation: fadeIn 1.2s 0.3s forwards;
}
.immersive-title {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 600;
  color: rgba(247,246,243,0.92);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--e5);
}
.immersive-title .reveal-text {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 1s forwards;
}
.immersive-title .reveal-text:nth-child(1) { animation-delay: 0.5s; }
.immersive-title .reveal-text:nth-child(2) { animation-delay: 1.2s; }
.immersive-title .reveal-text:nth-child(3) { animation-delay: 1.9s; color: var(--gris-memoire); }

.immersive-scroll-hint {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--gris-memoire);
  opacity: 0;
  animation: fadeIn 1s 3s forwards;
}
.scroll-arrow {
  display: inline-block;
  font-size: 20px;
  animation: bounce 2s infinite 3s;
}

/* --- ACT 2 : La voix --- */
.immersive-subtitle {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  color: var(--or-moyen-1);
  line-height: 1.2;
  margin-bottom: var(--e4);
  letter-spacing: -0.01em;
}
.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
  margin-bottom: var(--e4);
}
.voice-wave span {
  display: block;
  width: 3px;
  background: var(--vert-ciel);
  border-radius: var(--r-pill);
  animation: voiceBar 1.2s ease-in-out infinite;
  opacity: 0.7;
}
.voice-wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.voice-wave span:nth-child(2) { height: 24px; animation-delay: 0.05s; }
.voice-wave span:nth-child(3) { height: 36px; animation-delay: 0.1s; }
.voice-wave span:nth-child(4) { height: 18px; animation-delay: 0.15s; }
.voice-wave span:nth-child(5) { height: 30px; animation-delay: 0.2s; }
.voice-wave span:nth-child(6) { height: 40px; animation-delay: 0.25s; }
.voice-wave span:nth-child(7) { height: 22px; animation-delay: 0.3s; }
.voice-wave span:nth-child(8) { height: 34px; animation-delay: 0.35s; }
.voice-wave span:nth-child(9) { height: 16px; animation-delay: 0.4s; }
.voice-wave span:nth-child(10) { height: 28px; animation-delay: 0.45s; }
.voice-wave span:nth-child(11) { height: 38px; animation-delay: 0.5s; }
.voice-wave span:nth-child(12) { height: 20px; animation-delay: 0.55s; }
.voice-wave span:nth-child(13) { height: 32px; animation-delay: 0.6s; }
.voice-wave span:nth-child(14) { height: 14px; animation-delay: 0.65s; }
.voice-wave span:nth-child(15) { height: 26px; animation-delay: 0.7s; }

.immersive-transcription {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.5;
  color: rgba(247,246,243,0.88);
  font-style: italic;
  margin-bottom: var(--e4);
}
.transcript-word {
  opacity: 0.15;
  transition: opacity 0.4s, color 0.4s;
}
.transcript-word.visible {
  opacity: 1;
  color: var(--creme-pur);
}

.immersive-caption {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--gris-memoire);
  line-height: 1.5;
  max-width: 500px;
}

/* --- ACT 3 : Les strates --- */
.strate-layers {
  display: flex;
  flex-direction: column;
  gap: var(--e3);
  margin: var(--e5) 0;
}
.strate-layer {
  display: flex;
  align-items: baseline;
  gap: var(--e4);
  padding: var(--e3) var(--e4);
  background: rgba(42,34,23,0.6);
  border-left: 3px solid var(--vert-grave);
  border-radius: var(--r1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s, transform 0.6s;
}
.strate-layer.visible {
  opacity: 1;
  transform: translateX(0);
}
.strate-label {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vert-ciel);
  min-width: 100px;
}
.strate-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--creme-pur);
}

/* --- ACT 4 : La photo gravée --- */
.immersive-final-title {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 700;
  color: var(--or-moyen-1);
  letter-spacing: -0.03em;
  margin-bottom: var(--e4);
  text-shadow: 0 0 40px rgba(220,159,106,0.3);
}
.immersive-final-text {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.5;
  color: rgba(247,246,243,0.85);
  margin-bottom: var(--e5);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.immersive-final-tagline {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--vert-ciel);
  text-transform: uppercase;
}

/* --- ACT 5 : Le palier (SEO links) --- */
.act-palier {
  background: linear-gradient(180deg, rgba(25,22,16,0.7) 0%, var(--brun-profond) 30%);
  padding-bottom: var(--e8);
}
.immersive-palier-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  color: rgba(247,246,243,0.92);
  margin-bottom: var(--e3);
  letter-spacing: -0.01em;
}
.immersive-palier-text {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--gris-memoire);
  margin-bottom: var(--e6);
}
.palier-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--e4);
  margin-bottom: var(--e6);
  text-align: left;
}
.palier-link {
  display: flex;
  align-items: center;
  gap: var(--e3);
  padding: var(--e4);
  background: rgba(42,34,23,0.7);
  border: 1px solid var(--brun-chaud-2);
  border-radius: var(--r3);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.palier-link:hover {
  transform: translateY(-3px);
  border-color: var(--vert-grave);
  background: rgba(42,34,23,0.9);
}
.palier-link-icon {
  font-size: 24px;
  color: var(--vert-ciel);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(143,184,168,0.1);
  border-radius: var(--r2);
  flex-shrink: 0;
}
.palier-link-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--creme-pur);
  margin-bottom: 2px;
}
.palier-link-text em {
  font-style: normal;
  font-size: 14px;
  color: var(--gris-memoire);
}
.palier-cta-group {
  display: flex;
  gap: var(--e3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--e3);
}
.palier-secondary-links {
  display: flex;
  gap: var(--e4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--e5);
  padding-top: var(--e5);
  border-top: 1px solid var(--brun-chaud-2);
}
.palier-secondary-links a {
  font-size: 14px;
  color: var(--gris-memoire);
  transition: color 0.2s;
}
.palier-secondary-links a:hover {
  color: var(--or-moyen-1);
}

/* --- Immersive footer --- */
.immersive-footer {
  position: relative;
  z-index: 2;
}

/* --- Keyframes --- */
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes voiceBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .act-content-1, .act-content-2, .act-content-3 {
    margin-left: 5%;
    margin-right: 5%;
  }
  .act-content-2 { margin-left: 5%; }
  .palier-links {
    grid-template-columns: 1fr;
  }
  .strate-label {
    min-width: 80px;
    font-size: 11px;
  }
  .strate-value {
    font-size: 16px;
  }
}

/* --- Reduced motion fallback --- */
@media (prefers-reduced-motion: reduce) {
  .immersive-title .reveal-text,
  .immersive-eyebrow,
  .immersive-scroll-hint {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .voice-wave span {
    animation: none;
    height: 20px !important;
    opacity: 0.5;
  }
  .scroll-arrow {
    animation: none;
  }
}

/* ============================================================
   HALL IMMERSIF v2 — overlays modulaires
   Photo use case + flash appareil + écran app sur le téléphone
   Author: Matthieu Callies
   ============================================================ */

/* --- Flash appareil photo --- */
.cam-flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 46%,
    rgba(253,254,252,0.95) 0%,
    rgba(249,220,167,0.55) 38%,
    rgba(25,22,16,0) 72%);
}
.cam-flash.on { animation: camFlashPop .62s cubic-bezier(.15,.6,.3,1) forwards; }
@keyframes camFlashPop {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  100% { opacity: 0; }
}

/* --- Photo use case : "prise" au flash --- */
.uc-photo {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%) scale(1.08) rotate(-1.5deg);
  z-index: 5;
  width: min(340px, 62vw);
  padding: 10px 10px 14px;
  background: var(--creme-pur);
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(9,9,9,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1);
  margin: 0;
}
.uc-photo.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-1.5deg);
}
.uc-photo img {
  display: block;
  width: 100%;
  border-radius: 2px;
}
.uc-photo figcaption {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .5px;
  color: var(--brun-chaud-2);
  text-align: center;
}

/* --- Écran app calé sur le téléphone final (position par JS) --- */
.phone-screen {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
  /* illumination : l'écran "s'allume" */
  filter: brightness(1.06);
  box-shadow: 0 0 60px rgba(249,220,167,0);
}
.phone-screen.visible {
  opacity: 1;
  box-shadow: 0 0 70px rgba(249,220,167,.14);
  transition: opacity 1.1s ease, box-shadow 1.6s ease .3s;
}
.phone-screen video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile : photo plus petite, l'écran suit le mapping JS */
@media (max-width: 768px) {
  .uc-photo { width: min(240px, 64vw); }
}

/* ============================================================
   HALL v3 — loader gravure, scrub pur, écran app CSS
   Author: Matthieu Callies
   ============================================================ */

/* Pas de scroll tant que le loader n'a pas fini */
body.immersive { overflow: hidden; }
body.immersive.hall-ready { overflow: auto; }

/* --- LOADER --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--brun-profond);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity .8s ease, visibility .8s;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-word {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(38px, 7vw, 72px);
  letter-spacing: -0.02em;
  display: flex;
}
.loader-word span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(247,246,243,0.14);
  transition: none;
}
.loader-word span.graved {
  color: var(--creme-papier);
  -webkit-text-stroke: 0;
  animation: graveLetter .55s ease-out;
}
@keyframes graveLetter {
  0%   { color: var(--or-haut); text-shadow: 0 0 26px rgba(227,130,68,.9), 0 0 60px rgba(249,220,167,.5); }
  100% { color: var(--creme-papier); text-shadow: none; }
}
/* Le X final passe en braise quand tout est gravé */
.loader-word.done .loader-x {
  color: var(--braise);
  animation: graveX .7s ease-out;
}
@keyframes graveX {
  0%   { color: var(--or-haut); text-shadow: 0 0 34px rgba(227,130,68,1); transform: scale(1.12); }
  100% { color: var(--braise); text-shadow: 0 0 14px rgba(227,130,68,.35); transform: scale(1); }
}

.loader-bolt {
  width: 0%;
  max-width: min(420px, 60vw);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--or-haut), var(--braise));
  box-shadow: 0 0 18px rgba(227,130,68,.55);
  transition: width .25s ease;
}
.loader-pct {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--gris-memoire);
}

/* --- HALL (sticky scrub) --- */
.hall { position: relative; height: 480vh; background: var(--brun-profond); }
.hall-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--brun-profond);
}
.hall-sticky > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hall-title {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 0 8vw;
}
.hall-title h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--creme-papier);
  text-shadow: 0 2px 30px rgba(9,9,9,.55);
  margin: 14px 0 26px;
}

/* --- Header : n'apparaît qu'à la sortie du hall --- */
.immersive-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .45s ease, transform .45s ease;
}
.immersive-header.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
body.reduced .immersive-header { opacity: 1; pointer-events: auto; transform: none; }

/* --- ÉCRAN APP composé en CSS (position/taille par JS, interne en em) --- */
.phone-screen {
  background: var(--vert-permanence);
  display: flex;
  flex-direction: column;
  filter: none;
}
.ps-header {
  padding: .85em .6em .4em;
  text-align: center;
  color: var(--creme-papier);
}
.ps-wordmark {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .92em;
  letter-spacing: .01em;
}
.ps-wordmark em { font-style: normal; }
.ps-mode {
  display: block;
  font-size: .42em;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(247,246,243,.75);
  margin-top: .3em;
}
.ps-photo {
  flex: 1;
  position: relative;
  margin: .45em .45em 0;
  border-radius: .4em;
  overflow: hidden;
  background: rgba(9,9,9,.35);
}
.ps-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
}
.ps-photo img.on { opacity: 1; }
.ps-transcript {
  margin: .45em .45em 0;
  background: var(--creme-papier);
  color: var(--brun-profond);
  border-radius: .35em;
  padding: .5em .6em;
  font-size: .62em;
  line-height: 1.45;
  min-height: 4.2em;
}
.ps-cursor {
  display: inline-block;
  width: .1em;
  height: 1em;
  vertical-align: -0.12em;
  background: var(--braise);
  margin-left: .12em;
  animation: psBlink 1s steps(1) infinite;
}
@keyframes psBlink { 50% { opacity: 0; } }
.ps-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .22em;
  padding: .55em 0 .85em;
}
.ps-wave i {
  width: .16em;
  border-radius: .1em;
  background: var(--braise);
  animation: psWave 1.25s ease-in-out infinite;
}
.ps-wave i:nth-child(1) { height: .5em;  animation-delay: 0s; }
.ps-wave i:nth-child(2) { height: 1em;   animation-delay: .12s; }
.ps-wave i:nth-child(3) { height: 1.5em; animation-delay: .22s; }
.ps-wave i:nth-child(4) { height: 1.8em; animation-delay: .17s; }
.ps-wave i:nth-child(5) { height: 1.4em; animation-delay: .28s; }
.ps-wave i:nth-child(6) { height: .9em;  animation-delay: .07s; }
.ps-wave i:nth-child(7) { height: .5em;  animation-delay: .33s; }
@keyframes psWave {
  0%, 100% { transform: scaleY(.3); opacity: .5; }
  50%      { transform: scaleY(1);  opacity: 1; }
}

/* La suite du site commence sous le hall */
.after-hall { position: relative; z-index: 2; background: var(--brun-profond); }

@media (max-width: 768px) {
  .hall { height: 420vh; }
}

/* ============================================================
   PASSE DA — anti-slop
   Voile chaud unifié sur les images, cartes éditoriales,
   boutons affirmés, section Deux modes
   Author: Matthieu Callies
   ============================================================ */

/* Images : un seul traitement couleur partout = cohérence DA */
.use-card img,
.hero-bg img,
.page-hero img {
  filter: saturate(.82) contrast(1.04) sepia(.10) brightness(.96);
}

/* Cartes use case : éditoriales, pas catalogue */
.use-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--brun-chaud-1);
  border: 1px solid rgba(247,246,243,.06);
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .35s;
}
.use-card:hover {
  transform: translateY(-4px);
  border-color: rgba(213,161,100,.35);
  box-shadow: 0 24px 50px rgba(9,9,9,.45);
}
.use-card img { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.use-card:hover img { transform: scale(1.04); }
.use-card-body h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
}

/* Boutons : plus francs */
.btn {
  border-radius: 4px;
  letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(72,124,105,.35);
}
.btn-ghost:hover {
  border-color: var(--or-moyen-2);
  color: var(--or-haut);
}

/* Étapes : numéros gravés */
.step-number {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--or-moyen-2);
  border: 1px solid rgba(213,161,100,.4);
  background: transparent;
}

/* ============ Section Deux modes ============ */
.modes-eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--or-moyen-2);
  margin-bottom: 10px;
}
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 880px;
  margin: 40px auto 0;
}
.mode-card {
  display: block;
  padding: 34px 30px 30px;
  border-radius: 12px;
  background: var(--brun-chaud-1);
  border: 1px solid rgba(247,246,243,.07);
  text-decoration: none;
  color: var(--creme-papier);
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .35s;
}
.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(9,9,9,.5);
  border-color: rgba(213,161,100,.4);
}
.mode-card-capture {
  background: linear-gradient(160deg, rgba(72,124,105,.22), var(--brun-chaud-1) 65%);
}
.mode-card-capture:hover { border-color: rgba(143,184,168,.45); }
.mode-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or-moyen-2);
  border: 1px solid rgba(213,161,100,.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.mode-card-capture .mode-tag {
  color: var(--vert-ciel);
  border-color: rgba(143,184,168,.4);
}
.mode-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}
.mode-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gris-memoire);
  margin-bottom: 18px;
}
.mode-more {
  font-size: 13px;
  color: var(--or-haut);
}
.mode-card-capture .mode-more { color: var(--vert-ciel); }

@media (max-width: 720px) {
  .modes-grid { grid-template-columns: 1fr; }
}

/* --- Dézoom final : conteneur de scène --- */
.hall-zoom {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform-origin: 50% 50%;
  /* fondu des bords pour que le dézoom reste dans l'ambiance (fond vidéo ~ brun profond) */
  -webkit-mask-image: radial-gradient(130% 130% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(130% 130% at 50% 50%, #000 58%, transparent 100%);
}
.hall-zoom video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Plan final : téléphone entier, crossfade depuis la vidéo --- */
.final-phone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
}

/* --- Hall v3 : plus de voile sombre sur la scène ---
   L'ancien overlay servait aux textes des actes (supprimés).
   On ne garde qu'un soupçon de vignette haut/bas pour le titre et le hint. */
.hall-sticky .immersive-video-overlay {
  background: linear-gradient(
    180deg,
    rgba(25,22,16,0.30) 0%,
    rgba(25,22,16,0) 20%,
    rgba(25,22,16,0) 80%,
    rgba(25,22,16,0.22) 100%
  );
}

/* --- Wordmark du hall : continuité directe avec le loader --- */
.hall-wordmark {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  color: var(--creme-papier);
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(9,9,9,.5);
}
.hall-wordmark .x {
  color: var(--braise);
  text-shadow: 0 0 14px rgba(227,130,68,.35);
}
