/* ==========================================================================
   ÍRIS Efficiency — landing page em 5 dobras

   Cada <section class="fold"> ocupa exatamente uma tela (100vh) e conta uma
   história completa. Estilo: linguagem visual do fuse AIoT (traços grossos em
   SVG, pills, labels, contêineres escuros arredondados, paleta do logo).

   Tudo é dimensionado em rem. No desktop, 1rem acompanha a tela (vw e vh):
   16px em 1440×900. Assim cada dobra mantém o mesmo encaixe em qualquer
   monitor, sem sobrar nem faltar conteúdo.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --blue: #3436B1;
  --red: #CF2A2E;
  --orange: #F47D4E;
  --green: #61B65D;

  --bg-primary: #F5F5F7;
  --bg-alternate: #EDEDF0;
  --bg-dark: #0A0A0F;
  --bg-white: #FFFFFF;

  --text-primary: #1A1A1A;
  --text-secondary: #3A3A3F;
  --text-muted: #6B6B70;
  --on-dark-2: rgba(255, 255, 255, 0.74);
  --on-dark-3: rgba(255, 255, 255, 0.52);

  --line: rgba(26, 26, 26, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);

  --pill-bg-light: #E2E2E5;
  --pill-bg-light-hover: #D0D0D2;
  --pill-bg-dark: #1A1A1A;

  --header-h: 6.875rem;                /* 110px em 1440×900, como no site institucional */
  --pad: clamp(20px, 4vw, 80px);       /* margem lateral: a página vai de ponta a ponta */
  --gap: 4rem;

  --radius-container: 1.25rem;
  --radius-card: 1rem;
  --radius-pill: 999px;

  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --curve-w: 1.75rem;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Escala da página + rolagem ---------- */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (min-width: 1001px) {
  html {
    /* 16px em 1440×900: a altura da tela manda no tamanho; a largura só limita telas estreitas */
    font-size: clamp(11px, min(1.7778vh, 1.16vw), 26px);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3 {
  font-weight: 400;
  color: inherit;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--red);
  color: #FFF;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.on-dark :focus-visible {
  outline-color: #FFF;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--pill-bg-dark);
  color: #FFF;
  font-size: 0.875rem;
  transform: translateY(-300%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Estrutura: dobras ---------- */
.wrap {
  width: 100%;
  max-width: 118rem;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.fold {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h);
}

/* O traço contínuo fica entre o fundo das dobras e o conteúdo */
main {
  position: relative;
  overflow: hidden;
  overflow: clip;
}

.fold > :not(.curve-box) {
  position: relative;
  z-index: 3;
}

.fold__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0.5rem 1.75rem;
}

.fold--primary { background: var(--bg-primary); }
.fold--alternate { background: var(--bg-alternate); }
.fold--dark { background: var(--bg-dark); color: #FFF; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.layer-content { position: relative; }

/* ---------- Tipografia ---------- */
.label {
  font-size: max(0.75rem, 10px);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--text-muted);
}

.on-dark .label {
  color: var(--on-dark-3);
}

.eyebrow {
  display: block;
}

.h2 {
  font-size: 3.25rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1.125rem;
}

.h2--xl {
  font-size: 3.75rem;
  line-height: 1.06;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 32rem;
}

.on-dark .lead {
  color: var(--on-dark-2);
}

.micro {
  font-size: max(0.8125rem, 11px);
  line-height: 1.5;
  color: var(--text-muted);
}

.on-dark .micro {
  color: var(--on-dark-3);
}

/* ---------- Pills ---------- */
.pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.1875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: max(0.875rem, 11px);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 500ms ease, color 500ms ease;
}

.pill:hover {
  transition-duration: 300ms;
}

.pill--block {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.pill--lg {
  padding: 1.4375rem 2.25rem;
  font-size: max(0.9375rem, 12px);
}

.pill--primary {
  background-color: var(--pill-bg-dark);
  color: #FFF;
}

.pill--secondary {
  background-color: var(--pill-bg-light);
  color: var(--text-primary);
}

.pill--secondary:hover {
  background-color: var(--pill-bg-light-hover);
}

.pill--outline {
  background-color: transparent;
  box-shadow: inset 0 0 0 1px var(--text-primary);
  color: var(--text-primary);
}

.pill--white {
  background-color: #FFF;
  color: var(--bg-dark);
}

.pill__arrow {
  font-size: 1.1em;
  line-height: 0;
}

/* Preenchimento cromático circular (js) */
.hover-fill {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

.pill.hover-fill-active {
  color: #FFF !important;
}

.status-dot {
  display: inline-block;
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

/* ---------- Traço ---------- */
/* Desktop: um único traço passa por trás dos blocos e desenha um laço entre as seções. */
.ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.ribbon__path {
  fill: none;
  stroke-width: var(--curve-w);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile: traços curtos na faixa do título de cada bloco (ver media query). */
.curve-box {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
}

.curve__path {
  fill: none;
  stroke-width: var(--curve-w);
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: curve-breathe 6.4s ease-in-out infinite;
}

@keyframes curve-breathe {
  0%, 100% { transform: translateY(-1.5px); }
  50% { transform: translateY(1.5px); }
}

/* ---------- Revelação de palavras ---------- */
.word-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.word-reveal__inner {
  display: inline-block;
  transform-origin: left bottom;
  transform: translateY(110%) rotate(12deg);
  opacity: 0;
}

.word-reveal__inner.animate-in {
  animation: wordRevealIn 1.1s var(--ease-expo-out) forwards;
}

@keyframes wordRevealIn {
  from { transform: translateY(110%) rotate(12deg); opacity: 0; }
  to { transform: translateY(0) rotate(0deg); opacity: 1; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  padding: 0 var(--pad);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.header > * {
  pointer-events: auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.header__logo img {
  height: 3.375rem;
  width: auto;
}

.header__brand {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
  clip-path: inset(0 0 0 0);
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s var(--ease-expo-out),
    clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.header--scrolled .header__brand {
  opacity: 0;
  transform: translateX(-14px);
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 2.25rem);
}

.header__links {
  display: flex;
  gap: clamp(16px, 2vw, 2rem);
  transition: opacity 0.45s ease, transform 0.55s var(--ease-expo-out), visibility 0s;
}

.header__link {
  font-size: max(0.875rem, 11px);
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease-expo-out);
}

.header__link:hover {
  background-size: 100% 1px;
}

.header--scrolled .header__links {
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-expo-out), visibility 0s 0.3s;
}

.header__cta {
  padding: 1rem 1.75rem;
  font-size: max(1rem, 12px);
  letter-spacing: 0.02em;
  text-transform: none;
  background-color: var(--pill-bg-dark);
  color: #FFF;
}

.header--dark .header__cta {
  background-color: #FFF;
  color: var(--bg-dark);
}

/* ==========================================================================
   Dobra 1 — Hero: título, CTAs, a ÍRIS rodando num Mac e a faixa de contexto
   ========================================================================== */
.wrap.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 35rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding-right: 1.25rem;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__headline {
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 1.25rem 0 1.5rem;
  /* a primeira linha é mais larga que a coluna: ela avança por cima do Mac */
  white-space: nowrap;
}

.hero__copy .lead {
  font-size: 1.25rem;
  max-width: 35rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
}

.hero__actions .pill--lg {
  padding-inline: 1.75rem;
}

/* Entrada única do hero, logo depois do título */
.js .hero__copy > .lead,
.js .hero__copy > .hero__actions,
.js .hero__copy > .micro,
.js .device {
  animation: heroRise 0.9s var(--ease-expo-out) both;
}

.js .hero__copy > .lead { animation-delay: 0.5s; }
.js .hero__copy > .hero__actions { animation-delay: 0.6s; }
.js .hero__copy > .micro { animation-delay: 0.7s; }
.js .device { animation-delay: 0.35s; animation-duration: 1.3s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* Faixa de clientes, colada na base da primeira dobra.
   É opaca: o traço passa por trás dela, como passa por trás dos outros blocos. */
.trust {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  background: var(--bg-primary);
}

.trust__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-block: 0.875rem;
}

.trust__label {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: max(0.9375rem, 11px);
  line-height: 1.6;
  color: var(--text-muted);
}

.trust__label::before {
  content: '+';
  font-weight: 300;
  color: #8A8A8F;
}

/* os logos correm sem parar; as pontas se desfazem no fundo */
.marquee {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4rem, #000 calc(100% - 4rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4rem, #000 calc(100% - 4rem), transparent 100%);
}

.marquee__track {
  flex: none;
  display: flex;
  align-items: center;
  gap: 3.75rem;
  height: 2.5rem;
  padding-right: 3.75rem;
}

.js .marquee__track {
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-100%); }
}

.marquee__item {
  flex: none;
  display: flex;
  align-items: center;
}

/* cada logo nas cores da própria marca */
.marquee__item img {
  display: block;
  width: auto;
  max-width: none;
  height: var(--h, 1.75rem);
}

@media (prefers-reduced-motion: reduce) {
  .js .marquee__track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }
}

/* ---------- Aparelho: moldura oficial + tela simulada por baixo ---------- */
.device {
  --screen-x: 10.829%;
  --screen-y: 11.3386%;
  --screen-w: 78.342%;
  --screen-h: 77.3228%;
  position: relative;
  justify-self: end;
  align-self: end;
  /* o maior entre: encaixado sob a primeira linha do título, ou ao lado dela quando a tela é larga */
  width: max(min(100%, 49.7rem), min(100% - 6rem, (100vh - var(--header-h) - 7.5rem) * 1.5197));
  width: max(min(100%, 49.7rem), min(100% - 6rem, (100svh - var(--header-h) - 7.5rem) * 1.5197));
  perspective: 110rem;
}

.device__glow {
  position: absolute;
  inset: 4% -4% -6%;
  z-index: 0;
  background:
    radial-gradient(48% 52% at 68% 40%, rgba(52, 54, 177, 0.34), rgba(52, 54, 177, 0) 72%),
    radial-gradient(40% 46% at 24% 74%, rgba(244, 125, 78, 0.26), rgba(244, 125, 78, 0) 72%);
  filter: blur(2.25rem);
  animation: device-glow 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes device-glow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.device__body {
  position: relative;
  z-index: 1;
  aspect-ratio: 3860 / 2540;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.9s var(--ease-expo-out);
}

/* sombra de contato, na mesa */
.device__body::after {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: -2.2%;
  height: 6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 10, 15, 0.42), rgba(10, 10, 15, 0));
  filter: blur(0.5rem);
  pointer-events: none;
}

.device picture {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.device__frame {
  width: 100%;
  height: 100%;
  max-width: none;
}

.device__screen {
  position: absolute;
  left: calc(var(--screen-x) - 0.15%);
  top: calc(var(--screen-y) - 0.15%);
  width: calc(var(--screen-w) + 0.3%);
  height: calc(var(--screen-h) + 0.3%);
  z-index: 1;
  overflow: hidden;
  border-radius: 1.4% / 2.2%;
  background: #05060B;
  container-type: size;
}

/* ---------- Tela: macOS simulado (tudo em cqw = % da largura da tela) ---------- */
.os {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  font-size: 1.2cqw;
  line-height: 1.3;
  color: #FFF;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
}

.os__wall {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(60% 80% at 8% 96%, rgba(207, 42, 46, 0.95) 0%, rgba(207, 42, 46, 0) 62%),
    radial-gradient(56% 78% at 92% 4%, rgba(52, 54, 177, 1) 0%, rgba(52, 54, 177, 0) 66%),
    radial-gradient(44% 60% at 74% 100%, rgba(244, 125, 78, 0.85) 0%, rgba(244, 125, 78, 0) 64%),
    radial-gradient(40% 50% at 30% 10%, rgba(97, 182, 93, 0.4) 0%, rgba(97, 182, 93, 0) 70%),
    linear-gradient(150deg, #0B0C1C 0%, #15122E 52%, #200F1F 100%);
  animation: os-wall 26s ease-in-out infinite alternate;
}

@keyframes os-wall {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.1) rotate(4deg); }
}

/* barra de menus: da altura do recorte da câmera, que ocupa o centro */
.os__menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.4cqh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5cqw;
  font-size: 1.02cqw;
  font-weight: 500;
  background: rgba(12, 12, 22, 0.32);
  text-shadow: 0 0 0.4cqw rgba(0, 0, 0, 0.35);
}

.os__menu {
  display: flex;
  align-items: center;
  gap: 1.5cqw;
  max-width: 42%;
  white-space: nowrap;
}

.os__menu b {
  font-weight: 700;
}

.os__apple {
  width: 0.95cqw;
  height: auto;
  fill: #FFF;
}

.os__glyph {
  width: 1.35cqw;
  height: auto;
  fill: #FFF;
}

.os__battery {
  position: relative;
  width: 1.9cqw;
  height: 0.9cqw;
  border-radius: 0.25cqw;
  box-shadow: inset 0 0 0 0.09cqw rgba(255, 255, 255, 0.6);
}

.os__battery::after {
  content: '';
  position: absolute;
  right: -0.22cqw;
  top: 30%;
  width: 0.12cqw;
  height: 40%;
  border-radius: 0 0.1cqw 0.1cqw 0;
  background: rgba(255, 255, 255, 0.6);
}

.os__battery i {
  position: absolute;
  inset: 0.16cqw;
  right: 22%;
  border-radius: 0.12cqw;
  background: #FFF;
}

.os__statusbar,
.os__home {
  display: none;
}

/* janela do aplicativo */
.os__window {
  position: absolute;
  left: 4.4cqw;
  right: 4.4cqw;
  top: 5.6cqh;
  bottom: 11.6cqh;
  display: flex;
  flex-direction: column;
  border-radius: 1.1cqw;
  background: #101119;
  box-shadow:
    0 0 0 0.08cqw rgba(255, 255, 255, 0.16),
    0 2.4cqw 5.5cqw rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.os__titlebar {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.4cqw;
  padding: 0 1.3cqw;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 0.08cqw solid rgba(255, 255, 255, 0.08);
}

.os__lights {
  display: flex;
  gap: 0.7cqw;
}

.os__lights i {
  width: 1.05cqw;
  height: 1.05cqw;
  border-radius: 50%;
  background: #FF5F57;
}

.os__lights i:nth-child(2) { background: #FEBC2E; }
.os__lights i:nth-child(3) { background: #28C840; }

.os__wintitle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2cqw;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.os__live {
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
  font-size: 1.02cqw;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.os .status-dot {
  width: 0.7cqw;
  height: 0.7cqw;
}

.os__app {
  flex: 1;
  min-height: 0;
  display: flex;
}

.os__side {
  flex: none;
  width: 15cqw;
  display: flex;
  flex-direction: column;
  gap: 0.25cqw;
  padding: 1.4cqw 1cqw;
  background: rgba(255, 255, 255, 0.035);
  border-right: 0.08cqw solid rgba(255, 255, 255, 0.07);
}

.os__brand {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  margin: 0 0 1.1cqw 0.5cqw;
  font-size: 1.5cqw;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.os__brand img {
  width: 2cqw;
  height: 2cqw;
}

.os__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.62cqw 0.8cqw;
  border-radius: 0.6cqw;
  font-size: 1.2cqw;
  color: rgba(255, 255, 255, 0.66);
}

.os__nav.is-on {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.os__nav i {
  font-style: normal;
  font-size: 1cqw;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.os__nav .os__badge {
  padding: 0.05cqw 0.55cqw;
  border-radius: 1cqw;
  background: var(--red);
  color: #FFF;
  font-weight: 600;
}

.os__main {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1.15cqw;
  padding: 1.4cqw;
}

.os__card {
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.055);
  border: 0.08cqw solid rgba(255, 255, 255, 0.1);
}

.os__kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15cqw;
}

.os__kpi {
  display: grid;
  padding: 1.1cqw 1.4cqw 1.2cqw;
}

.os__kpi-label {
  font-size: 1cqw;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.os__kpi-value {
  margin: 0.35cqw 0 0.2cqw;
  font-size: 3.1cqw;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.os__kpi-value--green {
  color: #7DD279;
}

.os__kpi-note {
  font-size: 1.1cqw;
  color: rgba(255, 255, 255, 0.6);
}

.os__chart {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.1cqw 1.4cqw 0.9cqw;
}

.os__chart-head {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1cqw;
  margin-bottom: 0.6cqw;
}

.os__chart-title {
  font-size: 1.25cqw;
  font-weight: 600;
}

.os__legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  font-size: 1.02cqw;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.os__legend i {
  width: 1.5cqw;
  height: 0.28cqw;
  border-radius: 0.2cqw;
  margin-left: 0.7cqw;
}

.os__legend-real { background: var(--orange); }
.os__legend-base {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0 0.4cqw, transparent 0.4cqw 0.65cqw);
}

.os__plot {
  position: relative;
  flex: 1;
  min-height: 0;
}

.os__plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.os__grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.os__base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: max(1px, 0.2cqw);
  stroke-dasharray: 5 4;
  vector-effect: non-scaling-stroke;
}

.os__excess {
  fill: url(#os-excess);
}

.os__real {
  fill: none;
  stroke: var(--orange);
  stroke-width: max(1.5px, 0.34cqw);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* o pico fora do padrão: 16h, no ponto (315, 20) do gráfico */
.os__peak {
  position: absolute;
  left: 65.625%;
  top: 13.333%;
  width: 1.3cqw;
  height: 1.3cqw;
  margin: -0.65cqw 0 0 -0.65cqw;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0.24cqw #17181F;
}

.os__peak::after {
  content: '';
  position: absolute;
  inset: -0.2cqw;
  border-radius: 50%;
  border: 0.14cqw solid var(--red);
  animation: os-ping 2.2s ease-out infinite;
}

@keyframes os-ping {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(3.4); opacity: 0; }
}

/* pico perto da borda esquerda: a etiqueta vai para o outro lado */
.os__peak.is-flip b {
  right: auto;
  left: 190%;
}

.os__peak b {
  position: absolute;
  right: 190%;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.28cqw 0.7cqw;
  border-radius: 1cqw;
  background: var(--red);
  font-size: 0.98cqw;
  font-weight: 600;
  white-space: nowrap;
}

.os__axis {
  flex: none;
  display: flex;
  justify-content: space-between;
  margin-top: 0.5cqw;
  font-size: 0.95cqw;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.os__reco {
  padding: 1.1cqw 1.4cqw 1.15cqw;
}

.os__reco-title {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  font-size: 1.3cqw;
  font-weight: 600;
}

.os__reco-text {
  margin: 0.5cqw 0 0.7cqw;
  font-size: 1.5cqw;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.88);
}

.os__ghost {
  visibility: hidden;
}

.os__reco-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1cqw;
  font-size: 1.02cqw;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.52);
}

.os__btn {
  flex: none;
  padding: 0.55cqw 1.25cqw;
  border-radius: 2cqw;
  background: #FFF;
  color: #101119;
  font-size: 1.08cqw;
  font-weight: 600;
  letter-spacing: 0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* notificação do sistema */
.os__toast {
  position: absolute;
  top: 5.4cqh;
  right: 1.3cqw;
  width: 30.5cqw;
  display: flex;
  align-items: center;
  gap: 0.9cqw;
  padding: 0.95cqw 1.1cqw;
  border-radius: 1.5cqw;
  background: rgba(44, 44, 58, 0.82);
  -webkit-backdrop-filter: blur(1.2cqw);
  backdrop-filter: blur(1.2cqw);
  box-shadow: 0 0 0 0.08cqw rgba(255, 255, 255, 0.18), 0 1.4cqw 3cqw rgba(0, 0, 0, 0.45);
  font-size: 1.14cqw;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0;
  visibility: hidden;
}

.os__toast img {
  flex: none;
  width: 2.9cqw;
  height: 2.9cqw;
  padding: 0.4cqw;
  border-radius: 0.75cqw;
  background: #FFF;
}

.os__toast span {
  flex: 1;
  min-width: 0;
}

.os__toast b {
  font-weight: 700;
  color: #FFF;
}

.os__toast i {
  float: right;
  font-style: normal;
  font-size: 0.98cqw;
  color: rgba(255, 255, 255, 0.5);
}

.os__dock {
  position: absolute;
  left: 50%;
  bottom: 1.5cqh;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8cqw;
  padding: 0.65cqw;
  border-radius: 1.5cqw;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 0.08cqw rgba(255, 255, 255, 0.22);
}

.os__dock i {
  position: relative;
  width: 3.5cqw;
  height: 3.5cqw;
  border-radius: 0.9cqw;
  background: linear-gradient(160deg, #6E70E8, #3436B1);
}

.os__dock i:nth-child(1) { background: linear-gradient(160deg, #5FC0FF, #2A6BFF); }
.os__dock i:nth-child(2) { background: linear-gradient(160deg, #FFB07A, #F47D4E); }
.os__dock i:nth-child(4) { background: linear-gradient(160deg, #8FE08A, #3F9A3B); }
.os__dock i:nth-child(5) { background: linear-gradient(160deg, #F2777A, #CF2A2E); }
.os__dock i:nth-child(6) { background: linear-gradient(160deg, #C9CAD6, #7E808F); }

.os__dock .os__dock-app {
  display: grid;
  place-items: center;
  background: #FFF;
}

.os__dock-app img {
  width: 2.4cqw;
  height: 2.4cqw;
}

.os__dock-app::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.5cqw;
  width: 0.34cqw;
  height: 0.34cqw;
  margin-left: -0.17cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.os__cursor {
  position: absolute;
  left: 58%;
  top: 80%;
  z-index: 6;
  width: 1.5cqw;
  height: auto;
  max-width: none;
  fill: #0B0B10;
  stroke: #FFF;
  stroke-width: 1.2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0.15cqw 0.3cqw rgba(0, 0, 0, 0.5));
  transform-origin: 10% 5%;
  transition: left 0.95s cubic-bezier(0.5, 0, 0.15, 1), top 0.95s cubic-bezier(0.5, 0, 0.15, 1), transform 0.14s ease;
  opacity: 0;
}

.os__cursor.is-click {
  transform: scale(0.8);
}

.os__glare {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 26%, rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
}

/* ---------- A cena (js), sem fim: consumo sobe → pico → notificação → clique → recomendação → próxima unidade ---------- */
.os.is-live .os__cursor {
  opacity: 1;
}

.os.is-live .os__reveal {
  clip-path: inset(-25% 100% -25% 0);
}

.os.is-live.s-chart .os__reveal {
  clip-path: inset(-25% 0 -25% 0);
  transition: clip-path 2.3s cubic-bezier(0.45, 0.05, 0.3, 1);
}

.os.is-live .os__excess {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.os.is-live.s-alert .os__excess {
  opacity: 1;
  transition: opacity 0.7s ease;
}

.os.is-live .os__peak {
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.os.is-live.s-alert .os__peak {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.5s var(--ease-expo-out);
}

.os.is-live .os__toast {
  visibility: visible;
  transform: translateX(112%);
}

.os.is-live.s-alert .os__toast {
  opacity: 1;
  transform: none;
  transition: transform 0.8s var(--ease-expo-out), opacity 0.3s ease;
}

.os.is-live.s-reco .os__toast {
  opacity: 0;
  transform: translateY(-35%) scale(0.96);
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.os.is-live .os__reco {
  opacity: 0.4;
  transition: opacity 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.os.is-live .os__reco .status-dot {
  background: rgba(255, 255, 255, 0.4);
  animation: none;
}

.os.is-live.s-reco .os__reco {
  opacity: 1;
  border-color: rgba(125, 210, 121, 0.6);
  box-shadow: 0 0 0 0.3cqw rgba(97, 182, 93, 0.16);
}

.os.is-live.s-reco .os__reco .status-dot {
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.os.is-live.s-hover .os__btn {
  background: var(--green);
  color: #FFF;
  transform: scale(1.05);
}

/* a análise foi aberta */
.os.is-live.s-done .os__btn {
  background: rgba(97, 182, 93, 0.2);
  color: #A6E8A2;
  box-shadow: inset 0 0 0 max(1px, 0.1cqw) rgba(125, 210, 121, 0.75);
  transform: none;
}

/* troca de unidade: título do gráfico e texto da recomendação saem e voltam */
.os.is-live .os__chart-title,
.os.is-live .os__reco-text {
  transition: opacity 0.3s ease;
}

.os.is-live.s-swap .os__chart-title,
.os.is-live.s-swap .os__reco-text {
  opacity: 0;
}

/* navegadores sem unidades de contêiner: a tela fica só com o papel de parede */
@supports not (width: 1cqw) {
  .os > :not(.os__wall):not(.os__glare) {
    display: none;
  }
}

/* ==========================================================================
   Dobra 2 — Do problema à solução
   ========================================================================== */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: stretch;
}

/* Problema: o vídeo ocupa o painel inteiro; os textos flutuam por cima */
.problem {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem 2rem 1.75rem 2.25rem;
  border-radius: var(--radius-container);
  background: var(--bg-dark);
  color: #FFF;
  overflow: hidden;
  container-type: inline-size;
}

/* O quadro inteiro do vídeo cabe no painel: o andar aceso fica logo abaixo do
   texto e desce por trás dos cartões de vidro. As bordas se desfazem no escuro. */
.problem__media {
  --video-w: min(108cqw, 49rem);
  position: absolute;
  left: 50%;
  bottom: calc(24.2rem - var(--video-w) * 0.3811);
  z-index: -2;
  width: var(--video-w);
  aspect-ratio: 1108 / 828;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 90%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 90%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.problem__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* loop sem corte: a próxima volta entra por cima, em fusão (js) */
.problem__video.is-next {
  z-index: 1;
  opacity: 0;
}

.problem__video.is-next.is-in {
  opacity: 1;
  transition: opacity 1.1s linear;
}

/* véus: escurecem o céu atrás do título e a base atrás dos cartões */
.problem::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.7) 30%, rgba(10, 10, 15, 0) 48%),
    linear-gradient(0deg, rgba(10, 10, 15, 0.6) 0%, rgba(10, 10, 15, 0) 30%);
  pointer-events: none;
}

.problem__head {
  max-width: 40rem;
}

.problem .h2 {
  margin-bottom: 1rem;
  text-shadow: 0 0.125rem 1.5rem rgba(10, 10, 15, 0.6);
}

.problem .lead {
  max-width: 35rem;
  color: rgba(255, 255, 255, 0.84);
}

.pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.pain {
  position: relative;
  padding: 1.125rem 1.125rem 1.125rem;
  border-radius: var(--radius-card);
  background: rgba(16, 16, 24, 0.5);
  -webkit-backdrop-filter: blur(0.875rem) saturate(150%);
  backdrop-filter: blur(0.875rem) saturate(150%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 1.25rem 2.25rem -1.25rem rgba(0, 0, 0, 0.7);
}

/* os três têm a mesma altura; o do meio flutua um pouco acima dos vizinhos */
.pain:nth-child(2) {
  top: -1rem;
}

.pain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.125rem;
  width: 2.25rem;
  height: 0.25rem;
  border-radius: 0 0 0.25rem 0.25rem;
  background: var(--red);
}

.pain:nth-child(2)::before { background: var(--orange); }
.pain:nth-child(3)::before { background: #FFF; }

.js .pain {
  animation: pain-float 7.5s ease-in-out infinite;
}

.js .pain:nth-child(2) { animation-duration: 9s; animation-delay: -3s; }
.js .pain:nth-child(3) { animation-duration: 6.5s; animation-delay: -1.5s; }

@keyframes pain-float {
  0%, 100% { transform: translateY(0.125rem); }
  50% { transform: translateY(-0.25rem); }
}

.pain__title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0.375rem 0 0.375rem;
}

.pain__body {
  font-size: max(0.875rem, 11px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

/* Solução: texto + quatro passos */
.solution {
  display: flex;
  flex-direction: column;
}

.steps {
  display: grid;
  margin-top: 1.375rem;
}

.step {
  display: flex;
  gap: 1.125rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--line);
}

.step:first-child {
  border-top: 1px solid var(--line);
}

.step__num {
  flex: none;
  width: 3.25rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(26, 26, 26, 0.2);
}

.step__title {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.step__body {
  margin-top: 0.125rem;
  max-width: 30rem;
  font-size: max(0.9375rem, 12px);
  line-height: 1.5;
  color: var(--text-secondary);
}

.solution__cta {
  align-self: flex-start;
  margin-top: 1.25rem;
}

/* ==========================================================================
   Dobra 3 — Aplicações + para quem
   A imagem ocupa a dobra; título, abas e texto ficam dentro dela e os três
   cartões de perfil encaixam na sua base.
   ========================================================================== */
.apps {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stage {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  min-height: 26rem;
  border-radius: var(--radius-container);
  overflow: hidden;
  background: var(--bg-dark);
  color: #FFF;
}

.stage__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.25rem 2.25rem 0;
  pointer-events: none;
}

.stage__top > * {
  pointer-events: auto;
}

.stage__head .h2 {
  margin-bottom: 0;
}

.apps__tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.apps__tab {
  padding: 0.9375rem 1.25rem;
  font-size: max(0.8125rem, 10px);
  white-space: nowrap;
  color: #FFF;
  background-color: rgba(20, 20, 28, 0.42);
  -webkit-backdrop-filter: blur(0.75rem);
  backdrop-filter: blur(0.75rem);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.apps__tab:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.apps__tab[aria-selected="true"] {
  background-color: #FFF;
  color: var(--bg-dark);
  box-shadow: none;
}

/* temporizador: a aba ativa se preenche e passa a vez para a próxima (js) */
.apps__tab::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(52, 54, 177, 0.24);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.apps__tabs.is-timing .apps__tab[aria-selected="true"]::before {
  animation: tab-timer 7s linear forwards;
}

.apps__tabs:hover .apps__tab::before,
.apps__tabs:focus-within .apps__tab::before {
  animation-play-state: paused;
}

@keyframes tab-timer {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.app-panel {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  /* em cima fica o título; embaixo, o espaço onde os cartões encaixam */
  padding: 13rem 2.25rem 7.75rem;
  color: #FFF;
}

.js .app-panel {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease-expo-out), visibility 0s 0.7s;
}

.js .app-panel.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: none;
}

/* troca: o painel que sai fica por baixo enquanto o novo entra como uma cortina, da direita */
.js .app-panel.is-prev {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: none;
}

.js .app-panel.is-active.is-in {
  animation: panel-wipe 1s cubic-bezier(0.7, 0, 0.2, 1) both;
}

@keyframes panel-wipe {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0 0 0 0); }
}

.app-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 0;
  transform: scale(1.09);
  transition: transform 0s 1.1s;
}

/* a imagem ativa aproxima devagar durante todo o tempo da aba */
.app-panel.is-active .app-panel__img {
  transform: scale(1);
  transition: transform 8s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.app-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 15, 0.93) 0%, rgba(10, 10, 15, 0.8) 26%, rgba(10, 10, 15, 0.28) 56%, rgba(10, 10, 15, 0) 82%),
    linear-gradient(180deg, rgba(10, 10, 15, 0.5) 0%, rgba(10, 10, 15, 0) 30%);
}

.app-panel__content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

/* a cada troca, o texto entra em sequência */
.js .app-panel.is-active .app-panel__content > * {
  animation: panel-in 0.9s var(--ease-expo-out) both;
}

.js .app-panel.is-active .app-panel__content > :nth-child(2) { animation-delay: 0.09s; }
.js .app-panel.is-active .app-panel__content > :nth-child(3) { animation-delay: 0.18s; }

/* na troca, o texto espera a cortina chegar ao lado esquerdo */
.js .app-panel.is-active.is-in .app-panel__content > * { animation-delay: 0.45s; }
.js .app-panel.is-active.is-in .app-panel__content > :nth-child(2) { animation-delay: 0.54s; }
.js .app-panel.is-active.is-in .app-panel__content > :nth-child(3) { animation-delay: 0.63s; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

.app-panel__title {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.875rem;
}

.app-panel__list {
  display: grid;
  gap: 0.25rem;
}

.app-panel__list li {
  display: grid;
  grid-template-columns: 0.75rem 1fr;
  gap: 0.625rem;
  align-items: baseline;
  font-size: max(1.0625rem, 12px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.app-panel__list li::before {
  content: '+';
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}

/* CTA da seção: fixo no canto do palco, não troca junto com as abas */
.stage__cta {
  position: absolute;
  left: 2.25rem;
  bottom: 2.25rem;
  z-index: 3;
}

/* Sem JS: os três painéis aparecem empilhados */
html:not(.js) .apps__tabs { display: none; }
html:not(.js) .stage { display: block; }
html:not(.js) .app-panel { min-height: 20rem; padding-bottom: 2.25rem; }
html:not(.js) .app-panel ~ .app-panel { padding-top: 2.25rem; }
html:not(.js) .app-panel:last-of-type { padding-bottom: 7.75rem; }
html:not(.js) .personas { margin-top: 1.25rem; }

/* Para quem: título à esquerda, três cartões compactos encaixados na imagem */
.personas {
  position: relative;
  z-index: 2;
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
  margin-top: -5rem;
  padding-right: 1.25rem;
}

.personas__head {
  padding: 0 1.5rem 0.125rem 0;
}

.personas__title {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0.375rem;
  text-wrap: balance;
}

.tile {
  position: relative;
  align-self: stretch;
  padding: 1.375rem 1.375rem 1.25rem;
  border-radius: var(--radius-card);
  background: var(--bg-white);
  box-shadow:
    0 0 0 1px rgba(26, 26, 26, 0.07),
    0 1.5rem 2.5rem -1.5rem rgba(10, 10, 15, 0.45);
}

.tile__stroke {
  position: absolute;
  top: 0;
  left: 1.375rem;
  width: 2.75rem;
  height: 0.3125rem;
  border-radius: 0 0 0.25rem 0.25rem;
}

.tile--blue .tile__stroke { background: var(--blue); }
.tile--orange .tile__stroke { background: var(--orange); }
.tile--green .tile__stroke { background: var(--green); }

.tile__title {
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0.375rem 0 0.375rem;
}

.tile__body {
  font-size: max(0.9375rem, 12px);
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ==========================================================================
   Dobra 4 — Simulador de ROI
   ========================================================================== */
.roi {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.roi__copy .h2 {
  font-size: 3.125rem;
}

.roi .lead {
  font-size: 1.1875rem;
  max-width: 30rem;
}

.roi__disclaimer {
  margin-top: 1rem;
  max-width: 30rem;
}

/* Painel: números à esquerda, resultado e gráfico à direita */
.calc {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  column-gap: 2rem;
  row-gap: 1.5rem;
  padding: 2.5rem 2.5rem 1.75rem;
  border-radius: var(--radius-container);
  /* brilho verde no canto do resultado + malha de pontos */
  background:
    radial-gradient(54% 46% at 90% 4%, rgba(97, 182, 93, 0.22), rgba(97, 182, 93, 0) 72%),
    radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, rgba(255, 255, 255, 0) 1.5px) 0 0 / 1.375rem 1.375rem,
    var(--bg-dark);
  color: #FFF;
  box-shadow: 0 2.2rem 5.5rem -2.6rem rgba(10, 10, 15, 0.5);
  overflow: hidden;
}

/* marcas "+" nos quatro cantos */
.calc__mark {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)) 0 50% / 100% 1px no-repeat;
  pointer-events: none;
}

.calc__mark--tl { top: 0.875rem; left: 0.875rem; }
.calc__mark--tr { top: 0.875rem; right: 0.875rem; }
.calc__mark--bl { bottom: 0.875rem; left: 0.875rem; }
.calc__mark--br { bottom: 0.875rem; right: 0.875rem; }

.calc__inputs {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.calc__pct {
  padding: 0.125rem 0.625rem;
  border-radius: 1rem;
  background: rgba(97, 182, 93, 0.2);
  color: #A9E8A5 !important;
  font-weight: 600;
}

.calc__pair,
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.4375rem;
  align-content: start;
}

.field__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-left: 0.25rem;
  font-size: max(0.9375rem, 11px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--on-dark-2);
}

.field__label output {
  font-size: 1.0625rem;
  color: #FFF;
  font-variant-numeric: tabular-nums;
}

.field__control {
  position: relative;
}

.field__prefix {
  position: absolute;
  left: 1.375rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--on-dark-3);
  pointer-events: none;
}

.input {
  width: 100%;
  height: 3.25rem;
  padding: 0 1.375rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFF;
  font-size: max(1.0625rem, 12px);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  font-variant-numeric: tabular-nums;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.input:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.1);
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.input--money {
  padding-left: 3.5rem;
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-opacity='.7' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125rem center;
  background-size: 0.75rem 0.5rem;
  cursor: pointer;
}

select.input option {
  color: #1A1A1A;
  background: #FFF;
}

.range {
  --fill: 31%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 1.5rem;
  background: transparent;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  height: 0.25rem;
  border-radius: 0.125rem;
  background: linear-gradient(90deg, var(--green) var(--fill), rgba(255, 255, 255, 0.16) var(--fill));
}

.range::-moz-range-track {
  height: 0.25rem;
  border-radius: 0.125rem;
  background: rgba(255, 255, 255, 0.16);
}

.range::-moz-range-progress {
  height: 0.25rem;
  border-radius: 0.125rem;
  background: var(--green);
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: -0.5625rem;
  border-radius: 50%;
  background: #FFF;
  border: none;
  box-shadow: 0 0 0 0.3125rem rgba(97, 182, 93, 0.25);
}

.range::-moz-range-thumb {
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: #FFF;
  border: none;
  box-shadow: 0 0 0 0.3125rem rgba(97, 182, 93, 0.25);
}

.range:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}

.range__scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  line-height: 1.2;
  color: var(--on-dark-3);
  padding: 0 0.125rem;
}

.calc__output {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding-left: 2rem;
  border-left: 1px solid var(--line-dark);
}

.calc__result .label {
  display: block;
}

.calc__value {
  display: block;
  margin-top: 0.4375rem;
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc__value.is-long { font-size: 2.75rem; }
.calc__value.is-xlong { font-size: 2.125rem; }

.calc__value.is-negative {
  color: var(--orange);
}

/* Gráfico: saldo acumulado nos 12 meses (barras a partir da linha do zero) */
.calc__chart {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc__chart-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: max(0.8125rem, 11px);
  line-height: 1.4;
  color: var(--on-dark-2);
  white-space: nowrap;
}

.calc__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  color: #FFF;
  font-weight: 500;
  white-space: nowrap;
}

.calc__flag::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #FFF;
}

.calc__flag:empty::before {
  display: none;
}

.calc__plot {
  position: relative;
  height: 10.5rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.calc__col {
  position: relative;
  height: 100%;
}

.calc__bar {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(1.25rem, 100% - 0.375rem);
  height: 0;
  transform: translateX(-50%);
  border-radius: 4px 4px 0 0;
  background: var(--green);
  transition: top 0.55s var(--ease-expo-out), height 0.55s var(--ease-expo-out), background-color 0.3s ease, opacity 0.3s ease;
}

.calc__col.is-neg .calc__bar {
  border-radius: 0 0 4px 4px;
  background: rgba(255, 255, 255, 0.36);
}

.calc__plot:hover .calc__bar {
  opacity: 0.55;
}

.calc__plot .calc__col:hover .calc__bar {
  opacity: 1;
}

/* o mês em que o saldo fica positivo */
.calc__col.is-payback .calc__bar::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -0.9375rem;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: -0.25rem;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 0 2px var(--bg-dark);
}

.calc__zero {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
  transition: top 0.55s var(--ease-expo-out);
  pointer-events: none;
}

.calc__tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  padding: 0.3125rem 0.625rem;
  border-radius: 0.5rem;
  background: #FFF;
  color: var(--text-muted);
  font-size: max(0.75rem, 10px);
  line-height: 1.3;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 0.5rem));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.calc__tip.is-on {
  opacity: 1;
}

.calc__tip b {
  display: block;
  font-size: max(0.875rem, 11px);
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.calc__axis {
  display: flex;
  justify-content: space-between;
  font-size: max(0.6875rem, 10px);
  line-height: 1.2;
  color: var(--on-dark-3);
}

.calc__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6875rem 0;
  border-top: 1px solid var(--line-dark);
  font-size: max(1rem, 12px);
  line-height: 1.4;
  color: var(--on-dark-2);
}

.calc__row b {
  font-weight: 500;
  color: #FFF;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.calc__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding-top: 1.375rem;
  border-top: 1px solid var(--line-dark);
}

.calc__foot .micro {
  flex: 1;
  min-width: 0;
  max-width: 24rem;
}

.calc__foot .pill {
  flex: none;
}

/* ==========================================================================
   Dobra 5 — Próximo passo: convite + FAQ + formulário + rodapé
   ========================================================================== */
.closing__direct {
  margin-top: 0.75rem;
}

.closing__direct a {
  color: #FFF;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 1px;
  transition: color 0.3s ease;
}

.closing__direct a:hover {
  color: var(--orange);
}

/* FAQ: perguntas à esquerda, resposta ao lado. A altura não muda ao trocar de pergunta. */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 1.75rem;
  padding-top: 1.375rem;
  border-top: 1px solid var(--line-dark);
}

.faq__title {
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.faq__tabs {
  display: grid;
  align-content: start;
}

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: max(0.9375rem, 12px);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: var(--on-dark-3);
  transition: color 0.3s ease;
}

.faq__q::after {
  content: '+';
  flex: none;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.45s var(--ease-expo-out), color 0.3s ease;
}

.faq__q:hover {
  color: #FFF;
}

.faq__q[aria-selected="true"] {
  color: #FFF;
}

.faq__q[aria-selected="true"]::after {
  transform: rotate(45deg);
  color: var(--orange);
}

.faq__answers {
  display: grid;
  align-content: start;
}

.faq__a {
  grid-area: 1 / 1;
  font-size: max(1.0625rem, 12px);
  line-height: 1.55;
  color: var(--on-dark-2);
}

.faq__a-q {
  display: none;
}

.js .faq__a {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s 0.45s;
}

.js .faq__a.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0s;
}

/* Sem JS: todas as perguntas e respostas aparecem em sequência */
html:not(.js) .faq__tabs { display: none; }
html:not(.js) .faq__a { grid-area: auto; margin-bottom: 0.75rem; }
html:not(.js) .faq__a-q { display: block; color: #FFF; }

.lead-form {
  display: grid;
  gap: 0.875rem;
  padding: 1.75rem;
  border-radius: var(--radius-container);
  background: #15151C;
  border: 1px solid var(--line-dark);
}

.lead-form .input {
  height: 3rem;
  font-size: max(1rem, 12px);
}

/* O aviso de validação ocupa o lugar da nota, sem aumentar o formulário */
.lead-form:has(.lead-form__status:not(:empty)) .lead-form__note {
  display: none;
}

.check {
  display: grid;
  grid-template-columns: 1.125rem 1fr;
  gap: 0.625rem;
  align-items: start;
  font-size: max(0.8125rem, 11px);
  line-height: 1.5;
  color: var(--on-dark-2);
  cursor: pointer;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.3125rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.check input::after {
  content: '';
  width: 0.5625rem;
  height: 0.3125rem;
  border-left: 2px solid var(--bg-dark);
  border-bottom: 2px solid var(--bg-dark);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}

.check input:checked {
  background: #FFF;
  border-color: #FFF;
}

.check input:checked::after {
  opacity: 1;
}

.check--sim[hidden] {
  display: none;
}

.lead-form__note {
  text-align: center;
}

.lead-form__status {
  font-size: max(0.75rem, 11px);
  line-height: 1.4;
  color: var(--orange);
  text-align: center;
}

.lead-form__status:empty {
  display: none;
}

.footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-3);
  font-size: max(0.8125rem, 11px);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-block: 1.125rem;
}

.footer a {
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #FFF;
}

/* ---------- Leitores de tela ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Barra de rolagem própria (js): um fio na lateral, com a cor da seção ---------- */
.scrollrail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: 1.25rem;
  display: none;
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .scrollrail {
    display: block;
  }

  /* a barra nativa só some onde a nossa existe */
  html.js {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html.js::-webkit-scrollbar,
  html.js body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

.scrollrail__track {
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: rgba(125, 125, 134, 0.3);
}

.scrollrail__tick {
  position: absolute;
  left: 50%;
  width: 0.4375rem;
  height: 2px;
  margin: -1px 0 0 -0.21875rem;
  border-radius: 1px;
  background: rgba(125, 125, 134, 0.8);
}

.scrollrail__thumb {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.3125rem;
  margin-left: -0.15625rem;
  border-radius: 1rem;
  background: var(--red);
  transition: width 0.3s var(--ease-expo-out), margin-left 0.3s var(--ease-expo-out), background-color 0.6s ease;
}

.scrollrail:hover .scrollrail__thumb,
.scrollrail.is-dragging .scrollrail__thumb {
  width: 0.5625rem;
  margin-left: -0.28125rem;
}

.scrollrail.is-dragging {
  cursor: grabbing;
}


/* O texto da solução ganhou uma linha (ÍRIS como agente): os quatro passos
   apertam um pouco para a seção continuar em uma dobra. */
@media (min-width: 1001px) {
  .step {
    padding: 0.5rem 0;
  }

  .steps {
    margin-top: 1.125rem;
  }
}

/* Telas baixas: os tamanhos mínimos de leitura deixam o texto proporcionalmente
   maior, então alguns respiros cedem para a seção continuar cabendo na dobra. */
@media (min-width: 1001px) and (max-height: 680px) {
  .step {
    padding: 0.375rem 0;
  }

  .solution__cta {
    margin-top: 0.875rem;
  }

  .faq__q {
    padding: 0.3125rem 0;
  }
}

/* A linha "incluir minha simulação" aparece depois que o simulador é usado:
   fica em uma linha só e o formulário aperta um pouco, para a dobra não crescer. */
@media (min-width: 1001px) {
  .lead-form:has(.check--sim:not([hidden])) {
    gap: 0.75rem;
  }

  .check--sim > span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 1001px) and (max-height: 760px) {
  .lead-form:has(.check--sim:not([hidden])) {
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Tablet e mobile — conteúdo empilhado e compacto (as dobras deixam de ser
   telas cheias: num celular cada bloco ocupa só a altura que precisa)
   ========================================================================== */
@media (max-width: 1000px) {
  :root {
    --header-h: 4.75rem;   /* 76px */
    --gap: 1.75rem;
    --curve-w: 0.875rem;
  }

  .header__links {
    display: none;
  }

  .header__logo img {
    height: 2.5rem;
  }

  .header__brand {
    font-size: 1.25rem;
  }

  .header__cta {
    padding: 0.8125rem 1.25rem;
    font-size: 0.875rem;
  }

  /* Em telas pequenas o header sai de cena ao rolar */
  .header__logo,
  .header__cta {
    transition: opacity 0.35s ease, transform 0.5s var(--ease-expo-out), visibility 0s;
  }

  .header--scrolled .header__logo,
  .header--scrolled .header__cta {
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.4s var(--ease-expo-out), visibility 0s 0.25s;
  }

  .fold {
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
    overflow: clip;
  }

  .fold:first-of-type {
    padding-top: var(--header-h);
  }

  .fold__body {
    padding-block: 3rem;
  }

  .fold:first-of-type .fold__body {
    padding-block: 1.25rem 2.5rem;
  }

  .wrap.hero__grid,
  .split,
  .grid3,
  .story,
  .roi,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .wrap.hero__grid {
    gap: 2.5rem;
    padding-right: var(--pad);
  }

  .hero__headline {
    font-size: clamp(2.125rem, 9vw, 4.125rem);
    line-height: 1.02;
    margin: 1rem 0 1.25rem;
    white-space: normal;
  }

  .hero__copy .lead {
    font-size: 1.0625rem;
  }

  .h2,
  .h2--xl,
  .roi__copy .h2 {
    font-size: clamp(1.875rem, 6vw, 3rem);
  }

  .h2 br {
    display: none;
  }

  .lead,
  .roi .lead {
    font-size: 1.0625rem;
  }

  .pill--lg,
  .hero__actions .pill--lg {
    padding: 1.1875rem 1.75rem;
    font-size: 0.875rem;
  }

  .trust__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-block: 1.25rem;
  }

  .trust__label {
    font-size: 0.8125rem;
  }

  .marquee {
    align-self: stretch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%);
  }

  .marquee__track {
    gap: 2.5rem;
    padding-right: 2.5rem;
  }

  /* ---------- Aparelho: no celular, um iPhone ---------- */
  .device {
    --screen-x: 5.3333%;
    --screen-y: 2.5%;
    --screen-w: 89.3333%;
    --screen-h: 95%;
    justify-self: center;
    align-self: auto;
    width: min(19rem, 78vw);
    perspective: none;
  }

  .device__glow {
    inset: 10% -14% 6%;
  }

  .device__body {
    aspect-ratio: 1350 / 2760;
    transform: none;
  }

  .device__body::after {
    left: 12%;
    right: 12%;
    bottom: -1.4%;
    height: 3%;
  }

  .device__screen {
    border-radius: 15.5% / 7.1%;
  }

  .os__wall {
    inset: 0;
    background: linear-gradient(180deg, #171833 0%, #0C0D15 34%);
    animation: none;
  }

  .os__menubar,
  .os__dock,
  .os__side,
  .os__cursor,
  .os__lights,
  .os__glare {
    display: none;
  }

  .os__statusbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5.6cqw 9cqw 0 11.5cqw;
    font-size: 4.3cqw;
    font-weight: 600;
  }

  .os__statusbar .os__battery {
    width: 6.6cqw;
    height: 3.2cqw;
    border-radius: 0.95cqw;
    box-shadow: inset 0 0 0 0.3cqw rgba(255, 255, 255, 0.6);
  }

  .os__statusbar .os__battery::after {
    right: -0.8cqw;
    width: 0.4cqw;
  }

  .os__statusbar .os__battery i {
    inset: 0.6cqw;
    right: 22%;
    border-radius: 0.4cqw;
  }

  .os__home {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 2.4cqw;
    z-index: 6;
    width: 36cqw;
    height: 1.3cqw;
    margin-left: -18cqw;
    border-radius: 1cqw;
    background: rgba(255, 255, 255, 0.9);
  }

  .os__window {
    left: 0;
    right: 0;
    top: 15cqw;
    bottom: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .os__titlebar {
    height: auto;
    padding: 1cqw 5cqw 3.2cqw;
    background: none;
    border: 0;
  }

  .os__wintitle {
    position: static;
    transform: none;
    font-size: 4.6cqw;
    color: #FFF;
  }

  .os__live {
    gap: 1.4cqw;
    font-size: 2.7cqw;
  }

  .os .status-dot {
    width: 1.8cqw;
    height: 1.8cqw;
  }

  .os__main {
    gap: 3cqw;
    padding: 0 4.5cqw 9.5cqw;
  }

  .os__card {
    border-radius: 3.6cqw;
    border-width: 0.25cqw;
  }

  .os__kpis {
    gap: 3cqw;
  }

  .os__kpi {
    padding: 3cqw 3.2cqw;
    align-content: space-between;
  }

  .os__kpi-label { font-size: 2.3cqw; }
  .os__kpi-value { font-size: 6.4cqw; margin: 1cqw 0 0.6cqw; }
  .os__kpi-note { font-size: 2.65cqw; }

  .os__chart {
    padding: 3.2cqw 3.4cqw 2.6cqw;
  }

  .os__chart-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 1cqw;
    margin-bottom: 2.4cqw;
  }

  .os__chart-title { font-size: 3.3cqw; }

  .os__legend {
    gap: 1.2cqw;
    font-size: 2.6cqw;
  }

  .os__legend i {
    width: 3.6cqw;
    height: 0.7cqw;
    margin-left: 0;
    margin-right: 0.2cqw;
  }

  .os__legend i ~ i {
    margin-left: 2cqw;
  }

  .os__legend-base {
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0 1cqw, transparent 1cqw 1.6cqw);
  }

  .os__peak {
    width: 3.2cqw;
    height: 3.2cqw;
    margin: -1.6cqw 0 0 -1.6cqw;
    box-shadow: 0 0 0 0.6cqw #17181F;
  }

  .os__peak::after {
    inset: -0.5cqw;
    border-width: 0.35cqw;
  }

  .os__peak b {
    padding: 0.7cqw 1.8cqw;
    border-radius: 3cqw;
    font-size: 2.5cqw;
  }

  .os__axis {
    margin-top: 1.4cqw;
    font-size: 2.4cqw;
  }

  .os__reco {
    padding: 3.2cqw 3.4cqw 3.4cqw;
  }

  .os__reco-title { gap: 1.6cqw; font-size: 3.3cqw; }
  .os__reco-text { margin: 1.6cqw 0 2.4cqw; font-size: 3.6cqw; }

  .os__reco-meta {
    gap: 2cqw;
    font-size: 2.4cqw;
  }

  .os__btn {
    padding: 1.5cqw 3.2cqw;
    border-radius: 5cqw;
    font-size: 2.9cqw;
  }

  .os.is-live.s-reco .os__reco {
    box-shadow: 0 0 0 0.7cqw rgba(97, 182, 93, 0.16);
  }

  .os__toast {
    top: 14cqw;
    left: 3cqw;
    right: 3cqw;
    width: auto;
    gap: 2.4cqw;
    padding: 2.8cqw 3cqw;
    border-radius: 5cqw;
    font-size: 3.1cqw;
    -webkit-backdrop-filter: blur(3cqw);
    backdrop-filter: blur(3cqw);
  }

  .os__toast img {
    width: 8cqw;
    height: 8cqw;
    padding: 1cqw;
    border-radius: 2cqw;
  }

  .os__toast i {
    font-size: 2.6cqw;
  }

  .os.is-live .os__toast {
    transform: translateY(-150%);
  }

  /* ---------- Problema: título, o vídeo numa faixa e os cartões por cima da base dele ---------- */
  .story {
    gap: 3rem;
  }

  .problem {
    gap: 0;
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .problem::before {
    display: none;
  }

  .problem__media {
    position: relative;
    left: auto;
    bottom: auto;
    order: 1;
    z-index: 0;
    width: calc(100% + 2.5rem);
    aspect-ratio: 16 / 11;
    margin: 1.25rem -1.25rem 0;
    transform: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }

  .problem__video {
    object-position: 50% 78%;
  }

  .pains {
    order: 2;
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
    margin-top: -3.25rem;
  }

  .pain:nth-child(2) {
    top: 0;
  }

  /* ---------- Aplicações ---------- */
  .apps {
    display: block;
  }

  .stage {
    grid-template-rows: auto minmax(24rem, auto);
    min-height: 0;
  }

  .stage__top {
    position: relative;
    grid-area: 1 / 1;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem 0;
  }

  .apps__tabs {
    flex-wrap: wrap;
  }

  .app-panel {
    grid-area: 1 / 1 / 3 / 2;
    padding: 0 1.25rem 6.25rem;
  }

  /* o painel herda as duas linhas do palco: a de cima fica para o título e as abas,
     e o texto ocupa a de baixo, que cresce com ele */
  @supports (grid-template-rows: subgrid) {
    .app-panel {
      display: grid;
      grid-template-rows: subgrid;
    }

    .app-panel__content {
      grid-row: 2;
      align-self: end;
      padding-top: 1.75rem;
    }
  }

  .stage__cta {
    left: 1.25rem;
    bottom: 1.5rem;
  }

  .app-panel__title {
    font-size: 1.5rem;
  }

  .app-panel__img {
    object-position: 72% 50%;
  }

  .app-panel::after {
    background: linear-gradient(0deg, rgba(10, 10, 15, 0.96) 0%, rgba(10, 10, 15, 0.84) 46%, rgba(10, 10, 15, 0.62) 100%);
  }

  .personas {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-right: 0;
  }

  .personas__head {
    padding: 0 0 0.5rem;
  }

  .personas__title {
    font-size: 1.5rem;
  }

  .grid3 {
    gap: 0.75rem;
  }

  /* ---------- Simulador ---------- */
  .calc {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .calc__mark {
    display: none;
  }

  .calc__output {
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .calc__value,
  .calc__value.is-long {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .calc__value.is-xlong {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem);
  }

  .calc__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .calc__foot .micro {
    max-width: none;
  }

  .calc__foot .pill {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .lead-form {
    padding: 1.25rem;
  }

  .faq {
    gap: 1rem;
  }

  .faq__q {
    padding: 0.625rem 0;
  }

  /* No celular o traço contínuo dá lugar a traços curtos na faixa dos títulos */
  .ribbon {
    display: none;
  }

  .curve-box {
    display: block;
    height: 20rem;
  }

  .curve-box--hero {
    height: 24rem;
  }
}

@media (max-width: 560px) {
  .calc__pair,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__actions .pill {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .header__brand {
    display: none;
  }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .word-reveal__inner {
    transform: none !important;
    opacity: 1 !important;
  }

  .device__body {
    transform: none !important;
  }
}
