/* ---------- Tokens ---------- */
:root {
  --ink: oklch(21% 0.015 50);
  --ink-suave: oklch(46% 0.018 50);
  --ink-fraco: oklch(64% 0.014 50);
  --fundo: oklch(97.5% 0.005 75);
  --fundo-cartao: oklch(99.2% 0.002 75);
  --borda: oklch(89% 0.008 60);
  --acento: oklch(52% 0.17 42);
  --acento-hover: oklch(45% 0.17 42);
  --acento-fraco: oklch(94% 0.035 45);
  --acento-ink: oklch(99% 0.005 60);

  --sombra: 0 1px 2px oklch(21% 0.015 50 / 0.06), 0 8px 24px oklch(21% 0.015 50 / 0.06);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 480ms;

  --raio-sm: 10px;
  --raio-md: 16px;
  --raio-lg: 24px;
  --raio-pill: 999px;

  --fonte: "Geist", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: oklch(94% 0.006 75);
    --ink-suave: oklch(76% 0.014 60);
    --ink-fraco: oklch(54% 0.016 55);
    --fundo: oklch(16% 0.012 50);
    --fundo-cartao: oklch(21% 0.014 50);
    --borda: oklch(30% 0.016 50);
    --acento: oklch(64% 0.16 42);
    --acento-hover: oklch(70% 0.16 42);
    --acento-fraco: oklch(30% 0.05 42);
    --acento-ink: oklch(14% 0.01 50);

    --sombra: 0 1px 2px oklch(0% 0 0 / 0.3), 0 12px 32px oklch(0% 0 0 / 0.35);

    color-scheme: dark;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fonte);
  background: var(--fundo);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--acento-fraco); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
  border-radius: 4px;
}

.pular-conteudo {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--acento);
  color: var(--acento-ink);
  padding: 0.75rem 1.25rem;
  border-radius: var(--raio-sm);
  z-index: 1000;
}
.pular-conteudo:focus { left: 1rem; top: 1rem; }

/* Sentinela de 1px no topo: o cabeçalho ganha fundo quando ela sai da tela */
[data-sentinela-topo] {
  position: absolute;
  top: 0;
  height: 1px;
  width: 1px;
}

.envelope {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px))
    max(1.25rem, env(safe-area-inset-right, 0px));
}
@media (min-width: 761px) {
  .envelope {
    padding-inline: max(clamp(1.25rem, 4vw, 2.5rem), env(safe-area-inset-left, 0px))
      max(clamp(1.25rem, 4vw, 2.5rem), env(safe-area-inset-right, 0px));
  }
}
.envelope--estreito { max-width: 760px; }

/* ---------- Cabeçalho ---------- */
.cabecalho {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
}
.cabecalho[data-scrolled="true"],
.cabecalho[data-menu-aberto="true"] {
  background: color-mix(in oklch, var(--fundo) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--borda);
}
.cabecalho__conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 0.75rem;
}
/* Sobre o vídeo do hero (antes de rolar), o cabeçalho vive em fundo escuro */
.cabecalho:not([data-scrolled="true"]):not([data-menu-aberto="true"]) { color: #fff; }
.cabecalho:not([data-scrolled="true"]):not([data-menu-aberto="true"]) .nav-principal a,
.cabecalho:not([data-scrolled="true"]):not([data-menu-aberto="true"]) .botao--fantasma {
  color: oklch(97% 0.006 75 / 0.85);
}
.cabecalho:not([data-scrolled="true"]):not([data-menu-aberto="true"]) .nav-principal a:hover,
.cabecalho:not([data-scrolled="true"]):not([data-menu-aberto="true"]) .botao--fantasma:hover { color: #fff; }

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  min-width: 0;
  flex-shrink: 0;
}
.marca__logo {
  display: block;
  height: 34px;
  width: auto;
  flex-shrink: 0;
}
.rodape .marca__logo { height: 38px; }
.nav-principal {
  display: flex;
  gap: 2rem;
}
.nav-principal a {
  font-size: 0.92rem;
  color: var(--ink-suave);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-principal a:hover { color: var(--ink); }
.cabecalho__acoes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Botão hamburger — só no phone */
.cabecalho__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--raio-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}
.cabecalho__menu-btn:hover { background: oklch(50% 0.02 50 / 0.08); }
.cabecalho__menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 14px;
}
.cabecalho__menu-icon span {
  display: block;
  height: 1.5px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
  transform-origin: center;
}
.cabecalho[data-menu-aberto="true"] .cabecalho__menu-icon span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.cabecalho[data-menu-aberto="true"] .cabecalho__menu-icon span:nth-child(2) {
  opacity: 0;
}
.cabecalho[data-menu-aberto="true"] .cabecalho__menu-icon span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Menu mobile (drawer sob o header) */
.menu-mobile {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 99;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile__backdrop {
  position: fixed;
  inset: 0;
  top: calc(68px + env(safe-area-inset-top, 0px));
  background: oklch(10% 0.01 50 / 0.4);
  z-index: 0;
}
.menu-mobile__painel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem max(1.25rem, env(safe-area-inset-right, 0px))
    max(1.25rem, env(safe-area-inset-bottom, 0px))
    max(1.25rem, env(safe-area-inset-left, 0px));
  background: color-mix(in oklch, var(--fundo) 96%, transparent);
  border-bottom: 1px solid var(--borda);
  box-shadow: 0 16px 40px oklch(21% 0.015 50 / 0.12);
}
.menu-mobile__painel > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.65rem 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-radius: var(--raio-sm);
}
.menu-mobile__painel > a:active {
  background: var(--acento-fraco);
}
.menu-mobile__acoes {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--borda);
}
.menu-mobile__acoes .botao {
  width: 100%;
  min-height: 48px;
}
body[data-menu-aberto="true"] {
  overflow: hidden;
}

@media (max-width: 760px) {
  .nav-principal { display: none; }
  .cabecalho__entrar { display: none; }
  .cabecalho__cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  .cabecalho__menu-btn { display: inline-flex; }
  .cabecalho__conteudo { height: 60px; }
}

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: var(--raio-pill);
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}
.botao:active { transform: scale(0.97); }
.botao--solido { background: var(--acento); color: var(--acento-ink); }
.botao--solido:hover { background: var(--acento-hover); }
.botao--fantasma { color: var(--ink-suave); }
.botao--fantasma:hover { color: var(--ink); }
.botao--grande { padding: 0.85rem 1.75rem; font-size: 1rem; }

/* ---------- Etiquetas / tipografia utilitária ---------- */
.etiqueta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 0.85rem;
}
.etiqueta--clara { color: oklch(80% 0.11 45); font-weight: 700; }

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.texto-grande {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-suave);
}

/* ---------- Vídeos de cena (hero + motor) ----------
   Scroll-scrubbing sobre arquivos all-intra (keyframe em todo frame):
   cada seek decodifica um único frame, sem engasgo. O fade-in acontece
   quando o primeiro frame renderiza (data-pronto). */
[data-hero-video],
[data-motor-video],
[data-cadeado-video],
[data-fluxo-video] {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
[data-hero-video][data-pronto="true"],
[data-motor-video][data-pronto="true"],
[data-cadeado-video][data-pronto="true"],
[data-fluxo-video][data-pronto="true"] { opacity: 1; }
/* CTA: opacidade do vídeo é regida pela coreografia (não pelo data-pronto) */

/* ---------- Hero (scroll-scrubbing) ---------- */
.hero {
  position: relative;
  /* Mais percurso = scrub menos apressado e com sensação de fluidez */
  height: 360vh;
  background: #000;
}
.hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__veu {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0% 0 0 / 0.4) 0%,
    oklch(0% 0 0 / 0.12) 35%,
    oklch(0% 0 0 / 0.12) 65%,
    oklch(0% 0 0 / 0.55) 100%
  );
  pointer-events: none;
}
/* Degradê inferior → preto: suaviza a borda com o momento-fluxo.
   Opacity controlada pelo scrub (só no fim da rolagem do hero). */
.hero__fade-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(42vh, 22rem);
  background: linear-gradient(
    180deg,
    transparent 0%,
    oklch(0% 0 0 / 0.35) 45%,
    #000 100%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: opacity;
}
.hero__conteudo {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding-block: 6rem;
}
.hero__conteudo h1 { color: #fff; }
.hero__sub {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
  color: oklch(97% 0.006 75 / 0.94);
}
.hero__acoes { margin-top: 2.25rem; }

/* Entrada do hero: uma vez, no carregamento, escalonada.
   Anima só os filhos: o contêiner fica livre para o scrub do JS. */
@media (prefers-reduced-motion: no-preference) {
  .hero__conteudo > * {
    animation: subir-suave 0.9s var(--ease-out) both;
  }
  .hero__conteudo > :nth-child(2) { animation-delay: 80ms; }
  .hero__conteudo > :nth-child(3) { animation-delay: 160ms; }
  .hero__conteudo > :nth-child(4) { animation-delay: 240ms; }
}
@keyframes subir-suave {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Saída do texto do hero: opacity/transform escritos por frame pelo scrub
   (main.js), sem transition — acompanhamento 1:1 do scroll. */
[data-hero-conteudo] { will-change: opacity, transform; }

/* Phone: sem scrub de 360vh — um viewport estático com texto na dobra */
@media (max-width: 760px) {
  .hero {
    height: auto;
  }
  .hero__pin {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    align-items: center;
  }
  .hero__conteudo {
    padding-block: calc(5rem + env(safe-area-inset-top, 0px)) 3.5rem;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .hero__conteudo h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }
  .hero__sub {
    font-size: 1.05rem;
    max-width: 28rem;
  }
  .hero__acoes {
    margin-top: 1.75rem;
  }
  .hero__acoes .botao {
    min-height: 48px;
    width: 100%;
    max-width: 20rem;
  }
  .hero__fade-base {
    opacity: 0.45 !important;
    height: min(28vh, 12rem);
  }
}

/* ---------- Momento do motor (scroll-scrubbing, faixa preta) ---------- */
.momento-motor {
  position: relative;
  height: 260vh;
  background: #000;
}
.momento-motor__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  will-change: opacity, transform;
}
.momento-motor__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.momento-motor__veu {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0% 0 0 / 0.15) 0%, oklch(0% 0 0 / 0.05) 38%, oklch(0% 0 0 / 1) 100%);
  pointer-events: none;
}
.momento-motor__texto {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding-block: 0 clamp(4rem, 10vw, 7rem);
  /* Opacity/transform escritos por frame pelo scrub (main.js) */
  will-change: opacity, transform;
}
.momento-motor__titulo {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.momento-motor__sub {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: oklch(97% 0.006 75 / 0.9);
}

/* Phone: motor sem sticky de 260vh */
@media (max-width: 760px) {
  .momento-motor {
    height: auto;
  }
  .momento-motor__pin {
    position: relative;
    min-height: min(100dvh, 640px);
    height: auto;
    opacity: 1 !important;
    transform: none !important;
  }
  .momento-motor__texto {
    opacity: 1 !important;
    transform: none !important;
    padding-block: 0 clamp(3rem, 10vw, 5rem);
  }
  .momento-motor__titulo {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }
  .momento-motor__sub {
    font-size: 1.05rem;
  }
}

/* ---------- Momento do cadeado (à la seção de privacidade da Apple) ----------
   Momento CLARO em três tempos: o vídeo entra como um card de cantos
   arredondados sobre o fundo da página e cresce até tomar a tela
   (clip-path animado pelo JS); o texto escuro lê parado e some pela
   aproximação (fade + zoom); daí o scroll fecha o cadeado scrubando
   o cadeado_scrub.mp4 (all-intra). */
.momento-cadeado {
  position: relative;
  height: 300vh;
  background: var(--fundo);
}
.momento-cadeado__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}
.momento-cadeado__palco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* Cinza do próprio vídeo: cobre o card antes do primeiro frame */
  background: oklch(82% 0.002 260);
  /* O card cresce por scale (não por clip): o vídeo encolhe junto e
     preenche sempre 100% do card, sem virar um recorte. */
  will-change: transform, border-radius;
}
.momento-cadeado__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.momento-cadeado__veu {
  position: absolute;
  inset: 0;
  background: oklch(90% 0.002 260 / 0.55);
  pointer-events: none;
  will-change: opacity;
}
.momento-cadeado__texto {
  position: relative;
  z-index: 1;
  text-align: center;
  will-change: opacity, transform;
}
.momento-cadeado__titulo {
  /* Cores fixas (não tokens): o vídeo é claro nos dois temas */
  color: oklch(23% 0.015 50);
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}
.momento-cadeado__sub {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
  color: oklch(38% 0.015 50 / 0.92);
}

/* Phone: cadeado sem sticky de 300vh — card + texto legíveis de cara */
@media (max-width: 760px) {
  .momento-cadeado {
    height: auto;
    padding-block: clamp(2.5rem, 8vw, 4rem);
  }
  .momento-cadeado__pin {
    position: relative;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    overflow: visible;
    background: transparent;
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px))
      max(1.25rem, env(safe-area-inset-right, 0px));
  }
  .momento-cadeado__palco {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--raio-lg) !important;
    transform: none !important;
    overflow: hidden;
  }
  .momento-cadeado__texto {
    position: relative;
    order: -1;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    padding-inline: 0.25rem;
  }
  .momento-cadeado__titulo {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }
  .momento-cadeado__sub {
    font-size: 1.05rem;
  }
  .momento-cadeado__veu {
    opacity: 0.35 !important;
  }
}

/* ---------- Seções ---------- */
.secao { padding-block: clamp(4rem, 10vw, 8rem); }
.secao--intro {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-block: 1px solid var(--borda);
  background: color-mix(in oklch, var(--fundo-cartao) 50%, var(--fundo));
}
.secao__cabecalho { margin-bottom: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.secao__cabecalho h2 { margin-inline: auto; }
.secao--intro .intro-manifesto {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
  max-width: 720px;
  margin-inline: auto;
}
.secao--intro strong {
  font-weight: 700;
  color: var(--ink);
}
.secao--intro { text-align: center; }

/* ---------- Plataforma: Switcher Interativo de Perspectivas ---------- */
.plataforma-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 760px) {
  .plataforma-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * max(1.25rem, env(safe-area-inset-left, 0px)));
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px))
      max(1.25rem, env(safe-area-inset-right, 0px));
    margin-bottom: 1.25rem;
  }
  .plataforma-tabs::-webkit-scrollbar { display: none; }
  .plataforma-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: min(72vw, 15.5rem);
    min-height: 44px;
    padding: 0.85rem 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.15rem;
  }
  .plataforma-tab__numero {
    margin-bottom: 0;
  }
  .plataforma-tab__titulo {
    font-size: 0.95rem;
    margin-bottom: 0;
  }
  .plataforma-tab__sub {
    width: 100%;
    flex-basis: 100%;
  }
  .plataforma-card-foco {
    padding: 1.35rem 1.25rem;
  }
  .plataforma-tags {
    gap: 0.55rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
  }
}
.plataforma-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--fundo-cartao);
  border: 1px solid var(--borda);
  border-radius: var(--raio-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--dur-base) var(--ease-out);
}
.plataforma-tab:hover {
  border-color: oklch(52% 0.17 42 / 0.35);
  transform: translateY(-2px);
}
.plataforma-tab.active {
  background: var(--fundo-cartao);
  border-color: var(--acento);
  box-shadow: 0 0 0 1px var(--acento), var(--sombra);
}
.plataforma-tab__numero {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--acento);
  margin-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.plataforma-tab__titulo {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.plataforma-tab__sub {
  font-size: 0.82rem;
  color: var(--ink-suave);
}

.plataforma-palco {
  position: relative;
  min-height: 220px;
}
.plataforma-painel {
  display: none;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.plataforma-painel.active {
  display: block;
  opacity: 1;
}
.plataforma-card-foco {
  background: var(--fundo-cartao);
  border: 1px solid var(--borda);
  border-radius: var(--raio-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--sombra);
}
.plataforma-card-foco__header {
  margin-bottom: 1.25rem;
}
.plataforma-card-foco h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.5rem;
}
.plataforma-card-foco p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-suave);
  line-height: 1.65;
  max-width: 780px;
}
.plataforma-tags {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--borda);
}
.plataforma-tags span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--acento-fraco);
  padding: 0.35rem 0.85rem;
  border-radius: var(--raio-pill);
  border: 1px solid oklch(52% 0.17 42 / 0.15);
}

/* ---------- Momento do fluxo (ChipHero à la Apple Performance) ----------
   1) sticky ~300vh; pin 100vh com vídeo full-bleed;
   2) cutout: um SVG viewport-size — rect preto com as letras vazadas via
      <mask> do próprio SVG (furo com transparência real; sem blend mode,
      sem extensões). scale 1→85 no compositor mergulha na letra;
   3) máscara some (~30%) e section-mx-scroll (conteúdo sólido) entra. */
.momento-fluxo {
  position: relative;
  background: #000;
}
.momento-fluxo__hero {
  position: relative;
  /* Percurso do sticky: zoom 400→1 + leitura do conteúdo.
     Apple usa 400vh porque ainda anima copy/stats até o fim;
     aqui o cutout fecha ~30%, então 300vh evita “scroll morto”. */
  height: 300vh;
}
.momento-fluxo__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* section-mx-mask */
.fluxo-mascara {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}
.fluxo-mascara__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.fluxo-mascara__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  will-change: transform;
}

/* cutout: SVG viewport-size; o rect preto tem as letras vazadas pelo
   <mask> interno — furo com transparência real, sem blend mode. Uma
   camada só, rasterizada no tamanho do viewport; o scale roda inteiro
   no compositor. Enquanto scale ≥ 1 e a origem estiver dentro do rect,
   ele cobre o viewport inteiro — sem vazamento nas bordas.
   O font-size mora aqui (herdado pelo <text>) para o transform-origin
   em em acompanhar o clamp(): origem no miolo do “p” de “placa”
   (~2.5em à esquerda do centro do texto). */
.fluxo-mascara__cutout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  /* Origem no miolo do “p” de “placa” — mergulho na letra */
  transform-origin: calc(50% - 2.5em) calc(50% + 0.08em);
  transform: translateZ(0) scale(1);
  opacity: 1;
  visibility: visible;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.fluxo-mascara__texto {
  /* Peso alto: miolo da letra cobre a tela no zoom */
  font-size: inherit;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-anchor: middle;
  dominant-baseline: central;
}
/* variante em duas linhas só no layout estático (mobile / reduced-motion) */
.fluxo-mascara__texto--quebra {
  display: none;
}

/* scrim: escurece o vídeo quando ele vira fundo full-bleed,
   para o conteúdo sólido ler bem por cima. JS anima só a opacity. */
.fluxo-mascara__scrim {
  position: absolute;
  inset: 0;
  background: oklch(0% 0 0 / 0.6);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* section-mx-scroll: conteúdo sólido sobre o pin */
.momento-fluxo__conteudo {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.momento-fluxo__headline {
  margin-top: 0.6rem;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
.momento-fluxo__copy {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
  color: oklch(71% 0.008 60);
}
.momento-fluxo__copy .destaque { color: #fff; }

.momento-fluxo__passos {
  position: relative;
  z-index: 1;
  /* Top generoso após o hero; bottom enxuto */
  padding-block: clamp(5.5rem, 14vw, 10rem) clamp(2.25rem, 5vw, 3.75rem);
  overflow-x: clip;
}

/*
  Carrossel Apple-style sobre cinema black:
  cards dark gray (#1d1d1f family), raio largo, padding generoso, 2 por vez.
*/
.linha-fluxo--escura {
  --fluxo-gap: clamp(1rem, 2vw, 1.25rem);
  --fluxo-visiveis: 2;
  --fluxo-card: #1d1d1f;
  --fluxo-card-hover: #2a2a2c;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--fluxo-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
  scroll-padding-inline: calc(50vw - 50%);
  padding-block: 0.15rem 0.35rem;
  margin-block: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}
.linha-fluxo--escura:active {
  cursor: grabbing;
}
.linha-fluxo--escura::-webkit-scrollbar {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .linha-fluxo--escura {
    scroll-behavior: auto;
  }
}
.linha-fluxo--escura .linha-fluxo__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 calc(
    (
      min(1180px, 100vw)
      - 2 * clamp(1.25rem, 4vw, 2.5rem)
      - (var(--fluxo-visiveis) - 1) * var(--fluxo-gap)
    ) / var(--fluxo-visiveis)
  );
  min-width: 0;
  min-height: 17.5rem;
  scroll-snap-align: start;
  padding: clamp(1.75rem, 3vw, 2.35rem) clamp(1.5rem, 2.5vw, 2rem);
  /* Apple elevated surface: dark gray, not pure black */
  background: var(--fluxo-card);
  border: none;
  border-top: none;
  border-radius: 1.75rem;
  box-shadow: none;
  transition: background var(--dur-base) var(--ease-out);
}
@media (max-width: 640px) {
  .linha-fluxo--escura {
    --fluxo-visiveis: 1;
    --fluxo-gap: 0.85rem;
  }
  .linha-fluxo--escura .linha-fluxo__item {
    min-height: 0;
    padding: 1.5rem 1.35rem;
    border-radius: 1.5rem;
  }
}
@media (hover: hover) and (pointer: fine) {
  .linha-fluxo--escura .linha-fluxo__item:hover {
    background: var(--fluxo-card-hover);
  }
}

/* Controles Apple: círculos cinza, simples */
.fluxo-carrossel__controles {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.fluxo-carrossel__seta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  color: #f5f5f7;
  background: #2a2a2c;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out);
}
.fluxo-carrossel__seta svg {
  width: 1rem;
  height: 1rem;
}
.fluxo-carrossel__seta:active:not(:disabled) {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .fluxo-carrossel__seta:hover:not(:disabled) {
    background: #3a3a3c;
  }
}
.fluxo-carrossel__seta:disabled {
  opacity: 0.35;
  cursor: default;
}
.fluxo-carrossel__seta:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
}

.linha-fluxo--escura .linha-fluxo__marcador {
  margin-bottom: 1.15rem;
}
/* Número: pill acento discreto sobre o gray */
.linha-fluxo--escura .linha-fluxo__numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: auto;
  padding: 0.22rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--acento);
  background: oklch(52% 0.17 42 / 0.16);
  border: 1px solid oklch(52% 0.17 42 / 0.22);
  border-radius: var(--raio-pill);
  box-shadow: none;
  margin-bottom: 0;
}
.linha-fluxo--escura .linha-fluxo__meta {
  margin: 0 0 0.4rem;
  color: var(--acento);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.linha-fluxo--escura h3 {
  color: #f5f5f7;
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
}
.linha-fluxo--escura .linha-fluxo__texto {
  color: #a1a1a6;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  max-width: 34ch;
}
.linha-fluxo--escura .linha-fluxo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.35rem;
  list-style: none;
}
/* Tags neutras no gray (Apple secondary), acento só no número/meta */
.linha-fluxo--escura .linha-fluxo__tags li {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #d2d2d7;
  background: #2a2a2c;
  border: none;
  padding: 0.32rem 0.7rem;
  border-radius: var(--raio-pill);
}

/* Mobile / reduced-motion: sem coreografia sticky — cutout estático + conteúdo em fluxo */
@media (max-width: 760px) {
  .momento-fluxo__hero { height: auto; }
  .momento-fluxo__pin {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .fluxo-mascara {
    position: relative;
    inset: auto;
    height: min(42vh, 360px);
    opacity: 1 !important;
  }
  .fluxo-mascara__cutout {
    transform: none !important;
    opacity: 1 !important;
    font-size: clamp(2rem, 10vw, 2.85rem);
  }
  .fluxo-mascara__texto--linha { display: none; }
  .fluxo-mascara__texto--quebra { display: block; }
  .momento-fluxo__conteudo {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    padding-block: clamp(2rem, 7vw, 3.25rem) 0;
  }
  .momento-fluxo__headline {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
  }
  .momento-fluxo__copy {
    font-size: 1.05rem;
    padding-inline: 0.25rem;
  }
  .momento-fluxo__passos {
    padding-block: clamp(2.5rem, 8vw, 4rem) clamp(3.5rem, 10vw, 6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .momento-fluxo__hero { height: auto; }
  .momento-fluxo__pin {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .fluxo-mascara {
    position: relative;
    inset: auto;
    height: min(52vh, 440px);
    opacity: 1 !important;
  }
  .fluxo-mascara__cutout {
    transform: none !important;
    opacity: 1 !important;
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }
  .fluxo-mascara__texto--linha { display: none; }
  .fluxo-mascara__texto--quebra { display: block; }
  .momento-fluxo__conteudo {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    padding-block: clamp(2.5rem, 8vw, 4rem) 0;
  }
}

/* ---------- Linha do fluxo ----------
   Sequência numerada 01–04 (única do site). Sem card fechado: hierarquia
   por tipografia, meta e tags — não por ícone-em-caixa.
   Com [data-carrossel] / .linha-fluxo--escura: faixa horizontal (ver bloco acima). */
.linha-fluxo:not([data-carrossel]):not(.linha-fluxo--escura) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 860px) {
  .linha-fluxo:not([data-carrossel]):not(.linha-fluxo--escura) {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .linha-fluxo:not([data-carrossel]):not(.linha-fluxo--escura) {
    grid-template-columns: 1fr;
  }
}
.linha-fluxo__item {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 2px solid var(--borda);
  transition: border-color var(--dur-base) var(--ease-out);
  min-width: 0;
}
.linha-fluxo__item:hover {
  border-top-color: var(--acento);
}
.linha-fluxo__marcador {
  display: flex;
  align-items: center;
  margin-bottom: 0.85rem;
}
.linha-fluxo__numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--acento);
  background: var(--acento-fraco);
  padding: 0.2rem 0.6rem;
  border-radius: var(--raio-pill);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  border: 1px solid oklch(52% 0.17 42 / 0.15);
}
.linha-fluxo__meta {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acento);
}
.linha-fluxo__item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.linha-fluxo__texto,
.linha-fluxo__item > p:not(.linha-fluxo__meta) {
  color: var(--ink-suave);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.linha-fluxo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.linha-fluxo__tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--acento-fraco);
  border: 1px solid oklch(52% 0.17 42 / 0.15);
  padding: 0.28rem 0.7rem;
  border-radius: var(--raio-pill);
}

/* ---------- Momento CTA (finale: texto | papel) ----------
   Sticky em duas colunas: à esquerda o texto (frase → conversão),
   à direita o vídeo do papel amassando. No mobile empilha. */
.momento-cta {
  position: relative;
  background: #000;
  color: #fff;
  overflow: clip;
}
.momento-cta__hero {
  position: relative;
  height: 240vh;
}
.momento-cta__pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 6.5rem);
}
/* Glow nas bordas — buraco à direita (onde o vídeo preto mora) */
.momento-cta__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(55% 40% at 12% 100%, oklch(52% 0.17 42 / 0.1) 0%, transparent 55%);
  mask-image: radial-gradient(ellipse 48% 70% at 78% 50%, transparent 0%, transparent 48%, #000 82%);
  pointer-events: none;
}
.momento-cta__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(oklch(100% 0 0 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, oklch(100% 0 0 / 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 48% 70% at 78% 50%, transparent 0%, transparent 45%, #000 82%);
  pointer-events: none;
  opacity: 0.45;
}

/* Grid lado a lado */
.momento-cta__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}
.momento-cta__col--texto {
  position: relative;
  text-align: left;
  min-width: 0;
  /* frases e conteúdo de conversão ocupam a mesma célula */
  display: grid;
  align-items: center;
}
.momento-cta__col--video {
  display: grid;
  place-items: center;
  min-width: 0;
}

/* Frases grandes que se revezam à esquerda */
.cta-frases {
  grid-area: 1 / 1;
  position: relative;
  min-height: clamp(8rem, 20vw, 12rem);
  display: grid;
  align-items: center;
  z-index: 1;
}
.cta-cena__frase {
  grid-area: 1 / 1;
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2.85rem, 6.2vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
  text-align: left;
  will-change: opacity, transform;
}
.cta-cena__frase--1 {
  opacity: 1;
  transform: translateY(0);
}
.cta-cena__frase--2 {
  opacity: 0;
  transform: translateY(18px);
}

/* Palco do vídeo (quadrado 1:1) — sem borda/glow no fundo preto */
.cta-cena__palco {
  width: min(100%, 480px);
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94);
  box-shadow: none;
  will-change: opacity, transform;
  background: #000;
}
.cta-cena__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Conteúdo de conversão (substitui as frases no final) */
.momento-cta__conteudo {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
  pointer-events: none;
  z-index: 2;
}
.momento-cta__headline {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0.7rem 0 0;
  text-wrap: balance;
}
.momento-cta__lead {
  margin: 1.15rem 0 0;
  max-width: 32rem;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  color: oklch(78% 0.008 60);
}
.momento-cta__lead .destaque {
  color: #fff;
}
.cta-provas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  max-width: 28rem;
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(100% 0 0 / 0.12);
}
@media (max-width: 520px) {
  .cta-provas { grid-template-columns: 1fr; gap: 1.15rem; }
}
.cta-prova {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.cta-prova__valor {
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--acento);
  font-variant-numeric: tabular-nums;
}
.cta-prova__rotulo {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: oklch(72% 0.008 60);
}
.cta-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 0.9rem;
  margin-top: 1.75rem;
}
.botao--fantasma-clara {
  color: oklch(88% 0.01 60);
  border: 1px solid oklch(100% 0 0 / 0.18);
}
.botao--fantasma-clara:hover {
  color: #fff;
  border-color: oklch(100% 0 0 / 0.35);
  background: oklch(100% 0 0 / 0.06);
}
.cta-garantias {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem 1.35rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid oklch(100% 0 0 / 0.1);
  font-size: 0.84rem;
  font-weight: 500;
  color: oklch(72% 0.008 60);
}
.cta-garantias span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cta-garantias svg {
  color: var(--acento);
  flex-shrink: 0;
}

/* Mobile: empilha vídeo acima do texto */
@media (max-width: 860px) {
  .momento-cta__hero { height: auto; }
  .momento-cta__pin {
    position: relative;
    min-height: auto;
    display: block;
    padding-block: clamp(3.25rem, 10vw, 5rem)
      max(clamp(3.25rem, 10vw, 5.5rem), env(safe-area-inset-bottom, 0px));
  }
  .momento-cta__layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .momento-cta__col--video { order: -1; }
  .cta-cena__palco {
    width: min(78vw, 360px);
    opacity: 1;
    transform: none;
  }
  .momento-cta__col--texto {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .cta-frases {
    min-height: 0;
  }
  .cta-cena__frase--1 { display: none; }
  .cta-cena__frase--2 {
    position: relative;
    opacity: 1;
    transform: none;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }
  .momento-cta__conteudo {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .cta-prova { align-items: flex-start; }
  .cta-acoes {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-acoes .botao {
    width: 100%;
    min-height: 48px;
  }
  .cta-garantias {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .momento-cta__headline {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
  }
}

/* ---------- Rodapé ---------- */
.rodape {
  padding-block: 2.5rem;
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--borda);
}
.rodape__conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.rodape__nota { color: var(--ink-fraco); font-size: 0.88rem; }
.rodape__link {
  color: var(--ink-fraco);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--borda);
  transition: color var(--dur-fast) var(--ease-out);
}
.rodape__link:hover { color: var(--ink); }
@media (max-width: 520px) {
  .rodape__conteudo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ---------- Página legal (política de privacidade etc.) ---------- */
.legal { padding-block: clamp(7rem, 14vw, 10rem) clamp(4rem, 10vw, 7rem); }
.legal__titulo {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.5rem;
}
.legal__vigencia {
  color: var(--ink-fraco);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.legal__intro {
  color: var(--ink-suave);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
  border-bottom: 1px solid var(--borda);
}
.legal__intro strong,
.legal__secao strong { color: var(--ink); }
.legal__secao { margin-bottom: clamp(2rem, 5vw, 2.75rem); }
.legal__secao h2 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-bottom: 0.85rem;
}
.legal__secao p {
  color: var(--ink-suave);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
.legal__secao p:last-child { margin-bottom: 0; }
.legal__secao ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--ink-suave);
  line-height: 1.65;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal__contato { margin-top: 1rem; }

/* Seções gerais no phone */
@media (max-width: 760px) {
  .secao { padding-block: clamp(3rem, 9vw, 5rem); }
  .secao--intro { padding-block: clamp(2.75rem, 8vw, 4.5rem); }
  .secao--intro .intro-manifesto {
    font-size: clamp(1.08rem, 4.2vw, 1.25rem);
    text-align: left;
  }
  .secao__cabecalho h2 {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem);
  }
  html { overflow-x: clip; }
  body { overflow-x: clip; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal[data-visivel="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* Sem scrubbing: hero, motor, cadeado, fluxo e CTA viram seções estáticas */
  .hero,
  .momento-motor,
  .momento-cadeado { height: auto; }
  .hero__pin,
  .momento-motor__pin,
  .momento-cadeado__pin { position: relative; }
  .hero__pin {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
  }
  .hero__conteudo {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .momento-motor__pin {
    min-height: min(100dvh, 640px);
    height: auto;
    opacity: 1 !important;
    transform: none !important;
  }
  .momento-motor__texto {
    opacity: 1 !important;
    transform: none !important;
  }
  .momento-cadeado {
    padding-block: clamp(2.5rem, 8vw, 4rem);
  }
  .momento-cadeado__pin {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    overflow: visible;
    background: transparent;
  }
  .momento-cadeado__palco {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    aspect-ratio: 4 / 3;
    border-radius: var(--raio-lg) !important;
    transform: none !important;
    overflow: hidden;
  }
  [data-hero-video],
  [data-motor-video],
  [data-cadeado-video],
  [data-fluxo-video] {
    opacity: 1;
    transition: none;
  }
  .momento-cadeado__texto { opacity: 1 !important; transform: none !important; }
  .hero__conteudo > * { animation: none; }
  .botao, .pilar, .cabecalho {
    transition: none;
  }
  .cabecalho__menu-icon span { transition: none; }
  .momento-cta__hero { height: auto; }
  .momento-cta__pin {
    position: relative;
    min-height: auto;
    display: block;
    padding-block: clamp(4rem, 12vw, 6rem) clamp(4rem, 10vw, 7rem);
  }
  .momento-cta__layout {
    grid-template-columns: 1fr !important;
  }
  .cta-cena__palco {
    opacity: 1 !important;
    transform: none !important;
    width: min(78vw, 360px);
  }
  .cta-cena__frase--1 { display: none; }
  .cta-cena__frase--2 {
    opacity: 1 !important;
    transform: none !important;
  }
  .momento-cta__conteudo {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}
