/* ===========================================================
   REXOR — Mobile / Tablet (<= 1023px)
   =========================================================== */

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

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

  --accent:        #b4ee3a;
  --accent-2:      #d6ff3f;
  --accent-3:      #93d700;
  --accent-ink:    #0d1400;

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

  --radius:        6px;
  --radius-pill:   18px;
  --pad:           20px;

  --ease:          cubic-bezier(.16, 1, .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:  1150ms;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  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 { font-family: inherit; }
::selection { background: var(--accent); color: #000; }

.container { width: 100%; padding: 0 var(--pad); position: relative; }
.accent     { color: var(--accent-2); }

/* Degradê nos textos de destaque: verde da marca à esquerda, branco à direita.
   Vertical de propósito — a animação quebra o título em palavras, e num
   gradiente vertical cada palavra fica idêntica a um degradê único na frase.
   Sob @supports pra não deixar texto invisível onde background-clip não
   existe; a cor sólida segue como 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: block; }

.section-title { font-size: 26px; line-height: 1.22; text-align: center; }
.lead-section  { font-size: 14px; color: var(--text-2); text-align: center; margin-top: 12px; 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: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 13px 20px;
  box-shadow: 0 0 18px rgba(180, 238, 58, .22);
}
@media (prefers-reduced-motion: no-preference) {
  .bt-primary { animation: bt-pulse-neon 2.2s ease-in-out infinite; }
}
@keyframes bt-pulse-neon {
  0%, 100% { box-shadow: 0 0 18px rgba(180, 238, 58, .22); transform: scale(1); }
  50%      { box-shadow: 0 0 34px 7px rgba(180, 238, 58, .5); transform: scale(1.045); }
}
.bt-header { background: var(--accent-2); padding: 9px 14px; font-size: 11px; }
.bt-header .ico-wpp { width: 15px; height: 15px; fill: currentColor; }
.bt-header span { display: none; }        /* no mobile fica só o ícone */
.bt-form  { width: 100%; margin-top: 14px; padding: 15px 20px; }

/* usada pelo botão flutuante de WhatsApp */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(180, 238, 58, .45); }
  70%  { box-shadow: 0 0 0 14px rgba(180, 238, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(180, 238, 58, 0); }
}

/* -----------------------------------------------------------
   Header
   ----------------------------------------------------------- */
header {
  position: fixed;
  top: 12px;
  left: 0; right: 0;
  z-index: 999;
  padding: 0 12px;
  pointer-events: none;
}
.header-pill {
  pointer-events: auto;
  height: 56px;
  padding: 10px 10px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: background .25s ease;
}
header.scrolled .header-pill { background: rgba(0, 0, 0, .88); }
.logo-mark { width: 96px; height: auto; }
.nav-desk  { display: none; }

/* -----------------------------------------------------------
   Hero
   ----------------------------------------------------------- */
.hero {
  position: relative;
  padding: 110px 0 56px;
  overflow: hidden;
  background: var(--bg);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-x {
  position: absolute;
  left: -120px;
  top: 60px;
  width: 460px;
  height: 440px;
  opacity: .7;
}
.hero-glow-a {
  position: absolute;
  left: -100px;
  top: 120px;
  width: 460px;
  height: 420px;
  border-radius: 50%;
  background: #6ea000;
  opacity: .35;
  filter: blur(130px);
}
.hero-glow-b {
  position: absolute;
  left: 40px;
  top: 0;
  width: 200px;
  height: 320px;
  border-radius: 50%;
  background: var(--accent-3);
  opacity: .16;
  filter: blur(90px);
}

/* Parallax do X do hero. Timeline é scroll(root) e não view() porque o hero
   já nasce visível — o repouso precisa ser o scroll 0.

   Aqui só o X se move. Os halos ficam parados de propósito: são elementos
   grandes com blur de 90–130px, e animar transform neles em celular fraco
   custa rasterização a mais sem ganho visual proporcional. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-x {
      animation: hero-x-drift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 460px;
      will-change: transform;
    }
    @keyframes hero-x-drift {
      from { transform: translateY(0);    opacity: .7; }
      to   { transform: translateY(90px); opacity: .2; }
    }
  }
}

.wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; }
.left-hero h1 { font-size: 34px; line-height: 1.12; font-weight: 500; letter-spacing: -0.03em; }
.left-hero h1 strong { font-weight: 700; color: var(--accent-2); }
.lead { font-size: 14px; color: var(--text-2); line-height: 1.55; margin-top: 18px; }
.mini-note { font-size: 12px; font-weight: 700; color: var(--accent-2); margin-top: 22px; }

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

.field { margin-bottom: 14px; 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: 46px;             /* alvo de toque confortável */
  padding: 0 14px;
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px;          /* 16px evita o zoom automático do iOS */
  outline: none;
}
.field input::placeholder { color: #616168; }
.field input:focus, .field select:focus { border-color: var(--accent); }
.field select { appearance: none; color: #616168; }
.field select.filled { color: var(--text); }
.field-select::after {
  content: "";
  position: absolute;
  right: 16px; bottom: 20px;
  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 {
  flex: 1;
  padding: 12px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.q-opt.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.form-status { font-size: 12px; margin-top: 10px; text-align: center; min-height: 16px; }
.form-status.ok  { color: var(--accent-2); }
.form-status.err { color: var(--danger); }

/* -----------------------------------------------------------
   Antes / Depois
   ----------------------------------------------------------- */
.area-transformacao { padding: 48px 0 52px; background: var(--bg); border-top: 1px solid var(--border); }
.transform-row { display: flex; flex-direction: column; gap: 46px; margin-top: 52px; }
.transform-arc { display: none; }

.card-transform {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 22px 24px;
}
.card-depois {
  border-color: rgba(147, 215, 0, .55);
  box-shadow: 0 16px 44px -18px rgba(147, 215, 0, .35);
}
.card-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-badge svg { width: 18px; height: 18px; 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,.8); }
.badge-check   { box-shadow: inset 0 0 0 1.5px rgba(147,215,0,.8); }

.card-transform h3 { font-size: 18px; text-align: center; margin-bottom: 18px; }
.card-antes  h3 { color: var(--muted); }
.card-depois h3 { color: var(--accent-2); }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
.check-row p { font-size: 13.5px; 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: 12px; line-height: 1.5; }
.ico-check { color: var(--accent-3); font-size: 12px; line-height: 1.5; }

/* -----------------------------------------------------------
   Parceiros
   ----------------------------------------------------------- */
.area-parceiros { padding: 44px 0 36px; background: var(--bg); overflow: hidden; }
.parceiros-title { font-size: 19px; font-weight: 600; text-align: center; }
.logos-viewport { margin-top: 28px; overflow: hidden; }
.logos-track { display: flex; gap: 36px; width: max-content; }
.logos-group { display: flex; align-items: center; gap: 36px; }
/* Loop contínuo: mesma lógica do desktop — grupo repetido 2x, anda -50%. */
@media (prefers-reduced-motion: no-preference) {
  .logos-track { animation: logos-loop 48s linear infinite; }
}
@keyframes logos-loop {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-item {
  flex: 0 0 auto;
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: .6;
}

/* -----------------------------------------------------------
   Serviços — empilhados, mantendo as cores do Figma
   ----------------------------------------------------------- */
.area-servicos { padding: 48px 0 44px; 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;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding: 0 var(--pad);
}
.card-servico {
  position: relative;
  min-height: 190px;
  padding: 26px 24px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
}
.card-servico h3 { font-size: 19px; 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,.88); position: relative; z-index: 2; width: 80%; }

.card-branding,
.card-dark,
.card-verde,
.card-destaque {
  background: #000;
}
.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  opacity: 1;
  z-index: 0;
}
.card-orb {
  position: absolute;
  width: 200px;
  height: 320px;
  border-radius: 50%;
  background: rgba(147, 215, 0, .45);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}
.card-branding .card-orb { top: -50%; left: 55%; background: rgba(238, 255, 202, .45); }
.card-destaque .card-orb { top: -40%; left: 40%; }
.card-verde    .card-orb { top: -50%; left: -40%; }

/* -----------------------------------------------------------
   Cases
   ----------------------------------------------------------- */
.area-cases { padding: 48px 0 52px; background: var(--bg); }
.cases-row { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.cases-cta { text-align: center; margin-top: 28px; }
.cases-cta .bt-primary { width: 100%; }
.card-case {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-thumb { width: 100%; height: 230px; object-fit: cover; background: #0a0a0a; }
.case-body  { padding: 18px 20px 22px; }
.case-tags  { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #151515;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  padding: 5px 9px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-case h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.card-case p  { font-size: 13px; color: var(--muted); }

/* -----------------------------------------------------------
   Branding
   ----------------------------------------------------------- */
.area-branding { padding: 48px 0 44px; background: var(--bg); overflow: hidden; }
.branding-viewport { margin-top: 30px; overflow: hidden; }
.branding-track { display: flex; gap: 12px; padding-left: var(--pad); width: max-content; }
.branding-group { display: flex; gap: 12px; }
/* Loop contínuo — mesma lógica do desktop e dos logos de parceiros. */
@media (prefers-reduced-motion: no-preference) {
  .branding-track { animation: branding-loop 70s linear infinite; }
}
@keyframes branding-loop {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.branding-photo {
  flex: 0 0 260px;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--card);
}

/* -----------------------------------------------------------
   Metodologia — linha tracejada vertical
   ----------------------------------------------------------- */
.area-metodologia { position: relative; padding: 48px 0 52px; background: var(--bg); overflow: hidden; }
.method-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 300px;
  border-radius: 50%;
  background: rgba(147, 215, 0, .16);
  filter: blur(90px);
  pointer-events: none;
}
.area-metodologia .container { z-index: 1; }

.steps-row { position: relative; display: flex; flex-direction: column; gap: 28px; margin-top: 36px; padding-left: 56px; }
.steps-line {
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 40px;
  width: 1px;
  border-left: 1px dashed var(--line);
}
.step { position: relative; text-align: left; }
.step-circle {
  position: absolute;
  left: -56px;
  top: 0;
  width: 40px;
  height: 40px;
  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;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; padding-top: 8px; }
.step p  { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* -----------------------------------------------------------
   Metodologia — cascata de entrada (aqui a linha é vertical,
   então ela se desenha de cima pra baixo)
   ----------------------------------------------------------- */
.js-anim .steps-line {
  clip-path: inset(0 0 100% 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(.82);
  transition: border-color .6s ease, color .6s ease,
              box-shadow .6s ease, transform .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 4px rgba(214, 255, 63, .06), 0 0 16px rgba(214, 255, 63, .22);
}

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

.js-anim .step:nth-of-type(1) .step-circle { transition-delay: .10s; }
.js-anim .step:nth-of-type(2) .step-circle { transition-delay: .45s; }
.js-anim .step:nth-of-type(3) .step-circle { transition-delay: .80s; }
.js-anim .step:nth-of-type(4) .step-circle { transition-delay: 1.15s; }
.js-anim .step:nth-of-type(1) h3 { transition-delay: .20s; }
.js-anim .step:nth-of-type(1) p  { transition-delay: .26s; }
.js-anim .step:nth-of-type(2) h3 { transition-delay: .55s; }
.js-anim .step:nth-of-type(2) p  { transition-delay: .61s; }
.js-anim .step:nth-of-type(3) h3 { transition-delay: .90s; }
.js-anim .step:nth-of-type(3) p  { transition-delay: .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: 48px 0 52px; background: var(--bg); }
.checklist-box {
  margin: 28px 0 0;
  background: var(--card);
  border: 1px solid rgba(147, 215, 0, .8);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
  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;
  margin-top: 1px;
}
.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);
}
.closing-line {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 24px;
  text-align: center;
}

/* -----------------------------------------------------------
   Sobre
   ----------------------------------------------------------- */
.area-sobre { position: relative; padding: 52px 0; background: var(--bg); overflow: hidden; }
.sobre-glow {
  position: absolute;
  top: -100px;
  right: -120px;
  width: 320px;
  height: 400px;
  border-radius: 50%;
  background: rgba(147, 215, 0, .12);
  filter: blur(90px);
  pointer-events: none;
}
.about-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #060701 0%, #101303 100%);
  overflow: hidden;
  padding: 30px 22px 0;
  z-index: 1;
}
.eyebrow-line {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.about-left h2 { font-size: 26px; font-weight: 600; margin-bottom: 14px; }
.about-left p  { font-size: 14px; color: var(--text-2); line-height: 1.55; margin-bottom: 14px; }
.about-art {
  position: relative;
  width: 108%;
  max-width: none;
  margin: 6px -4% -10px auto;
  height: 250px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.values-row { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; position: relative; z-index: 1; }
.value-item { display: flex; gap: 14px; }
.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: 6px; }
.value-text p  { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* -----------------------------------------------------------
   Fechamento
   ----------------------------------------------------------- */
.area-fechamento {
  position: relative;
  min-height: 460px;
  padding: 56px 0 0;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}
/* a arte é bem panorâmica: no mobile ela é ampliada pra não virar uma
   faixa fininha no rodapé da seção */
.fechamento-bg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(150%, 620px);
  height: auto;
  z-index: 0;
}

/* Montanha subindo com o scroll. Curso menor que no desktop porque a seção
   aqui tem 460px em vez de 620. animation-timeline nativo roda fora da main
   thread — num handler de scroll em JS isso travaria em celular fraco. */
@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%;
    }
    @keyframes montanha-sobe {
      from { transform: translate(-50%, 110px) scale(1.08); opacity: .28; }
      to   { transform: translate(-50%, 0)     scale(1);    opacity: 1;   }
    }
  }
}
.area-fechamento .container { position: relative; z-index: 2; }
.tagline-final {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 44px 0 24px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; }
.footer-brand img { width: 106px; }
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social a { display: inline-flex; color: var(--muted); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.area-copyright { border-top: 1px solid var(--border); padding-top: 18px; color: var(--muted); font-size: 12px; }

/* -----------------------------------------------------------
   WhatsApp flutuante
   ----------------------------------------------------------- */
.wpp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5), 0 0 0 0 rgba(180, 238, 58, .45);
  animation: pulse 2.6s infinite;
}
.wpp-float svg { width: 27px; height: 27px; fill: var(--accent-ink); }

/* -----------------------------------------------------------
   Animação de entrada
   ----------------------------------------------------------- */
/* Títulos: cada palavra sobe por trás de uma máscara.
   clip-path em vez de overflow:hidden — não mexe no layout, então não infla
   a altura dos títulos. Sobra 45% acima pros acentos e 20% abaixo pras
   descidas (ç, g, p). */
.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 de 0 a 100, retida em 0 no primeiro terço: a palavra cruza a
   borda da máscara ainda invisível, então o corte não aparece. */
@keyframes rv-palavra {
  from { transform: translateY(135%); opacity: 0; }
  35%  { opacity: 0; }
  to   { transform: none;             opacity: 1; }
}

/* Blocos: parágrafos, cards e colunas */
.js-anim .rv-b { opacity: 0; }
.js-anim .rv-b.is-in {
  animation: rv-bloco .8s var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes rv-bloco {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Fallback da montanha — carrega o translateX(-50%) da centralização, senão
   rv-bloco terminaria em `transform: none` e a imagem sairia do centro. */
.js-anim .rv-montanha { opacity: 0; }
.js-anim .rv-montanha.is-in {
  animation: rv-montanha 1s var(--ease) both;
}
@keyframes rv-montanha {
  from { opacity: 0; transform: translate(-50%, 90px) scale(1.06); }
  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; }
  .wpp-float { animation: 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; }
}

/* Tablet — aproveita a largura extra */
@media (min-width: 700px) {
  :root { --pad: 40px; }
  .section-title { font-size: 32px; }
  .left-hero h1  { font-size: 44px; }
  .wrap { max-width: 620px; margin: 0 auto; }
  .transform-row { flex-direction: row; gap: 20px; }
  .card-transform { flex: 1; }
  .servicos-row  { display: grid; grid-template-columns: 1fr 1fr; }
  .cases-row     { display: grid; grid-template-columns: 1fr 1fr; }
  .card-case:first-child { grid-column: span 2; }
  .values-row    { flex-direction: row; }
  .value-item    { flex: 1; }
  .tagline-final { font-size: 38px; margin-bottom: 300px; }
  .bt-header span { display: inline; }
  .bt-header { font-size: 12px; padding: 10px 18px; }
}
