*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--pf-ink-950);
  color: var(--pf-text-light);
  font-family: var(--pf-font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--pf-font-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.container {
  width: min(100% - (var(--pf-gutter) * 2), var(--pf-container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--pf-white);
  color: var(--pf-ink-950);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--pf-gold-400);
  outline-offset: 3px;
}

.grad,
.grad-light {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.grad-dark {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* Destaque de palavra em OURO METALICO: base dourada clara com faixa de luz
   varrendo em LOOP PERFEITO — o gradiente tem dois ciclos identicos e a
   animacao desloca exatamente um periodo por volta (linear, infinita), entao
   o ultimo frame e igual ao primeiro: nunca ha corte ou reinicio visivel. */
.hl-gold {
  background: linear-gradient(
    105deg,
    #cf9f4a 0%,
    #e6c078 10%,
    #fff3cf 17%,
    #e6c078 24%,
    #cf9f4a 34%,
    #cf9f4a 50%,
    #e6c078 60%,
    #fff3cf 67%,
    #e6c078 74%,
    #cf9f4a 84%,
    #cf9f4a 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 200% 100%;
  color: #e8c476;
  -webkit-text-fill-color: transparent;
  /* Delay no sheen: a palavra pinta ESTATICA de imediato (LCP cedo) e a luz
     comeca a varrer 3.2s depois. Um unico drop-shadow (paint mais leve). */
  animation: pf-gold-sheen 4.2s linear 3.2s infinite;
  filter: drop-shadow(0 0 16px rgba(232, 196, 118, 0.4));
}

@keyframes pf-gold-sheen {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--pf-blue-400);
  font-family: var(--pf-font-display);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.section {
  position: relative;
  padding-block: var(--pf-section);
}

/* ===== Emenda entre secoes =====
   Cada secao sobe --pf-blend por cima da anterior e tem esse trecho inicial
   dissolvido por mascara: em vez de uma linha reta separando dois fundos, um
   funde no outro. Vale para qualquer par de cores, porque o que aparece por
   baixo e a propria secao anterior. Curva suave, nao rampa linear: rampa fecha
   de forma brusca e o olho enxerga um vinco onde ela termina. */
.section + .section {
  --pf-blend: 4.5rem;
  margin-top: calc(var(--pf-blend) * -1);
  padding-top: calc(var(--pf-section) + var(--pf-blend));
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0.05) calc(var(--pf-blend) * 0.28),
    rgba(0, 0, 0, 0.26) calc(var(--pf-blend) * 0.52),
    rgba(0, 0, 0, 0.68) calc(var(--pf-blend) * 0.78),
    rgba(0, 0, 0, 0.94) calc(var(--pf-blend) * 0.92),
    #000 var(--pf-blend)
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0.05) calc(var(--pf-blend) * 0.28),
    rgba(0, 0, 0, 0.26) calc(var(--pf-blend) * 0.52),
    rgba(0, 0, 0, 0.68) calc(var(--pf-blend) * 0.78),
    rgba(0, 0, 0, 0.94) calc(var(--pf-blend) * 0.92),
    #000 var(--pf-blend)
  );
}

/* A curva arredondada do topo existia para disfarcar o corte; com a emenda
   dissolvida ela vira um vinco no meio do degrade. */
.section + .section .section-curve--top {
  display: none;
}

/* EXCECAO — secao do fundador: ela e baixa, e a dissolvencia comia boa parte
   da altura dela. Aqui a borda fica reta e quem separa e um fio dourado, em
   cima e embaixo. As DUAS linhas sao desenhadas na propria secao (duas camadas
   de background): depender da secao seguinte para a linha de baixo nao funciona,
   porque o fundo dela pode ser redefinido por outra regra. */
.section + .founder-section {
  margin-top: 0;
  padding-top: var(--pf-section);
  -webkit-mask-image: none;
  mask-image: none;
  background-image: linear-gradient(
    90deg,
    rgba(212, 168, 83, 0) 0,
    rgba(212, 168, 83, 0.85) 22%,
    rgba(212, 168, 83, 0.85) 78%,
    rgba(212, 168, 83, 0) 100%
  ), linear-gradient(
    90deg,
    rgba(212, 168, 83, 0) 0,
    rgba(212, 168, 83, 0.85) 22%,
    rgba(212, 168, 83, 0.85) 78%,
    rgba(212, 168, 83, 0) 100%
  );
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, 0 100%;
  background-size: 100% 2px, 100% 2px;
}

/* A secao depois do fundador nao pode subir por cima dele: o overlap taparia a
   linha de baixo. */
.founder-section + .section {
  margin-top: 0;
  padding-top: var(--pf-section);
  -webkit-mask-image: none;
  mask-image: none;
}

.section-light,
.section-paper {
  color: var(--pf-text-dark);
}

.section-light {
  background: var(--pf-paper);
}

.section-paper {
  background: var(--pf-paper-2);
}

.section-dark {
  background: var(--pf-ink-950);
}

.section-ink {
  background: #0b1322;
}

.section-head {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head h2,
.founder-copy h2,
.final-cta h2 {
  margin: 1rem 0 1.2rem;
  font-size: clamp(2.35rem, 8vw, 5.2rem);
}

.section-head h2 {
  max-width: 14ch;
  overflow-wrap: break-word;
}

/* Em layout de duas colunas a coluna e estreita: titulo escala junto
   pra nunca estourar (o overflow hidden da secao cortaria a palavra). */
.cycle-copy .section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.section-head--center h2 {
  margin-inline: auto;
}

.section-lead {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--pf-text-mid);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.section-dark .section-lead,
.section-ink .section-lead {
  color: var(--pf-text-soft);
}

.section-head--center .section-lead {
  margin-inline: auto;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  overflow: hidden;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--pf-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms var(--pf-ease), background 220ms ease;
}

.btn::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.2) 48%, transparent 78%);
  content: "";
  transform: translateX(-130%);
  transition: transform 520ms var(--pf-ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 220ms var(--pf-ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-lg {
  min-height: 3.35rem;
  padding: 0.96rem 1.35rem;
  font-size: 0.98rem;
}

.btn-primary {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--pf-blue-600);
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.32);
  color: var(--pf-white);
}

.btn-primary:hover {
  background: var(--pf-blue-500);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.4);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--pf-text-light);
}

.section-light .btn-ghost,
.section-paper .btn-ghost,
.lead-form .btn-ghost {
  border-color: var(--pf-line-light);
  background: rgba(15, 23, 42, 0.03);
  color: var(--pf-text-dark);
}

.btn-light {
  background: var(--pf-white);
  color: var(--pf-blue-700);
}

.btn-whatsapp {
  border-color: rgba(255, 255, 255, 0.18);
  background: #15845c;
  color: var(--pf-white);
}

.btn-whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--pf-header-h);
  border-bottom: 1px solid transparent;
  transition: height 240ms var(--pf-ease), background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

/* Azul-marinho, nao preto neutro: sobre as secoes claras o preto lia como
   cinza. Com transparencia o fundo por tras ainda atravessa de leve. */
.site-header.is-scrolled {
  height: 4rem;
  /* Borda quase invisivel: em tom azulado ela virava um traco atravessando o
     video escuro da hero. */
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(11, 26, 51, 0.84);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 7rem;
  align-items: center;
}

.brand img {
  width: 7.75rem;
  height: auto;
}

.desktop-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-whatsapp,
.menu-toggle,
.mobile-menu-close {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.header-whatsapp svg,
.mobile-menu-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.header-cta {
  display: none;
}

.menu-toggle {
  position: relative;
  gap: 4px;
  padding: 0;
}

.menu-toggle span {
  width: 1.1rem;
  height: 1px;
  background: var(--pf-white);
  transition: transform 200ms ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  padding: max(1.25rem, env(safe-area-inset-top)) var(--pf-gutter) max(2rem, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 85% 12%, rgba(37, 99, 235, 0.28), transparent 35%),
    radial-gradient(circle at 10% 90%, rgba(96, 165, 250, 0.14), transparent 36%),
    var(--pf-ink-950);
  opacity: 0;
  transform: translateY(-2%);
  transition: opacity 260ms ease, transform 260ms var(--pf-ease), visibility 260ms;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
}

.mobile-menu nav a {
  display: flex;
  min-height: 3.7rem;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--pf-line-dark);
  font-family: var(--pf-font-display);
  font-size: clamp(1.45rem, 7vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mobile-menu nav a span {
  color: var(--pf-gold-400);
  font-family: var(--pf-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mobile-menu-footer {
  display: grid;
  gap: 1rem;
}

.mobile-menu-footer > a {
  color: var(--pf-text-soft);
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: min(48rem, 100svh);
  align-items: center;
  overflow: hidden;
  padding: calc(var(--pf-header-h) + 2.75rem) 0 4rem;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 48%, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(145deg, #07090e 0%, #0a0d14 58%, #07090e 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.09;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 1.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  color: #c5ccd7;
  font-family: var(--pf-font-display);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Sem simbolos decorativos: linha fina, padrao dos eyebrows do site. */
.hero-kicker::before {
  width: 2.2rem;
  height: 1px;
  background: rgba(197, 204, 215, 0.55);
  content: "";
}

/* Selos de parceria oficiais (logos reais, tom sobrio). */
.hero-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7dde6;
  font-size: 0.82rem;
  font-weight: 600;
}

.partner-badge img {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 11.5vw, 4.4rem);
  letter-spacing: -0.028em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 32rem;
  margin-bottom: 1.75rem;
  color: #b5c0d2;
  font-size: clamp(1rem, 3vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
  color: var(--pf-text-soft);
  font-size: 0.78rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #8e99aa;
}

.hero-visual {
  position: relative;
  min-height: 20rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

/* Globo interativo: arrastar gira (mouse/dedo); no touch, o gesto vertical
   continua rolando a pagina (pan-y). */
.hero-visual.is-ready {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.hero-visual.is-dragging {
  cursor: grabbing;
}

.hero-visual::after {
  position: absolute;
  right: 10%;
  bottom: 5%;
  left: 10%;
  z-index: -1;
  height: 18%;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  content: "";
  filter: blur(30px);
}

.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#pf-hero-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero-visual.is-ready #pf-hero-canvas {
  opacity: 1;
}

.hero-visual.is-ready .hero-poster {
  opacity: 0;
}

.hero-visual.is-fallback {
  animation: pf-fallback-float 7s ease-in-out infinite alternate;
}

@media (max-width: 759px) {
  .hero {
    padding: calc(var(--pf-header-h) + 1.25rem) 0 1.5rem;
  }

  .hero-grid {
    gap: 0.25rem;
  }

  .hero h1 {
    margin-bottom: 1rem;
  }

  .hero-lead {
    margin-bottom: 1.25rem;
    line-height: 1.55;
  }

  .hero-partners {
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin-top: 1rem;
  }

  .partner-badge {
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .hero-visual {
    min-height: 14.5rem;
  }
}

.hero-poster {
  z-index: 1;
  display: grid;
  place-items: center;
  transition: opacity 500ms ease;
}

.poster-halo {
  position: absolute;
  width: min(96%, 33rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(37, 99, 235, 0.32), rgba(37, 99, 235, 0.08) 52%, transparent 72%);
  filter: blur(26px);
}

/* Poster de carregamento MINIMALISTA (pedido do dono): apenas a esfera
   escura com a luz azul — sem bolinhas, sem orbita. O globo real assume
   por cima quando o Three inicializa. */
.poster-globe {
  position: absolute;
  width: min(76%, 26.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 30%, rgba(96, 165, 250, 0.26), transparent 48%),
    radial-gradient(circle at 50% 50%, #0e1728 0%, #0a111f 55%, #0e1a30 100%);
  box-shadow:
    inset -2.2rem -2.6rem 4.5rem rgba(2, 4, 10, 0.72),
    inset 1.2rem 1.5rem 3.2rem rgba(59, 130, 246, 0.16),
    0 0 4.5rem rgba(37, 99, 235, 0.28);
}

/* ===== Scrollytelling da hero =====
   O wrapper estica a rolagem; a hero fica presa (sticky) enquanto o progresso
   do scroll dirige a sequencia: Brasil centraliza e vira ouro, o texto troca,
   e uma luz branca engole o globo ate a tela inteira ficar branca, entregando
   a secao de servicos (que ja e branca). Sem JS, vira hero normal. */
/* Altura do pino por largura, porque o ultimo bloco tem tamanhos diferentes:
   no celular a maquete empilha embaixo dele (bloco alto, precisa de 40svh a
   mais para ela entrar); no desktop ela fica ao lado (bloco baixo, e qualquer
   sobra vira tela branca esperando a proxima secao). */
.js .hero-story {
  position: relative;
  height: 510svh;
}

@media (min-width: 1024px) {
  .js .hero-story {
    height: 470svh;
  }
}

/* Fim da story: a hero fica TRANSPARENTE (o veu branco cobre tudo) e o
   conteudo dela some — assim a secao seguinte, que ja subiu por tras
   (margin negativo), aparece no instante em que o veu abrir. */
.hero--story.is-blank {
  background: transparent;
  pointer-events: none;
}

.hero--story.is-blank::before,
.hero--story.is-blank .hero-noise,
.hero--story.is-blank .hero-grid,
.hero--story.is-blank .hero-copy--second {
  opacity: 0 !important;
}

/* A secao seguinte NAO e mais "revelada" por tras de um veu branco: ela vem
   rolando de baixo, como qualquer secao de pagina normal. Como o video termina
   em branco e esta secao tambem e branca, a emenda nao aparece — e o movimento
   continua no mesmo ritmo do resto, sem tela vazia esperando no meio.
   (O veu antigo, com margem negativa e animacao de revelacao, deixava uma tela
   branca parada entre o ultimo bloco e o conteudo.) */
/* Seja qual for a secao que venha logo depois da hero, o topo dela precisa
   compensar o header fixo — senao o titulo nasce cortado ao ser entregue. */
/* Sem z-index aqui: com ele esta secao pintava por cima da seguinte e tapava
   a emenda dissolvida (heranca da epoca em que ela era revelada por tras de
   um veu branco). */
.js .page-home .hero-story + section {
  padding-top: calc(var(--pf-header-h) + 2.75rem);
}

/* A hero termina em branco. Se a secao seguinte for escura, o corte fica seco:
   aqui a luz se dissipa dentro do topo dela, e a entrega continua sendo um
   movimento so. A folga extra no topo evita titulo dentro da dissolvencia. */
.js .page-home .hero-story + section.section-dark {
  padding-top: calc(var(--pf-header-h) + 7vh);
  background-image: linear-gradient(#ffffff 0, rgba(255, 255, 255, 0.66) 2.5vh, rgba(255, 255, 255, 0) 9vh);
}

.js .hero-story .hero--story {
  position: sticky;
  z-index: 500;
  top: 0;
  height: 100svh;
  min-height: 0;
}

/* No celular a barra de endereco some durante o scroll e a area visivel cresce
   alem de 100svh; a folga revelava a secao branca que espera atras.
   Solucao: SOMBRA SOLIDA do proprio elemento, pintada 25vh abaixo dele. Um
   pseudo-elemento nao serve aqui porque a .hero tem overflow:hidden (que
   segura o texto deslizante da story) e o cortaria; a sombra do proprio
   elemento nao e afetada pelo seu overflow. Sem reflow, sem mexer no layout. */
.js .hero-story .hero--story {
  box-shadow: 0 25vh 0 0 #07090e;
}

/* No celular a hero usa 100lvh (altura COM a barra de endereco recolhida), nao
   100svh: com svh, quando a barra some a area visivel cresce e sobra uma faixa
   sem video embaixo. E como o arquivo do celular foi montado na proporcao da
   tela cheia, svh ainda deixava o video ampliado. O conteudo e recentralizado
   por JS na area realmente visivel. */
@media (max-width: 759px) {
  .js .hero-story .hero--story {
    height: 100lvh;
  }
}

/* No fim da story a hero fica transparente: a sombra tambem some, senao
   taparia a secao que esta sendo revelada. */
.js .hero-story .hero--story.is-blank {
  box-shadow: none;
}

/* Assim que a cena clareia a sombra tambem sai. Ela existe para tapar a folga
   da barra de endereco enquanto o fundo e escuro; com a hero branca e a secao
   seguinte branca, ela viraria uma faixa preta entre as duas. */
.js .hero-story .hero--story.is-light {
  box-shadow: none;
}

.hero-copy--second {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: max(var(--pf-gutter), calc((100vw - var(--pf-container)) / 2));
  max-width: 30rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 4rem));
}

/* Titulo grande e quebrando em mais linhas: o texto vive numa coluna estreita
   a esquerda, entao a forca vem do tamanho e do empilhamento, nao da largura. */
.hero-copy--second h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 11.5vw, 4.4rem);
  letter-spacing: -0.028em;
  line-height: 0.98;
}

.hero-copy--second p {
  max-width: 27ch;
  color: #b5c0d2;
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  line-height: 1.5;
}

/* Lista de apoio dos blocos da story: icone, rotulo forte e uma linha de
   explicacao. Da corpo ao lado esquerdo sem competir com o video. */
.hero-points {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
  max-width: 24rem;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.95rem;
}

/* Rotulo dos blocos da story em dourado (o da hero principal segue cinza,
   para o primeiro contato ser mais sobrio). */
.hero-copy--second .hero-kicker {
  margin-bottom: 0.9rem;
  color: #d4a853;
}

.hero-copy--second .hero-kicker::before {
  background: rgba(212, 168, 83, 0.7);
}

.hero-point-icon {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(212, 168, 83, 0.5);
  border-radius: 50%;
  color: #d4a853;
}

.hero-point-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-point-body {
  display: grid;
  gap: 0.15rem;
  padding-left: 0.95rem;
  border-left: 1px solid rgba(212, 168, 83, 0.35);
}

.hero-point-body strong {
  color: #f2f5fa;
  font-family: var(--pf-font-display);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-point-body span {
  color: #9fabbf;
  font-size: clamp(0.86rem, 2.1vw, 0.95rem);
  line-height: 1.4;
}

/* O bloco inteiro nao recebe clique (ele desliza sob o cursor a story toda),
   mas o botao da chamada precisa receber. */
.hero-actions--story {
  margin-top: 1.6rem;
  pointer-events: auto;
}

/* ===== Bloco da oferta =====
   Ele entra quando o video ja acabou e a tela esta praticamente branca, entao
   nao precisa dividir espaco com a cena: ocupa mais largura que os outros. */
.hero-copy--offer {
  max-width: min(40rem, 94%);
}

/* A partir do desktop o bloco vira duas colunas e ocupa o container inteiro:
   texto a esquerda, maquete do diagnostico a direita. */
@media (min-width: 1024px) {
  .hero-copy--offer {
    display: grid;
    right: max(var(--pf-gutter), calc((100vw - var(--pf-container)) / 2));
    max-width: none;
    align-items: center;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .hero-copy--offer .hero-report {
    align-self: center;
  }
}

.hero-copy--offer h2 {
  max-width: 15ch;
}

.hero-copy--offer p {
  max-width: 34ch;
}

.hero-copy--offer .hero-points {
  max-width: 30rem;
}

.hero-offer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
  color: #8e9bb1;
  font-size: 0.88rem;
}

.hero-offer-note svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: #d4a853;
}

/* ===== Maquete do diagnostico (bloco da oferta) =====
   Desenhada em HTML/CSS/SVG, sem imagem: sobe junto com o texto, nao adiciona
   requisicao nenhuma e acompanha a virada de tinta. Fica escondida ate o
   desktop, onde existe largura para ela. */
.hero-report {
  position: relative;
  display: block;
  color: #101d33;
}

.hero-report-grid {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 132%;
  height: auto;
  color: rgba(196, 148, 54, 0.28);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-report-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(16, 29, 51, 0.08);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 1.6rem 3.6rem rgba(16, 29, 51, 0.12);
}

.hero-report-card--main {
  width: 72%;
  padding: 1.5rem 1.6rem 1.3rem;
}

.hero-report-head strong {
  font-family: var(--pf-font-display);
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.hero-score {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-top: 1.15rem;
  gap: 0.25rem 0.85rem;
}

.hero-score-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: #101d33;
  color: #ffffff;
}

.hero-score-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-score-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.hero-score-text strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-score-text span {
  color: #5b687e;
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-score-value {
  color: #5b687e;
  font-size: 0.78rem;
  white-space: nowrap;
}

.hero-score-value b {
  font-family: var(--pf-font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-score-bar {
  display: block;
  overflow: hidden;
  height: 0.3rem;
  grid-column: 2 / -1;
  border-radius: 999px;
  background: rgba(16, 29, 51, 0.09);
}

.hero-score-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c4943600, #c49436);
}

.hero-report-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-top: 1.35rem;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(196, 148, 54, 0.3);
  border-radius: 0.9rem;
}

.hero-report-highlight .hero-score-icon {
  border: 1px solid rgba(196, 148, 54, 0.45);
  background: transparent;
  color: #c49436;
}

.hero-report-subtitle {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--pf-font-display);
  font-size: 0.98rem;
}

.hero-report-card--plan {
  position: absolute;
  right: 0;
  bottom: -1rem;
  width: 16.5rem;
  padding: 1.2rem 1.3rem;
}

.hero-plan {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-plan li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.hero-plan-num {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 50%;
  background: #c49436;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-report-card--chart {
  position: absolute;
  bottom: -3.5rem;
  left: 0;
  width: 13.5rem;
  padding: 1.05rem 1.1rem 0.8rem;
}

.hero-chart {
  display: block;
  width: 100%;
  height: 4.4rem;
  color: #c49436;
}

.hero-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  color: #8b97ab;
  font-size: 0.66rem;
}

/* No celular a maquete empilha embaixo do texto: cartao principal inteiro e o
   plano encaixado logo abaixo, com um leve recuo. O mini grafico sai — nao ha
   altura para ele sem cortar o resto. */
@media (max-width: 1023px) {
  .hero-report {
    margin-top: 1.5rem;
  }

  .hero-report-card--main {
    width: 100%;
    padding: 1.2rem 1.25rem 1rem;
  }

  .hero-report-card--plan {
    position: static;
    width: auto;
    margin: -0.6rem 0 0 1.5rem;
    padding: 1.1rem 1.2rem;
  }

  .hero-report-card--chart,
  .hero-report-highlight {
    display: none;
  }

  .hero-report-grid {
    width: 160%;
  }
}

@media (min-width: 1024px) {
  .hero-report {
    padding-bottom: 11.5rem;
  }
}

/* Botao da oferta: azul-marinho fechado em vez do azul da marca. Sobre a tela
   quase branca do fim do video ele fica mais forte e menos "banner". */
.btn-ink {
  border-color: rgba(255, 255, 255, 0.08);
  background: #0d1729;
  box-shadow: 0 14px 34px rgba(9, 15, 28, 0.28);
  color: var(--pf-white);
}

.btn-ink:hover {
  background: #14213a;
  box-shadow: 0 18px 42px rgba(9, 15, 28, 0.36);
}

.btn-ink svg {
  color: #d4a853;
}

/* ===== Virada de tinta =====
   Quando o video clareia, a mascara escura sai de cena e o texto inverte para
   tinta escura. Antes eu segurava a legibilidade com um veu escuro por cima do
   fundo claro — inverter e o caminho certo: o fundo fica claro de verdade. */
.hero--story .hero-copy,
.hero--story .hero-copy--second {
  transition: color 320ms ease;
}

/* A mascara escura desaparece na MESMA transicao da tinta: as duas coisas sao
   comandadas pela classe is-light, entao nunca existe texto claro sobre cena
   clara nem texto escuro sobre cena escura. */
.hero--story .hero-video-scrim {
  transition: opacity 320ms ease;
}

/* Quando a cena clareia, o veu escuro nao some: ele VIRA um veu branco
   translucido. Ele sobe junto com a virada de tinta (mesma transicao) e cobre o
   fundo inteiro dali em diante, tirando o contraste da cena de cima do texto.
   Mais fechado a esquerda, onde a leitura acontece; mais aberto a direita, para
   a cena continuar visivel. */
.hero--story.is-light .hero-video-scrim {
  opacity: 1;
  background: linear-gradient(
    104deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.68) 38%,
    rgba(255, 255, 255, 0.44) 68%,
    rgba(255, 255, 255, 0.28) 100%
  );
}

.hero--story .hero-copy h1,
.hero--story .hero-copy .hero-lead,
.hero--story .hero-copy--second h2,
.hero--story .hero-copy--second p,
.hero--story .hero-points li {
  transition: color 320ms ease;
}

.hero--story.is-light .hero-copy h1,
.hero--story.is-light .hero-copy--second h2 {
  color: #070b14;
}

/* Bloco da oferta em azul-marinho, nao preto: e o fecho da sequencia e puxa
   para a cor da marca em vez de tinta neutra. */
.hero--story.is-light .hero-copy--offer h2 {
  color: #101d33;
}

.hero--story.is-light .hero-copy--offer p,
.hero--story.is-light .hero-copy--offer .hero-point-body span {
  color: #33425c;
}

.hero--story.is-light .hero-copy--offer .hero-point-body strong {
  color: #101d33;
}

.hero--story.is-light .hero-offer-note {
  color: #55627a;
}

.hero--story.is-light .hero-copy .hero-lead,
.hero--story.is-light .hero-copy--second p {
  color: #263041;
}

.hero--story.is-light .hero-copy--second .hero-kicker {
  color: #a2731a;
}

.hero--story.is-light .hero-copy--second .hero-kicker::before {
  background: rgba(162, 115, 26, 0.75);
}

.hero--story.is-light .hero-point-body strong {
  color: #070b14;
}

.hero--story.is-light .hero-point-body span {
  color: #313c4f;
}

.hero--story.is-light .hero-point-body {
  border-left-color: rgba(169, 123, 31, 0.45);
}

.hero--story.is-light .hero-point-icon {
  border-color: rgba(169, 123, 31, 0.55);
  background: rgba(255, 255, 255, 0.72);
  color: #a97b1f;
}

/* A cena clara e cheia de objetos: escurecer o texto nao basta, ele encosta em
   barras, sacolas e balões e some. Um halo claro atras das letras separa sem
   precisar de mascara escura por cima da cena. */
.hero--story.is-light .hero-copy h1,
.hero--story.is-light .hero-copy--second h2 {
  text-shadow:
    0 0 1.5rem rgba(255, 255, 255, 0.95),
    0 0 0.55rem rgba(255, 255, 255, 0.9);
}

.hero--story.is-light .hero-copy .hero-lead,
.hero--story.is-light .hero-copy--second p {
  text-shadow:
    0 0 0.95rem rgba(255, 255, 255, 0.96),
    0 0 0.35rem rgba(255, 255, 255, 0.92);
}

/* Os topicos sao a linha mais fina da tela e caem bem em cima dos objetos da
   cena: halo mais forte e mais largo que o do paragrafo. */
.hero--story.is-light .hero-kicker,
.hero--story.is-light .hero-point-body strong,
.hero--story.is-light .hero-point-body span {
  text-shadow:
    0 0 1.5rem #ffffff,
    0 0 0.8rem #ffffff,
    0 0 0.3rem rgba(255, 255, 255, 0.98);
}

/* Dourado no modo claro: mesma cor, so que sem a luz branca varrendo (aquele
   trecho quase branco do gradiente sumia no fundo claro) e com contorno ESCURO
   no lugar do halo branco que separa as outras palavras. */
.hero--story.is-light .hl-gold {
  /* Mesmo dourado, sem os picos quase brancos do gradiente (eram eles que
     sumiam no fundo claro) e sem a varredura de luz. */
  background: linear-gradient(
    105deg,
    #c2913c 0%,
    #dcb264 12%,
    #ecc987 22%,
    #d3a44f 38%,
    #c2913c 60%,
    #dcb264 78%,
    #c2913c 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 100% 100%;
  animation: none;
  /* Contorno ESCURO no lugar do halo branco das outras palavras. */
  text-shadow: none;
  filter:
    drop-shadow(0 0 1px rgba(9, 13, 22, 0.6))
    drop-shadow(0 1px 2px rgba(9, 13, 22, 0.45));
}

/* Veu final da story: luz branca que toma a tela. FIXO na viewport: ele
   persiste um instante depois que o pino solta, cobrindo a proxima secao
   enquanto ela se posiciona por baixo — e ai se dissolve, revelando titulo
   e cards JA MONTADOS emergindo do fundo (nada entra "de baixo"). */
.hero-whiteout {
  position: fixed;
  z-index: 4;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.js .hero--story .hero-copy,
.js .hero--story .hero-scroll {
  will-change: transform, opacity;
}

/* ===== Hero do celular em FLUXO NORMAL =====
   No celular a hero deixa de ser presa (sticky) e os blocos de texto deixam de
   ser posicionados por codigo: eles viram secoes empilhadas, uma embaixo da
   outra, e rolam pelo mesmo caminho que qualquer conteudo da pagina — com
   inercia e tudo. Quem fica preso e so o VIDEO, agora fixo na viewport.

   Validado no aparelho real antes de virar padrao.

   O motivo: com o texto movido por JavaScript, a rolagem por inercia entregava
   os eventos atrasados e o texto andava em degraus enquanto a pagina deslizava
   lisa. Tentar resolver com animacao dirigida por rolagem falhou no motor do
   Safari (a hero abria vazia). Aqui o problema simplesmente deixa de existir,
   porque nao ha codigo movendo o texto. */
@media (max-width: 759px) {
  .js .hero-story {
    height: auto;
  }

  .js .hero-story .hero--story {
    position: static;
    display: flex;
    height: auto;
    min-height: 100lvh;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 14vh;
  }

  .js .hero--story .hero-copy--second {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    max-width: min(30rem, 78%);
    /* Recuo pela margem, nao por padding: com padding a largura util encolhia
       (a caixa ja esta limitada em 78%) e o texto quebrava mais que o do bloco
       de abertura. */
    margin: 15vh 0 0 var(--pf-gutter);
    opacity: 1;
    /* Nenhum transform: quem desloca e a rolagem da propria pagina. */
    transform: none;
    pointer-events: auto;
  }

  /* Intervalo maior depois do bloco de abertura, onde fica a indicacao de
     rolagem. */
  .js .hero--story .hero-grid + .hero-copy--second {
    margin-top: 28vh;
  }

  /* O video passa a ser fixo na viewport: ele cobre a tela inteira o tempo todo
     em que a hero esta em cena, e a barra do navegador entrando ou saindo nao
     cria folga nenhuma. */
  .js .hero--story .hero-video {
    position: fixed;
  }

  /* Passou da hero: o video sai de cena para nao vazar por baixo das emendas
     dissolvidas das secoes seguintes. */
  .js .hero--story.is-past .hero-video {
    display: none;
  }

  /* A indicacao de rolagem so faz sentido com a hero ocupando a tela inteira. */
  .js .hero--story .hero-scroll {
    display: none;
  }
}

/* ===== Texto dirigido pelo scroll, no compositor =====
   Em tela de toque o deslocamento do texto sai do JavaScript e passa para uma
   animacao dirigida pela rolagem. O motivo e a inercia: durante o deslize o
   navegador entrega os eventos de scroll atrasados, e o texto posicionado por
   JS anda em degraus enquanto a pagina desliza lisa. No compositor ele
   acompanha o dedo quadro a quadro.
   Os limites (--pf-a e --pf-b) e o alcance vem do JS, que ja mede os blocos. */
@supports (animation-timeline: scroll()) {
  .js .hero--story.is-native-scroll .hero-copy:not(.hero-copy--second) {
    animation: pf-story-slide linear both;
    animation-timeline: scroll(root);
  }

  .js .hero--story.is-native-scroll .hero-copy--second {
    animation: pf-story-slide-centered linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes pf-story-slide {
  from { transform: translateY(var(--pf-a, 0)); }
  to { transform: translateY(var(--pf-b, 0)); }
}

@keyframes pf-story-slide-centered {
  from { transform: translateY(calc(-50% + var(--pf-a, 0))); }
  to { transform: translateY(calc(-50% + var(--pf-b, 0))); }
}

@media (max-width: 1219px) {
  /* top 50% em todas as larguras: os blocos ficam espacados exatamente uma
     tela, que e o que faz o deslocamento bater 1 para 1 com o scroll.
     O texto fica preso a ESQUERDA (nunca de ponta a ponta): e o lado calmo do
     video, e e onde a leitura acontece nas duas larguras. */
  .hero-copy--second {
    right: auto;
    left: var(--pf-gutter);
    max-width: min(34rem, 78%);
  }

}

@media (max-width: 759px) {
  .hero--story .hero-copy,
  .hero--story .hero-copy--second {
    max-width: min(30rem, 78%);
  }
}

/* ===== Hero em video (alternativa ao globo 3D) =====
   Desktop: painel vertical na coluna da direita, no lugar exato onde ficava o
   globo. Celular: o mesmo video ocupa a tela inteira por tras do texto, com um
   veu escuro (scrim) segurando o lado esquerdo legivel — o veu so abre depois
   que o texto saiu, liberando a cena clara inteira. */
/* A coluna nao posiciona nada: ela so reserva o espaco da direita no grid.
   O video se ancora na propria hero e sangra ate a borda da tela. */
.hero-visual--video {
  position: static;
}

.hero-visual--video::after {
  display: none;
}

/* z-index -2: o video fica ABAIXO da grade de linhas e do ruido da hero, que
   assim continuam desenhados de ponta a ponta. Sem isso aparece uma emenda
   vertical exatamente onde o video comeca. */
.hero-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  /* 100% center: a borda DIREITA do video fica presa na borda direita da tela.
     Se o monitor for mais largo que 16:9, o corte cai na esquerda, que e a area
     estendida e lisa — os elementos moveis nunca sao cortados. */
  background: #07090e url("../video/hero-desktop-poster.webp") 100% center / cover no-repeat;
  transition: opacity 220ms linear;
}

.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% center;
}

/* Dissolve a borda esquerda do video no fundo da hero: sem linha de corte. */
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #07090e 0%,
    rgba(7, 9, 14, 0.82) 20%,
    rgba(7, 9, 14, 0.28) 46%,
    rgba(7, 9, 14, 0) 68%
  );
  will-change: opacity;
}

@media (max-width: 759px) {
  /* No celular a coluna some do fluxo e o video cobre a tela inteira. */
  .hero--story .hero-visual--video {
    display: block;
    height: 0;
    min-height: 0;
  }

  /* object-position bem a direita: empurra a acao do video para longe da
     coluna de texto, liberando o lado esquerdo da tela do celular. */
  .hero--story .hero-video {
    left: 0;
    width: auto;
    background-image: url("../video/hero-mobile-poster.webp");
    background-position: center center;
  }

  /* O arquivo do celular ja vem com a proporcao da tela (540x1200): nada e
     cortado, entao o enquadramento e o mesmo de quem abre o video direto. */
  .hero--story .hero-video-el {
    object-position: center center;
  }

  /* Aqui o texto fica POR CIMA do video, entao o veu precisa ser bem mais
     fechado do lado esquerdo para o titulo continuar legivel. */
  .hero--story .hero-video-scrim {
    background: linear-gradient(
      104deg,
      rgba(7, 9, 14, 0.94) 0%,
      rgba(7, 9, 14, 0.9) 38%,
      rgba(7, 9, 14, 0.58) 66%,
      rgba(7, 9, 14, 0.16) 100%
    );
  }

  /* A grade de linhas da hero some para nao poluir o video. */
  .hero--story::before {
    opacity: 0;
  }

  /* Fundo da hero chapado no preto do video. O fundo padrao tem um degrade
     azul; qualquer folga de um pixel nas beiradas (barra do navegador
     entrando/saindo) mostrava esse azul e lia como um traco cortando o video. */
  .hero--story {
    background: #050709;
  }

  /* A sombra de 25vh abaixo da hero existia para tapar a folga da barra de
     endereco quando a altura era svh. Com lvh nao ha folga, e ela virava uma
     faixa chapada aparecendo embaixo do video. */
  .js .hero-story .hero--story {
    box-shadow: none;
  }

  /* No fim da story o video ja esta branco; ele se apaga junto com a hero
     para nao tapar a secao que esta sendo revelada por tras. */
  .hero--story.is-blank .hero-video {
    opacity: 0;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  display: none;
  align-items: center;
  gap: 0.65rem;
  color: var(--pf-text-soft);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  position: relative;
  width: 1px;
  height: 1.8rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll span::after {
  position: absolute;
  inset: 0;
  background: var(--pf-gold-400);
  content: "";
  animation: pf-scroll-line 1.7s ease-in-out infinite;
}

@keyframes pf-scroll-line {
  0% { transform: translateY(-110%); }
  55%, 100% { transform: translateY(110%); }
}

@keyframes pf-fallback-float {
  from { transform: translate3d(0, -0.35rem, 0); }
  to { transform: translate3d(0, 0.35rem, 0); }
}



/* Proof */
.proof-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0e17;
}

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

.proof-item {
  min-height: 8.5rem;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--pf-line-dark);
  border-bottom: 1px solid var(--pf-line-dark);
}

.proof-item:nth-child(2n) {
  border-right: 0;
}

.proof-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.proof-value {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--pf-gold-400);
  font-family: var(--pf-font-display);
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.045em;
  line-height: 1;
}

.proof-item > span {
  display: block;
  max-width: 12rem;
  color: var(--pf-text-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* Services */
.services-section {
  overflow: hidden;
  padding-top: calc(var(--pf-section) + 1rem);
}

.section-curve {
  position: absolute;
  right: -5%;
  left: -5%;
  height: 4rem;
  background: inherit;
}

.section-curve--top {
  top: -2.2rem;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--pf-line-light);
  border-radius: 1.35rem;
  background: var(--pf-white);
  box-shadow: 0 12px 36px rgba(20, 39, 72, 0.07);
  transform-style: preserve-3d;
  transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms var(--pf-ease);
}

.service-card:not(.service-card--feature) {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
}

.service-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-color 280ms ease;
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 28px 72px rgba(20, 39, 72, 0.14);
}

.service-card:hover::after {
  border-color: rgba(255, 255, 255, 0.6);
}

.service-card--feature {
  background: var(--pf-white);
  color: var(--pf-ink-950);
}

.service-card--feature h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
}

/* Todas as artes dos cards usam o mesmo quadro 3:2. A proporcao declarada
   impede uma imagem de ficar mais alta que a vizinha e preserva a cena inteira. */
.service-media {
  position: relative;
  aspect-ratio: 3 / 2;
  height: auto;
  overflow: hidden;
  background: var(--pf-ink-900);
}

.service-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 10, 21, 0.18));
  content: "";
  pointer-events: none;
}

.service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sem zoom na imagem interna no hover (embacava): o movimento e do CARD
   inteiro — o balanco 3D do data-tilt, igual no destaque. */

.service-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 1.4rem;
  min-width: 0;
  padding: 1.25rem 1.3rem 1.45rem;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--pf-blue-600);
}

.service-card--feature .service-icon {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
  color: var(--pf-blue-600);
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.service-number {
  display: block;
  color: var(--pf-ink-950);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  opacity: 0.42;
}

/* min-width: 0 impede o item de grid de ESTOURAR o card (era a causa dos
   titulos e paragrafos cortados na borda). */
.service-copy {
  align-self: start;
  min-width: 0;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.28rem, 1.7vw, 1.55rem);
  line-height: 1.12;
  overflow-wrap: break-word;
}

.service-card p {
  margin-bottom: 0;
  color: var(--pf-text-mid);
  font-size: 0.92rem;
}

.service-card--feature p {
  color: var(--pf-text-mid);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.service-tags span {
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.045);
  color: var(--pf-blue-700);
  font-size: 0.68rem;
  font-weight: 650;
}

/* ACRER */
.acrer-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 20%, rgba(37, 99, 235, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 78%, rgba(14, 165, 233, 0.08), transparent 24rem),
    #060b13;
}

.acrer-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
  background-size: 4rem 4rem;
  content: "";
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.acrer-section .container {
  position: relative;
  z-index: 1;
}

.acrer-intro {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.acrer-intro .section-head {
  margin-bottom: 0;
}

.acrer-intro .section-head h2 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 4.6vw, 4rem);
}

.acrer-map {
  position: relative;
  width: min(100%, 40rem);
  aspect-ratio: 640 / 260;
  margin-inline: auto;
  isolation: isolate;
}

.acrer-map::before {
  position: absolute;
  inset: 8% 5% 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 66%);
  content: "";
  filter: blur(14px);
}

.acrer-map-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(96, 165, 250, 0.48);
  stroke-width: 1.5;
}

.acrer-map-path path:nth-child(2) {
  stroke: rgba(212, 168, 83, 0.22);
  stroke-dasharray: 4 9;
}

/* ===== Luz dourada em ciclo eterno (CSS puro, zero JS, zero requests) =====
   Um cometa percorre o arco A > C > R > E > R (ida) e retorna pela linha
   pontilhada, iluminando os nos na passagem e a palavra ACRER na volta.
   pathLength=100 normaliza os caminhos; dasharray 14/100 desenha o cometa. */
.acrer-light {
  stroke: #e8c476;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 14 100;
  stroke-dashoffset: 14;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(232, 196, 118, 0.85));
}

.acrer-light--go {
  animation: pf-acrer-go 9s linear infinite;
}

.acrer-light--back {
  animation: pf-acrer-back 9s linear infinite;
}

@keyframes pf-acrer-go {
  0% { opacity: 0; stroke-dashoffset: 14; }
  2% { opacity: 1; }
  46% { opacity: 1; }
  50%, 100% { opacity: 0; stroke-dashoffset: -100; }
}

@keyframes pf-acrer-back {
  0%, 50% { opacity: 0; stroke-dashoffset: 14; }
  52% { opacity: 1; }
  94% { opacity: 1; }
  98%, 100% { opacity: 0; stroke-dashoffset: -100; }
}

.acrer-map-nodes span {
  position: absolute;
  display: grid;
  width: clamp(2.65rem, 8vw, 4.15rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, 0.46);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(96, 165, 250, 0.28), transparent 42%),
    rgba(7, 17, 33, 0.94);
  box-shadow:
    0 0 0 0.45rem rgba(37, 99, 235, 0.06),
    0 0 1.8rem rgba(37, 99, 235, 0.24),
    inset 0 0 1.1rem rgba(59, 130, 246, 0.12);
  color: var(--pf-white);
  font-family: var(--pf-font-display);
  font-size: clamp(1rem, 3vw, 1.65rem);
  font-weight: 720;
  transform: translate(-50%, -50%);
}

.acrer-map-nodes span:nth-child(1) { top: 69.2%; left: 9.4%; }
.acrer-map-nodes span:nth-child(2) { top: 35%; left: 28.1%; }
.acrer-map-nodes span:nth-child(3) { top: 23%; left: 50%; }
.acrer-map-nodes span:nth-child(4) { top: 35%; left: 71.9%; }
.acrer-map-nodes span:nth-child(5) { top: 69.2%; left: 90.6%; }

/* Cada no vira OURO no instante exato em que o cometa passa por ele
   (delays casados com a velocidade do traco na ida). */
.acrer-map-nodes span {
  animation: pf-node-gold 9s linear infinite;
}

.acrer-map-nodes span:nth-child(2) { animation-delay: 0.99s; }
.acrer-map-nodes span:nth-child(3) { animation-delay: 1.97s; }
.acrer-map-nodes span:nth-child(4) { animation-delay: 2.96s; }
.acrer-map-nodes span:nth-child(5) { animation-delay: 3.95s; }

@keyframes pf-node-gold {
  0%, 100% {
    border-color: rgba(147, 197, 253, 0.46);
    color: var(--pf-white);
    box-shadow:
      0 0 0 0.45rem rgba(37, 99, 235, 0.06),
      0 0 1.8rem rgba(37, 99, 235, 0.24),
      inset 0 0 1.1rem rgba(59, 130, 246, 0.12);
  }
  1.5%, 6% {
    border-color: rgba(232, 196, 118, 0.95);
    color: #ffe9b8;
    box-shadow:
      0 0 0 0.45rem rgba(212, 168, 83, 0.14),
      0 0 2.4rem rgba(232, 196, 118, 0.5),
      inset 0 0 1.1rem rgba(232, 196, 118, 0.22);
  }
  10% {
    border-color: rgba(147, 197, 253, 0.46);
    color: var(--pf-white);
    box-shadow:
      0 0 0 0.45rem rgba(37, 99, 235, 0.06),
      0 0 1.8rem rgba(37, 99, 235, 0.24),
      inset 0 0 1.1rem rgba(59, 130, 246, 0.12);
  }
}

/* A palavra ACRER acende quando a luz de retorno cruza o centro. */
.acrer-map strong {
  animation: pf-acrer-word 9s linear infinite;
}

@keyframes pf-acrer-word {
  0%, 60%, 90%, 100% {
    color: rgba(191, 219, 254, 0.78);
    text-shadow: none;
  }
  68%, 82% {
    color: #f2dc9b;
    text-shadow: 0 0 20px rgba(232, 196, 118, 0.55);
  }
}

.acrer-map strong {
  position: absolute;
  bottom: 8%;
  left: 50%;
  color: rgba(191, 219, 254, 0.78);
  font-family: var(--pf-font-display);
  font-size: clamp(0.85rem, 2.2vw, 1.25rem);
  font-weight: 620;
  letter-spacing: 0.55em;
  transform: translateX(-50%);
}

.acrer-grid {
  position: relative;
  display: grid;
  gap: 0.8rem;
  margin-top: clamp(2.4rem, 7vw, 5rem);
}

.acrer-step {
  position: relative;
  display: grid;
  min-height: 10.5rem;
  overflow: hidden;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(19, 31, 50, 0.9), rgba(7, 13, 24, 0.96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: border-color 240ms var(--pf-ease), transform 240ms var(--pf-ease), box-shadow 240ms var(--pf-ease);
}

.acrer-step:hover {
  border-color: rgba(96, 165, 250, 0.46);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3), 0 0 2rem rgba(37, 99, 235, 0.08);
  transform: translateY(-4px);
}

/* A LETRA do metodo em ouro no canto do card (amarra com o mapa ACRER). */
.acrer-index {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  z-index: 2;
  color: var(--pf-gold-400, #d4a853);
  font-family: var(--pf-font-display);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.acrer-visual {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  grid-row: 1 / 3;
  place-items: center;
  align-self: center;
}

.acrer-visual picture {
  display: contents;
}

.acrer-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.34));
  transition: transform 340ms var(--pf-ease);
}

.acrer-step:hover .acrer-visual img {
  transform: scale(1.04) rotate(-1deg);
}

.acrer-step h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  align-self: end;
  gap: 0.42rem;
  margin: 1.4rem 0 0.5rem;
  font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  overflow-wrap: break-word;
}

.acrer-step h3 span {
  color: var(--pf-gold-400);
  font-size: 0.82em;
}

.acrer-step p {
  max-width: 22rem;
  margin-bottom: 0;
  color: var(--pf-text-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.acrer-step-accent {
  position: absolute;
  right: 1rem;
  bottom: 0;
  left: 8.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--pf-blue-500), transparent 72%);
  opacity: 0.74;
}

/* Cycle */
.cycle-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 48%, rgba(18, 92, 255, 0.09), transparent 30rem),
    radial-gradient(circle at 96% 100%, rgba(14, 165, 233, 0.04), transparent 25rem),
    #08111f;
}

.cycle-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.016) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  content: "";
  mask-image: radial-gradient(circle at 72% 50%, #000, transparent 69%);
}

.cycle-section::after {
  position: absolute;
  top: 50%;
  right: -9rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13), rgba(37, 99, 235, 0) 70%);
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.cycle-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(3rem, 8vw, 6rem);
}

.cycle-copy .section-head {
  margin-bottom: 2.25rem;
}

.cycle-copy .section-head h2 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 4.6vw, 4.1rem);
}

.cycle-copy .section-lead {
  line-height: 1.75;
}

.cycle-note {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(96, 165, 250, 0.66);
  color: var(--pf-text-soft);
  font-size: 0.9rem;
}

.cycle-orbit {
  position: relative;
  display: grid;
  isolation: isolate;
  gap: 0.8rem;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 50% 28%, rgba(37, 99, 235, 0.15), transparent 46%),
    rgba(5, 13, 27, 0.76);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 28px 72px rgba(0, 0, 0, 0.18);
}

.cycle-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.cycle-ambient span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(96, 165, 250, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cycle-ambient span:first-child {
  border-style: dashed;
  animation: pf-cycle-rotate 18s linear infinite;
}

.cycle-ambient span:last-child {
  width: 24%;
  border-color: rgba(147, 197, 253, 0.12);
  box-shadow: 0 0 3rem rgba(37, 99, 235, 0.12);
}

.cycle-ambient span:nth-child(2) {
  width: 50%;
  border-color: rgba(212, 168, 83, 0.09);
}

@keyframes pf-cycle-rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.cycle-data-flow {
  display: none;
}

.cycle-brain {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  grid-column: 1 / -1;
  margin: 0 auto 0.5rem;
  pointer-events: none;
}

.cycle-brain picture,
.cycle-brain img {
  display: block;
  width: 100%;
  height: auto;
}

.cycle-brain img {
  filter: drop-shadow(0 0 0.8rem rgba(34, 211, 238, 0.6)) drop-shadow(0 0 1.8rem rgba(37, 99, 235, 0.32));
}

.cycle-node {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 8.5rem;
  overflow: hidden;
  grid-template-columns: 5.7rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.2rem;
  background:
    linear-gradient(145deg, rgba(17, 30, 51, 0.94), rgba(6, 14, 28, 0.96));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: border-color 240ms var(--pf-ease), box-shadow 240ms var(--pf-ease), background 240ms var(--pf-ease);
}

.cycle-node::before {
  position: absolute;
  top: 0;
  right: 16%;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.7), transparent);
  content: "";
  opacity: 0.6;
}

.cycle-node::after {
  position: absolute;
  top: -4rem;
  left: -4rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  content: "";
  filter: blur(34px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--pf-ease);
}

.cycle-node:hover {
  z-index: 5;
  border-color: rgba(96, 165, 250, 0.48);
  background: linear-gradient(145deg, rgba(20, 39, 69, 0.98), rgba(7, 17, 34, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 24px 58px rgba(0, 0, 0, 0.34), 0 0 2.8rem rgba(37, 99, 235, 0.12);
}

.cycle-node:hover::after {
  opacity: 1;
}

.cycle-node-visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: 5.7rem;
  aspect-ratio: 1;
  place-items: center;
}

.cycle-node-visual picture {
  display: contents;
}

.cycle-node-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.34));
  transition: filter 300ms var(--pf-ease), transform 340ms var(--pf-ease);
}

.cycle-node:hover .cycle-node-visual img {
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 1rem rgba(59, 130, 246, 0.2));
  transform: translateY(-4px) scale(1.08) rotate(-2deg);
}

.cycle-node-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.cycle-node-index {
  display: block;
  color: rgba(191, 219, 254, 0.66);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.cycle-node h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.1rem;
}

.cycle-node p {
  margin-bottom: 0;
  color: var(--pf-text-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cycle-path {
  display: none;
}

@keyframes pf-cycle-signal {
  to { stroke-dashoffset: -100; }
}

@keyframes pf-cycle-flow {
  to { transform: rotate(360deg); }
}

.js .cycle-orbit:not(.is-cycle-active) .cycle-ambient span:first-child,
.js .cycle-orbit:not(.is-cycle-active) .cycle-data-flow,
.js .cycle-orbit:not(.is-cycle-active) .cycle-path-signal {
  animation-play-state: paused;
}

/* Results */
.results-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(37, 99, 235, 0.075), transparent 27rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 44%, #f6f9fd 100%);
}

.results-facts {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(31, 48, 75, 0.1);
  border-radius: 1.45rem;
  background: rgba(31, 48, 75, 0.1);
  box-shadow: 0 20px 58px rgba(15, 23, 42, 0.07);
}

.results-facts::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.62), rgba(212, 168, 83, 0.62), transparent);
  content: "";
  pointer-events: none;
}

.results-fact {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 8.2rem;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.35rem 1.35rem;
  background: rgba(255, 255, 255, 0.97);
}

.results-fact::after {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  width: 2px;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--pf-gold-400);
  content: "";
  opacity: 0.92;
  transform: translateY(-50%);
}

.results-fact strong {
  display: block;
  color: var(--pf-ink-950);
  font-family: var(--pf-font-display);
  font-size: clamp(1.3rem, 2.05vw, 1.9rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.results-fact span {
  display: block;
  margin-top: 0.65rem;
  color: var(--pf-text-mid);
  font-size: 0.75rem;
  line-height: 1.35;
}

.results-grid {
  display: grid;
  gap: 1rem;
}

.result-card {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(31, 48, 75, 0.1);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.075);
  isolation: isolate;
  transition: transform 420ms var(--pf-ease), border-color 420ms var(--pf-ease), box-shadow 420ms var(--pf-ease);
}

.result-card::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pf-blue-600), rgba(37, 99, 235, 0.18) 72%, var(--pf-gold-500));
  content: "";
}

.result-card::after {
  content: none;
}

.result-card-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 1.6rem 1.6rem 0;
}

.result-card-copy > span {
  display: block;
  width: fit-content;
  padding: 0.46rem 0.72rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  background: #eef4ff;
  color: var(--pf-blue-700);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.result-card-copy strong {
  display: block;
  margin: 1.15rem 0 0;
  color: var(--pf-ink-950);
  font-family: var(--pf-font-display);
  font-size: clamp(2.3rem, 4.1vw, 3.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.result-card-copy > i {
  display: block;
  width: 2rem;
  height: 2px;
  margin: 1rem 0 0.8rem;
  border-radius: 999px;
  background: var(--pf-gold-500);
}

.result-card-copy p {
  max-width: 20rem;
  margin: 0;
  color: var(--pf-text-mid);
  font-size: 0.88rem;
  line-height: 1.55;
}

.result-card-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}

.result-card-visual picture {
  position: absolute;
  inset: 0;
  display: block;
}

.result-card-visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  transform: none;
  transition: transform 520ms var(--pf-ease), filter 520ms var(--pf-ease);
}

.result-card:nth-child(2) .result-card-visual img {
  width: 100%;
  height: 100%;
}

.result-card:nth-child(3) .result-card-visual img {
  width: 100%;
  height: 100%;
}

@media (hover: hover) {
  .result-card:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 28px 68px rgba(15, 23, 42, 0.12);
    transform: translateY(-0.35rem);
  }

}

.results-caption {
  position: relative;
  max-width: 42rem;
  margin: 2.2rem auto 0;
  padding-top: 1rem;
  color: var(--pf-text-mid);
  font-size: 0.84rem;
  text-align: center;
}

.results-caption::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--pf-blue-500), var(--pf-gold-500));
  content: "";
  transform: translateX(-50%);
}

@media (max-width: 519px) {
  .results-fact {
    min-height: 7.35rem;
    padding: 1.2rem 0.8rem 1rem 1rem;
  }

  .results-fact::after {
    top: 50%;
    left: 0.55rem;
    height: 1.25rem;
  }

  .results-fact strong {
    font-size: clamp(1rem, 4.8vw, 1.14rem);
  }

  .results-fact span {
    font-size: 0.68rem;
  }

}

/* Niches */
.niches-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.09), transparent 32rem),
    radial-gradient(circle at 8% 88%, rgba(212, 168, 83, 0.055), transparent 28rem),
    #f8fbff;
}

.niches-section .section-head {
  max-width: 60rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.niches-section .section-head h2 {
  max-width: 18ch;
  font-size: clamp(2.7rem, 5.4vw, 4.75rem);
}

.niches-section .section-lead {
  max-width: 49rem;
}

.niches-grid {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.niche-card {
  position: relative;
  height: 100%;
  min-height: 15.5rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 1.25rem;
  background: var(--pf-white);
  isolation: isolate;
  transform-style: preserve-3d;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms var(--pf-ease);
}

.niche-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.99) 38%, rgba(255, 255, 255, 0.91) 54%, rgba(255, 255, 255, 0.28) 75%, rgba(255, 255, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

.niche-card::after {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 1.2rem;
  left: 1.2rem;
  height: 2px;
  background: var(--niche-color, var(--pf-blue-500));
  content: "";
  opacity: 0.8;
}

.niche-card:hover {
  border-color: color-mix(in srgb, var(--niche-color, var(--pf-blue-500)) 42%, transparent);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.11);
  transform: translateY(-3px);
}

.niche-card--blue { --niche-color: #2563eb; }
.niche-card--gold { --niche-color: #d4a853; }
.niche-card--violet { --niche-color: #7c3aed; }
.niche-card--coral { --niche-color: #ea6a57; }
.niche-card--green { --niche-color: #159a72; }
.niche-card--cyan { --niche-color: #0891b2; }

.niche-media,
.niche-media picture,
.niche-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.niche-media {
  z-index: 0;
}

.niche-media img {
  object-fit: cover;
  object-position: center;
}

.niche-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(61%, 19rem);
  height: 100%;
  min-height: 15.5rem;
  flex-direction: column;
  padding: 1.3rem 0.7rem 1.05rem 1.25rem;
}

.niche-index {
  display: block;
  margin-bottom: 1rem;
  color: var(--niche-color);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.niche-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 4.6vw, 1.9rem);
  line-height: 1.05;
}

.niche-card p {
  margin-bottom: 1rem;
  color: var(--pf-text-mid);
  font-size: clamp(0.75rem, 2.4vw, 0.86rem);
  line-height: 1.55;
}

.niche-lines {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: auto 0 0.55rem;
}

.niche-lines i {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: color-mix(in srgb, var(--niche-color, var(--pf-blue-500)) 54%, transparent);
}

.niche-lines i:nth-child(2) { width: 1.4rem; opacity: 0.66; }
.niche-lines i:nth-child(3) { width: 0.55rem; opacity: 0.4; }

.niche-action,
.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pf-blue-700);
  cursor: pointer;
  font-size: clamp(0.68rem, 2vw, 0.75rem);
  font-weight: 750;
  text-align: left;
}

.niche-action svg,
.text-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 200ms ease;
}

.niche-action:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

/* Founder */
.founder-section {
  overflow: hidden;
  padding-block: clamp(3.25rem, 4vw, 5rem);
}

.founder-section::before {
  position: absolute;
  top: 4%;
  right: -8%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 68%);
  content: "";
}

.founder-grid {
  position: relative;
  display: grid;
  gap: 3rem;
}

.founder-photo {
  position: relative;
  width: 100%;
  max-width: 31rem;
}

.founder-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: #101728;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.founder-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8, 11, 18, 0.38), transparent 38%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 42%);
  content: "";
  pointer-events: none;
}

.founder-frame picture,
.founder-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.founder-frame img {
  object-fit: cover;
  object-position: center 46%;
}

.founder-place {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.founder-place svg {
  width: 1.3rem;
  flex: 0 0 auto;
  color: var(--pf-gold-400);
}

.founder-place span {
  color: var(--pf-text-soft);
  font-size: 0.72rem;
  line-height: 1.4;
}

.founder-place b {
  color: var(--pf-white);
  font-size: 0.78rem;
}

.founder-copy {
  align-self: center;
}

.founder-copy h2 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
  line-height: 1.03;
}

.founder-copy > p {
  max-width: 40rem;
  color: var(--pf-text-soft);
}

.founder-details {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-sign {
  display: grid;
  padding-left: 1rem;
  border-left: 2px solid var(--pf-gold-500);
}

.founder-sign strong {
  font-family: var(--pf-font-display);
  font-size: 1.05rem;
}

.founder-sign span {
  color: var(--pf-text-soft);
  font-size: 0.78rem;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.partner-row span {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--pf-line-dark);
  color: var(--pf-text-soft);
  font-size: 0.74rem;
  font-weight: 650;
}

.partner-row svg {
  width: 0.9rem;
  color: var(--pf-gold-400);
}

/* Final CTA */
.final-cta {
  overflow: hidden;
  background: var(--pf-paper-2);
  color: var(--pf-white);
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  content: "";
}

.final-cta::before {
  top: -18rem;
  left: -12rem;
  width: 34rem;
  height: 34rem;
}

.final-cta::after {
  right: -10rem;
  bottom: -18rem;
  width: 38rem;
  height: 38rem;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  height: 76%;
  background: rgba(37, 99, 235, 0.14);
  filter: blur(120px);
  transform: translate(-50%, -50%);
}

.final-cta-frame {
  position: absolute;
  top: 12%;
  right: 8%;
  bottom: 12%;
  left: 8%;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 2.6rem;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  transform: rotate(-2deg);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 6vw, 5rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.28), transparent 42%),
    var(--pf-ink-900);
  box-shadow: 0 34px 90px rgba(27, 48, 82, 0.2);
}

.final-cta .eyebrow {
  color: var(--pf-gold-400);
}

.final-cta h2 {
  max-width: 13ch;
  margin-inline: auto;
}

.final-cta-inner > p {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--pf-text-soft);
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 4.5rem 0 2.5rem;
  background: #070a11;
}

.footer-rule {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--pf-grad-strong);
  opacity: 0.65;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-brand img {
  width: 8.5rem;
  height: auto;
}

.footer-brand p {
  max-width: 23rem;
  margin: 1.2rem 0;
  color: var(--pf-text-soft);
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--pf-line-dark);
  border-radius: 50%;
  transition: border-color 200ms ease, background 200ms ease;
}

.footer-social a:hover {
  border-color: var(--pf-blue-500);
  background: rgba(37, 99, 235, 0.12);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-column h2 {
  margin-bottom: 0.45rem;
  color: var(--pf-white);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span,
.footer-column p {
  margin: 0;
  color: var(--pf-text-soft);
  font-size: 0.82rem;
}

.footer-column a:hover {
  color: var(--pf-white);
}

.footer-action .text-link {
  color: var(--pf-blue-400);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--pf-line-dark);
  color: #748197;
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-bottom button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  top: 50%;
  right: 0.75rem;
  bottom: auto;
  left: 0.75rem;
  z-index: 3000;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.2rem;
  background: rgba(10, 15, 25, 0.96);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy strong {
  font-family: var(--pf-font-display);
  font-size: 0.95rem;
}

.cookie-copy p {
  margin: 0.4rem 0 0;
  color: var(--pf-text-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.cookie-actions .btn {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.76rem;
}

.cookie-actions > a {
  min-height: 2.75rem;
  padding: 0.75rem 0.4rem;
  color: var(--pf-blue-400);
  font-size: 0.72rem;
  font-weight: 650;
}

/* Lead modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  visibility: hidden;
  overflow-y: auto;
  place-items: start center;
  padding: max(1rem, env(safe-area-inset-top)) 0.75rem max(1rem, env(safe-area-inset-bottom));
  background: rgba(3, 6, 13, 0.82);
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms;
  backdrop-filter: blur(12px);
}

.lead-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.lead-dialog {
  position: relative;
  display: grid;
  width: min(100%, 64rem);
  min-height: min(43rem, calc(100svh - 2rem));
  overflow: hidden;
  background: var(--pf-white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.46);
  color: var(--pf-text-dark);
  transform: translateY(1rem) scale(0.985);
  transition: transform 260ms var(--pf-ease);
}

.lead-modal.is-open .lead-dialog {
  transform: translateY(0) scale(1);
}

.lead-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.lead-close svg {
  width: 1.1rem;
}

.lead-side {
  position: relative;
  display: none;
  overflow: hidden;
  padding: 3rem;
  background:
    radial-gradient(circle at 75% 20%, rgba(37, 99, 235, 0.36), transparent 30%),
    radial-gradient(circle at 15% 90%, rgba(96, 165, 250, 0.16), transparent 30%),
    var(--pf-ink-950);
  color: var(--pf-white);
}

.lead-side::before {
  position: absolute;
  right: -6rem;
  bottom: -6rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.025), 0 0 0 6rem rgba(255, 255, 255, 0.015);
}

.lead-side h2 {
  margin: 1rem 0;
  font-size: 2.7rem;
}

.lead-side > p {
  color: var(--pf-text-soft);
}

.lead-side-proof {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  display: grid;
}

.lead-side-proof strong {
  color: var(--pf-gold-400);
  font-family: var(--pf-font-display);
  font-size: 2.8rem;
  line-height: 1;
}

.lead-side-proof span {
  color: var(--pf-text-soft);
  font-size: 0.78rem;
}

.lead-form {
  padding: 4.3rem 1.25rem 1.5rem;
}

.lead-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 1.8rem;
}

.lead-progress span {
  height: 3px;
  background: #e4e8ef;
  transition: background 180ms ease;
}

.lead-progress span.is-active {
  background: var(--pf-blue-600);
}

.lead-step[hidden] {
  display: none;
}

.lead-step-label {
  color: var(--pf-blue-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead-step h2 {
  margin: 0.65rem 0 0.5rem;
  font-size: clamp(1.8rem, 8vw, 2.7rem);
}

.lead-step > p:not(.lead-error):not(.lead-privacy) {
  margin-bottom: 1.4rem;
  color: var(--pf-text-mid);
  font-size: 0.88rem;
}

.lead-step label,
.lead-step legend {
  display: block;
  margin: 0.8rem 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 750;
}

.lead-step input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #dce1e9;
  border-radius: 0;
  background: #f8f9fb;
  color: var(--pf-text-dark);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-step input:focus {
  border-color: var(--pf-blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: 0;
}

.lead-step fieldset {
  margin: 0 0 1.2rem;
  padding: 0;
  border: 0;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.option-grid button {
  min-height: 2.8rem;
  padding: 0.62rem 0.68rem;
  border: 1px solid #dce1e9;
  background: #f8f9fb;
  color: var(--pf-text-mid);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.option-grid button.is-selected {
  border-color: var(--pf-blue-600);
  background: rgba(37, 99, 235, 0.08);
  color: var(--pf-blue-700);
}

.lead-buttons {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.lead-buttons--end {
  justify-content: flex-end;
}

.lead-error {
  margin: 0.65rem 0 0;
  color: #b42318;
  font-size: 0.74rem;
}

.lead-privacy {
  margin: 1rem 0 0;
  color: #758094;
  font-size: 0.7rem;
}

.lead-success {
  padding-top: 2rem;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--pf-blue-600);
  color: var(--pf-white);
}

.success-mark svg {
  width: 1.8rem;
  height: 1.8rem;
}

.lead-success .btn {
  width: 100%;
  margin: 0.8rem 0;
}

.lead-success .text-link {
  margin: 0 auto;
}

/* 404 */
.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: calc(var(--pf-header-h) + 2rem) 0 6rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(37, 99, 235, 0.2), transparent 30%),
    var(--pf-ink-950);
  text-align: center;
}

.not-found-inner > span {
  color: transparent;
  background: var(--pf-grad);
  background-clip: text;
  font-family: var(--pf-font-display);
  font-size: clamp(7rem, 34vw, 18rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.not-found h1 {
  margin: 1.5rem 0 0.7rem;
  font-size: clamp(2rem, 8vw, 4rem);
}

.not-found p {
  color: var(--pf-text-soft);
}

/* Reveal and interaction */
.js .reveal {
  opacity: 0;
  transition: opacity 460ms var(--pf-ease), transform 460ms var(--pf-ease), clip-path 520ms var(--pf-ease);
  will-change: opacity, transform;
}

.js .reveal--up {
  transform: translate3d(0, 1.4rem, 0);
}

.js .reveal--left {
  transform: translate3d(-1.4rem, 0, 0);
}

.js .reveal--scale {
  transform: scale(0.965);
}

/* ===== Entradas com mais presenca =====
   As variantes acima sao discretas (1,4rem) e servem a texto. Cartao pede um
   gesto maior: vem de um lado, com um leve recuo em profundidade, e demora um
   pouco mais. No celular a distancia lateral e menor, porque a tela e estreita
   e um deslocamento grande vira "objeto entrando de fora" em vez de gesto. */
.js .reveal--from-left,
.js .reveal--from-right {
  transition-duration: 720ms, 720ms, 720ms;
}

.js .reveal--from-left {
  transform: translate3d(-3.5rem, 0.6rem, 0) scale(0.94);
}

.js .reveal--from-right {
  transform: translate3d(3.5rem, 0.6rem, 0) scale(0.94);
}

.js .reveal--rise {
  transform: translate3d(0, 3rem, 0) scale(0.94);
  transition-duration: 720ms, 720ms, 720ms;
}

@media (min-width: 760px) {
  .js .reveal--from-left {
    transform: translate3d(-5.5rem, 0.8rem, 0) scale(0.93);
  }

  .js .reveal--from-right {
    transform: translate3d(5.5rem, 0.8rem, 0) scale(0.93);
  }
}

.js .reveal--clip {
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 0.8rem, 0);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal--clip.is-visible {
  clip-path: inset(0 0 0 0);
}

/* A primeira secao depois do scrollytelling nasce DO FUNDO da luz branca:
   os elementos emergem em profundidade (fade + scale), nunca deslizando de
   baixo — como se ja estivessem dentro do branco se revelando. */
.js .services-section .reveal,
.js .services-section .reveal--up,
.js .services-section .reveal--left,
.js .services-section .reveal--clip {
  clip-path: none;
  transform: scale(0.9);
  transform-origin: 50% 42%;
  transition: opacity 1150ms var(--pf-ease), transform 1300ms var(--pf-ease);
}

.js .services-section .reveal.is-visible {
  transform: scale(1);
}

/* ===== Saida =====
   Quando o cartao ja passou bem acima da dobra ele recua um pouco e perde
   presenca, em vez de simplesmente sumir pela borda. E reversivel: rolando de
   volta ele retorna. Fica so nos cartoes — aplicar em texto deixaria a leitura
   instavel. */
.js .reveal.is-leaving {
  opacity: 0.24;
  transform: translate3d(0, -1.2rem, 0) scale(0.965);
}

.js .line-draw {
  transform: scaleX(0);
  transition: transform 700ms var(--pf-ease);
}

.js .line-draw.is-visible {
  transform: scaleX(1);
}

/* Refinamento editorial minimalista */
.page-home .eyebrow {
  color: inherit;
  opacity: 0.62;
}

.page-home .hero h1,
.page-home .section-dark h2,
.page-home .section-ink h2,
.page-home .founder-section h2 {
  color: var(--pf-white);
}

.page-home .proof-value {
  color: var(--pf-white);
}

.page-home .cycle-node-index {
  color: inherit;
  opacity: 0.5;
}

/* A letra do metodo permanece DOURADA (e o marcador da etapa). */
.page-home .acrer-index {
  color: var(--pf-gold-400, #d4a853);
  opacity: 1;
}

.page-home .service-number {
  color: var(--pf-ink-950);
  opacity: 0.42;
}

.page-home .niche-index {
  color: var(--niche-color, var(--pf-blue-600));
  opacity: 0.74;
}

.page-home .cycle-note,
.page-home .founder-sign {
  border-left-color: rgba(255, 255, 255, 0.28);
}

.page-home .niche-card:hover {
  border-color: rgba(15, 23, 42, 0.24);
}

.page-home .founder-section::before {
  background: rgba(37, 99, 235, 0.06);
}

.page-home .founder-place svg,
.page-home .partner-row svg {
  color: #9ca7b7;
}

.page-home .final-cta {
  background: var(--pf-paper-2);
  color: var(--pf-white);
}

.page-home .final-cta::before,
.page-home .final-cta::after {
  border-color: rgba(37, 99, 235, 0.1);
}

.page-home .final-cta-glow {
  background: rgba(37, 99, 235, 0.14);
}

.page-home .final-cta .eyebrow {
  color: var(--pf-gold-400);
  opacity: 1;
}

.page-home .final-cta-inner > p {
  color: var(--pf-text-soft);
}

.page-home .footer-rule {
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 520px) {
  .hero-actions,
  .final-cta-actions {
    flex-direction: row;
  }

  .hero-actions {
    align-items: center;
  }

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

  .service-card--feature {
    grid-column: 1 / -1;
  }

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

  .acrer-step {
    display: flex;
    min-height: 21rem;
    flex-direction: column;
    padding: 1.15rem;
  }

  .acrer-visual {
    width: 100%;
    height: 8.5rem;
    aspect-ratio: auto;
  }

  .acrer-step h3 {
    min-height: 2.8rem;
    align-content: start;
    align-items: baseline;
    align-self: auto;
    margin: 1.1rem 0 0.65rem;
  }

  .acrer-step-accent {
    left: 1.15rem;
  }

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

  .cookie-banner {
    right: 1rem;
    left: auto;
    width: min(30rem, calc(100% - 2rem));
  }
}

@media (min-width: 760px) {
  :root {
    --pf-header-h: 5.25rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .cookie-banner {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .hero {
    padding-top: calc(var(--pf-header-h) + 2rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1.18fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  .hero-visual {
    min-height: 28rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 4.5vw, 4.2rem);
  }

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

  .proof-item,
  .proof-item:nth-child(2n),
  .proof-item:nth-last-child(-n + 2) {
    min-height: 10rem;
    padding: 2rem 1.4rem;
    border-right: 1px solid var(--pf-line-dark);
    border-bottom: 0;
  }

  .proof-item:last-child {
    border-right: 0;
  }

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

  /* O destaque ocupa a LINHA inteira (horizontal): nada de card gigante com
     vazio embaixo, e os 6 cards restantes fecham a grade sem buracos. */
  .service-card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
  }

  .service-card--feature .service-media {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: auto;
    min-height: 25rem;
  }

  .service-card--feature .service-content {
    grid-column: 1;
    grid-row: 1;
    align-content: center;
    padding: clamp(2rem, 4vw, 3.25rem);
  }

  .service-card--feature p {
    max-width: 46rem;
  }

  .service-card:not(.service-card--feature) h3 {
    min-height: 2.24em;
  }

  .acrer-intro {
    grid-template-columns: minmax(0, 0.84fr) minmax(22rem, 1.16fr);
  }

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

  .acrer-step {
    min-height: 21.5rem;
  }

  .acrer-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .results-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .founder-grid {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
  }

  .founder-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .lead-dialog {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .lead-side {
    display: block;
  }

  .lead-form {
    padding: 4.5rem clamp(2rem, 5vw, 4rem) 2rem;
  }

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

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.2rem);
  }

  .desktop-nav a {
    position: relative;
    color: #bdc7d7;
    font-size: 0.78rem;
    font-weight: 650;
  }

  .desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    left: 0;
    height: 1px;
    background: var(--pf-gold-400);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms var(--pf-ease);
  }

  .desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .menu-toggle {
    display: none;
  }

  .header-whatsapp {
    display: none;
  }

  .hero-scroll {
    display: flex;
  }

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

  .acrer-step,
  .acrer-step:last-child:nth-child(odd) {
    min-height: 23.5rem;
    grid-column: auto;
  }

  .acrer-visual {
    height: 9.5rem;
  }

  .acrer-step h3 {
    font-size: clamp(0.96rem, 1.4vw, 1.2rem);
  }

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

  .cycle-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(32rem, 1.2fr);
    align-items: center;
    gap: clamp(3rem, 5vw, 5rem);
  }

  .cycle-section {
    padding-block: 4.5rem;
  }

  .cycle-orbit {
    display: block;
    width: min(100%, clamp(32rem, calc(100svh - var(--pf-header-h) - 9rem), 36rem));
    max-width: none;
    aspect-ratio: 1;
    margin-left: auto;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .cycle-data-flow {
    position: absolute;
    inset: 17.5%;
    z-index: 1;
    display: block;
    border-radius: 50%;
    animation: pf-cycle-flow 9s linear infinite;
    pointer-events: none;
  }

  .cycle-data-flow i {
    position: absolute;
    width: 0.48rem;
    aspect-ratio: 1;
    border: 1px solid rgba(191, 219, 254, 0.84);
    border-radius: 50%;
    background: var(--pf-blue-500);
    box-shadow: 0 0 0.55rem rgba(59, 130, 246, 0.68), 0 0 1.1rem rgba(37, 99, 235, 0.28);
  }

  .cycle-data-flow i:nth-child(1) { top: -0.24rem; left: 50%; }
  .cycle-data-flow i:nth-child(2) { top: 50%; right: -0.24rem; }
  .cycle-data-flow i:nth-child(3) { bottom: 7%; left: 15%; }

  .cycle-ambient span:first-child {
    animation-duration: 24s;
  }

  .cycle-brain {
    position: absolute;
    top: 32%;
    left: 50%;
    z-index: 2;
    width: 70%;
    margin: 0;
    transform: translateX(-50%);
  }

  .cycle-node {
    position: absolute;
    z-index: 3;
    width: clamp(11.75rem, 14vw, 13.25rem);
    min-height: 8rem;
    grid-template-columns: clamp(4.15rem, 4.8vw, 4.75rem) minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 18px 46px rgba(2, 5, 12, 0.34);
  }

  .cycle-node-visual {
    width: clamp(4.15rem, 4.8vw, 4.75rem);
  }

  .cycle-node h3 {
    font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  }

  .cycle-node p {
    font-size: 0.72rem;
  }

  .cycle-node--1 { top: -0.5rem; left: 50%; transform: translateX(-50%); }
  .cycle-node--2 { top: 50%; right: -3.5rem; transform: translateY(-50%); }
  .cycle-node--3 { bottom: -0.5rem; left: 50%; transform: translateX(-50%); }
  .cycle-node--4 { top: 50%; left: -3.5rem; transform: translateY(-50%); }

  .cycle-path {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }

  .cycle-path circle {
    fill: none;
  }

  .cycle-path-outer {
    stroke: rgba(96, 165, 250, 0.14);
    stroke-dasharray: 4 9;
    stroke-width: 1.1;
  }

  .cycle-path-main {
    stroke: rgba(212, 168, 83, 0.1);
    stroke-width: 1.1;
  }

  .cycle-path-signal {
    stroke: rgba(59, 130, 246, 0.66);
    stroke-dasharray: 7 93;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    stroke-width: 2.4;
    animation: pf-cycle-signal 5s linear infinite;
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.46));
  }

  .cycle-path-spokes {
    fill: none;
    stroke: rgba(96, 165, 250, 0.16);
    stroke-dasharray: 3 7;
    stroke-width: 1;
  }

  .cycle-path-arrows {
    fill: rgba(96, 165, 250, 0.58);
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.34));
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .cookie-banner {
    bottom: 1rem;
  }
}

@media (min-width: 1220px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(26rem, 1.04fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .hero-visual {
    min-height: 33rem;
  }

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

  .service-card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* Decisao do dono (2026-08-17): o site NAO honra prefers-reduced-motion.
   Efeitos completos para todos os visitantes, sempre, independente da
   configuracao de animacoes do sistema operacional. */

@media (forced-colors: active) {
  .grad,
  .grad-dark,
  .grad-light,
  .hl-gold,
  .not-found-inner > span {
    color: CanvasText;
    animation: none;
    background: none;
    filter: none;
    -webkit-text-fill-color: currentColor;
  }
}
