@import url('brand/colors_and_type.css');

/* ============================================================
   STAGE — 1920×1080 auto-scaled to viewport, letterboxed
   ============================================================ */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
  width: 100%;
  height: 100%;
  cursor: none; /* TV mode: hide cursor */
}
body.tweaks-on { cursor: auto; }

#stage-wrap {
  position: fixed;
  inset: 0;
  background: #000;
  overflow: hidden;
}
#stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
  background: var(--novo-black);
  overflow: hidden;
  isolation: isolate;
}

/* ============================================================
   SLIDE TIMING
   Each slide gets a duration (var --slide-dur, set per-slide).
   Animation classes use it so motion stays in sync.
   ============================================================ */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms var(--ease-out), visibility 0s linear 600ms;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms var(--ease-out), visibility 0s;
}

/* ============================================================
   COMMON ELEMENTS
   ============================================================ */
.tagchip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,219,13,0.12);
  color: var(--novo-yellow);
  border: 1px solid rgba(255,219,13,0.35);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tagchip .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--novo-yellow);
  box-shadow: 0 0 12px var(--novo-yellow);
  animation: dot-pulse 1.6s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow .arrow { display: inline-block; transform: translateY(-2px); }

.huge {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}
.wordmark {
  height: 78px;
  color: var(--novo-yellow);
}
.wordmark.dark { color: var(--novo-black); }
.wordmark img { height: 100%; width: auto; display: block; }

/* Mask-based recolor so SVG fills match design-system tokens exactly */
.nd-wordmark-mask {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--novo-yellow);
  -webkit-mask: url('brand/logo-wordmark.svg') no-repeat center / contain;
          mask: url('brand/logo-wordmark.svg') no-repeat center / contain;
}
.nd-wordmark-mask.is-black { background-color: var(--novo-black); }
.nd-wordmark-mask.is-offwhite { background-color: var(--novo-off-white); }

/* ============================================================
   PROGRESS BAR (subtle bottom, only when not in TV-clean)
   ============================================================ */
.progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: rgba(255,255,255,0.06);
  z-index: 50;
  pointer-events: none;
}
.progress .bar {
  height: 100%;
  background: var(--novo-yellow);
  width: 0%;
  transition: width 100ms linear;
}
body.tv-clean .progress { display: none; }

/* slide pip indicator */
.pips {
  position: absolute;
  top: 40px; right: 60px;
  display: flex;
  gap: 8px;
  z-index: 40;
  pointer-events: none;
}
.pip {
  width: 28px; height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  transition: background 240ms var(--ease-out);
}
.pip.active { background: var(--novo-yellow); }
body.tv-clean .pips { display: none; }

/* tiny brand mark anchor (always visible) */
.corner-mark {
  position: absolute;
  top: 40px; left: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 40;
  pointer-events: none;
}
.corner-mark .sym {
  width: 36px; height: 36px;
  color: var(--novo-yellow);
}
.corner-mark .sym img { width: 100%; height: 100%; display: block; }
.corner-mark .meta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.corner-mark.dark .sym { color: var(--novo-black); }
.corner-mark.dark .meta { color: rgba(16,16,16,0.55); }

/* ============================================================
   SHARED ANIMATIONS
   ============================================================ */
@keyframes rise-in {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes mask-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0    0 0); }
}
@keyframes scale-in {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
@keyframes underline-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes scribble-reveal {
  from { stroke-dashoffset: var(--len, 800); }
  to   { stroke-dashoffset: 0; }
}

/* Slides apply these classes; animation only plays when active */
.slide.active .anim-rise { animation: rise-in 900ms var(--ease-out) both; }
.slide.active .anim-fade { animation: fade-in 900ms var(--ease-out) both; }
.slide.active .anim-mask { animation: mask-reveal 1100ms var(--ease-out) both; }
.slide.active .anim-scale { animation: scale-in 900ms var(--ease-out) both; }

/* delay helpers */
.d-1 { animation-delay: 120ms !important; }
.d-2 { animation-delay: 260ms !important; }
.d-3 { animation-delay: 420ms !important; }
.d-4 { animation-delay: 600ms !important; }
.d-5 { animation-delay: 800ms !important; }
.d-6 { animation-delay: 1000ms !important; }
.d-7 { animation-delay: 1300ms !important; }
.d-8 { animation-delay: 1600ms !important; }
.d-9 { animation-delay: 2000ms !important; }
.d-10{ animation-delay: 2400ms !important; }

/* ============================================================
   SLIDE 1 — Opening
   ============================================================ */
.s1 {
  background: var(--novo-black);
  color: var(--novo-off-white);
}
.s1 .bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,219,13,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,219,13,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
  animation: grid-drift 18s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 80px 80px, 80px 80px; }
}

.s1 .stars {
  position: absolute; inset: 0;
}
.s1 .star {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--novo-yellow);
  box-shadow: 0 0 12px var(--novo-yellow);
  opacity: 0;
  animation: star-twinkle 4s ease-in-out infinite;
}
@keyframes star-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%      { opacity: 0.9; transform: scale(1); }
}

.s1 .center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}
.s1 .logo-mark {
  width: 360px;
  height: 100px;
  margin: 0 auto 60px;
  color: var(--novo-yellow);
}
.s1 .logo-mark img { width: 100%; display: block; }

.s1 .title {
  font-size: 132px;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.s1 .title .lc {
  text-transform: lowercase;
  color: rgba(241,241,241,0.7);
  display: block;
  font-size: 56px;
  letter-spacing: 0.04em;
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 28px;
}
.s1 .title .accent { color: var(--novo-yellow); }
.s1 .title .scribble-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.s1 .title .scribble-wrap .accent {
  position: relative;
  z-index: 1;
}
.s1 .title .scribble-wrap::before {
  content: '';
  position: absolute;
  left: -4%; top: -14%;
  width: 108%; height: 132%;
  background: url('brand/motif-circle-scribble-red.svg') center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
  clip-path: inset(0 0 50% 0);
}
.s1 .title .scribble-wrap img {
  position: absolute;
  left: -4%; top: -14%;
  width: 108%; height: 132%;
  pointer-events: none;
  z-index: 2;
  clip-path: inset(50% 0 0 0);
}

.s1 .geo-arc {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--novo-yellow);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.s1 .geo-arc .label-l, .s1 .geo-arc .label-r {
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.s1 .geo-arc .pin {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--novo-yellow);
  box-shadow: 0 0 16px var(--novo-yellow);
}
.s1 .geo-arc .line {
  width: 280px;
  height: 1px;
  background: linear-gradient(90deg, var(--novo-yellow), var(--novo-yellow));
  position: relative;
  transform-origin: left center;
}
.s1 .geo-arc .line::after {
  content: '';
  position: absolute;
  left: 0; top: -2px;
  width: 12px; height: 5px;
  background: var(--novo-yellow);
  filter: blur(3px);
  animation: line-trace 3s ease-in-out infinite;
}
@keyframes line-trace {
  0%   { left: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ============================================================
   SLIDE 2 — Quem somos
   ============================================================ */
.s2 {
  background: var(--novo-yellow);
  color: var(--novo-black);
  padding: 90px 120px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
}
.s2 .top { display: flex; justify-content: space-between; align-items: flex-start; }
.s2 .top .eyebrow { color: var(--novo-black); }
.s2 .top .right-meta {
  text-align: right;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.s2 .top .right-meta .big {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-top: 4px;
}
.s2 .headline {
  font-size: 168px;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
}
.s2 .headline .row { display: block; }
.s2 .headline .scribble-wrap {
  position: relative;
  display: inline-block;
}
.s2 .headline .scribble-wrap img {
  position: absolute;
  left: -3%; bottom: -18%;
  width: 106%; height: 28%;
  pointer-events: none;
}
.s2 .subline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 28px;
  max-width: 760px;
  line-height: 1.3;
}
.s2 .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--novo-black);
  padding-top: 32px;
}
.s2 .stats .stat {
  padding-right: 40px;
}
.s2 .stats .stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 104px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.s2 .stats .stat .label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 16px;
}
.s2 .stats .stat .label .accent { color: var(--novo-red); font-weight: 600; }

/* ============================================================
   SLIDE 3 — Serviços
   ============================================================ */
.s3 {
  background: var(--novo-black);
  color: var(--novo-off-white);
  padding: 110px 120px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 60px;
}
.s3 .top { display: flex; align-items: flex-end; justify-content: space-between; }
.s3 .eyebrow { color: var(--novo-yellow); }
.s3 .headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 140px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-top: 16px;
}
.s3 .headline .row { display: block; }
.s3 .headline .accent { color: var(--novo-yellow); }
.s3 .flag {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241,241,241,0.6);
  white-space: nowrap;
  line-height: 1.3;
}
.s3 .flag-stripes {
  width: 64px; height: 38px; display: grid;
  grid-template-rows: repeat(7, 1fr);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.s3 .flag-stripes .stripe {
  background: var(--novo-off-white);
}
.s3 .flag-stripes .stripe:nth-child(even) { background: var(--novo-red); }
.s3 .flag-stripes .canton {
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 18px;
  background: var(--novo-blue);
}
.s3 .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.s3 .card {
  background: #161616;
  border-radius: 20px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.s3 .card .icon {
  font-size: 88px;
  color: var(--novo-yellow);
  line-height: 1;
}
.s3 .card .num {
  position: absolute;
  top: 32px; right: 36px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: rgba(241,241,241,0.4);
}
.s3 .card .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.s3 .card .desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(241,241,241,0.65);
  margin-top: 10px;
}
.s3 .card .badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--novo-yellow);
}
.s3 .card .badge::before {
  content:'';
  width: 18px; height: 12px;
  background:
    linear-gradient(180deg, var(--novo-red) 0 14%, white 14% 28%, var(--novo-red) 28% 42%, white 42% 56%, var(--novo-red) 56% 70%, white 70% 84%, var(--novo-red) 84% 100%);
  border-radius: 2px;
  position: relative;
}

/* ============================================================
   SLIDE 4 — AI / Tech era
   ============================================================ */
.s4 {
  background: var(--novo-black-pure);
  color: var(--novo-off-white);
  overflow: hidden;
}
.s4 .matrix {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
}
.s4 .matrix .col {
  position: absolute;
  top: -100%;
  width: 14px;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 13px;
  line-height: 1.35;
  color: var(--novo-yellow);
  white-space: pre;
  letter-spacing: 0;
  text-shadow: 0 0 6px rgba(255,219,13,0.7);
  animation: matrix-fall linear infinite;
}
@keyframes matrix-fall {
  0%   { transform: translateY(0); }
  100% { transform: translateY(220%); }
}

.s4 .neon-glow {
  position: absolute;
  width: 1100px; height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,219,13,0.22) 0%, rgba(255,219,13,0) 60%);
  left: 60%; top: -200px;
  filter: blur(40px);
  pointer-events: none;
}

.s4 .body {
  position: absolute;
  inset: 0;
  padding: 110px 120px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.s4 .body .left { display: flex; flex-direction: column; gap: 40px; }
.s4 .eyebrow { color: var(--novo-yellow); }
.s4 .headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 108px;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.s4 .headline .row { display: block; white-space: nowrap; }
.s4 .headline .accent {
  color: var(--novo-yellow);
  position: relative;
  display: inline-block;
}
.s4 .headline .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 6px;
  background: var(--novo-yellow);
  transform-origin: left center;
  box-shadow: 0 0 20px var(--novo-yellow);
}
.s4 .slide.active .headline .accent::after,
.s4.active .headline .accent::after {
  animation: underline-grow 900ms 800ms var(--ease-out) both;
}
.slide.active .s4-underline { animation: underline-grow 900ms 800ms var(--ease-out) both; transform-origin: left center; }

.s4 .sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.45;
  color: rgba(241,241,241,0.78);
  max-width: 720px;
}
.s4 .pills {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.s4 .pills .pill {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid rgba(255,219,13,0.5);
  color: var(--novo-yellow);
  border-radius: 999px;
  background: rgba(255,219,13,0.06);
}
.s4 .pills .pill.solid {
  background: var(--novo-yellow);
  color: var(--novo-black);
  border-color: var(--novo-yellow);
}

/* Right side: animated neural network */
.s4 .net {
  position: relative;
  width: 100%;
  height: 720px;
  display: grid;
  place-items: center;
}
.s4 .net svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.s4 .net .edge {
  stroke: rgba(255,219,13,0.45);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: edge-flow 4s linear infinite;
}
@keyframes edge-flow {
  0%   { stroke-dashoffset: 220; opacity: 0.2; }
  50%  { stroke-dashoffset: 0;   opacity: 0.85; }
  100% { stroke-dashoffset: -220; opacity: 0.2; }
}
.s4 .net .node {
  fill: var(--novo-yellow);
  filter: drop-shadow(0 0 8px rgba(255,219,13,0.8));
  animation: node-pulse 2.4s ease-in-out infinite;
}
@keyframes node-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.85; }
  50%      { transform: scale(1.35); opacity: 1; }
}

/* ============================================================
   SLIDE 4B — IA em Operação
   ============================================================ */
.s4b {
  background: var(--novo-black-pure);
  color: var(--novo-off-white);
  overflow: hidden;
}
.s4b .s4b-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,219,13,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,219,13,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%);
}
.s4b .s4b-glow {
  left: -300px; top: 200px;
  width: 900px; height: 900px;
}
.s4b .s4b-live {
  position: absolute;
  top: 40px; right: 60px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,219,13,0.08);
  border: 1px solid rgba(255,219,13,0.35);
  color: var(--novo-yellow);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 40;
}
.s4b .live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--novo-yellow);
  box-shadow: 0 0 12px var(--novo-yellow);
  animation: dot-pulse 1.4s ease-in-out infinite;
}

.s4b .s4b-body {
  position: absolute;
  inset: 0;
  padding: 110px 120px 80px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 40px;
  z-index: 2;
}

.s4b .s4b-head { display: flex; flex-direction: column; gap: 24px; max-width: 1480px; }
.s4b .eyebrow { color: var(--novo-yellow); }
.s4b .s4b-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 108px;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0;
}
.s4b .s4b-headline .row { display: block; white-space: nowrap; }
.s4b .s4b-headline .accent { color: var(--novo-yellow); }
.s4b .s4b-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: rgba(241,241,241,0.7);
  max-width: 760px;
}

.s4b .s4b-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.s4b .s4b-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s4b .s4b-col-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--novo-yellow);
}
.s4b .s4b-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.s4b .s4b-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,219,13,0.18);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.s4b .s4b-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(255,219,13,0.08) 0%, transparent 50%);
}
.s4b .s4b-icon {
  font-size: 56px;
  color: var(--novo-yellow);
  line-height: 1;
}
.s4b .s4b-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.s4b .s4b-card-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(241,241,241,0.6);
  margin-top: 8px;
}

.s4b .s4b-feed {
  border-top: 1px solid rgba(255,219,13,0.18);
  padding-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.s4b .s4b-feed-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--novo-yellow);
  white-space: nowrap;
}
.s4b .s4b-feed-stream {
  position: relative;
  overflow: hidden;
  height: 40px;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.s4b .s4b-feed-track {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: feed-scroll 60s linear infinite;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 16px;
  width: max-content;
}
@keyframes feed-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.s4b .s4b-feed-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.s4b .s4b-feed-time {
  color: rgba(241,241,241,0.4);
}
.s4b .s4b-feed-tag {
  background: var(--novo-yellow);
  color: var(--novo-black);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.s4b .s4b-feed-tag.tag-page { background: var(--novo-off-white); }
.s4b .s4b-feed-tag.tag-sys  { background: var(--novo-red); color: var(--novo-off-white); }
.s4b .s4b-feed-msg {
  color: rgba(241,241,241,0.85);
}
/* ============================================================
   SLIDE 5 — Recrutamento
   ============================================================ */
.s5 {
  background: var(--novo-yellow);
  color: var(--novo-black);
  padding: 110px 120px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.s5 .left { display: flex; flex-direction: column; gap: 36px; }
.s5 .eyebrow { color: var(--novo-black); }
.s5 .headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 168px;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.s5 .headline .scribble-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.s5 .headline .scribble-wrap .scribble-text {
  position: relative;
  z-index: 1;
}
.s5 .headline .scribble-wrap::before {
  content: '';
  position: absolute;
  left: -4%; top: -10%;
  width: 108%; height: 128%;
  background: url('brand/motif-circle-scribble-red.svg') center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
  clip-path: inset(0 0 50% 0);
}
.s5 .headline .scribble-wrap img {
  position: absolute;
  left: -4%; top: -10%;
  width: 108%; height: 128%;
  pointer-events: none;
  z-index: 2;
  clip-path: inset(50% 0 0 0);
}
.s5 .sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.35;
  max-width: 760px;
}
.s5 .sub b { font-weight: 600; }
.s5 .stacks {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 8px;
}
.s5 .stacks .chip {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--novo-black);
  color: var(--novo-yellow);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.s5 .stacks .chip i { font-size: 22px; }

.s5 .right {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.s5 .right .qr-card {
  background: var(--novo-black);
  border-radius: 28px;
  padding: 36px;
  text-align: center;
  width: 480px;
}
.s5 .right .qr-card .qr-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  display: grid; place-items: center;
}
.s5 .right .qr-card .qr-wrap svg,
.s5 .right .qr-card .qr-wrap img { width: 100%; height: auto; aspect-ratio: 1 / 1; display: block; }
.s5 .right .qr-card .label {
  margin-top: 22px;
  color: var(--novo-off-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.s5 .right .qr-card .label .accent { color: var(--novo-yellow); }

/* ============================================================
   SLIDE 6 — Contato / Loop close
   ============================================================ */
.s6 {
  background: var(--novo-black);
  color: var(--novo-off-white);
  padding: 110px 120px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}
.s6 .hex-strip {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 280px;
  background-image: url('brand/motif-hex-pattern.svg');
  background-size: 280px auto;
  background-repeat: repeat-y;
  opacity: 0.5;
  animation: strip-drift 30s linear infinite;
}
@keyframes strip-drift {
  from { background-position: 0 0; }
  to   { background-position: 0 -560px; }
}
.s6 .top { display: flex; align-items: center; justify-content: space-between; }
.s6 .top .wordmark { height: 92px; }
.s6 .top .right {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--novo-yellow);
  text-align: right;
}
.s6 .top .right .big {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--novo-off-white);
  margin-top: 6px;
}
.s6 .mid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  z-index: 2;
}
.s6 .mid .left {
  display: flex; flex-direction: column; gap: 32px;
}
.s6 .mid .left .pass {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 124px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.s6 .mid .left .pass .row { display: block; white-space: nowrap; }
.s6 .mid .left .pass .accent {
  color: var(--novo-yellow);
  position: relative; display: inline-block;
}
.s6 .mid .left .pass .scribble-wrap img {
  position: absolute;
  left: -4%; top: -10%;
  width: 108%; height: 128%;
  pointer-events: none;
}
.s6 .mid .left .channels {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 18px 60px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.04em;
}
.s6 .mid .left .channels .ch {
  display: inline-flex; align-items: center; gap: 16px;
}
.s6 .mid .left .channels .ch i {
  font-size: 28px;
  color: var(--novo-yellow);
}
.s6 .right .qr-card {
  background: var(--novo-yellow);
  border-radius: 28px;
  padding: 36px;
  text-align: center;
  width: 460px;
}
.s6 .right .qr-card .qr-wrap {
  background: var(--novo-black);
  border-radius: 18px;
  padding: 22px;
}
.s6 .right .qr-card .qr-wrap svg { width: 100%; height: auto; display: block; }
.s6 .right .qr-card .label {
  margin-top: 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--novo-black);
}
.s6 .bottom {
  border-top: 1px solid rgba(241,241,241,0.16);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,241,241,0.55);
  z-index: 2;
}
.s6 .bottom .pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--novo-yellow);
  box-shadow: 0 0 12px var(--novo-yellow);
  animation: dot-pulse 1.4s ease-in-out infinite;
  display: inline-block;
  margin-right: 12px;
  vertical-align: middle;
}

/* ============================================================
   TWEAKS body class
   ============================================================ */
body.tv-clean #stage { background: var(--novo-black); }
