/**
 * DossierBel — Motion Experience 2026
 * Stylesheet: /explication/assets/css/explication.css
 * Fully isolated with .exp- namespace.
 */

:root {
  --exp-yellow: #ffd200;
  --exp-yellow-soft: rgba(255, 210, 0, 0.16);
  --exp-yellow-glow: rgba(255, 210, 0, 0.35);
  --exp-accent-hover: #f0c500;
  --exp-font-latin: "Dossierbel Navbar Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --exp-font-arabic: "Dossierbel Navbar Arabic", "Noto Kufi Arabic", system-ui, sans-serif;
  --exp-radius-sm: 8px;
  --exp-radius-md: 14px;
  --exp-radius-lg: 20px;
  --exp-radius-full: 9999px;
  --exp-transition-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --exp-transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --exp-transition-cinema: 0.9s cubic-bezier(0.16, 1, 0.3, 1);

  /* Light theme defaults */
  --exp-bg-page: var(--db-premium-page, #fcfbf8);
  --exp-surface: var(--db-premium-card, #ffffff);
  --exp-surface-soft: var(--db-premium-soft, #f5f3ee);
  --exp-surface-glass: rgba(255, 255, 255, 0.92);
  --exp-text: var(--db-premium-text, #16181d);
  --exp-text-soft: var(--db-premium-muted, #535c69);
  --exp-line: var(--db-premium-line, #deded8);
  --exp-line-strong: #c8c8c0;
  --exp-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --exp-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --exp-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] {
  --exp-bg-page: var(--db-premium-page, #101317);
  --exp-surface: var(--db-premium-card, #191e24);
  --exp-surface-soft: var(--db-premium-soft, #20262d);
  --exp-surface-glass: rgba(25, 30, 36, 0.92);
  --exp-text: var(--db-premium-text, #f4f5f7);
  --exp-text-soft: var(--db-premium-muted, #bdc5cf);
  --exp-line: var(--db-premium-line, #313a44);
  --exp-line-strong: #414c59;
  --exp-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --exp-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --exp-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* Page wrapper & container */
.exp-page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 80px auto 0;
  padding: 24px 20px 80px;
  font-family: var(--exp-font-latin);
  color: var(--exp-text);
  box-sizing: border-box;
}

html[dir="rtl"] .exp-page {
  font-family: var(--exp-font-arabic);
}

/* Floating Exit Cinema button */
.exp-cinema-exit-btn {
  display: none;
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 10000;
  padding: 10px 20px;
  border-radius: var(--exp-radius-full);
  background: rgba(16, 19, 23, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all var(--exp-transition-fast);
  user-select: none;
}

html[dir="rtl"] .exp-cinema-exit-btn {
  right: auto;
  left: 28px;
}

.exp-cinema-exit-btn svg {
  width: 16px;
  height: 16px;
}

.exp-cinema-exit-btn:hover {
  background: var(--exp-yellow);
  color: #000000;
  border-color: var(--exp-yellow);
  transform: scale(1.05);
}

body.exp-cinema-active .exp-cinema-exit-btn {
  display: inline-flex;
}

/* Intro Header Bar */
.exp-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  border-radius: var(--exp-radius-md);
  background: var(--exp-surface);
  border: 1px solid var(--exp-line);
  box-shadow: var(--exp-shadow-sm);
}

.exp-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.exp-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--exp-radius-full);
  background: var(--exp-surface-soft);
  border: 1px solid var(--exp-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--exp-text);
}

.exp-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--exp-yellow);
  box-shadow: 0 0 10px var(--exp-yellow);
  animation: exp-pulse 2s infinite;
}

@keyframes exp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.exp-header-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--exp-text-soft);
}

.exp-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--exp-radius-full);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--exp-transition-fast);
  border: 1px solid var(--exp-line);
  background: var(--exp-surface-soft);
  color: var(--exp-text);
  text-decoration: none;
  user-select: none;
}

.exp-btn:hover {
  border-color: var(--exp-yellow);
  transform: translateY(-1px);
}

.exp-btn--primary {
  background: var(--exp-yellow);
  color: #000000;
  border-color: var(--exp-yellow);
  box-shadow: 0 4px 14px rgba(255, 210, 0, 0.25);
}

.exp-btn--primary:hover {
  background: var(--exp-accent-hover);
  border-color: var(--exp-accent-hover);
}

.exp-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* CINEMA THEATER VIEWPORT (16:9 Aspect Ratio) */
.exp-theater-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--exp-radius-lg);
  overflow: hidden;
  background: #000000;
  box-shadow: var(--exp-shadow-lg);
  border: 1px solid var(--exp-line);
}

/* Aspect ratio 16:9 container */
.exp-viewport {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  background: var(--exp-surface);
}

.exp-screen-scaler {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  overflow: hidden;
}

/* AMBIENT BACKGROUND OF THE STAGE */
.exp-stage-canvas {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  background: radial-gradient(circle at 50% 25%, rgba(255, 210, 0, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--exp-surface) 0%, var(--exp-bg-page) 100%);
  overflow: hidden;
}

html[data-theme="dark"] .exp-stage-canvas {
  background: radial-gradient(circle at 50% 25%, rgba(255, 210, 0, 0.12) 0%, transparent 65%),
              linear-gradient(180deg, #171d24 0%, #0d1115 100%);
}

/* Ambient glow & backdrop effects */
.exp-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(130px);
  opacity: 0.35;
}

.exp-ambient-glow--1 {
  width: 900px;
  height: 900px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, var(--exp-yellow), transparent 70%);
}

.exp-ambient-glow--2 {
  width: 800px;
  height: 800px;
  bottom: -200px;
  right: -200px;
  background: radial-gradient(circle, var(--exp-yellow-glow), transparent 70%);
}

.exp-light-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  border-radius: 50%;
  border: 2px solid var(--exp-yellow);
  box-shadow: 0 0 100px var(--exp-yellow-glow), inset 0 0 80px var(--exp-yellow-glow);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.exp-light-sweep.is-animating {
  animation: exp-sweep-anim 1.6s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes exp-sweep-anim {
  0% { transform: scale(0.1); opacity: 0.9; }
  100% { transform: scale(8.5); opacity: 0; }
}

/* FIXED HUD ELEMENTS WITHIN THE 1920x1080 STAGE */
.exp-stage-hud-top {
  position: absolute;
  top: 48px;
  left: 100px;
  right: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 25;
  pointer-events: none;
}

.exp-hud-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.exp-hud-disc {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--exp-surface);
  border: 2px solid var(--exp-line-strong);
  display: grid;
  place-items: center;
  box-shadow: var(--exp-shadow-sm);
  position: relative;
  overflow: hidden;
}

.exp-hud-disc::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid var(--exp-yellow);
}

.exp-hud-disc img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.exp-hud-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--exp-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-hud-plate {
  background: var(--exp-yellow);
  color: #000000;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.exp-hud-sequence-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--exp-text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.exp-hud-badge-seq {
  background: var(--exp-surface-soft);
  border: 1.5px solid var(--exp-line);
  padding: 6px 18px;
  border-radius: var(--exp-radius-full);
  color: var(--exp-text);
  font-weight: 800;
  box-shadow: var(--exp-shadow-sm);
}

.exp-stage-hud-bottom {
  position: absolute;
  bottom: 40px;
  left: 100px;
  right: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 25;
  font-size: 19px;
  font-weight: 600;
  color: var(--exp-text-soft);
  pointer-events: none;
}

.exp-hud-url {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.05em;
  color: var(--exp-text);
}

.exp-hud-url::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--exp-yellow);
  box-shadow: 0 0 12px var(--exp-yellow);
}

/* SCENE CONTAINER & TRANSITIONS */
.exp-scene-layer {
  position: absolute;
  inset: 0;
  padding: 124px 100px 92px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98) translateY(15px);
  transition: opacity var(--exp-transition-smooth), transform var(--exp-transition-smooth);
  z-index: 5;
}

.exp-scene-layer.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  z-index: 10;
}

.exp-scene-layer.is-leaving {
  opacity: 0;
  transform: scale(1.02) translateY(-15px);
  filter: blur(8px);
}

/* TYPOGRAPHY CINEMA PATTERNS */
.exp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--exp-text);
  margin-bottom: 14px;
}

.exp-kicker::before {
  content: "";
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--exp-yellow);
  flex-shrink: 0;
}

.exp-title-hero {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--exp-text);
  margin-bottom: 16px;
}

.exp-title-hero em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.exp-title-hero em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 6px;
  border-radius: 3px;
  background: var(--exp-yellow);
}

.exp-lead-text {
  font-size: 26px;
  line-height: 1.45;
  color: var(--exp-text-soft);
  max-width: 1240px;
  margin-bottom: 28px;
  font-weight: 400;
}

/* STAGGERED MOTION ELEMENTS */
.exp-anim-fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--exp-transition-smooth), transform var(--exp-transition-smooth);
}

.exp-scene-layer.is-active .exp-anim-fade-up {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0.1s);
}

.exp-anim-zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--exp-transition-smooth), transform var(--exp-transition-smooth);
}

.exp-scene-layer.is-active .exp-anim-zoom-in {
  opacity: 1;
  transform: scale(1);
  transition-delay: var(--delay, 0.15s);
}

/* SCENE-SPECIFIC COMPOSITIONS */

/* SCENE 1: HERO LOGO & TITLE */
.exp-scene-hero-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  align-items: center;
  gap: 80px;
  margin-top: 20px;
}

.exp-hero-logo-box {
  position: relative;
  width: 440px;
  height: 440px;
  display: grid;
  place-items: center;
}

.exp-hero-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.exp-hero-ring-1 {
  animation: exp-spin 36s linear infinite;
  transform-origin: 50% 50%;
}

.exp-hero-ring-2 {
  animation: exp-spin-rev 24s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes exp-spin { 100% { transform: rotate(360deg); } }
@keyframes exp-spin-rev { 100% { transform: rotate(-360deg); } }

.exp-hero-disc-large {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: var(--exp-surface);
  border: 3px solid var(--exp-yellow);
  box-shadow: 0 0 50px var(--exp-yellow-glow), var(--exp-shadow-lg);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.exp-hero-disc-large img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.exp-hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.exp-hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border-radius: var(--exp-radius-md);
  background: var(--exp-surface-glass);
  border: 1px solid var(--exp-line);
  backdrop-filter: blur(10px);
}

.exp-hero-bullet-tag {
  background: var(--exp-yellow);
  color: #000000;
  font-size: 15px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--exp-radius-full);
  white-space: nowrap;
}

.exp-hero-bullet-text {
  font-size: 21px;
  font-weight: 600;
  color: var(--exp-text);
}

/* SCENE 2: MISSION 3 PILLARS */
.exp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 18px;
}

.exp-pillar-card {
  padding: 36px 32px;
  border-radius: var(--exp-radius-lg);
  background: var(--exp-surface);
  border: 2px solid var(--exp-line);
  box-shadow: var(--exp-shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--exp-transition-fast), border-color var(--exp-transition-fast);
}

.exp-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--exp-yellow);
}

.exp-pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.exp-pillar-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--exp-yellow);
  line-height: 1;
}

.exp-pillar-badge {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--exp-radius-full);
  background: var(--exp-surface-soft);
  border: 1px solid var(--exp-line);
  color: var(--exp-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exp-pillar-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--exp-text);
  margin-bottom: 14px;
}

.exp-pillar-desc {
  font-size: 19px;
  line-height: 1.5;
  color: var(--exp-text-soft);
}

/* SCENE 3: REGROUPEMENT FAMILIAL */
.exp-regimes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 24px;
}

.exp-regime-card {
  padding: 28px 26px;
  border-radius: var(--exp-radius-md);
  background: var(--exp-surface);
  border: 1.5px solid var(--exp-line);
  box-shadow: var(--exp-shadow-sm);
  display: flex;
  flex-direction: column;
}

.exp-regime-card.is-featured {
  border-color: var(--exp-yellow);
  box-shadow: 0 0 28px var(--exp-yellow-soft);
}

.exp-regime-badge {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  background: var(--exp-yellow);
  padding: 3px 12px;
  border-radius: var(--exp-radius-full);
  align-self: flex-start;
  margin-bottom: 12px;
}

.exp-regime-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--exp-text);
  margin-bottom: 6px;
}

.exp-regime-article {
  font-size: 15px;
  font-weight: 700;
  color: var(--exp-yellow);
  margin-bottom: 10px;
}

.exp-regime-desc {
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--exp-text-soft);
}

.exp-criteria-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px 24px;
  border-radius: var(--exp-radius-md);
  background: var(--exp-surface-soft);
  border: 1px solid var(--exp-line);
}

.exp-criteria-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--exp-text);
}

.exp-criteria-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--exp-yellow);
  color: #000000;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
}

/* SCENE 4: VISA C (COURT SEJOUR) */
.exp-visa-c-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 10px;
}

/* Passport Specimen: Always LTR so labels and barcode stay crisp and authentic */
.exp-passport-mockup {
  direction: ltr !important;
  text-align: left !important;
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1b263b, #0d1b2a);
  color: #ffffff;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.exp-passport-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exp-passport-vignette {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  color: #111111;
  border: 2px solid var(--exp-yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.exp-vignette-title {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 900;
  color: #0d1b2a;
  border-bottom: 2px solid #eeeeee;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.exp-vignette-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444444;
}

.exp-vignette-row strong {
  color: #000000;
}

.exp-vignette-stamp {
  display: inline-block;
  margin-top: 8px;
  border: 2px dashed #d90429;
  color: #d90429;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  transform: rotate(-3deg);
}

.exp-visa-c-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.exp-visa-doc-card {
  padding: 22px 24px;
  border-radius: var(--exp-radius-md);
  background: var(--exp-surface);
  border: 1.5px solid var(--exp-line);
  box-shadow: var(--exp-shadow-sm);
}

.exp-visa-doc-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--exp-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-visa-doc-title::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--exp-yellow);
  flex-shrink: 0;
}

.exp-visa-doc-desc {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--exp-text-soft);
}

/* SCENE 5: VISA D & LONG SEJOUR */
.exp-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 26px;
  margin-top: 10px;
}

.exp-vs-card {
  padding: 32px;
  border-radius: var(--exp-radius-lg);
  background: var(--exp-surface);
  border: 2px solid var(--exp-line);
  box-shadow: var(--exp-shadow-md);
}

.exp-vs-card.is-target {
  border-color: var(--exp-yellow);
  box-shadow: 0 0 35px var(--exp-yellow-soft);
}

.exp-vs-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--exp-radius-full);
  margin-bottom: 14px;
}

.exp-vs-card.is-target .exp-vs-tag {
  background: var(--exp-yellow);
  color: #000000;
}

.exp-vs-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--exp-text);
  margin-bottom: 10px;
}

.exp-vs-stat {
  font-size: 22px;
  font-weight: 700;
  color: var(--exp-yellow);
  margin-bottom: 14px;
}

.exp-vs-text {
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--exp-text-soft);
}

.exp-steps-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.exp-step-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--exp-radius-md);
  background: var(--exp-surface-soft);
  border: 1px solid var(--exp-line);
}

.exp-step-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--exp-yellow);
  flex-shrink: 0;
}

.exp-step-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--exp-text);
  line-height: 1.4;
}

/* SCENE 6: TRAVAIL & SINGLE PERMIT */
.exp-work-schema {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 14px;
}

.exp-work-pillar-box {
  padding: 32px;
  border-radius: var(--exp-radius-lg);
  background: var(--exp-surface);
  border: 2px solid var(--exp-line);
  box-shadow: var(--exp-shadow-md);
}

.exp-work-pillar-title {
  font-size: 25px;
  font-weight: 800;
  color: var(--exp-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.exp-work-pillar-desc {
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--exp-text-soft);
  margin-bottom: 18px;
}

.exp-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.exp-mini-badge {
  padding: 6px 14px;
  border-radius: var(--exp-radius-full);
  background: var(--exp-surface-soft);
  border: 1px solid var(--exp-line);
  font-size: 14px;
  font-weight: 700;
  color: var(--exp-text);
}

/* SCENE 7: ETUDES & NATIONALITE */
.exp-split-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 14px;
}

.exp-split-card {
  padding: 34px;
  border-radius: var(--exp-radius-lg);
  background: var(--exp-surface);
  border: 2px solid var(--exp-line);
  box-shadow: var(--exp-shadow-md);
}

.exp-split-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--exp-text);
  margin-bottom: 8px;
}

.exp-split-sub {
  font-size: 17px;
  color: var(--exp-yellow);
  font-weight: 700;
  margin-bottom: 22px;
}

.exp-check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exp-check-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--exp-text);
}

.exp-check-row span.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--exp-yellow);
  color: #000000;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

/* SCENE 8: PREPARATION DES DOSSIERS */
.exp-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.exp-pipeline-step-card {
  padding: 28px 22px;
  border-radius: var(--exp-radius-md);
  background: var(--exp-surface);
  border: 1.5px solid var(--exp-line);
  box-shadow: var(--exp-shadow-sm);
  display: flex;
  flex-direction: column;
}

.exp-pipeline-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--exp-yellow);
  margin-bottom: 14px;
}

.exp-pipeline-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--exp-text);
  margin-bottom: 10px;
}

.exp-pipeline-detail {
  font-size: 15.5px;
  line-height: 1.48;
  color: var(--exp-text-soft);
}

/* SCENE 9: REFUS & RECOURS */
.exp-refus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 18px;
}

.exp-refus-card {
  padding: 32px 26px;
  border-radius: var(--exp-radius-lg);
  background: var(--exp-surface);
  border: 2px solid var(--exp-line);
  box-shadow: var(--exp-shadow-md);
}

.exp-refus-card.is-alert {
  border-color: #e63946;
  box-shadow: 0 0 25px rgba(230, 57, 70, 0.15);
}

.exp-refus-card.is-time {
  border-color: var(--exp-yellow);
  box-shadow: 0 0 25px var(--exp-yellow-soft);
}

.exp-refus-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--exp-text);
  margin-bottom: 14px;
}

.exp-refus-desc {
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--exp-text-soft);
}

/* SCENE 10: ACCOMPAGNEMENT INDIVIDUEL */
.exp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 18px;
}

.exp-feature-box {
  padding: 34px 28px;
  border-radius: var(--exp-radius-lg);
  background: var(--exp-surface);
  border: 2px solid var(--exp-line);
  box-shadow: var(--exp-shadow-md);
}

.exp-feature-title {
  font-size: 25px;
  font-weight: 800;
  color: var(--exp-text);
  margin-bottom: 12px;
}

.exp-feature-desc {
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--exp-text-soft);
}

/* SCENE 11: PLATEFORME NUMERIQUE */
.exp-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.exp-tool-card {
  padding: 28px 22px;
  border-radius: var(--exp-radius-md);
  background: var(--exp-surface);
  border: 1.5px solid var(--exp-line);
  box-shadow: var(--exp-shadow-sm);
  display: flex;
  flex-direction: column;
}

.exp-tool-tag {
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  background: var(--exp-yellow);
  padding: 3px 12px;
  border-radius: var(--exp-radius-full);
  align-self: flex-start;
  margin-bottom: 12px;
}

.exp-tool-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--exp-text);
  margin-bottom: 8px;
}

.exp-tool-desc {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--exp-text-soft);
}

/* SCENE 12: FINALE & SIGNATURE */
.exp-scene-layer#exp-scene-12 {
  justify-content: center;
}

.exp-finale-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.exp-finale-logo-wrap {
  width: 170px;
  height: 170px;
  margin-bottom: 22px;
}

.exp-finale-domain {
  font-size: 50px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--exp-yellow);
  margin: 8px 0 20px;
  text-shadow: 0 0 40px var(--exp-yellow-glow);
}

/* INTERACTIVE PLAYBACK CONTROLS (DOCKED BELOW THE THEATER) */
.exp-controls-dock {
  background: var(--exp-surface);
  border: 1px solid var(--exp-line);
  border-top: none;
  border-bottom-left-radius: var(--exp-radius-lg);
  border-bottom-right-radius: var(--exp-radius-lg);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--exp-shadow-md);
  position: relative;
  z-index: 20;
}

.exp-timeline-bar-wrap {
  position: relative;
  width: 100%;
  height: 8px;
  background: var(--exp-surface-soft);
  border-radius: 4px;
  cursor: pointer;
}

.exp-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--exp-yellow);
  border-radius: 4px;
  width: 0%;
  transition: width 0.1s linear;
}

html[dir="rtl"] .exp-timeline-progress {
  left: auto;
  right: 0;
}

.exp-timeline-markers {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.exp-timeline-dot {
  width: 2px;
  height: 100%;
  background: var(--exp-line);
}

.exp-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.exp-playback-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--exp-surface-soft);
  border: 1px solid var(--exp-line);
  color: var(--exp-text);
  cursor: pointer;
  transition: all var(--exp-transition-fast);
}

.exp-ctrl-btn:hover {
  border-color: var(--exp-yellow);
  color: var(--exp-yellow);
  transform: scale(1.05);
}

.exp-ctrl-btn--main {
  width: 46px;
  height: 46px;
  background: var(--exp-yellow);
  color: #000000;
  border-color: var(--exp-yellow);
}

.exp-ctrl-btn--main:hover {
  background: var(--exp-accent-hover);
  color: #000000;
}

.exp-ctrl-btn svg {
  width: 18px;
  height: 18px;
}

.exp-time-display {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--exp-text-soft);
  font-variant-numeric: tabular-nums;
}

.exp-extra-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.exp-scene-select {
  padding: 8px 14px;
  border-radius: var(--exp-radius-full);
  background: var(--exp-surface-soft);
  border: 1px solid var(--exp-line);
  color: var(--exp-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.exp-scene-select:focus {
  border-color: var(--exp-yellow);
}

/* CINEMA FULLSCREEN MODE OVERRIDES */
body.exp-cinema-active {
  overflow: hidden !important;
}

body.exp-cinema-active header,
body.exp-cinema-active footer,
body.exp-cinema-active #dp-footer,
body.exp-cinema-active #dp-navigation,
body.exp-cinema-active .dp-header,
body.exp-cinema-active dossierbel-ai,
body.exp-cinema-active #db-whatsapp-floating,
body.exp-cinema-active #db-information-banner,
body.exp-cinema-active .ai-launcher,
body.exp-cinema-active [data-db-wa-owned],
body.exp-cinema-active .exp-header-bar,
body.exp-cinema-active .skip-link,
body.exp-cinema-active nav.site-nav {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.exp-cinema-active .exp-page {
  max-width: none !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

body.exp-cinema-active .exp-theater-wrap {
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000 !important;
}

body.exp-cinema-active .exp-viewport {
  padding-top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.exp-cinema-active .exp-controls-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(16, 19, 23, 0.92);
  backdrop-filter: blur(16px);
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 32px;
  transform: translateY(75%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.exp-cinema-active .exp-controls-dock:hover,
body.exp-cinema-active .exp-controls-dock:focus-within {
  transform: translateY(0);
}

/* RTL OVERRIDES FOR ARABIC */
html[dir="rtl"] .exp-kicker {
  letter-spacing: 0;
}

html[dir="rtl"] .exp-kicker::before {
  margin-inline-end: 14px;
  margin-inline-start: 0;
}

html[dir="rtl"] .exp-title-hero em::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .exp-hud-url::before {
  margin-inline-end: 10px;
  margin-inline-start: 0;
}

html[dir="rtl"] .exp-vignette-stamp {
  transform: rotate(3deg);
}

/* RESPONSIVE SCALING */
@media (max-width: 900px) {
  .exp-page {
    padding: 12px 10px 40px;
  }
  .exp-controls-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Mobile only: keep the Motion Experience badge and cinema button side by side. */
@media (max-width: 767px) {
  .exp-header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .exp-badge-group {
    display: contents;
  }

  .exp-badge-live {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    height: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    padding: 8px 10px;
  }

  .exp-badge-live > span:last-child {
    min-width: 0;
  }

  .exp-actions-group {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    height: 100%;
  }

  .exp-actions-group .exp-btn {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 8px;
    text-align: center;
    white-space: normal;
    line-height: 1.5;
  }

  .exp-actions-group .exp-btn span {
    min-width: 0;
  }

  .exp-header-title {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
  }
}

/* Presentation refinement, scoped to this page. */
html[data-db-page="explication"] body { margin:0; }
html[data-db-page="explication"] .exp-skip-link {
 position:fixed;inset-block-start:8px;inset-inline-start:12px;z-index:10002;
 padding:12px 18px;background:#ffd200;color:#16181d;border-radius:10px;
 font-family:var(--exp-font-latin);transform:translateY(-180%);text-decoration:none;
}
html[data-db-page="explication"] .exp-skip-link:focus { transform:translateY(0); }
.exp-page { max-width:1760px;padding:28px 36px 64px; }
.exp-page *, .exp-cinema-exit-btn { box-sizing:border-box; }
.exp-page button,.exp-page select,.exp-cinema-exit-btn { font-family:inherit; }
html[dir="rtl"] .exp-page,html[dir="rtl"] .exp-cinema-exit-btn,html[dir="rtl"] .exp-skip-link { font-family:var(--exp-font-arabic); }
.exp-header-bar { padding:18px 24px;border-radius:18px;box-shadow:none;gap:18px; }
.exp-badge-live { border:none;background:var(--exp-yellow-soft);padding:10px 16px;white-space:nowrap; }
.exp-header-title { font-size:14px;line-height:1.7; }
.exp-btn { min-height:46px;padding:11px 20px;border-radius:12px;line-height:1.5; }
.exp-theater-wrap { border-radius:24px;box-shadow:0 20px 60px rgba(0,0,0,.09); }
.exp-scene-layer { justify-content:center;padding:142px 100px 112px; }
.exp-scene-layer>div { width:100%;min-width:0; }
.exp-scene-layer :is(h1,h2,h3,p) { margin-top:0; }
.exp-title-hero { font-size:64px;line-height:1.18;margin-bottom:24px;text-wrap:balance; }
.exp-title-hero em { white-space:normal; }
.exp-title-hero em::after { display:none; }
.exp-title-hero::after { content:"";display:block;width:80px;height:5px;margin-top:22px;border-radius:4px;background:var(--exp-yellow); }
.exp-kicker { font-size:17px;letter-spacing:.16em;color:var(--exp-text-soft);margin-bottom:22px; }
.exp-lead-text { font-size:26px;max-width:1480px;line-height:1.55; }
.exp-scene-hero-grid { grid-template-columns:340px minmax(0,1fr);gap:70px;margin:0; }
.exp-hero-logo-box { width:320px;height:320px; }
.exp-hero-disc-large { width:220px;height:220px;border-radius:40px;box-shadow:var(--exp-shadow-md); }
.exp-hero-rings { opacity:.35; }
.exp-hero-bullet-item { padding:20px 24px; }
.exp-hero-bullet-text { line-height:1.5; }
.exp-pillar-card,.exp-regime-card,.exp-vs-card,.exp-split-card,.exp-feature-box,.exp-tool-card,.exp-pipeline-step-card,.exp-refus-card,.exp-work-pillar-box {
 border-width:1px;border-radius:22px;box-shadow:0 8px 24px rgba(0,0,0,.045);
}
.exp-pillar-card { min-height:300px;padding:36px; }
.exp-pillar-title { margin:10px 0 20px; }
.exp-pillar-desc { font-size:22px;line-height:1.6;margin-bottom:0; }
.exp-regime-desc,.exp-feature-desc,.exp-tool-desc { font-size:21px;line-height:1.55; }
.exp-pillar-num { color:var(--exp-text);font-size:48px; }
.exp-pillar-badge { background:var(--exp-yellow-soft);border:0; }
.exp-controls-dock { padding:18px 24px 20px;background:var(--exp-surface);border:0;border-top:1px solid var(--exp-line);box-shadow:none; }
.exp-timeline-bar-wrap { height:6px;cursor:default; }
.exp-playback-buttons { direction:ltr; }
.exp-ctrl-btn { width:44px;height:44px;border-radius:12px;flex-shrink:0; }
.exp-ctrl-btn--main { width:50px;height:50px; }
.exp-ctrl-btn:hover { color:var(--exp-text);background:var(--exp-yellow-soft);transform:translateY(-1px); }
.exp-ctrl-btn--main:hover { background:var(--exp-yellow); }
.exp-extra-controls { min-width:0;max-width:48%; }
.exp-scene-select { appearance:none;width:100%;min-width:0;max-width:480px;min-height:46px;border-radius:12px;padding:10px 40px 10px 16px;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8088' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-size:16px;background-repeat:no-repeat;background-position:right 14px center; }
html[dir="rtl"] .exp-scene-select { padding:10px 16px 10px 40px;background-position:left 14px center; }
.exp-page :is(button,select):focus-visible,.exp-cinema-exit-btn:focus-visible { outline:3px solid var(--exp-yellow);outline-offset:4px; }
.exp-time-display { direction:ltr;white-space:nowrap;margin-inline-start:6px; }
body.exp-cinema-active .exp-page { position:fixed;inset:0;z-index:9998; }
body.exp-cinema-active .exp-theater-wrap { flex-direction:column; }
body.exp-cinema-active .exp-viewport { flex:1;min-height:0; }
body.exp-cinema-active .exp-controls-dock { position:relative;flex-shrink:0;width:100%;transform:none;background:var(--exp-surface);padding:14px 28px; }
.exp-finale-box .exp-hero-disc-large { width:150px;height:150px;border-radius:28px; }
.exp-finale-box .exp-title-hero::after { margin-inline:auto; }
html[dir="rtl"] .exp-title-hero { letter-spacing:0;line-height:1.65;font-weight:600;font-size:56px; }
html[dir="rtl"] .exp-kicker { letter-spacing:0; }
html[dir="rtl"] .exp-scene-layer :is(p,h3) { line-height:1.8; }
@media(max-width:900px){
 .exp-page{padding:16px 14px 40px;}
 .exp-header-bar{padding:14px;}
 .exp-controls-row{flex-direction:row;}
 .exp-extra-controls{max-width:100%;width:100%;}
 .exp-scene-select{max-width:none;}
 .exp-playback-buttons{justify-content:center;width:100%;gap:8px;}
 .exp-header-title{font-size:12px;}
}
@media(prefers-reduced-motion:reduce){
 .exp-page *,.exp-cinema-exit-btn{animation:none!important;transition:none!important;}
}

@media(min-width:901px){
 body:not(.exp-cinema-active) .exp-viewport { padding-top:0;height:clamp(360px,calc(100svh - 380px),900px); }
}
