* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: var(--font-body);
}

/* ---------- Stage: centers + scales the fixed 1920x1080 canvas ---------- */
.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--havas-black);
}
.viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  will-change: transform, left, top;
}

/* ---------- Slides ---------- */
.slide-wrap {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  display: none;
  overflow: hidden;
}
.slide-wrap.active { display: block; }
.slide-wrap section { display: block; }

/* fadeUp keyframe used by some inline slide markup */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
a { color: var(--havas-red); text-decoration: none; }
a:hover { color: var(--havas-red-deep); }

/* ---------- Click zones for prev/next (canvas area only, never the chrome strip) ---------- */
.click-zone {
  position: fixed;
  top: 0;
  bottom: 56px;
  width: 18%;
  z-index: 20;
  cursor: pointer;
  background: transparent;
}
.click-zone-left { left: 0; }
.click-zone-right { right: 0; }

/* ---------- Bottom chrome bar: its OWN reserved strip, never over slide content ---------- */
.chrome {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  background: var(--havas-black);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 30;
  font-family: var(--font-body);
}
.chrome * { pointer-events: auto; }

.nav-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.nav-btn:hover { background: var(--havas-red); border-color: var(--havas-red); }
.nav-btn:disabled { opacity: 0.3; cursor: default; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }

.progress {
  flex: 1 1 auto;
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--havas-red);
  transition: width 0.25s ease;
}

.counter {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  min-width: 64px;
  text-align: center;
}

.act-label {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: none;
}
@media (min-width: 720px) { .act-label { display: block; } }

