/* ===========================================================
   REXOR — Desktop (>= 1024px)
   Valores extraídos do Figma: frame 1440, container 1000/1100/1360
   =========================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Cores — Figma */
  --bg: #000000;
  --bg-soft: #070806;
  --card: #0e0f0e;
  --card-2: #212421;
  --card-form: #181818;
  --border: #2a2a31;
  --line: #343434;

  --accent: #b4ee3a; /* botão principal */
  --accent-2: #d6ff3f; /* botão header / destaques de texto */
  --accent-3: #93d700; /* X da marca / glows */
  --accent-ink: #0d1400;

  --text: #f5f5f3;
  --text-2: #e4ebe3;
  --muted: #9b9ba3;
  --danger: #e2857a;

  /* Medidas */
  --radius: 6px;
  --radius-pill: 20px;
  --container: 1000px; /* padrão das seções */
  --container-wide: 1360px; /* serviços / cases / carrosséis */
  --container-hero: 1100px; /* header + hero */
  --gutter: 40px;

  /* saída rápida, chegada macia — o easing que dá a sensação "Apple" */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* duração da animação de título (rv-palavra) — lida pelo JS pra atrasar
     os blocos até o título terminar de aparecer */
  --rv-title-dur: 1300ms;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: 0;
  font-family: inherit;
}
input,
select,
textarea {
  font-family: inherit;
}
::selection {
  background: var(--accent);
  color: #000;
}

/* Os tokens --container* são a largura do CONTEÚDO (como no Figma), por isso
   o padding entra somado no max-width em vez de comer o espaço interno. */
.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.accent {
  color: var(--accent-2);
}

/* Degradê nos textos de destaque: verde da marca à esquerda, branco à direita.

   O gradiente é vertical de propósito. A animação de título quebra o texto em
   palavras, então cada palavra recebe o degradê separadamente — num gradiente
   VERTICAL isso fica idêntico a um degradê único na frase, porque todas as
   palavras da linha ocupam a mesma faixa de altura. Se fosse horizontal, cada
   palavra reiniciaria o degradê e a costura ficaria visível.

   Dentro de @supports porque -webkit-text-fill-color: transparent deixaria o
   texto invisível onde background-clip: text não existe. A cor sólida em
   var(--accent-2) continua sendo o fallback. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent,
  .accent .rv-w > span,
  .left-hero h1 strong,
  .left-hero h1 strong .rv-w > span,
  .card-depois h3,
  .mini-note,
  .closing-line,
  .eyebrow-line {
    background-image: linear-gradient(90deg, #e2ff9c 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  /* "antes", no título de antes/depois — degradê próprio, também horizontal */
  .tone-muted,
  .tone-muted .rv-w > span {
    background-image: linear-gradient(90deg, #111f0f 0%, #e2ffdb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.tone-muted {
  color: #7d8a72;
}
.tone-grey {
  color: #4a4a4a;
}
.link {
  display: inline-block;
}

/* Títulos de seção — 40px no Figma */
.section-title {
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
}
.lead-section {
  font-size: 16px;
  color: var(--text-2);
  text-align: center;
  max-width: 560px;
  margin: 14px auto 0;
  line-height: 1.45;
}
.lead-section strong {
  font-weight: 600;
  color: var(--text);
}

/* -----------------------------------------------------------
   Botões
   ----------------------------------------------------------- */
.bt-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  box-shadow: 0 0 20px rgba(180, 238, 58, 0.25);
  transition:
    filter 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.bt-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(180, 238, 58, 0.4);
}
@media (prefers-reduced-motion: no-preference) {
  .bt-primary {
    animation: bt-pulse-neon 2.2s ease-in-out infinite;
  }
  .bt-primary:hover {
    animation-play-state: paused;
  }
}
@keyframes bt-pulse-neon {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(180, 238, 58, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 38px 8px rgba(180, 238, 58, 0.55);
    transform: scale(1.045);
  }
}
.bt-header {
  background: var(--accent-2);
}
.bt-header .ico-wpp {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.bt-form {
  width: 100%;
  margin-top: 16px;
  padding: 14px 24px;
  font-size: 13px;
}

/* -----------------------------------------------------------
   Header — pill flutuante (Figma: 1100x65, r20, blur, #000 40%)
   ----------------------------------------------------------- */
header {
  position: fixed;
  top: 26px;
  left: 0;
  right: 0;
  z-index: 999;
  pointer-events: none;
}
.header-pill {
  pointer-events: auto;
  width: 100%;
  max-width: var(--container-hero);
  height: 65px;
  margin: 0 auto;
  padding: 12px 16px 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
header.scrolled .header-pill {
  background: rgba(0, 0, 0, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
}
.logo-mark {
  width: 124px;
  height: auto;
}

.nav-desk {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-desk a {
  color: var(--muted);
  font-size: 14px;
  position: relative;
  transition: color 0.18s ease;
}
.nav-desk a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent-2);
  transition: width 0.22s ease;
}
.nav-desk a:hover {
  color: var(--text);
}
.nav-desk a:hover::after {
  width: 100%;
}

/* -----------------------------------------------------------
   Hero
   ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 767px;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background: var(--bg);
}
.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-x {
  position: absolute;
  left: 50px;
  top: 52%;
  width: 700px;
  height: 660px;
  transform: translateY(-50%);
  opacity: 0.8;
  filter: blur(1.5px);
}
.hero-glow-a {
  /* halo verde grande, canto inferior esquerdo */
  position: absolute;
  left: -60px;
  bottom: -320px;
  width: 760px;
  height: 520px;
  border-radius: 50%;
  background: #6ea000;
  opacity: 0.5;
  filter: blur(200px);
}
.hero-glow-b {
  /* brilho vertical atrás do X */
  position: absolute;
  left: 170px;
  top: -40px;
  width: 260px;
  height: 500px;
  border-radius: 50%;
  background: var(--accent-3);
  opacity: 0.18;
  filter: blur(110px);
}

/* Parallax do X e dos halos do hero.

   Aqui a timeline é scroll(root) e não view(): o hero já nasce visível, então
   uma view-timeline começaria no meio do próprio range. Com scroll do
   documento, o repouso é o scroll 0 — exatamente o estado de carregamento.

   O X desce enquanto a página sobe, o que o faz "ficar atrás" — é o que cria
   profundidade. Os halos descem menos, pra parecerem mais distantes.

   O will-change promove cada um a camada própria: o blur é rasterizado uma vez
   e depois só transladado, em vez de recalculado quadro a quadro. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-x,
    .hero-glow-a,
    .hero-glow-b {
      animation: linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 700px;
      will-change: transform;
    }
    .hero-x {
      animation-name: hero-x-drift;
    }
    .hero-glow-a {
      animation-name: hero-glow-a-drift;
    }
    .hero-glow-b {
      animation-name: hero-glow-b-drift;
    }

    /* o translateY(-50%) da centralização vem primeiro e fica intacto */
    @keyframes hero-x-drift {
      from {
        transform: translateY(-50%) translateY(0) scale(1);
        opacity: 0.8;
      }
      to {
        transform: translateY(-50%) translateY(150px) scale(1.07);
        opacity: 0.22;
      }
    }
    @keyframes hero-glow-a-drift {
      from {
        transform: translateY(0);
        opacity: 0.5;
      }
      to {
        transform: translateY(70px);
        opacity: 0.2;
      }
    }
    @keyframes hero-glow-b-drift {
      from {
        transform: translateY(0);
        opacity: 0.18;
      }
      to {
        transform: translateY(110px);
        opacity: 0.05;
      }
    }
  }
}

.hero .container {
  max-width: calc(var(--container-hero) + 48px);
}
.wrap {
  display: grid;
  grid-template-columns: 557px 400px;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.left-hero h1 {
  font-size: 60px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.left-hero h1 strong {
  font-weight: 700;
  color: var(--accent-2);
}
.lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
  margin-top: 26px;
  max-width: 530px;
}
.mini-note {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  margin-top: 40px;
}

/* Formulário */
.form-card {
  background: var(--card-form);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.field {
  margin-bottom: 16px;
  position: relative;
}
.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.field input[type="text"],
.field input[type="tel"],
.field select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.field input::placeholder {
  color: #616168;
}
.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 238, 58, 0.12);
}
.field select {
  appearance: none;
  cursor: pointer;
  color: #616168;
}
.field select.filled {
  color: var(--text);
}
.field-select::after {
  /* seta custom do select */
  content: "";
  position: absolute;
  right: 15px;
  bottom: 17px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.field.invalid input,
.field.invalid select {
  border-color: var(--danger);
}

.field-q label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  line-height: 1.4;
  margin-bottom: 10px;
}
.q-row {
  display: flex;
  gap: 8px;
}
.q-opt {
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.18s ease;
}
.q-opt:hover {
  border-color: #454550;
  color: var(--text);
}
.q-opt.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.form-status {
  font-size: 12px;
  margin-top: 12px;
  text-align: center;
  min-height: 16px;
}
.form-status.ok {
  color: var(--accent-2);
}
.form-status.err {
  color: var(--danger);
}

/* -----------------------------------------------------------
   Antes / Depois
   ----------------------------------------------------------- */
.area-transformacao {
  padding: 50px 0 70px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.transform-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 94px;
  margin-top: 76px;
}
/* arco que liga os dois selos (Figma: retângulo r34 com metade de baixo cortada) */
.transform-arc {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  width: 570px;
  height: 138px;
  border-radius: 34px;
  border: 2px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(
        90deg,
        rgba(120, 120, 120, 0.05),
        rgba(200, 200, 200, 0.55) 50%,
        rgba(147, 215, 0, 0.5)
      )
      border-box;
  clip-path: inset(0 0 60% 0);
  filter: blur(0.4px);
  pointer-events: none;
}

.card-transform {
  position: relative;
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px 32px 28px;
}
.card-depois {
  border-color: rgba(147, 215, 0, 0.55);
  box-shadow: 0 20px 60px -18px rgba(147, 215, 0, 0.35);
}
.card-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-badge svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.badge-warning {
  color: var(--danger);
  box-shadow: inset 0 0 0 1.5px rgba(226, 133, 122, 0.8);
}
.badge-warning svg circle[fill="currentColor"] {
  stroke: none;
}
.badge-check {
  box-shadow: inset 0 0 0 1.5px rgba(147, 215, 0, 0.8);
}

.card-transform h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 22px;
}
.card-antes h3 {
  color: var(--muted);
}
.card-depois h3 {
  color: var(--accent-2);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}
.check-row p {
  font-size: 14px;
  line-height: 1.4;
}
.card-antes .check-row p {
  color: var(--muted);
}
.card-depois .check-row p {
  color: var(--text);
}
.ico-x {
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}
.ico-check {
  color: var(--accent-3);
  font-size: 13px;
  line-height: 1.5;
}

/* -----------------------------------------------------------
   Parceiros
   ----------------------------------------------------------- */
.area-parceiros {
  padding: 50px 0 40px;
  background: var(--bg);
  overflow: hidden;
}
.parceiros-title {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.logos-viewport {
  margin-top: 44px;
  overflow: hidden;
}
.logos-track {
  display: flex;
  gap: 40px;
  width: max-content;
}
.logos-group {
  display: flex;
  align-items: center;
  gap: 40px;
}
/* Loop contínuo: o grupo se repete 2x no HTML, e a track anda exatamente a
   largura de UM grupo (-50% do total) — ao chegar lá o segundo grupo já está
   posicionado onde o primeiro começou, então o corte de volta pro início é
   invisível. */
@media (prefers-reduced-motion: no-preference) {
  .logos-track {
    animation: logos-loop 60s linear infinite;
  }
  .logos-viewport:hover .logos-track {
    animation-play-state: paused;
  }
}
@keyframes logos-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.logo-item {
  flex: 0 0 auto;
  width: auto;
  height: 90px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.55;
}

/* -----------------------------------------------------------
   Serviços — seção CLARA, cards escalonados e colados
   ----------------------------------------------------------- */
.area-servicos {
  padding: 50px 0 40px;
  background: #ffffff;
  color: #000;
}
.area-servicos .section-title {
  color: #000;
}
.area-servicos .section-title .tone-grey {
  color: #454545;
}
.area-servicos .lead-section {
  color: #2b2b2b;
}

.servicos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: var(--container-wide);
  margin: 60px auto 0;
  padding: 0 40px;
  /* altura do card grande já reservada: o hover não empurra a página pra baixo */
  min-height: 364px;
}
/* Os quatro cards nascem iguais (275). No hover, só o card apontado vai pros
   364 do layout original; os vizinhos deslizam pro lado pra abrir espaço. */
.card-servico {
  position: relative;
  flex: 0 0 275px;
  height: 275px;
  padding: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  z-index: 1;
  transition:
    flex-basis 0.35s ease,
    height 0.35s ease,
    padding 0.35s ease,
    border-radius 0.35s ease,
    box-shadow 0.35s ease;
}
.card-servico:hover,
.card-servico:focus-within {
  flex-basis: 364px;
  height: 364px;
  padding: 60px;
  border-radius: var(--radius);
  box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.45);
  z-index: 3;
}
.card-servico h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 25px;
  color: #fff;
  position: relative;
  z-index: 2;
}
.card-servico p {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 2;
  width: 80%;
}

.card-branding,
.card-dark,
.card-verde,
.card-destaque {
  background: #000;
}
.card-bg {
  position: absolute;
  /* inset: -8% -2% auto -2%; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  top: 0px;
  left: 0px;
  filter: blur(31px);
  transition: filter 0.35s ease;
}
.card-servico:hover .card-bg,
.card-servico:focus-within .card-bg {
  filter: blur(0px);
}

.card-orb {
  position: absolute;
  width: 213px;
  height: 453px;
  border-radius: 50%;
  background: rgba(147, 215, 0, 0.5);
  filter: blur(110px);
  pointer-events: none;
  z-index: 1;
}
.card-branding .card-orb {
  top: -55%;
  left: 55%;
  background: rgba(238, 255, 202, 0.5);
}
.card-destaque .card-orb {
  top: -65%;
  left: 42%;
}
.card-verde .card-orb {
  top: -60%;
  left: -52%;
}

/* -----------------------------------------------------------
   Cases
   ----------------------------------------------------------- */
.area-cases {
  padding: 60px 0 70px;
  background: var(--bg);
}
.area-cases .container {
  max-width: calc(var(--container-wide) + 80px);
  padding: 0 40px;
}
.cases-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.cases-cta {
  text-align: center;
  margin-top: 44px;
}
.card-case {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
.card-case:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 215, 0, 0.4);
}
.case-thumb {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #0a0a0a;
}
.case-body {
  padding: 22px 24px 26px;
}
.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #151515;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  padding: 5px 11px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.tag svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-case h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card-case p {
  font-size: 13px;
  color: var(--muted);
}

/* -----------------------------------------------------------
   Branding — carrossel sangrando na direita
   ----------------------------------------------------------- */
.area-branding {
  padding: 60px 0 50px;
  background: var(--bg);
  overflow: hidden;
}
.branding-viewport {
  margin-top: 48px;
  overflow: hidden;
}
.branding-track {
  display: flex;
  gap: 16px;
  padding-left: max(40px, calc((100vw - 1440px) / 2 + 40px));
  width: max-content;
}
.branding-group {
  display: flex;
  gap: 16px;
}
/* Loop contínuo — mesma lógica do carrossel de parceiros: grupo repetido 2x,
   anda -50% (a largura de um grupo) e reinicia de forma invisível. */
@media (prefers-reduced-motion: no-preference) {
  .branding-track {
    animation: branding-loop 100s linear infinite;
  }
  .branding-viewport:hover .branding-track {
    animation-play-state: paused;
  }
}
@keyframes branding-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.branding-photo {
  flex: 0 0 400px;
  opacity: 0.7;
  height: 330px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--card);
}

/* -----------------------------------------------------------
   Metodologia
   ----------------------------------------------------------- */
.area-metodologia {
  position: relative;
  padding: 50px 0 70px;
  background: var(--bg);
  overflow: hidden;
}
.method-glow {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 265px;
  height: 384px;
  border-radius: 50%;
  background: rgba(147, 215, 0, 0.16);
  filter: blur(110px);
  pointer-events: none;
}
.area-metodologia .container {
  z-index: 1;
}

.steps-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.steps-line {
  position: absolute;
  top: 20px;
  left: 12%;
  right: 12%;
  height: 1px;
  border-top: 1px dashed var(--line);
}
.step {
  position: relative;
  text-align: center;
  padding: 0 20px;
}
.step-circle {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid var(--accent-2);
  background: var(--bg);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* -----------------------------------------------------------
   Metodologia — cascata de entrada

   A linha se desenha da esquerda pra direita e cada passo acende quando ela
   chega nele. O recorte é por clip-path e não por scaleX, senão os tracinhos
   da borda dashed esticariam junto.
   O JS põe .steps-in em .steps-row quando a fileira entra na tela.
   ----------------------------------------------------------- */
.js-anim .steps-line {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s var(--ease);
}
.js-anim .steps-row.steps-in .steps-line {
  clip-path: inset(0 0 0 0);
}

.js-anim .step-circle {
  border-color: var(--border);
  color: #55555c;
  transform: scale(0.82);
  transition:
    border-color 0.6s ease,
    color 0.6s ease,
    box-shadow 0.6s ease,
    transform 0.7s var(--ease);
}
.js-anim .steps-row.steps-in .step-circle {
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: none;
  box-shadow:
    0 0 0 5px rgba(214, 255, 63, 0.06),
    0 0 20px rgba(214, 255, 63, 0.22);
}

.js-anim .step h3,
.js-anim .step p {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js-anim .steps-row.steps-in .step h3,
.js-anim .steps-row.steps-in .step p {
  opacity: 1;
  transform: none;
}

/* Cada passo entra quando a linha alcança a sua posição (1,5s no total) */
.js-anim .step:nth-of-type(1) .step-circle {
  transition-delay: 0.1s;
}
.js-anim .step:nth-of-type(2) .step-circle {
  transition-delay: 0.45s;
}
.js-anim .step:nth-of-type(3) .step-circle {
  transition-delay: 0.8s;
}
.js-anim .step:nth-of-type(4) .step-circle {
  transition-delay: 1.15s;
}
.js-anim .step:nth-of-type(1) h3 {
  transition-delay: 0.2s;
}
.js-anim .step:nth-of-type(1) p {
  transition-delay: 0.26s;
}
.js-anim .step:nth-of-type(2) h3 {
  transition-delay: 0.55s;
}
.js-anim .step:nth-of-type(2) p {
  transition-delay: 0.61s;
}
.js-anim .step:nth-of-type(3) h3 {
  transition-delay: 0.9s;
}
.js-anim .step:nth-of-type(3) p {
  transition-delay: 0.96s;
}
.js-anim .step:nth-of-type(4) h3 {
  transition-delay: 1.25s;
}
.js-anim .step:nth-of-type(4) p {
  transition-delay: 1.31s;
}

/* Mesma lógica do .rv-instant: rolando pra cima, a fileira de passos aparece
   pronta, sem tocar a cascata (linha desenhando + passos acendendo) de novo. */
.js-anim .rv-instant.steps-row.steps-in .steps-line,
.js-anim .rv-instant.steps-row.steps-in .step-circle,
.js-anim .rv-instant.steps-row.steps-in .step h3,
.js-anim .rv-instant.steps-row.steps-in .step p {
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

/* -----------------------------------------------------------
   Checklist
   ----------------------------------------------------------- */
.area-checklist {
  padding: 50px 0 70px;
  background: var(--bg);
}
.checklist-box {
  max-width: 600px;
  margin: 36px auto 0;
  background: var(--card);
  border: 1px solid rgba(147, 215, 0, 0.8);
  border-radius: var(--radius);
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.check-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.check-item .box {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--accent-2);
  border-radius: 5px;
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s ease;
}
.check-item input:checked + .box {
  background: var(--accent-2);
}
.check-item input:checked + .box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #0d1400;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-item input:focus-visible + .box {
  box-shadow: 0 0 0 3px rgba(214, 255, 63, 0.25);
}
.closing-line {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  max-width: 580px;
  margin: 32px auto 0;
  text-align: center;
}

/* -----------------------------------------------------------
   Sobre
   ----------------------------------------------------------- */
.area-sobre {
  position: relative;
  padding: 70px 0;
  background: var(--bg);
  overflow: hidden;
}
.sobre-glow {
  position: absolute;
  top: -185px;
  right: -90px;
  width: 420px;
  height: 517px;
  border-radius: 50%;
  background: rgba(147, 215, 0, 0.12);
  filter: blur(110px);
  pointer-events: none;
}
.about-card {
  position: relative;
  display: grid;
  grid-template-columns: 468px 1fr;
  gap: 64px;
  padding: 60px;
  border-radius: var(--radius);
  background: linear-gradient(110deg, #060701 0%, #101303 100%);
  overflow: hidden;
  min-height: 362px;
  z-index: 1;
}
.about-left {
  align-self: center;
  position: relative;
  z-index: 1;
}
.eyebrow-line {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.about-left h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-left p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 16px;
}
.about-left p:last-child {
  margin-bottom: 0;
}
/* Figma: o nó da arte é 538x538 em x=541 / y=-70 dentro do card de 1000x362.
   O PNG exportado sai 594x597 porque o Figma inclui a folga do blur (~28px de
   cada lado), então descontamos essa folga na posição e usamos o tamanho
   nativo — se forçar 538x538 a arte encolhe e sai do lugar. */
.about-art {
  position: absolute;
  right: -107px; /* 541 - 28 de folga, medido a partir da direita do card */
  top: -100px; /* -70 - 29 de folga */
  width: 594px;
  height: 597px;
  max-width: none;
  pointer-events: none;
}

.values-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.value-item {
  display: flex;
  gap: 16px;
}
.value-bar {
  width: 2px;
  align-self: stretch;
  background: var(--accent-2);
  flex-shrink: 0;
  border-radius: 2px;
}
.value-text h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.value-text p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* -----------------------------------------------------------
   Fechamento
   ----------------------------------------------------------- */
/* Figma (frame 1440x620): título em y=70 (65/68px) e a montanha 867x414
   centralizada, colada na base. A arte já vem composta sobre preto. */
.area-fechamento {
  position: relative;
  min-height: 620px;
  padding: 70px 0 0;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}
.fechamento-bg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 867px);
  height: auto;
  z-index: 0;
}

/* A montanha sobe conforme a seção rola — aqui o scroll-linked vale a pena,
   porque há 620px de curso pra distribuir o movimento.

   Feito com animation-timeline nativo: roda fora da main thread, então não
   trava o scroll no celular como um handler de scroll em JS faria. Quem não
   suporta cai no reveal em bloco (o app.js detecta e inclui na lista).
   Como o elemento já usa translateX(-50%) pra centralizar, o translate dos
   keyframes precisa carregar isso junto. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .area-fechamento {
      view-timeline-name: --montanha;
      view-timeline-axis: block;
    }
    .fechamento-bg {
      animation: montanha-sobe linear both;
      animation-timeline: --montanha;
      animation-range: entry 15% cover 55%;
      will-change: transform, opacity;
    }
    @keyframes montanha-sobe {
      from {
        transform: translate(-50%, 190px) scale(1.12);
        opacity: 0.22;
      }
      to {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
      }
    }
  }
}
.area-fechamento .container {
  position: relative;
  z-index: 2;
}
.tagline-final {
  font-size: 65px;
  font-weight: 500;
  line-height: 68px;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 auto;
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
}
.footer-brand img {
  width: 114px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social a {
  display: inline-flex;
  color: var(--muted);
  transition: color 0.18s ease;
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social a:hover {
  color: var(--accent-2);
}
.area-copyright {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* WhatsApp flutuante — só mobile */
.wpp-float {
  display: none;
}

/* -----------------------------------------------------------
   Animação de entrada por seção
   ----------------------------------------------------------- */
/* Títulos: cada palavra sobe por trás de uma máscara.

   A máscara é clip-path e não overflow:hidden porque clip-path não mexe no
   layout. Com overflow eu precisaria de padding pra não cortar acento e
   descida (ç, g, p), e esse padding inflava a caixa de linha do inline-block:
   a tagline ia de 136 pra 158px, furando a medida do Figma.

   O recorte sobra 45% acima (acentos) e 20% abaixo (descidas). A palavra
   parte de 135%, que é além dos 120% de borda visível — então começa oculta. */
.js-anim .rv-w {
  display: inline-block;
  clip-path: inset(-45% 0 -20% 0);
}
.js-anim .rv-w > span {
  display: inline-block;
  transform: translateY(135%);
}
.js-anim .rv-t.is-in .rv-w > span {
  animation: rv-palavra var(--rv-title-dur) var(--ease) both;
  animation-delay: calc(var(--d, 0ms) + var(--wd, 0ms));
}
/* Opacidade vai de 0 a 100, mas fica retida em 0 no primeiro terço.

   O easing joga quase todo o deslocamento pro começo: em 35% do tempo a
   palavra já andou ~85% do caminho. Prendendo a opacidade até ali, ela passa
   pela borda da máscara ainda invisível — o corte deixa de aparecer e o que
   se vê é a palavra surgindo já quase no lugar. */
@keyframes rv-palavra {
  from {
    transform: translateY(135%);
    opacity: 0;
  }
  35% {
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* Blocos: parágrafos, cards e colunas.
   Uso animation e não transition porque .card-servico já usa a própria
   transition pro hover — uma declaração de transition aqui atropelaria ela. */
.js-anim .rv-b {
  opacity: 0;
}
.js-anim .rv-b.is-in {
  animation: rv-bloco 0.9s var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes rv-bloco {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* .transform-arc é centralizado com translateX(-50%) — rv-bloco terminaria
   em `transform: none` e ele saltaria meia largura pra direita. Mesma
   correção da montanha do fechamento, só que via especificidade (mais uma
   classe no seletor) em vez de um !important. */
.js-anim .rv-b.transform-arc.is-in {
  animation: rv-arco 0.9s var(--ease) both;
}
@keyframes rv-arco {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

/* Fallback da montanha, pra navegador sem animation-timeline. Precisa carregar
   o translateX(-50%) da centralização nos keyframes — rv-bloco terminaria em
   `transform: none` e jogaria a imagem meia largura pra direita. */
.js-anim .rv-montanha {
  opacity: 0;
}
.js-anim .rv-montanha.is-in {
  animation: rv-montanha 1.1s var(--ease) both;
}
@keyframes rv-montanha {
  from {
    opacity: 0;
    transform: translate(-50%, 140px) scale(1.1);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

/* Rolando de baixo pra cima o conteúdo já visto não deve reanimar, mas
   também não pode ficar em branco — .rv-instant deixa a MESMA animação (e o
   mesmo estado final de cada uma) rodar tão rápido que parece instantânea. */
.js-anim .rv-instant.rv-t.is-in .rv-w > span,
.js-anim .rv-instant.rv-b.is-in,
.js-anim .rv-instant.rv-montanha.is-in {
  animation-duration: 1ms !important;
  animation-delay: 0s !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card-servico {
    transition: none;
  }

  /* metodologia: mostra o resultado final, sem a cascata */
  .js-anim .steps-line {
    clip-path: none;
    transition: none;
  }
  .js-anim .step-circle {
    border-color: var(--accent-2);
    color: var(--accent-2);
    transform: none;
    transition: none;
  }
  .js-anim .step h3,
  .js-anim .step p {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Telas menores que 1440 — mantém proporção sem quebrar */
@media (max-width: 1439px) {
  .servicos-row {
    padding: 0 24px;
  }
}
@media (max-width: 1180px) {
  .wrap {
    grid-template-columns: 1fr 380px;
    gap: 32px;
  }
  .left-hero h1 {
    font-size: 54px;
  }
  .hero-x {
    left: -60px;
    width: 620px;
    height: 570px;
  }
  .about-card {
    grid-template-columns: 1fr 260px;
    gap: 32px;
    padding: 44px;
  }
  .about-art {
    right: -130px;
    top: -80px;
    width: 500px;
    height: 503px;
  }
}
