/* Symphony Health — home narrative v28 */

html[data-theme="light"] .brand-mark {
  content: url('/symphony-logo-light-perf-v1.webp') !important;
}

.film-chapter {
  padding-top: clamp(88px, 9vw, 132px) !important;
}

.film-intro {
  padding-bottom: clamp(42px, 5vw, 70px) !important;
}

.film-intro h2 {
  max-width: 880px !important;
}

.message-stream {
  display: none !important;
}

.message-stream-v28 {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.film-play-v29 {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 17px;
  color: #f8f7f3;
  border: 1px solid rgba(248, 247, 243, 0.42);
  border-radius: 999px;
  background: rgba(8, 17, 20, 0.82);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.film-play-v29[hidden] {
  display: none;
}

.film-play-v29:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.film-message-v28 {
  position: absolute;
  left: clamp(34px, 5.7vw, 92px);
  bottom: clamp(40px, 8%, 76px);
  width: min(38vw, 460px);
  padding: 17px 19px 18px;
  color: #f8f7f3;
  background: rgba(8, 17, 20, 0.9);
  border: 1px solid rgba(248, 247, 243, 0.32);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}

.film-message-v28 > span {
  display: block;
  margin-bottom: 9px;
  color: rgba(248, 247, 243, 0.62);
  font-size: 11px;
  font-weight: 720;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.film-message-v28 > p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.funnel-reading-v29 .funnel-step strong {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  font-variant-numeric: tabular-nums;
}

.funnel-reading-v29 .funnel-step span {
  opacity: 0.48;
  transition: opacity 440ms ease;
}

.funnel-reading-v29 .funnel-step i {
  opacity: 0.24;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 420ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.funnel-reading-v29 .funnel-step-v29--visible strong {
  opacity: 1;
  transform: translateY(0);
}

.funnel-reading-v29 .funnel-step-v29--visible span {
  opacity: 1;
}

.funnel-reading-v29 .funnel-step-v29--visible i {
  opacity: 1;
  transform: scaleX(1);
}

.reason-reading-v30 .reason-list article {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 480ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reason-reading-v30 .reason-list article.reason-card-v30--visible {
  opacity: 1;
  transform: translateY(0);
}

.movement-v30-motion .movement-visual {
  opacity: 0.28;
  transform: translateY(18px) scale(0.992);
  transition:
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.movement-v30-motion.movement-v30--visible .movement-visual {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.movement-v30-motion .convert-visual .signal-label,
.movement-v30-motion .convert-visual > p,
.movement-v30-motion .signal-trace span,
.movement-v30-motion .consult-row,
.movement-v30-motion .consult-confirm,
.movement-v30-motion .recover-visual > span,
.movement-v30-motion .recover-line b,
.movement-v30-motion .evolve-visual > p,
.movement-v30-motion .proposal-row,
.movement-v30-motion .proposal-action {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.movement-v30-motion.movement-v30--visible .convert-visual .signal-label,
.movement-v30-motion.movement-v30--visible .convert-visual > p,
.movement-v30-motion.movement-v30--visible .signal-trace span,
.movement-v30-motion.movement-v30--visible .consult-row,
.movement-v30-motion.movement-v30--visible .consult-confirm,
.movement-v30-motion.movement-v30--visible .recover-visual > span,
.movement-v30-motion.movement-v30--visible .recover-line b,
.movement-v30-motion.movement-v30--visible .evolve-visual > p,
.movement-v30-motion.movement-v30--visible .proposal-row,
.movement-v30-motion.movement-v30--visible .proposal-action {
  opacity: 1;
  transform: translateY(0);
}

.movement-v30-motion .signal-trace i,
.movement-v30-motion .recover-line i {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.movement-v30-motion.movement-v30--visible .signal-trace i,
.movement-v30-motion.movement-v30--visible .recover-line i {
  transform: scaleX(1);
}

.movement-v30--visible .convert-visual > p,
.movement-v30--visible .consult-row:nth-of-type(2),
.movement-v30--visible .recover-visual > span:nth-child(2),
.movement-v30--visible .proposal-row:nth-of-type(2) {
  transition-delay: 100ms;
}

.movement-v30--visible .signal-trace,
.movement-v30--visible .consult-row:nth-of-type(3),
.movement-v30--visible .recover-visual > span:nth-child(3),
.movement-v30--visible .proposal-action {
  transition-delay: 200ms;
}

.movement-v30--visible .consult-confirm,
.movement-v30--visible .recover-visual > span:nth-child(4),
.movement-v30--visible .recover-line {
  transition-delay: 300ms;
}

.product-flow-v30 span {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-flow-v30 i {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    opacity 360ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-flow-v30--visible span,
.product-flow-v30--visible i {
  opacity: 1;
  transform: none;
}

.product-flow-v30--visible > :nth-child(2) { transition-delay: 110ms; }
.product-flow-v30--visible > :nth-child(3) { transition-delay: 220ms; }
.product-flow-v30--visible > :nth-child(4) { transition-delay: 330ms; }
.product-flow-v30--visible > :nth-child(5) { transition-delay: 440ms; }
.product-flow-v30--visible > :nth-child(6) { transition-delay: 550ms; }
.product-flow-v30--visible > :nth-child(7) { transition-delay: 660ms; }

.film-message-v28--priority {
  top: clamp(32px, 7%, 68px);
  bottom: auto;
  border-color: rgba(231, 185, 113, 0.68);
  background: rgba(25, 20, 15, 0.94);
}

.film-message-v28--priority > span {
  color: #e7b971;
}

.film-priority-v28 {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 12px;
  padding: 6px 9px;
  color: #fff4e2;
  border: 1px solid rgba(231, 185, 113, 0.46);
  border-radius: 999px;
  background: rgba(231, 185, 113, 0.1);
  font-size: 10px;
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

@media (min-width: 701px) {
  .film {
    height: min(calc((100vw - 80px) * 0.5625), 68svh, 660px) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
}

.film-priority-v28 svg {
  flex: 0 0 auto;
}

.ai-chapter {
  padding: clamp(82px, 9vw, 132px) 0 clamp(74px, 8vw, 116px) !important;
}

.ai-chapter .ai-signature {
  display: none !important;
}

.ai-proof-v28 {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.ai-proof-v28[data-visible='false'] .ai-proof-input-v28,
.ai-proof-v28[data-visible='false'] .ai-proof-response-v28 {
  opacity: 0 !important;
  filter: blur(3px);
  transform: translateY(12px);
  animation: none !important;
}

.ai-proof-v28[data-visible='false'] .ai-v28-reveal-path,
.ai-proof-v28[data-visible='false'] .ai-v28-core,
.ai-proof-v28[data-visible='false'] .ai-proof-halo-v28 {
  animation-play-state: paused !important;
}

.ai-proof-intro-v28 {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.ai-proof-intro-v28 .eyebrow {
  margin: 0;
}

.ai-proof-intro-v28 h2 {
  max-width: 960px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.ai-proof-caption-v28 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgb(var(--paper-rgb) / 0.62);
  font-size: 13px;
}

.ai-proof-caption-v28 > span > span {
  color: var(--mint);
}

.ai-proof-caption-v28 button {
  min-height: 44px;
  padding: 10px 0 10px 12px;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.ai-proof-caption-v28 button:hover,
.ai-proof-caption-v28 button:focus-visible {
  color: var(--mint);
}

.ai-proof-caption-v28 button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.ai-proof-stage-v28 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1.18fr);
  align-items: center;
  min-height: 270px;
  padding: 18px 0 8px;
}

.ai-proof-side-v28 {
  min-width: 0;
  opacity: 0;
  will-change: opacity, transform;
}

.ai-proof-input-v28 {
  animation: ai-v28-input 5.5s cubic-bezier(0.16, 0.8, 0.2, 1) both;
}

.ai-proof-response-v28 {
  padding-left: 20px;
  animation: ai-v28-response 5.5s cubic-bezier(0.16, 0.8, 0.2, 1) both;
}

.ai-proof-speaker-v28,
.ai-proof-agent-v28 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.ai-proof-agent-v28 span {
  color: rgb(var(--paper-rgb) / 0.52);
}

.ai-proof-message-v28,
.ai-proof-reply-v28 {
  display: block;
  color: var(--paper);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.035em;
}

.ai-proof-reply-v28 {
  font-size: clamp(20px, 1.72vw, 25px);
  font-weight: 540;
}

.ai-proof-state-v28 {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 9px;
  color: var(--mint);
  border: 1px solid rgb(35 217 192 / 0.34);
  border-radius: 999px;
  background: rgb(18 35 38 / 0.74);
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.ai-proof-v28[data-priority="true"] .ai-proof-speaker-v28 {
  color: #e7b971;
}

.ai-proof-v28[data-priority="true"] .ai-proof-state-v28 {
  color: #fff4e2;
  border-color: rgba(231, 185, 113, 0.46);
  background: rgba(231, 185, 113, 0.1);
}

.ai-proof-conductor-v28 {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  justify-self: center;
}

.ai-proof-symbol-v28 {
  position: relative;
  z-index: 1;
  width: 98px;
  height: 98px;
  overflow: visible;
}

.ai-v28-arc-base {
  opacity: 0.15;
}

.ai-v28-arc-light-theme {
  display: none;
}

.ai-v28-reveal-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ai-v28-orbit 5.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.ai-v28-core {
  fill: #009c89;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50%;
  animation: ai-v28-core 5.5s ease-in-out both;
}

.ai-proof-halo-v28 {
  position: absolute;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(35 217 192 / 0.18), transparent 68%);
  animation: ai-v28-halo 5.5s ease-in-out both;
}

.ai-proof-v28[data-paused="true"] * {
  animation-play-state: paused !important;
}

html[data-theme="light"] .ai-v28-arc-dark {
  display: none;
}

html[data-theme="light"] .ai-v28-arc-light-theme {
  display: inline;
}

html[data-theme="light"] .ai-proof-state-v28 {
  color: #007b70;
  border-color: rgb(0 123 112 / 0.3);
  background: rgb(0 123 112 / 0.07);
}

html[data-theme="light"] .ai-proof-v28[data-priority="true"] .ai-proof-state-v28 {
  color: #8d3d12;
  border-color: rgb(141 61 18 / 0.28);
  background: #fff2e8;
}

@keyframes ai-v28-input {
  0% { opacity: 0; transform: translateY(22px); }
  13% { opacity: 1; transform: translateY(0); }
  84% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-44px); }
}

@keyframes ai-v28-response {
  0%, 29% { opacity: 0; transform: translateY(18px); }
  40% { opacity: 1; transform: translateY(0); }
  84% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-44px); }
}

@keyframes ai-v28-orbit {
  0%, 12% { stroke-dashoffset: 100; }
  29%, 100% { stroke-dashoffset: 0; }
}

@keyframes ai-v28-core {
  0%, 30% { opacity: 0; transform: scale(0.72); }
  37%, 84% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.9); }
}

@keyframes ai-v28-halo {
  0%, 24% { opacity: 0; transform: scale(0.74); }
  38%, 78% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

@media (max-width: 700px) {
  .film-chapter {
    padding-top: 74px !important;
  }

  .film-intro {
    padding-bottom: 34px !important;
  }

  .film-intro h2 {
    max-width: 94%;
    font-size: clamp(2.6rem, 12vw, 4rem) !important;
  }

  .film {
    width: calc(100% - 32px) !important;
    height: min(calc((100vw - 32px) * 1.12), 70svh) !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    border-radius: 22px;
  }

  .film-video {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .film-message-v28 {
    left: 9%;
    bottom: 8%;
    width: 82%;
    padding: 14px 15px 15px;
    border-radius: 16px;
  }

  .film-message-v28 > span {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .film-message-v28 > p {
    font-size: clamp(14px, 3.85vw, 17px);
    line-height: 1.22;
  }

  .film-message-v28--priority {
    top: 6%;
    bottom: auto;
  }

  .film-priority-v28 {
    max-width: 100%;
    font-size: 9px;
  }

  .film-note {
    right: 24px !important;
    bottom: 16px !important;
  }

  .ai-chapter {
    padding: 78px 0 88px !important;
  }

  .ai-proof-v28 {
    padding-top: 22px;
  }

  .ai-proof-intro-v28 {
    margin-bottom: 42px;
  }

  .ai-proof-intro-v28 h2 {
    font-size: clamp(2.65rem, 12.4vw, 4.2rem);
    line-height: 0.94;
  }

  .ai-proof-caption-v28 {
    align-items: flex-start;
    font-size: 12px;
  }

  .ai-proof-caption-v28 > span {
    display: grid;
    gap: 5px;
  }

  .ai-proof-stage-v28 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 112px auto;
    gap: 8px;
    min-height: 510px;
    padding-top: 24px;
  }

  .ai-proof-input-v28 {
    grid-area: 1 / 1;
  }

  .ai-proof-conductor-v28 {
    grid-area: 2 / 1;
    justify-self: start;
    margin-left: -8px;
  }

  .ai-proof-response-v28 {
    grid-area: 3 / 1;
    padding-left: 0;
  }

  .ai-proof-message-v28,
  .ai-proof-reply-v28 {
    font-size: clamp(19px, 5.4vw, 23px);
  }

  .ai-proof-halo-v28 {
    width: 150px;
    height: 150px;
  }

  .ai-proof-symbol-v28 {
    width: 82px;
    height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-reading-v29 .funnel-step strong,
  .funnel-reading-v29 .funnel-step span,
  .funnel-reading-v29 .funnel-step i {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reason-reading-v30 .reason-list article,
  .movement-v30-motion .movement-visual,
  .movement-v30-motion .convert-visual .signal-label,
  .movement-v30-motion .convert-visual > p,
  .movement-v30-motion .signal-trace span,
  .movement-v30-motion .consult-row,
  .movement-v30-motion .consult-confirm,
  .movement-v30-motion .recover-visual > span,
  .movement-v30-motion .recover-line b,
  .movement-v30-motion .evolve-visual > p,
  .movement-v30-motion .proposal-row,
  .movement-v30-motion .proposal-action,
  .product-flow-v30 span,
  .product-flow-v30 i {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ai-proof-v28 * {
    animation: none !important;
  }

  .ai-proof-side-v28,
  .ai-v28-core {
    opacity: 1 !important;
    transform: none !important;
  }

  .ai-v28-reveal-path {
    stroke-dashoffset: 0 !important;
  }

  .ai-proof-halo-v28 {
    opacity: 0.35 !important;
  }
}

/* Symphony Health — demonstrações do produto sobre a base v32 */

.system-demo {
  --demo-panel: rgba(16, 26, 29, 0.86);
  --demo-panel-strong: #101a1d;
  --demo-border: rgb(var(--paper-rgb) / 0.18);
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 13vw, 168px) 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 18%, rgba(35, 217, 192, 0.1), transparent 34%),
    var(--night);
}

.system-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(var(--paper-rgb) / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--paper-rgb) / 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

html[data-theme="light"] .system-demo {
  --demo-panel: rgba(237, 243, 241, 0.9);
  --demo-panel-strong: #edf3f1;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 123, 112, 0.1), transparent 34%),
    var(--night);
}

.system-demo .container {
  position: relative;
  z-index: 1;
}

.system-demo-head {
  display: grid;
  gap: 22px;
}

.system-demo-head h2 {
  max-width: 1050px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.25rem, 7.2vw, 7rem);
  font-weight: 540;
  line-height: 0.92;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.system-demo-head h2 em {
  color: var(--mint);
  font-style: normal;
}

.system-demo-intro {
  max-width: 650px;
  margin: 4px 0 0;
  color: rgb(var(--paper-rgb) / 0.7);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

.system-demo-shell {
  margin-top: clamp(54px, 7vw, 88px);
  border: 1px solid var(--demo-border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--demo-panel);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.23);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

html[data-theme="light"] .system-demo-shell {
  box-shadow: 0 30px 74px rgba(25, 57, 53, 0.12);
}

.system-demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 13px 16px 13px 20px;
  border-bottom: 1px solid var(--demo-border);
}

.system-demo-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgb(var(--paper-rgb) / 0.58);
  font-size: 11px;
  font-weight: 680;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-demo-status i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(35, 217, 192, 0.09);
}

.system-demo-tabs {
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--demo-border);
  border-radius: 999px;
  background: rgb(var(--paper-rgb) / 0.04);
}

.system-demo-tab {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  color: rgb(var(--paper-rgb) / 0.62);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.system-demo-tab:hover,
.system-demo-tab:focus-visible {
  color: var(--paper);
}

.system-demo-tab:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.system-demo-tab[aria-selected="true"] {
  color: #071412;
  background: var(--mint);
  box-shadow: 0 6px 22px rgba(35, 217, 192, 0.2);
}

html[data-theme="light"] .system-demo-tab[aria-selected="true"] {
  color: #f8f8f5;
}

.system-demo-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 0.72fr);
  min-height: 560px;
}

.system-demo-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 36px);
  border-right: 1px solid var(--demo-border);
}

.system-demo-index {
  display: block;
  margin-bottom: auto;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.system-demo-copy h3 {
  max-width: 460px;
  margin: clamp(32px, 4vw, 60px) 0 0;
  color: var(--paper);
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 540;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.system-demo-copy > p {
  max-width: 430px;
  margin: 26px 0 0;
  color: rgb(var(--paper-rgb) / 0.66);
  font-size: 16px;
  line-height: 1.58;
}

.system-demo-steps {
  display: grid;
  gap: 13px;
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: demo-step;
}

.system-demo-steps li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 11px;
  align-items: start;
  color: rgb(var(--paper-rgb) / 0.74);
  font-size: 13px;
  line-height: 1.35;
  counter-increment: demo-step;
}

.system-demo-steps li::before {
  content: "0" counter(demo-step);
  color: var(--mint);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.06em;
  transform: translateY(2px);
}

.system-demo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(14px, 1.5vw, 24px) clamp(12px, 1.5vw, 24px) 42px;
  background:
    radial-gradient(circle at 50% 52%, rgba(35, 217, 192, 0.13), transparent 45%),
    rgb(5 12 14 / 0.62);
}

html[data-theme="light"] .system-demo-stage {
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 123, 112, 0.11), transparent 45%),
    rgba(223, 233, 230, 0.62);
}

.system-demo-device {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: #080d0f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  transform: none;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.system-demo-device:hover {
  transform: none;
}

.system-demo-browser {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #11191c;
}

.system-demo-browser span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(248, 247, 243, 0.26);
}

.system-demo-browser p {
  margin: 0 0 0 7px;
  color: rgba(248, 247, 243, 0.48);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.system-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #080d0f;
}

.system-demo-caption {
  position: absolute;
  right: clamp(28px, 4vw, 58px);
  bottom: 16px;
  margin: 0;
  color: rgb(var(--paper-rgb) / 0.46);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.system-demo[data-visible="false"] .system-demo-head,
.system-demo[data-visible="false"] .system-demo-shell {
  opacity: 0;
  transform: translateY(26px);
}

.system-demo .system-demo-head,
.system-demo .system-demo-shell {
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.system-demo .system-demo-shell {
  transition-delay: 130ms;
}

@media (max-width: 980px) {
  .site-header nav .system-demo-nav-link {
    display: none;
  }

  .system-demo-layout {
    grid-template-columns: 1fr;
  }

  .system-demo-copy {
    border-right: 0;
    border-bottom: 1px solid var(--demo-border);
  }

  .system-demo-index {
    margin-bottom: 0;
  }

  .system-demo-copy h3 {
    margin-top: 30px;
  }

  .system-demo-steps {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 38px;
  }

  .system-demo-stage {
    min-height: 560px;
  }
}

@media (max-width: 700px) {
  .system-demo {
    padding: 94px 0;
  }

  .system-demo-head h2 {
    font-size: clamp(3.05rem, 14vw, 4.8rem);
  }

  .system-demo-shell {
    margin-top: 48px;
    border-radius: 15px;
  }

  .system-demo-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .system-demo-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .system-demo-tab {
    flex: 1;
    padding: 10px 8px;
  }

  .system-demo-copy {
    padding: 30px 22px 34px;
  }

  .system-demo-copy h3 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  .system-demo-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .system-demo-stage {
    min-height: 610px;
    padding: 30px 18px 52px;
  }

  .system-demo-device {
    width: min(100%, 330px);
    border-radius: 20px;
    transform: none;
  }

  .system-demo-device:hover {
    transform: none;
  }

  .system-demo-browser {
    height: 32px;
  }

  .system-demo-video {
    aspect-ratio: 390 / 844;
  }

  .system-demo-caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-demo[data-visible="false"] .system-demo-head,
  .system-demo[data-visible="false"] .system-demo-shell {
    opacity: 1;
    transform: none;
  }

  .system-demo .system-demo-head,
  .system-demo .system-demo-shell,
  .system-demo-device {
    transition: none;
  }
}

/* Demonstração narrada: um player amplo, com capítulos sincronizados. */
.narrated-demo .system-demo-layout{display:block;min-height:0}
.narrated-demo .system-demo-stage{display:block;padding:0;min-height:0;background:#10171b}
.narrated-demo .system-demo-device{width:100%;border:0;border-radius:0;box-shadow:none;transform:none}
.narrated-demo .system-demo-video{width:100%;aspect-ratio:16/9;object-fit:contain}
.narrated-demo .system-demo-copy{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;padding:26px 30px;border:0;border-top:1px solid var(--demo-border);min-height:152px}
.narrated-demo .system-demo-index{margin:0;font-size:10px;line-height:1.4}
.narrated-demo .system-demo-copy h3{margin:9px 0 0;font-size:clamp(22px,2.3vw,32px);line-height:1.1;letter-spacing:-.045em;max-width:650px}
.narrated-demo .system-demo-copy>p{margin:0;max-width:600px;font-size:15px;line-height:1.5}
.narrated-demo .system-demo-tabs{flex-wrap:wrap;justify-content:center}
.narrated-demo .system-demo-tab{font-size:12px;padding:8px 13px}
.narrated-demo .system-demo-tab[aria-current=true]{color:#071412;background:var(--mint);box-shadow:0 6px 22px #23d9c022}
html[data-theme=light] .narrated-demo .system-demo-tab[aria-current=true]{color:#f8f7f3}
.narrated-demo-footer{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 30px;border-top:1px solid var(--demo-border);color:rgb(var(--paper-rgb)/.6);font-size:11px;line-height:1.4}
.narrated-demo-footer a{color:var(--mint);font-size:12px;white-space:nowrap;text-decoration:none}
.narrated-demo-footer a:focus-visible{outline:2px solid var(--mint);outline-offset:5px}
@media(max-width:1100px){.narrated-demo .system-demo-toolbar{flex-direction:column;align-items:stretch}.narrated-demo .system-demo-status{padding:8px 0}}
@media(max-width:700px){.narrated-demo .system-demo-toolbar{padding:12px}.narrated-demo .system-demo-tabs{display:flex;gap:4px;padding:3px;border-radius:12px}.narrated-demo .system-demo-tab{flex:1 0 auto;min-height:38px;font-size:11px;padding:7px 9px}.narrated-demo .system-demo-copy{grid-template-columns:1fr;gap:15px;padding:22px;min-height:204px}.narrated-demo .system-demo-copy h3{font-size:25px}.narrated-demo .system-demo-copy>p{font-size:14px}.narrated-demo .system-demo-device{border-radius:0}.narrated-demo-footer{flex-direction:column;align-items:flex-start;padding:16px 22px;gap:12px}}

.narrated-demo-expand{margin-left:auto;border:1px solid var(--demo-border);border-radius:30px;background:transparent;color:var(--mint);padding:9px 13px;font:inherit;cursor:pointer;white-space:nowrap}.narrated-demo-expand:focus-visible{outline:2px solid var(--mint);outline-offset:3px}@media(max-width:700px){.narrated-demo-expand{margin-left:0;min-height:42px}}

/* Entradas para a demonstração, sem multiplicar os players. */
.demo-entry{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;color:var(--mint);font:inherit;font-size:14px;font-weight:600;line-height:1.3;text-decoration:none;transition:background .2s ease,color .2s ease}
.demo-entry svg{flex:0 0 auto}
.demo-entry:focus-visible,.demo-footer-link:focus-visible{outline:2px solid var(--mint);outline-offset:5px}
.demo-entry-primary{background:var(--mint);color:#071412;border:1px solid transparent;border-radius:999px;padding:15px 23px;min-height:52px;white-space:nowrap}
.demo-entry-primary:hover{background:var(--paper);color:var(--night)}
html[data-theme=light] .demo-entry-primary{color:#fff}
html[data-theme=light] .demo-entry-primary:hover{background:var(--paper);color:var(--night)}
.demo-opening-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex-shrink:0}
.demo-opening-actions .opening-scroll{margin:0;padding:4px 0;min-height:40px}
.site-header nav .system-demo-nav-link{display:inline-flex;color:var(--mint);white-space:nowrap}
.site-header nav{gap:20px;align-items:center}
.demo-entry-inline{justify-content:flex-start;margin-top:24px;padding:10px 0;border-bottom:1px solid rgb(var(--paper-rgb)/.25)}
.demo-entry-inline:hover{color:var(--paper);border-bottom-color:var(--mint)}
.movement-copy .demo-entry-inline{margin-top:0;text-align:left}
.demo-footer-link{display:inline-flex;align-items:center;gap:8px}
.system-demo,.system-demo-toolbar{scroll-margin-top:104px}
.system-demo-video:focus-visible{outline:2px solid var(--mint);outline-offset:-3px}
@media(min-width:701px) and (max-width:1200px){.site-header nav>a:not(.system-demo-nav-link){display:none}.site-header nav{display:flex}.header-cta-full{display:none}.header-cta-short{display:inline}.demo-opening-actions{flex-shrink:1}.demo-entry-primary{white-space:normal}}
@media(max-width:700px){
  .site-header.opening-header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:110px;padding:12px 16px 9px;gap:8px 12px}
  .site-header.opening-header>.header-actions{grid-column:2;grid-row:1}
  .site-header.opening-header>nav{display:flex;grid-column:1/-1;grid-row:2;justify-content:center}
  .site-header.opening-header>nav>a:not(.system-demo-nav-link){display:none}
  .site-header nav .system-demo-nav-link{display:inline-flex;min-height:36px;font-size:12px;padding:7px 15px;border:1px solid rgb(var(--paper-rgb)/.22);border-radius:999px}
  .pure-opening{padding-top:110px}
  .opening-content{min-height:calc(100svh - 110px)}
  .demo-opening-actions{width:100%;gap:5px}
  .demo-entry-primary{font-size:13px;white-space:normal;max-width:100%}
  .demo-entry-inline{font-size:13px}
  .system-demo,.system-demo-toolbar{scroll-margin-top:126px}
}
@media(prefers-reduced-motion:reduce){.demo-entry{transition:none}}
@media(max-width:380px){.movement h3{font-size:clamp(2.65rem,13.5vw,3.2rem)}.movement-copy{min-width:0}.consult-row{gap:10px}}


/* Vertical film: native phone layout, shared narration and chapter times. */
.narrated-demo[data-format="portrait"] .system-demo-device{max-width:430px;margin-inline:auto}
.narrated-demo[data-format="portrait"] .system-demo-video{aspect-ratio:9/16;max-height:none}
.narrated-demo[data-format="portrait"] .system-demo-tabs{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--mint) transparent;-webkit-overflow-scrolling:touch}
.narrated-demo[data-format="portrait"] .system-demo-tab{flex:0 0 auto;min-height:44px;padding:10px 15px;font-size:12px;white-space:nowrap}
@media(max-width:700px){
  .site-header.opening-header{position:absolute}
  .narrated-demo>.container{width:auto;margin-inline:12px;padding-inline:0}
  .narrated-demo .system-demo-head{padding-inline:12px}
  .narrated-demo .system-demo-shell{margin-top:28px;border-radius:14px}
  .narrated-demo .system-demo-toolbar{padding:7px;gap:0;scroll-margin-top:8px}
  .narrated-demo .system-demo-status{display:none}
  .narrated-demo .system-demo-tabs{width:100%;border-radius:10px;gap:3px;padding:2px}
  .narrated-demo .system-demo-copy{min-height:0;gap:12px;padding:23px 20px}
  .narrated-demo .system-demo-copy h3{font-size:25px;line-height:1.14}
  .narrated-demo-footer{padding:12px 20px;gap:8px}
  .narrated-demo-footer a,.narrated-demo-expand{display:inline-flex;align-items:center;min-height:44px}
  .system-demo{scroll-margin-top:20px}
}
@media(max-height:500px) and (orientation:landscape){
  .narrated-demo[data-format="portrait"] .system-demo-video{max-height:calc(100svh - 76px);width:100%;aspect-ratio:auto}
}

/* Contato pós-lançamento — complemento ao visual publicado. */
.contact-header { min-height: 44px; background: #008069; color: #fff; border-radius: 999px; padding: 10px 15px; }
.contact-primary { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 14px 22px; border: 1px solid #008069; border-radius: 999px; background: #008069; color: #fff; font-size: 16px; font-weight: 650; line-height: 1.35; text-decoration: none; }
.contact-primary:hover, .contact-header:hover { background: #006b58; color: #fff; }
.contact-primary:focus-visible, .contact-secondary:focus-visible, .contact-header:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.contact-actions .contact-secondary { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.contact-actions .contact-microcopy { flex-basis: 100%; margin: 0; max-width: none; font-size: 13px; color: rgb(var(--paper-rgb) / .8); }
.contact-after-demo { margin-top: 30px; }
.opening-bottom { flex-wrap: wrap; }
.opening-bottom .opening-definition { flex-basis: 100%; }
.opening-bottom .contact-actions { margin-top: 0; }
.opening-bottom .demo-entry-primary { background: transparent; color: var(--paper); border-color: rgb(var(--paper-rgb) / .25); font-size: 14px; }
html[data-theme="light"] .opening-bottom .demo-entry-primary { color: var(--paper); }
.contact-section { scroll-margin-top: 100px; }
.contact-section #lista-de-espera { position: absolute; scroll-margin-top: 100px; }
.contact-section .waitlist-copy h2 { font-size: clamp(2.6rem, 4.5vw, 4.8rem); line-height: 1.03; }
.contact-section .waitlist-copy > .contact-primary { margin-top: 26px; }
.contact-form .waitlist-field label { color: rgb(var(--paper-rgb) / .83); }
.contact-form .waitlist-consent, .contact-form .waitlist-note { color: rgb(var(--paper-rgb) / .78); }
.contact-form .waitlist-consent { min-height: 44px; padding-block: 6px; }
.contact-form .waitlist-submit { background: #008069; border-color: #008069; color: #fff; font-size: 16px; }
.contact-form .waitlist-submit:hover { background: #006b58; color: #fff; transform: none; }
.contact-form .waitlist-submit:disabled { cursor: default; opacity: .72; }
.contact-form[aria-busy="true"] .waitlist-submit { cursor: wait; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-status, .contact-error { grid-column: 1 / -1; padding: 18px; margin: 0; border: 1px solid; border-radius: 10px; font-size: 16px; line-height: 1.5; }
.contact-status { color: #d3ebff; background: #142b3b; border-color: #6494b6; }
.contact-error { color: #ffe0cc; background: #352318; border-color: #bc8c6a; }
.contact-error a { display: inline-block; padding-block: 12px; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="light"] .contact-status { color: #13466a; background: #e3f4ff; border-color: #6494b6; }
[data-theme="light"] .contact-error { color: #703211; background: #fff0e5; border-color: #bc8c6a; }
@media (max-width: 600px) {
  .contact-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .contact-actions .contact-secondary { justify-content: center; }
  .contact-actions .contact-microcopy { text-align: center; }
  .contact-form .waitlist-field label { font-size: 14px; }
  .contact-section .waitlist-copy { margin-bottom: 30px; }
}

/* Acesso ao blog, usando a navegação da versão publicada. */
.symphony-blog-mobile { display: none; }
.has-blog-nav .theme-toggle { width: 44px; height: 44px; }
.has-blog-nav a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
@media (max-width: 1199px) {
  .has-blog-nav nav { display: none; }
  .symphony-blog-mobile { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding-inline: 4px; font-size: 14px; color: var(--paper); }
}
@media (max-width: 700px) {
  .has-blog-nav { gap: 8px; }
  .has-blog-nav .brand-mark { max-width: 120px; height: 16px; }
  .has-blog-nav .header-actions { gap: 4px; }
  .has-blog-nav .contact-header { padding-inline: 11px; }
}
@media (max-width: 359px) {
  .has-blog-nav { padding-inline: 12px; }
  .has-blog-nav .brand-mark { max-width: 96px; }
  .has-blog-nav .contact-header { padding-inline: 8px; }
}
