/*
  Keynote IA — HTML/CSS/JS puro.
  Direção visual: branco limpo, preto forte, laranja vivo de evento,
  títulos enormes e demos que parecem produto real.
*/

:root {
  --white: #ffffff;
  --paper: #fff8f1;
  --ink: #060606;
  --muted: #5d534d;
  --soft: #eee6df;
  --orange: #ff5a00;
  --orange-dark: #d94600;
  --line: rgba(6, 6, 6, 0.12);
  --shadow: 0 32px 90px rgba(6, 6, 6, 0.14);
  --radius: 34px;
  --font: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 90, 0, .16), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fffaf4 52%, #f2ebe4 100%);
  color: var(--ink);
  font-family: var(--font);
}

body { letter-spacing: -0.01em; }

button,
input { font: inherit; }

.motion-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  mix-blend-mode: multiply;
}

.content-status {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 80;
  transform: translateX(-50%);
  max-width: min(760px, calc(100vw - 32px));
  padding: .8rem 1.05rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(6, 6, 6, .16);
  font-weight: 850;
  text-align: center;
}

.content-status[hidden] {
  display: none;
}

.deck {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(4%) scale(.985);
  transition:
    opacity .58s ease,
    transform .72s cubic-bezier(.18, .82, .22, 1),
    visibility .72s;
  padding: clamp(44px, 6vh, 72px) clamp(54px, 7vw, 120px);
  isolation: isolate;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 90, 0, .065) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 90, 0, .045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 62%);
  opacity: .55;
  animation: gridMove 22s linear infinite;
}

.slide::after {
  content: "";
  position: absolute;
  inset: auto -12% -36% auto;
  width: 58vw;
  height: 58vw;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 0, .15), transparent 64%);
  filter: blur(12px);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.slide.is-leaving {
  transform: translateX(-4%) scale(.985);
  opacity: 0;
}

.kicker {
  margin: 0 0 1.15rem;
  color: var(--orange);
  font-size: clamp(.78rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  line-height: .9;
  letter-spacing: -.075em;
}

h1 {
  font-size: clamp(4.4rem, 8vw, 9.4rem);
}

h2 {
  font-size: clamp(3.7rem, 6.6vw, 8rem);
}

h1 span,
h2 span {
  color: var(--orange);
}

.lead {
  max-width: 780px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.35rem, 1.8vw, 2.15rem);
  line-height: 1.22;
  letter-spacing: -.035em;
}

.slide-number {
  position: absolute;
  right: 4vw;
  top: 4vh;
  color: rgba(6, 6, 6, .42);
  font: 800 .86rem ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
}

.copy-block {
  position: relative;
  z-index: 3;
}

.copy-block.compact {
  max-width: 930px;
}

.brand-mark {
  position: absolute;
  left: clamp(34px, 4vw, 72px);
  top: clamp(28px, 4vh, 52px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -.06em;
  font-size: 1.35rem;
}

.brand-mark span {
  color: var(--orange);
}

/* Slide 1 */
.cover-layout {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}

.cover .copy-block {
  padding-top: 4vh;
}

.highlight-line {
  display: inline-flex;
  margin: 1.35rem 0 0;
  padding: .4rem .8rem .48rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: clamp(1.45rem, 2vw, 2.3rem);
  font-weight: 850;
  letter-spacing: -.04em;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
}

.chip-row span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  border-radius: 999px;
  padding: .7rem 1rem;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(6, 6, 6, .06);
}

.cover-stage {
  position: relative;
  min-height: 68vh;
  perspective: 1400px;
}

.poster-stack {
  position: absolute;
  inset: 3% 0 auto 14%;
  height: min(58vh, 650px);
  transform-style: preserve-3d;
  animation: stageFloat 7s ease-in-out infinite;
}

.poster-card,
.ticket-card {
  position: absolute;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.poster-card {
  width: min(30vw, 405px);
  aspect-ratio: 1;
  object-position: center;
  transform: rotate(-4deg) translateZ(80px);
}

.ticket-card {
  width: min(18vw, 260px);
  aspect-ratio: 3/4;
  right: -13%;
  bottom: -8%;
  transform: rotate(7deg) translateZ(150px);
}

.presenter-card,
.final-speaker {
  position: absolute;
  left: 0;
  bottom: 7%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1.25rem .75rem .75rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 22px 58px rgba(6, 6, 6, .12);
  backdrop-filter: blur(18px);
}

.speaker-photo {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 18% 46%;
  border: 3px solid var(--orange);
}

.presenter-card strong,
.final-speaker strong {
  display: block;
  font-size: 1.12rem;
}

.presenter-card span,
.final-speaker span {
  display: block;
  margin-top: .16rem;
  color: var(--muted);
  font-size: .95rem;
}

.orange-orb {
  position: absolute;
  right: 10%;
  top: 20%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 10%, #ff8a36 11% 38%, #ff5a00 39% 70%, #120600 71%);
  box-shadow: 0 0 0 18px rgba(255, 90, 0, .06), 0 30px 80px rgba(255, 90, 0, .24);
  animation: orbPulse 4.2s ease-in-out infinite;
}

.orange-orb span {
  position: absolute;
  inset: -38px;
  border: 2px solid rgba(255, 90, 0, .22);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

/* Slide 2 */
.scene {
  height: 100%;
  display: grid;
  align-items: center;
  gap: 3rem;
}

.scene-two {
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
}

.statement {
  max-width: 760px;
  margin: 1.6rem 0 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.2vw, 2.55rem);
  line-height: 1.16;
  font-weight: 760;
  letter-spacing: -.05em;
}

.comparison-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 86px 1fr;
  align-items: center;
  gap: 1.2rem;
}

.compare-card {
  min-height: 420px;
  padding: 2.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.compare-card small {
  display: inline-flex;
  padding: .48rem .68rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
  letter-spacing: .12em;
}

.after-card small {
  background: var(--orange);
}

.compare-card h3 {
  margin: 1.35rem 0 1.15rem;
  font-size: clamp(2.1rem, 2.9vw, 3.55rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.compare-card ul {
  display: grid;
  gap: .9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-card li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.35vw, 1.55rem);
  line-height: 1.25;
}

.compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--orange);
}

.before-card {
  transform: rotate(-1.5deg);
}

.after-card {
  transform: rotate(1.5deg);
  border-color: rgba(255, 90, 0, .35);
}

.shift-indicator {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 3rem;
  box-shadow: 0 22px 54px rgba(6, 6, 6, .18);
}

.scene-photo {
  position: absolute;
  inset: auto -6vw 2vh auto;
  width: 43vw;
  height: 42vh;
  object-fit: cover;
  border-radius: 36px;
  opacity: .16;
  filter: grayscale(.25) contrast(1.05);
  z-index: -1;
}

/* Slide 2 — Cenas cinematográficas do "Antes → Agora" */
.impact-cinema {
  position: relative;
  min-height: clamp(560px, 68vh, 760px);
  border: 1px solid rgba(6, 6, 6, .12);
  border-radius: 44px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 90, 0, .16), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(6, 6, 6, .08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 246, 239, .9));
  box-shadow: 0 42px 96px rgba(6, 6, 6, .16);
  overflow: hidden;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.impact-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 6, 6, .025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0 46%, transparent 82%);
  opacity: .75;
  pointer-events: none;
}

.impact-cinema::after {
  content: "";
  position: absolute;
  inset: auto -18% -42% 24%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(255, 90, 0, .22), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.impact-steps {
  position: absolute;
  z-index: 8;
  top: 22px;
  left: 24px;
  right: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .62rem;
}

.impact-steps button {
  min-height: 48px;
  border: 1px solid rgba(6, 6, 6, .12);
  border-radius: 999px;
  padding: .62rem .78rem;
  background: rgba(255, 255, 255, .76);
  color: rgba(6, 6, 6, .56);
  font-size: clamp(.68rem, .8vw, .84rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.impact-steps button.is-active {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(255, 90, 0, .24);
  transform: translateY(-2px);
}

.impact-steps button.is-complete {
  color: var(--ink);
  background: rgba(6, 6, 6, .06);
}

.cinema-frame {
  position: absolute;
  z-index: 3;
  inset: 92px 34px 132px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(80px) translateZ(-180px) rotateY(-12deg) scale(.92);
  filter: blur(8px);
  transition:
    opacity .68s cubic-bezier(.18, .82, .22, 1),
    transform .78s cubic-bezier(.18, .82, .22, 1),
    filter .68s ease;
}

.impact.impact-stage-0 .impact-layer-0,
.impact.impact-stage-1 .impact-layer-1,
.impact.impact-stage-2 .impact-layer-2,
.impact.impact-stage-3 .impact-layer-3 {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateZ(0) rotateY(0) scale(1);
  filter: blur(0);
}

.impact.impact-stage-1 .impact-layer-0,
.impact.impact-stage-2 .impact-layer-1,
.impact.impact-stage-3 .impact-layer-2 {
  transform: translateX(-90px) translateZ(-220px) rotateY(14deg) scale(.88);
}

.browser-mock,
.document-mock,
.ai-chat-mock {
  position: relative;
  width: min(760px, 100%);
  border: 2px solid rgba(6, 6, 6, .9);
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 22px 28px 0 rgba(6, 6, 6, .92), 0 34px 80px rgba(6, 6, 6, .18);
  overflow: hidden;
}

.browser-mock {
  transform: rotateY(-7deg) rotateX(3deg);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: .48rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(6, 6, 6, .1);
  background: rgba(6, 6, 6, .035);
}

.mock-topbar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.mock-topbar i:nth-child(2) {
  background: rgba(6, 6, 6, .24);
}

.mock-topbar i:nth-child(3) {
  background: rgba(6, 6, 6, .12);
}

.mock-topbar span {
  margin-left: .5rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 900;
}

.search-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1.35rem;
  padding: 1.05rem 1.15rem;
  border: 2px solid rgba(6, 6, 6, .08);
  border-radius: 999px;
  background: var(--white);
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  box-shadow: 0 18px 42px rgba(6, 6, 6, .08);
}

.search-row b {
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: -.03em;
}

.impact.impact-stage-0 .search-row b {
  width: 0;
  animation: queryTyping 2.4s .18s steps(34) both;
}

.site-stack {
  position: relative;
  display: grid;
  gap: .76rem;
  padding: 0 1.35rem 1.35rem;
}

.site-stack article {
  display: flex;
  gap: .9rem;
  align-items: center;
  min-height: 68px;
  padding: .82rem 1rem;
  border: 1px solid rgba(6, 6, 6, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(6, 6, 6, .07);
  opacity: 0;
  transform: translateY(22px) rotateX(-16deg);
}

.impact.impact-stage-0 .site-stack article {
  animation: siteFlip .72s cubic-bezier(.18, .82, .22, 1) both;
  animation-delay: calc(.72s + (var(--i) * .2s));
}

.site-stack article span {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 90, 0, .92), rgba(255, 139, 54, .38)),
    radial-gradient(circle at 30% 30%, #fff 0 12%, transparent 13%);
}

.site-stack b {
  display: block;
  font-size: clamp(1.05rem, 1.28vw, 1.34rem);
  letter-spacing: -.04em;
}

.site-stack small {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 800;
}

.time-ghost {
  position: absolute;
  right: 4%;
  top: 18%;
  display: grid;
  gap: 1rem;
  transform: rotate(4deg);
}

.time-ghost span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(6, 6, 6, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  color: rgba(6, 6, 6, .38);
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(6, 6, 6, .08);
  backdrop-filter: blur(14px);
}

.impact.impact-stage-0 .time-ghost span {
  animation: timeDrift 3.8s ease-in-out infinite;
}

.impact.impact-stage-0 .time-ghost span:nth-child(2) { animation-delay: .4s; }
.impact.impact-stage-0 .time-ghost span:nth-child(3) { animation-delay: .8s; }

.document-mock {
  width: min(680px, 100%);
  min-height: 430px;
  padding-bottom: 1.4rem;
  transform: rotateY(6deg) rotateX(2deg);
}

.document-mock header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(6, 6, 6, .1);
  font-weight: 950;
}

.document-mock header small {
  padding: .38rem .7rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.toolbar-line {
  height: 44px;
  margin: 1rem 1.25rem 0;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, .14) 0 13%, transparent 13% 16%, rgba(6, 6, 6, .1) 16% 30%, transparent 30% 34%, rgba(255, 90, 0, .34) 34% 45%, transparent 45%);
}

.typing-paper {
  margin: 1rem auto 0;
  width: 78%;
  min-height: 285px;
  padding: 2rem 1.7rem;
  border: 1px solid rgba(6, 6, 6, .08);
  background: linear-gradient(#fff, #fff7f1);
  box-shadow: 0 18px 46px rgba(6, 6, 6, .08);
}

.typed-line {
  height: 18px;
  margin: 0 0 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  transform-origin: left center;
}

.typed-line.long { width: 92%; }
.typed-line.medium { width: 68%; }
.typed-line.short { width: 48%; background: var(--orange); }
.typed-line.muted-line { width: 78%; opacity: .18; }

.impact.impact-stage-1 .typed-line {
  transform: scaleX(0);
  animation: lineWrite .7s cubic-bezier(.18, .82, .22, 1) both;
}

.impact.impact-stage-1 .typed-line:nth-child(2) { animation-delay: .48s; }
.impact.impact-stage-1 .typed-line:nth-child(3) { animation: lineErase 1.2s 1.05s ease-in-out both; }
.impact.impact-stage-1 .typed-line:nth-child(4) { animation-delay: 1.6s; }

.typing-cursor {
  width: 6px;
  height: 36px;
  margin: .2rem 0 0;
  border-radius: 999px;
  background: var(--orange);
  animation: cursorBlink .72s steps(2) infinite;
}

.revision-badges {
  position: absolute;
  left: 4%;
  bottom: 8%;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.revision-badges span {
  padding: .68rem .88rem;
  border: 1px solid rgba(6, 6, 6, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--muted);
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(6, 6, 6, .08);
}

.impact.impact-stage-1 .revision-badges span {
  animation: badgePop .62s cubic-bezier(.18, .82, .22, 1) both;
}

.impact.impact-stage-1 .revision-badges span:nth-child(2) { animation-delay: .22s; }
.impact.impact-stage-1 .revision-badges span:nth-child(3) { animation-delay: .44s; }

.team-orbit {
  position: relative;
  width: min(680px, 100%);
  aspect-ratio: 1.35;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 12%;
  border: 2px dashed rgba(255, 90, 0, .35);
  border-radius: 50%;
}

.ring-b {
  inset: 24%;
  border-color: rgba(6, 6, 6, .14);
  transform: rotate(18deg);
}

.impact.impact-stage-2 .ring-a { animation: spin 18s linear infinite; }
.impact.impact-stage-2 .ring-b { animation: spin 14s linear infinite reverse; }

.team-orbit::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 90deg, transparent 0 12%, rgba(255, 90, 0, .24) 13% 14%, transparent 15% 37%, rgba(6, 6, 6, .18) 38% 39%, transparent 40% 62%, rgba(255, 90, 0, .2) 63% 64%, transparent 65%);
  mask-image: radial-gradient(circle, transparent 0 43%, #000 44% 46%, transparent 47%);
}

.project-core {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: .45rem;
  width: clamp(190px, 16vw, 250px);
  height: clamp(190px, 16vw, 250px);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 18px 22px 0 var(--ink), 0 34px 76px rgba(6, 6, 6, .16);
  text-align: center;
}

.project-core b {
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  letter-spacing: -.07em;
}

.project-core span {
  max-width: 150px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.08;
}

.team-node {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: .34rem;
  min-width: 126px;
  padding: .74rem .9rem;
  border: 1px solid rgba(6, 6, 6, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 50px rgba(6, 6, 6, .12);
  opacity: 0;
  transform: scale(.78);
}

.team-node i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  font-style: normal;
}

.team-node span {
  color: var(--ink);
  font-size: .94rem;
  font-weight: 950;
}

.node-0 { top: 3%; left: 40%; }
.node-1 { top: 30%; right: 0; }
.node-2 { bottom: 6%; right: 18%; }
.node-3 { bottom: 8%; left: 12%; }
.node-4 { top: 28%; left: 0; }

.impact.impact-stage-2 .team-node {
  animation: nodeArrive .72s cubic-bezier(.18, .82, .22, 1) both, floatTeam 4.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * .16s), calc(.8s + (var(--i) * .18s));
}

.ai-chat-mock {
  width: min(700px, 100%);
  min-height: 500px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 90, 0, .38), transparent 32%),
    linear-gradient(145deg, #070707, #18110c);
  box-shadow: 24px 28px 0 var(--orange), 0 38px 92px rgba(6, 6, 6, .24);
  transform: rotateY(-4deg) rotateX(3deg);
}

.ai-chat-mock header {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.ai-dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--orange);
  color: var(--white);
  font-weight: 950;
  box-shadow: 0 0 0 10px rgba(255, 90, 0, .12);
}

.ai-chat-mock strong {
  display: block;
  font-size: 1.35rem;
}

.ai-chat-mock header span {
  color: rgba(255, 255, 255, .64);
  font-weight: 800;
}

.ai-chat-body {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.chat-bubble {
  max-width: 84%;
  padding: 1.05rem 1.1rem;
  border-radius: 24px;
  font-size: clamp(1.05rem, 1.35vw, 1.38rem);
  line-height: 1.2;
  font-weight: 820;
  opacity: 0;
  transform: translateY(18px);
}

.chat-bubble.user {
  justify-self: end;
  color: var(--ink);
  background: var(--white);
  border-bottom-right-radius: 8px;
}

.chat-bubble.ai {
  justify-self: start;
  background: rgba(255, 90, 0, .95);
  border-bottom-left-radius: 8px;
}

.impact.impact-stage-3 .chat-bubble.user {
  animation: bubbleIn .55s .2s cubic-bezier(.18, .82, .22, 1) both;
}

.impact.impact-stage-3 .chat-bubble.ai {
  animation: bubbleIn .55s .9s cubic-bezier(.18, .82, .22, 1) both;
}

.instant-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: .6rem;
}

.instant-results span {
  min-height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  font-weight: 950;
  letter-spacing: -.04em;
  opacity: 0;
  transform: translateY(20px) scale(.92);
}

.impact.impact-stage-3 .instant-results span {
  animation: resultRise .58s cubic-bezier(.18, .82, .22, 1) both;
  animation-delay: calc(1.45s + (var(--i, 0) * .16s));
}

.instant-results span:nth-child(2) { --i: 1; }
.instant-results span:nth-child(3) { --i: 2; }

.now-glow {
  position: absolute;
  right: 2%;
  bottom: 10%;
  color: rgba(255, 90, 0, .18);
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 950;
  letter-spacing: -.08em;
  transform: rotate(-8deg);
  pointer-events: none;
}

.impact-caption {
  position: absolute;
  z-index: 9;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  grid-template-columns: auto minmax(230px, .8fr) minmax(280px, 1.3fr);
  gap: .9rem;
  align-items: center;
  padding: .95rem 1rem;
  border: 1px solid rgba(6, 6, 6, .1);
  border-radius: 26px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 50px rgba(6, 6, 6, .1);
  backdrop-filter: blur(18px);
}

.impact-caption small {
  display: inline-grid;
  place-items: center;
  min-width: 76px;
  padding: .58rem .76rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.impact.impact-stage-3 .impact-caption small {
  background: var(--orange);
}

.impact-caption strong {
  font-size: clamp(1.1rem, 1.45vw, 1.55rem);
  letter-spacing: -.05em;
  line-height: 1;
}

.impact-caption span {
  color: var(--muted);
  font-size: clamp(1rem, 1.14vw, 1.18rem);
  font-weight: 760;
  line-height: 1.18;
}

/* Slide 3 — Mapa das IAs */
.tools {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 90, 0, .13), transparent 28%),
    radial-gradient(circle at 15% 72%, rgba(6, 6, 6, .07), transparent 26%),
    linear-gradient(135deg, #fff 0%, #fff9f2 52%, #f2ebe4 100%);
}

.tools-scene {
  grid-template-columns: minmax(360px, .72fr) minmax(660px, 1.28fr);
}

.tools .copy-block h2 {
  font-size: clamp(3.4rem, 5.65vw, 7.15rem);
}

.toolkit-board {
  position: relative;
  min-height: clamp(580px, 70vh, 760px);
  border: 1px solid rgba(6, 6, 6, .1);
  border-radius: 46px;
  padding: clamp(22px, 2.3vw, 34px);
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 90, 0, .18), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 246, 238, .82));
  box-shadow: 0 42px 100px rgba(6, 6, 6, .15);
  overflow: hidden;
}

.toolkit-board::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 80deg, transparent 0 18%, rgba(255, 90, 0, .16) 20% 21%, transparent 23% 42%, rgba(6, 6, 6, .08) 44% 45%, transparent 47% 100%);
  animation: spin 28s linear infinite;
  opacity: .8;
}

.toolkit-board::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 34px;
  border: 1px solid rgba(6, 6, 6, .08);
  pointer-events: none;
}

.toolkit-core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: clamp(154px, 11vw, 210px);
  height: clamp(154px, 11vw, 210px);
  display: grid;
  place-items: center;
  gap: .15rem;
  transform: translate(-50%, -50%);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 14px 18px 0 var(--ink), 0 30px 76px rgba(6, 6, 6, .16);
  text-align: center;
}

.toolkit-core span {
  font-size: clamp(2.6rem, 4.4vw, 5.4rem);
  font-weight: 950;
  letter-spacing: -.08em;
}

.toolkit-core i {
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
}

.toolkit-core b {
  max-width: 112px;
  color: var(--muted);
  font-size: clamp(.78rem, .85vw, .95rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tool-grid {
  position: relative;
  z-index: 4;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.2vw, 22px);
}

.ai-tool-card {
  position: relative;
  min-height: 226px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  padding: clamp(18px, 1.5vw, 26px);
  border: 1px solid rgba(6, 6, 6, .12);
  border-radius: 30px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 58px rgba(6, 6, 6, .1);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transform: translateY(18px);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.ai-tool-card::before {
  content: "";
  position: absolute;
  inset: auto -24% -36% 18%;
  height: 64%;
  background: radial-gradient(ellipse, rgba(255, 90, 0, .2), transparent 64%);
  opacity: .85;
}

.ai-tool-card:first-child {
  grid-column: span 2;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 90, 0, .44), transparent 30%),
    linear-gradient(145deg, #060606, #17100b);
  border-color: rgba(6, 6, 6, .92);
  box-shadow: 18px 22px 0 var(--orange), 0 34px 80px rgba(6, 6, 6, .22);
}

.ai-tool-card:hover {
  transform: translateY(6px) scale(1.01);
  border-color: rgba(255, 90, 0, .35);
  box-shadow: 0 34px 80px rgba(6, 6, 6, .16);
}

.ai-brand-mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(62px, 5vw, 86px);
  height: clamp(62px, 5vw, 86px);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(6, 6, 6, .06);
}

.ai-tool-card:first-child .ai-brand-mark {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
}

.ai-brand-mark.has-image {
  padding: .65rem;
  background: rgba(255, 255, 255, .96);
  box-shadow: inset 0 0 0 1px rgba(6, 6, 6, .08), 0 14px 36px rgba(6, 6, 6, .1);
}

.ai-tool-card:first-child .ai-brand-mark.has-image {
  background: rgba(255, 255, 255, .98);
}

.ai-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ai-brand-mark svg {
  width: 70%;
  height: 70%;
}

.ai-brand-mark svg circle,
.ai-brand-mark svg rect,
.ai-brand-mark svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-gemini .ai-brand-mark,
.logo-canva .ai-brand-mark,
.logo-image .ai-brand-mark {
  color: var(--white);
  background: var(--orange);
}

.logo-claude .ai-brand-mark {
  color: var(--orange);
  background: rgba(255, 90, 0, .1);
}

.logo-copilot .ai-brand-mark,
.logo-midjourney .ai-brand-mark {
  color: var(--white);
  background: var(--ink);
}

.ai-tool-copy {
  position: relative;
  z-index: 2;
  align-self: end;
}

.ai-tool-copy small {
  display: inline-flex;
  margin-bottom: .68rem;
  color: var(--orange);
  font-size: clamp(.72rem, .74vw, .88rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ai-tool-card:first-child .ai-tool-copy small {
  color: #ffb484;
}

.ai-tool-copy h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.25vw, 3rem);
  line-height: .92;
  letter-spacing: -.07em;
}

.ai-tool-card:first-child .ai-tool-copy h3 {
  font-size: clamp(2.4rem, 3.6vw, 4.8rem);
}

.ai-tool-copy p {
  max-width: 440px;
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  line-height: 1.18;
  font-weight: 760;
}

.ai-tool-card:first-child .ai-tool-copy p {
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.1rem, 1.2vw, 1.34rem);
}

.tools-quote {
  position: absolute;
  left: clamp(54px, 7vw, 120px);
  right: clamp(54px, 7vw, 120px);
  bottom: clamp(24px, 3vh, 40px);
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.75vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.05em;
}

.is-active .ai-tool-card {
  animation: itemIn .58s cubic-bezier(.18, .82, .22, 1) both;
  animation-delay: calc(.1s + (var(--i) * .065s));
}

/* Slide 4 — Demo */
.demo {
  padding: clamp(30px, 4.8vh, 58px) clamp(34px, 5vw, 80px);
}

.demo-layout {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(330px, .86fr) minmax(560px, 1.14fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}

.demo-copy {
  position: relative;
  z-index: 6;
}

.demo-copy h2 {
  font-size: clamp(3.3rem, 5.7vw, 7.2rem);
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  margin-top: 2rem;
}

.demo-steps button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .72rem .35rem;
  background: rgba(255, 255, 255, .78);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: .25s ease;
}

.demo-steps button.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(255, 90, 0, .22);
}

.capability-list {
  display: grid;
  gap: .75rem;
  margin-top: 1.4rem;
}

.capability-list article {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 34px rgba(6, 6, 6, .06);
}

.capability-list b {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.capability-list span {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  line-height: 1.25;
}

.demo-stage {
  position: relative;
  min-height: 74vh;
  perspective: 1600px;
}

.demo-photo {
  position: absolute;
  object-fit: cover;
  border-radius: 32px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.photo-a {
  right: 2%;
  top: 2%;
  width: 38%;
  aspect-ratio: 1.25;
  opacity: .62;
  transform: rotate(5deg) translateZ(80px);
}

.photo-b {
  left: -4%;
  bottom: 0;
  width: 31%;
  aspect-ratio: .78;
  opacity: .55;
  object-position: 50% 35%;
  transform: rotate(-6deg) translateZ(110px);
}

.product-window {
  position: absolute;
  left: 11%;
  right: 4%;
  top: 10%;
  min-height: 64vh;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 40px 100px rgba(6, 6, 6, .22);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(4deg) translateZ(140px);
  transform-style: preserve-3d;
}

.window-bar {
  height: 72px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0 1.4rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.window-bar div {
  display: flex;
  gap: .45rem;
}

.window-bar i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
}

.window-bar i:nth-child(2) { background: var(--ink); }
.window-bar i:nth-child(3) { background: #ddd5cf; }

.window-bar strong {
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.window-bar span {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.chat-canvas {
  position: relative;
  min-height: calc(64vh - 144px);
  padding: 2rem;
  background:
    linear-gradient(90deg, rgba(255, 90, 0, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 90, 0, .04) 1px, transparent 1px),
    #fffaf6;
  background-size: 46px 46px;
}

.demo-layer {
  opacity: 0;
  transform: translateY(22px) scale(.98);
  transition: opacity .5s ease, transform .55s cubic-bezier(.18, .82, .22, 1);
}

.demo.stage-0 .layer-0,
.demo.stage-1 .layer-1,
.demo.stage-2 .layer-1,
.demo.stage-2 .layer-2,
.demo.stage-3 .layer-1,
.demo.stage-3 .layer-2,
.demo.stage-3 .layer-3,
.demo.stage-4 .layer-1,
.demo.stage-4 .layer-2,
.demo.stage-4 .layer-3,
.demo.stage-4 .layer-4 {
  opacity: 1;
  transform: none;
}

.empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .55rem;
  text-align: center;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  font-weight: 950;
  box-shadow: 0 22px 46px rgba(6, 6, 6, .18);
}

.empty-state h3 {
  margin: .7rem 0 0;
  font-size: clamp(2rem, 2.6vw, 3rem);
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.message {
  max-width: 78%;
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(6, 6, 6, .07);
}

.message small,
.result-panel small {
  display: block;
  margin-bottom: .38rem;
  color: var(--orange);
  font-weight: 950;
  letter-spacing: .11em;
  font-size: .72rem;
}

.message p,
.result-panel p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.25vw, 1.42rem);
  line-height: 1.25;
}

.message.user {
  margin-left: auto;
  border-color: rgba(255, 90, 0, .28);
  background: #fff2e9;
}

.message.ai {
  background: var(--ink);
}

.message.ai small,
.message.ai p {
  color: var(--white);
}

.message.task {
  border-width: 2px;
}

.result-panel {
  margin-top: .7rem;
  padding: 1.15rem;
  border: 2px solid var(--orange);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(255, 90, 0, .14);
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}

.solution-cards article {
  min-height: 116px;
  padding: .9rem;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
}

.solution-cards b {
  display: block;
  color: var(--orange);
  font-size: 1rem;
}

.solution-cards span {
  display: block;
  margin-top: .45rem;
  line-height: 1.18;
}

.prompt-bar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.prompt-bar span {
  color: var(--muted);
  font-weight: 800;
}

.prompt-bar b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--white);
}

.floating-output {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 24px 52px rgba(6, 6, 6, .22);
  animation: floatTile 4.2s ease-in-out infinite;
}

.floating-output.one { right: 2%; bottom: 18%; color: var(--orange); }
.floating-output.two { left: 6%; top: 10%; animation-delay: .6s; }
.floating-output.three { right: 20%; bottom: 2%; animation-delay: 1.1s; }

/* Slide 4 */
.prompt-scene {
  grid-template-columns: minmax(0, .92fr) minmax(540px, 1.08fr);
}

.prompt-system {
  display: grid;
  gap: 1rem;
}

.formula-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.formula-row article {
  min-height: 210px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow);
}

.formula-row span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--orange);
  color: var(--white);
  font-weight: 950;
}

.formula-row b {
  display: block;
  margin-top: 1.6rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.formula-row small {
  display: block;
  margin-top: .5rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.2;
}

.prompt-examples {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 1rem;
}

.bad-prompt,
.good-prompt {
  min-height: 190px;
  padding: 1.4rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 22px 58px rgba(6, 6, 6, .1);
}

.good-prompt {
  border: 3px solid var(--orange);
}

.prompt-examples small {
  color: var(--orange);
  font-weight: 950;
  letter-spacing: .11em;
}

.prompt-examples p {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.45vw, 1.7rem);
  line-height: 1.22;
  letter-spacing: -.035em;
}

/* Slide 5 */
.decision-scene {
  grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
}

.decision-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 1rem;
}

.decision-flow span {
  display: grid;
  place-items: center;
  min-height: 126px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: clamp(1.25rem, 1.6vw, 1.8rem);
  font-weight: 900;
}

.decision-flow span:nth-of-type(3),
.decision-flow span:nth-of-type(6) {
  background: var(--orange);
  color: var(--white);
}

.decision-flow i {
  display: none;
}

.decision-quote {
  position: absolute;
  left: clamp(54px, 7vw, 120px);
  right: clamp(54px, 7vw, 120px);
  bottom: 8vh;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.2vw, 2.6rem);
  line-height: 1.1;
  font-weight: 780;
  letter-spacing: -.05em;
}

/* Slide 6 */
.finale {
  display: grid;
  place-items: center;
  text-align: center;
}

.final-layout {
  position: relative;
  z-index: 4;
  max-width: 1120px;
}

.final-layout h2 {
  font-size: clamp(4rem, 7vw, 9.2rem);
}

.final-quote {
  max-width: 860px;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: clamp(1.35rem, 1.75vw, 2rem);
  line-height: 1.26;
}

.final-cta {
  display: inline-flex;
  margin: 1.55rem auto 0;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  font-weight: 900;
}

.final-speaker {
  position: relative;
  left: auto;
  bottom: auto;
  width: max-content;
  margin: 1.6rem auto 0;
  text-align: left;
}

.final-ticket {
  position: absolute;
  right: 6vw;
  bottom: 7vh;
  width: min(16vw, 230px);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow);
  transform: rotate(5deg);
}

/* Navigation */
.controls {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 3.2vh;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(6, 6, 6, .1);
  transition: .2s ease;
}

.controls button:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.controls button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.progress {
  width: min(30vw, 360px);
  height: 5px;
  border-radius: 999px;
  background: rgba(6, 6, 6, .12);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 16.66%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ink), var(--orange));
  transition: width .42s ease;
}

.counter {
  position: fixed;
  z-index: 40;
  left: 4vw;
  bottom: 4.3vh;
  color: rgba(6, 6, 6, .54);
  font: 850 .78rem ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .1em;
}

/* Active animations */
.is-active .copy-block,
.is-active .demo-copy,
.is-active .final-layout {
  animation: riseIn .7s cubic-bezier(.18, .82, .22, 1) both;
}

.is-active .cover-stage,
.is-active .comparison-board,
.is-active .impact-cinema,
.is-active .toolkit-board,
.is-active .prompt-system,
.is-active .decision-flow,
.is-active .demo-stage {
  animation: stageIn .82s .12s cubic-bezier(.18, .82, .22, 1) both;
}

.is-active .compare-card li,
.is-active .formula-row article,
.is-active .decision-flow span,
.is-active .solution-cards article {
  animation: itemIn .58s cubic-bezier(.18, .82, .22, 1) both;
}

.is-active .compare-card li:nth-child(2),
.is-active .formula-row article:nth-child(2),
.is-active .decision-flow span:nth-of-type(2),
.is-active .solution-cards article:nth-child(2) { animation-delay: .12s; }

.is-active .compare-card li:nth-child(3),
.is-active .formula-row article:nth-child(3),
.is-active .decision-flow span:nth-of-type(3),
.is-active .solution-cards article:nth-child(3) { animation-delay: .24s; }

.is-active .decision-flow span:nth-of-type(4) { animation-delay: .36s; }
.is-active .decision-flow span:nth-of-type(5) { animation-delay: .48s; }
.is-active .decision-flow span:nth-of-type(6) { animation-delay: .60s; }

/* Demo stage-specific motion */
.demo.stage-1 .product-window,
.demo.stage-2 .product-window,
.demo.stage-3 .product-window,
.demo.stage-4 .product-window {
  animation: windowBreathe 4.4s ease-in-out infinite;
}

.demo.stage-1 .prompt-bar,
.demo.stage-3 .prompt-bar {
  box-shadow: inset 0 0 0 2px rgba(255, 90, 0, .28);
}

.demo.stage-2 .message.ai,
.demo.stage-4 .result-panel {
  animation: answerPop .65s cubic-bezier(.18, .82, .22, 1) both;
}

.demo.stage-4 .floating-output {
  background: var(--orange);
}

@keyframes gridMove {
  to { background-position: 152px 76px; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes stageIn {
  from { opacity: 0; transform: translateY(38px) rotateX(8deg) scale(.96); }
  to { opacity: 1; transform: none; }
}

@keyframes itemIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes stageFloat {
  50% { transform: translateY(-16px) rotateY(-4deg); }
}

@keyframes orbPulse {
  50% { transform: scale(1.06); filter: brightness(1.1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes floatTile {
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes windowBreathe {
  50% { transform: rotateY(-4deg) rotateX(3deg) translateZ(150px) translateY(-6px); }
}

@keyframes answerPop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@keyframes queryTyping {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes siteFlip {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes timeDrift {
  50% {
    transform: translateY(-12px) scale(1.04);
    color: rgba(255, 90, 0, .78);
  }
}

@keyframes lineWrite {
  to { transform: scaleX(1); }
}

@keyframes lineErase {
  0% { transform: scaleX(0); opacity: 1; }
  35% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(.08); opacity: .18; }
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

@keyframes badgePop {
  from { opacity: 0; transform: translateY(16px) scale(.9); }
  to { opacity: 1; transform: none; }
}

@keyframes nodeArrive {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatTeam {
  50% { translate: 0 -10px; }
}

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes resultRise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive / projector safety */
@media (max-width: 1100px), (max-height: 760px) {
  .slide { padding: 38px 42px 82px; }
  .cover-layout,
  .scene-two,
  .tools-scene,
  .prompt-scene,
  .decision-scene,
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .cover-stage {
    min-height: 260px;
  }

  .poster-stack,
  .photo-a,
  .photo-b,
  .floating-output,
  .final-ticket {
    display: none;
  }

  .presenter-card {
    position: relative;
    bottom: auto;
    margin-top: 1rem;
  }

  .product-window {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    min-height: 46vh;
    transform: none;
  }

  .chat-canvas {
    min-height: 360px;
  }

  .toolkit-board {
    min-height: auto;
  }

  .toolkit-core {
    display: none;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-tool-card:first-child {
    grid-column: span 2;
  }

  .impact-cinema {
    min-height: 560px;
  }

  .cinema-frame {
    inset: 88px 22px 138px;
  }

  .impact-caption {
    grid-template-columns: 1fr;
    align-items: start;
    gap: .42rem;
  }

  .browser-mock,
  .document-mock,
  .ai-chat-mock {
    box-shadow: 12px 14px 0 rgba(6, 6, 6, .92), 0 24px 60px rgba(6, 6, 6, .14);
  }

  .comparison-board {
    grid-template-columns: 1fr;
  }

  .shift-indicator {
    transform: rotate(90deg);
    margin: auto;
  }

  .formula-row,
  .prompt-examples,
  .solution-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  h1 { font-size: clamp(3rem, 13vw, 4.6rem); }
  h2 { font-size: clamp(2.7rem, 11vw, 4.2rem); }
  .lead { font-size: 1.1rem; }
  .tool-grid { grid-template-columns: 1fr; }
  .ai-tool-card,
  .ai-tool-card:first-child {
    grid-column: auto;
    min-height: 184px;
  }
  .tools-quote { display: none; }
  .impact-steps { grid-template-columns: repeat(2, 1fr); }
  .impact-steps button { min-height: 42px; }
  .impact-cinema { min-height: 620px; }
  .cinema-frame { inset: 134px 14px 164px; }
  .site-stack article:nth-child(n+4) { display: none; }
  .time-ghost,
  .revision-badges,
  .now-glow { display: none; }
  .instant-results { grid-template-columns: 1fr; }
  .project-core { width: 170px; height: 170px; }
  .team-node { min-width: 104px; padding: .56rem .7rem; }
  .demo-steps { grid-template-columns: repeat(2, 1fr); }
  .capability-list { display: none; }
  .decision-flow { grid-template-columns: 1fr; }
  .controls { bottom: 2vh; }
  .counter { display: none; }
  .motion-canvas { opacity: .32; }
}

/* Autoplay / modo ensaio */
.timer-pill {
  position: fixed;
  z-index: 45;
  right: 4vw;
  bottom: 3.35vh;
  display: grid;
  grid-template-columns: auto auto 82px;
  align-items: center;
  gap: .62rem;
  min-width: 174px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .62rem .78rem;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(6, 6, 6, .12);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.timer-pill b {
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.timer-pill i {
  position: relative;
  display: block;
  height: 5px;
  border-radius: 999px;
  background: rgba(6, 6, 6, .12);
  overflow: hidden;
}

.timer-pill em {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ink), var(--orange));
}

.timer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 90, 0, .45);
  animation: autoPulse 1.45s infinite;
}

.timer-pill.is-paused .timer-dot {
  background: rgba(6, 6, 6, .32);
  box-shadow: none;
  animation: none;
}

.timer-pill.is-paused em {
  background: rgba(6, 6, 6, .35);
}

@keyframes autoPulse {
  70% { box-shadow: 0 0 0 9px rgba(255, 90, 0, 0); }
}

/* Transição câmera / matrix / viagem espacial */
.deck {
  perspective: 1500px;
  transform-style: preserve-3d;
}

.deck.is-warping::before,
.deck.is-warping::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 32;
  pointer-events: none;
}

.deck.is-warping::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 13%, rgba(255, 90, 0, .18) 14%, transparent 32%),
    repeating-radial-gradient(circle at 50% 50%, rgba(6, 6, 6, .0) 0 18px, rgba(255, 90, 0, .18) 20px 22px, rgba(6, 6, 6, 0) 24px 42px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(6, 6, 6, .08) 35px 36px, transparent 37px 76px);
  mix-blend-mode: multiply;
  opacity: 0;
  animation: warpTunnel .92s cubic-bezier(.16, .76, .24, 1) both;
}

.deck.is-warping::after {
  background:
    linear-gradient(90deg, transparent, rgba(255, 90, 0, .36), transparent),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 90, 0, .32) 23px 24px, transparent 25px 58px);
  filter: blur(1px);
  opacity: 0;
  transform: scaleX(.4);
  animation: speedLines .72s cubic-bezier(.16, .76, .24, 1) both;
}

.camera-forward .slide.is-leaving {
  animation: cameraLeaveForward .92s cubic-bezier(.15, .78, .18, 1) both;
}

.camera-forward .slide.is-active {
  animation: cameraArriveForward .92s cubic-bezier(.15, .78, .18, 1) both;
}

.camera-backward .slide.is-leaving-back {
  animation: cameraLeaveBackward .92s cubic-bezier(.15, .78, .18, 1) both;
}

.camera-backward .slide.is-active {
  animation: cameraArriveBackward .92s cubic-bezier(.15, .78, .18, 1) both;
}

@keyframes warpTunnel {
  0% {
    opacity: 0;
    transform: scale(.35) rotate(0deg);
    filter: blur(12px);
  }
  38% {
    opacity: .95;
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: scale(1.9) rotate(16deg);
    filter: blur(9px);
  }
}

@keyframes speedLines {
  0% {
    opacity: 0;
    transform: translateX(-28%) scaleX(.2);
  }
  45% {
    opacity: .75;
  }
  100% {
    opacity: 0;
    transform: translateX(28%) scaleX(1.4);
  }
}

@keyframes cameraLeaveForward {
  0% {
    opacity: 1;
    transform: translateZ(0) rotateY(0deg) scale(1);
    filter: blur(0);
  }
  55% {
    opacity: .62;
    transform: translateZ(-560px) rotateY(-15deg) translateX(-9%) scale(.78);
    filter: blur(3px);
  }
  100% {
    opacity: 0;
    transform: translateZ(-980px) rotateY(-28deg) translateX(-22%) scale(.58);
    filter: blur(10px);
  }
}

@keyframes cameraArriveForward {
  0% {
    opacity: 0;
    transform: translateZ(740px) rotateY(18deg) translateX(18%) scale(1.22);
    filter: blur(12px);
  }
  52% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateZ(0) rotateY(0deg) translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes cameraLeaveBackward {
  0% {
    opacity: 1;
    transform: translateZ(0) rotateY(0deg) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateZ(-860px) rotateY(26deg) translateX(22%) scale(.58);
    filter: blur(10px);
  }
}

@keyframes cameraArriveBackward {
  0% {
    opacity: 0;
    transform: translateZ(720px) rotateY(-18deg) translateX(-18%) scale(1.2);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translateZ(0) rotateY(0deg) translateX(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 760px) {
  .timer-pill {
    right: 3vw;
    bottom: 2vh;
    min-width: 126px;
    grid-template-columns: auto auto;
  }

  .timer-pill i {
    display: none;
  }
}
