/* ============================================================
   AGÊNCIA HUD — painel creme
   Mundo próprio: página creme como papel de painel, a tela roxa do
   hero emoldurada como um visor, serviços num bento de instrumentos
   escuros ao vivo e um bloco roxo no fecho (contato) que espelha o hero.
   Display: Anybody larga, caixa alta. Texto: Figtree.
   Cor: amarelo é ação e sinal; roxo é superfície de marca; creme é a página.
   Forma: superfícies grandes 28px, casca das células 20px, miolo e
   cartões 14-16px, botões 12px, pílula só em chips e opções.
   ============================================================ */

:root {
  --bg: #f6efdb;
  --surface: #fffaf0;
  --raised: #ede4c8;
  --hair: rgb(26 16 36 / 0.1);
  --rail: #d6cbad;
  --text: #1a1024;
  --muted: #5f5468;
  --shadow: rgb(58 10 99 / 0.18);

  --screen: #520c8a;
  --purple: #690fa6;
  --purple-soft: #c58af0;
  --yellow: #fdbf01;
  --yellow-hi: #ffd84a;
  --yellow-lo: #e5a800;
  --cream: #fdf5c5;
  --ink: #1a1024;
  --night: #1a1024;

  --font-display: "Anybody", "Arial Black", sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --gut: clamp(16px, 3vw, 40px);
  --max: 1360px;
  --sec: clamp(96px, 12vw, 168px);

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-btn: 12px;

  --out: cubic-bezier(0.22, 1, 0.36, 1);
  /* Overshoot só no mascote (foguete); controles usam --out. */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scrollbar-color: #c9bfa3 var(--bg);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
fieldset { border: 0; min-width: 0; }

/* O que o navegador desenha sozinho também segue a paleta. */
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
/* Dentro das superfícies roxas o foco é amarelo. */
.hero :focus-visible, .contact :focus-visible { outline-color: var(--yellow); }
section[id] { scroll-margin-top: 96px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 60;
  padding: 0.6rem 1rem; border-radius: 10px;
  background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform 200ms var(--out);
}
.skip:focus { transform: none; }

/* ---------- Tipografia ---------- */
h1, h2, .h2 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.96;
  text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 4.4vw, 4.25rem); }
h3 {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.lede { margin-top: 1.25rem; max-width: 52ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--muted); }

/* Etiqueta da seção: quadradinho amarelo + rótulo. Dá ritmo à leitura sem virar numeração. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem;
  font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); }
.contact .eyebrow { color: var(--yellow-hi); }

/* ---------- Botão: bloco com brilho de cima, como o casco do foguete ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.35rem; border-radius: var(--r-btn);
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 0.95rem;
  line-height: 1; white-space: nowrap; text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, var(--yellow-hi), var(--yellow) 55%, var(--yellow-lo));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), inset 0 -2px 0 rgb(120 70 0 / 0.22), 0 10px 24px -12px rgb(253 191 1 / 0.7);
  transition: transform 220ms var(--out), box-shadow 220ms var(--out), filter 220ms var(--out), background-color 220ms var(--out);
}
/* Reflexo que varre o casco no hover. */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgb(255 255 255 / 0.5) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform 0s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 350ms var(--out); }
.btn:active { transform: translateY(1px) scale(0.98); transition-duration: 90ms; }
.btn--ghost { color: #fff; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.26); }
.btn--ghost::after { background: linear-gradient(115deg, transparent 32%, rgb(255 255 255 / 0.18) 50%, transparent 68%); }
.btn--sm { min-height: 2.5rem; padding: 0 1rem; font-size: 0.85rem; border-radius: 10px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), inset 0 -2px 0 rgb(120 70 0 / 0.22), 0 16px 30px -14px rgb(253 191 1 / 0.8); }
  .btn:hover::after { transform: translateX(130%); transition: transform 650ms var(--out); }
  .btn:hover svg { transform: translateX(3px); }
  .btn--ghost:hover { background: rgb(255 255 255 / 0.14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4); }
}

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li {
  padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.8125rem; line-height: 1.4;
  background: color-mix(in srgb, currentColor 10%, transparent);
}

/* Campos de cor da marca (posts, criativos). */

/* O que anda com o scroll fica numa camada própria o tempo todo: sem isso o navegador cria e
   destrói a camada a cada parada da rolagem e repinta a área inteira (o solavanco ao começar a rolar). */
.hero__frame, .hero__title, .hero__foot, .rocket, .rocket__body, .rocket__flame,
.route__fill, .route__rocket { will-change: transform; }

/* ---------- Abertura: sem JS montado o hero não aparece; depois de 3s aparece de qualquer jeito ---------- */
.boot .hero__screen, .boot .nav { visibility: hidden; animation: boot-fallback 0s 3s forwards; }
@keyframes boot-fallback { to { visibility: visible; } }

/* ---------- Cápsula de navegação ---------- */
.nav {
  position: fixed; inset: 18px 0 auto; z-index: 40;
  display: flex; justify-content: center; padding-inline: 18px;
  pointer-events: none;
  transition: transform 550ms var(--out);
}
/* Descendo a página a cápsula sai do caminho; subindo, volta. */
.nav--hide { transform: translateY(-140%); }
.nav__shell {
  pointer-events: auto; width: 100%;
  border-radius: 18px; border: 1px solid rgb(26 16 36 / 0.12);
  background: rgb(255 250 240 / 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 16px 40px -20px var(--shadow);
}
.nav[data-open="true"] .nav__shell { background: rgb(255 250 240 / 0.97); }
.nav__bar { display: flex; align-items: center; gap: 1.75rem; min-height: 56px; padding: 6px 6px 6px 12px; }
.nav__brand { display: flex; align-items: center; gap: 0.55rem; margin-right: auto; text-decoration: none; }
.nav__brand img { width: 34px; height: 34px; }
.nav__brand span { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1rem; text-transform: uppercase; white-space: nowrap; }
.nav__links { display: none; gap: 1.5rem; font-size: 0.9375rem; font-weight: 500; }
.nav__links a { position: relative; padding: 0.35rem 0; color: var(--muted); text-decoration: none; transition: color 200ms; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 350ms var(--out);
}
.nav__links a:hover { color: var(--text); }
/* Seção na tela (JS): o link acende com o traço amarelo. */
.nav__links a[aria-current="true"] { color: var(--text); }
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { display: none; }
.nav__toggle { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.9rem; border-radius: 12px; font-weight: 600; font-size: 0.9375rem; background: rgb(26 16 36 / 0.06); }
.nav__toggle-icon { position: relative; width: 16px; height: 10px; }
.nav__toggle-icon i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 350ms var(--out), top 350ms var(--out); }
.nav__toggle-icon i:first-child { top: 0; }
.nav__toggle-icon i:last-child { top: 8px; }
.nav[data-open="true"] .nav__toggle-icon i:first-child { top: 4px; transform: rotate(45deg); }
.nav[data-open="true"] .nav__toggle-icon i:last-child { top: 4px; transform: rotate(-45deg); }

/* A cápsula cresce por grid-template-rows: anima a altura sem medir nada. */
.nav__menu { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 450ms var(--out), visibility 0s 450ms; }
.nav[data-open="true"] .nav__menu { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.nav__menu-inner { overflow: hidden; display: flex; flex-direction: column; padding: 0 12px; }
.nav__menu-inner > a:not(.btn) {
  padding: 0.85rem 0; border-top: 1px solid var(--hair); text-decoration: none;
  font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.75rem; text-transform: uppercase; line-height: 1;
  opacity: 0; transform: translateY(12px); transition: opacity 300ms var(--out), transform 450ms var(--out);
}
.nav__menu-inner > .btn { margin: 0.75rem 0 12px; opacity: 0; transition: opacity 300ms var(--out); }
.nav[data-open="true"] .nav__menu-inner > * { opacity: 1; transform: none; }
.nav[data-open="true"] .nav__menu-inner > :nth-child(2) { transition-delay: 50ms; }
.nav[data-open="true"] .nav__menu-inner > :nth-child(3) { transition-delay: 100ms; }
.nav[data-open="true"] .nav__menu-inner > :nth-child(4) { transition-delay: 150ms; }

@media (min-width: 900px) {
  .nav { top: 22px; }
  .nav__shell { width: auto; }
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle, .nav__menu { display: none; }
}

/* ---------- Hero: visor emoldurado ---------- */
.hero { padding: 10px; }
.hero__frame {
  padding: 6px; border-radius: calc(var(--r-lg) + 6px);
  border: 1px solid var(--hair); background: rgb(26 16 36 / 0.045);
  box-shadow: 0 40px 80px -50px var(--shadow);
}
.hero__screen {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: calc(100svh - 34px);
  padding: 112px clamp(20px, 4vw, 56px) clamp(24px, 4vw, 48px);
  border-radius: var(--r-lg);
  color: #f4f1f7;
  background:
    radial-gradient(55% 60% at 78% 78%, rgb(162 29 227 / 0.55), transparent 72%),
    radial-gradient(30% 32% at 66% 100%, rgb(253 191 1 / 0.2), transparent 70%),
    var(--screen);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14);
  /* Abertura (JS): a tela liga a partir de uma linha no meio. Sem --boot o recorte é a própria borda. */
  clip-path: inset(var(--boot, 0%) 0 var(--boot, 0%) 0 round var(--r-lg));
}
.hero__title { position: relative; z-index: 2; font-size: clamp(2.1rem, 9vw, 3rem); line-height: 0.98; }
/* Abertura (JS): cada linha é varrida da esquerda. Sem --wipe o recorte fica folgado e não corta nada. */
.hero__line { display: block; clip-path: inset(-30% var(--wipe, -10%) -30% -10%); }
.hero__line--accent { color: var(--yellow); }

.hero__rocket { position: relative; z-index: 1; width: min(66vw, 300px); margin: 1.75rem auto 1rem; pointer-events: none; }
.rocket, .rocket__body { position: relative; }
.rocket__body img { width: 100%; height: auto; filter: drop-shadow(0 28px 36px rgb(26 0 48 / 0.5)); }
/* Brilho do motor: pulsa atrás da chama da ilustração. */
.rocket__flame {
  position: absolute; left: 18%; bottom: 0; width: 26%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 216 74 / 0.9), rgb(253 191 1 / 0.35) 55%, transparent);
  filter: blur(6px); animation: flicker 140ms ease-in-out infinite alternate;
}
@keyframes flicker { from { opacity: 0.7; transform: scale(0.9); } to { opacity: 1; transform: scale(1.08); } }

.hero__foot { position: relative; z-index: 2; margin-top: auto; display: grid; gap: 1.5rem; max-width: 30rem; }
.hero__sub { font-size: clamp(1.0625rem, 1.4vw, 1.3rem); line-height: 1.45; color: rgb(244 241 247 / 0.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (min-width: 768px) {
  /* A linha mais longa mede ~15.8em: 5.1vw é o que cabe na tela em qualquer largura. */
  .hero__title { font-size: min(5.1vw, 6rem); }
  .hero__line { white-space: nowrap; }
}
@media (min-width: 1024px) {
  .hero__screen { padding-top: clamp(120px, 17svh, 168px); }
  /* O foguete sai do fluxo e sobe do canto de baixo, cortado pela borda da tela. */
  .hero__rocket { position: absolute; right: 5%; bottom: -7%; margin: 0; width: min(36vw, 58svh, 560px); }
}

/* ---------- Serviços: painel bento ---------- */

.services { padding-block: var(--sec); }
.bento { display: grid; gap: 12px; }
.cell { padding: 6px; border-radius: var(--r-md); border: 1px solid var(--hair); background: rgb(26 16 36 / 0.035); }
.cell__core {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--r-sm); background: var(--surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8), 0 24px 48px -36px var(--shadow);
}
.cell__media { position: relative; height: 240px; overflow: hidden; }
.cell--social .cell__media, .cell--content .cell__media { height: 300px; }
.cell--tour .cell__media { height: 360px; }
.cell__text { display: grid; align-content: start; gap: 0.7rem; padding: 1.5rem 1.5rem 1.75rem; }
.cell__text p { max-width: 50ch; font-size: 1rem; color: var(--muted); }
.cell__text .chips { margin-top: 0.3rem; color: var(--purple); }
.cell__text .chips li { color: var(--text); background: rgb(105 15 166 / 0.09); }
.cell__role { display: flex; align-items: baseline; gap: 0.55rem; font: 700 0.72rem/1 var(--font-display); font-stretch: 118%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }
.cell__role b { padding: 0.3em 0.45em; border-radius: 5px; background: var(--yellow); color: var(--ink); font-variant-numeric: tabular-nums; }

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--traffic, .cell--auto, .cell--tour { grid-column: span 2; }
  .cell--traffic .cell__media { height: 300px; }
}
@media (min-width: 1024px) {
  /* Linha 1: Tráfego e Social do mesmo tamanho. Linha 2: Conteúdo quadrado + Automação. Tour ocupa a linha inteira. */
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cell--traffic { grid-column: 1 / 7; }
  .cell--social { grid-column: 7 / 13; }
  .cell--content { grid-column: 1 / 5; }
  .cell--auto { grid-column: 5 / 13; }
  .cell--tour { grid-column: 1 / 13; }
  .cell--traffic .cell__media, .cell--social .cell__media { height: 320px; }
  .cell--content .cell__media { height: 300px; }
  .cell--auto .cell__media { flex: 1; height: auto; min-height: 300px; }
  .cell--tour .cell__core { flex-direction: row-reverse; }
  .cell--tour .cell__media { flex: 1.7; height: auto; min-height: 460px; }
  .cell--tour .cell__text { flex: 1; align-content: end; padding: 2.25rem; }
}

/* Tráfego: os vídeos reais rodam mudos em loop; o botão liga o som e chama o player. */
.leads { position: relative; display: flex; align-items: center; justify-content: center; padding: 7% 8% 5%; background: linear-gradient(160deg, #2a0f47, #1a1024); }
.leads__tag { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 2; padding: 0.375rem 0.75rem; border-radius: 999px; background: rgb(255 255 255 / 0.1); color: #fff; font-size: 0.8rem; font-weight: 600; }
.leads__stage { display: flex; align-items: center; justify-content: center; gap: 5%; width: 100%; height: 100%; }
.leads__card { display: block; height: 100%; }
.leads__card .vid__frame { height: 100%; aspect-ratio: 9 / 16; border-radius: 0.75rem; box-shadow: 0 24px 40px -18px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.12); }
.leads__card:nth-child(1) { transform: translateY(-3%) rotate(-3deg); }
.leads__card:nth-child(2) { transform: translateY(6%) rotate(4deg); }
.leads__card .vid__play { background: linear-gradient(180deg, rgb(26 16 36 / 0.45), transparent 40%); align-items: end; padding-bottom: 12%; }
.leads__card .vid__icon { width: 44px; height: 44px; }
.leads__card .vid__icon svg { width: 20px; height: 20px; margin: 0; fill: var(--ink); }
.leads__card .vid__icon .w { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.leads__cap { position: absolute; left: 8%; right: 8%; top: 8%; z-index: 1; padding: 0.35em 0.6em; border-radius: 6px; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 0.8rem; line-height: 1.2; }
.leads__card .vid__time { right: 8px; bottom: 8px; font-size: 0.7rem; }
.leads__card.is-playing .leads__cap { opacity: 0; }

/* Social: a única tela amarela do bento. Frame vertical do reel à esquerda, a métrica real grande à direita. */
.social { background: var(--yellow); color: var(--ink); font-size: 0.875rem; }
.social__post { position: absolute; inset: 0; display: flex; align-items: center; gap: 1.25em; padding: 1.25em; }
.social__post + .social__post { opacity: 0; }
.social__tile { flex: none; width: auto; height: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: 50% 30%; border-radius: 0.9em; box-shadow: 0 18px 30px -16px rgb(60 35 0 / 0.55); }
.social__meta { display: grid; gap: 0.6em; min-width: 0; }
.social__cap { font-weight: 600; line-height: 1.3; }
.social__like { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.social__like svg { width: 1.6em; height: 1.6em; fill: #d81b54; stroke: #d81b54; stroke-width: 2; }
.social__like .ico-line { fill: none; stroke: var(--purple); stroke-linecap: round; stroke-linejoin: round; }
.social__n { font: 800 2.4em/1 var(--font-display); font-stretch: 110%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.social__like > span { width: 100%; color: rgb(26 16 36 / 0.7); }

/* Conteúdo: grade do perfil, 3 colunas como no Instagram; o JS rola devagar pra cima e volta. */
.feed { position: relative; background: var(--night); }
.feed__tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; max-width: calc(100% - 2rem); padding: 0.375rem 0.75rem; border-radius: 999px; background: rgb(26 16 36 / 0.75); color: #fff; font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; list-style: none; will-change: transform; }
.feed__grid li { aspect-ratio: 3 / 4; overflow: hidden; background: #2a0f47; }
.feed__grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feed::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(26 16 36 / 0.55), transparent 28%, transparent 78%, rgb(26 16 36 / 0.55)); }

/* Tudo em `em`: a conversa acompanha a altura do quadro. As mensagens entram por baixo, como no WhatsApp. */
.chat { display: flex; flex-direction: column; min-height: 420px; background: #e6ddd4; color: #111b21; font-size: 0.875rem; }
.chat__head { display: flex; flex-shrink: 0; align-items: center; gap: 0.85em; padding: 0.8em 1.1em; background: #f0f2f5; }
.chat__avatar {
  display: grid; place-items: center; width: 2.6em; height: 2.6em; flex-shrink: 0; border-radius: 50%;
  background: var(--purple); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.9em;
}
.chat__who { min-width: 0; }
.chat__name { display: flex; align-items: center; gap: 0.35em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__name svg { width: 1.1em; height: 1.1em; fill: var(--purple); }
.chat__name .chk { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat__status { display: grid; font-size: 0.85em; color: #54656f; }
.chat__status > span { grid-area: 1 / 1; }
.chat__typing { opacity: 0; }
.chat__body { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 0.5em; overflow: hidden; padding: 1em; }
.chat__msg { position: relative; max-width: 84%; padding: 0.5em 0.85em; border-radius: 0.9em; line-height: 1.4; box-shadow: 0 1px 1px rgb(0 0 0 / 0.12); }
/* O celular é do cliente: ele envia (direita, verde); a automação responde (esquerda, branco). */
.chat__msg[data-from="lead"] { align-self: flex-end; padding-right: 2.6em; background: #d9fdd3; border-bottom-right-radius: 0.25em; }
.chat__msg[data-from="ia"] { align-self: flex-start; padding-right: 2.9em; background: #fff; border-bottom-left-radius: 0.25em; }
/* Selo no canto do balão, onde o WhatsApp põe a hora: lido no cliente, IA na automação. */
.chat__msg[data-from="lead"]::after { content: "✓✓"; position: absolute; right: 0.7em; bottom: 0.35em; font-size: 0.72em; font-weight: 600; letter-spacing: -0.2em; color: #53bdeb; }
.chat__msg[data-from="ia"]::after { content: "IA"; position: absolute; right: 0.6em; bottom: 0.4em; padding: 0.05em 0.4em; border-radius: 4px; background: var(--purple); color: #fff; font-size: 0.66em; font-weight: 700; letter-spacing: 0.04em; }
.chat__card { display: flex; align-items: center; gap: 0.7em; width: 84%; padding: 0.7em 0.85em; background: #fff !important; border-left: 4px solid var(--yellow); }
.chat__card svg { flex: none; width: 1.8em; height: 1.8em; fill: none; stroke: var(--purple); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat__card span { display: grid; gap: 0.1em; color: #54656f; font-size: 0.92em; }
.chat__card b { color: #111b21; font-size: 1.05em; }
.chat__bubble { display: flex; align-self: flex-start; gap: 0.3em; padding: 0.75em 0.9em; border-radius: 0.9em; border-bottom-left-radius: 0.25em; background: #fff; box-shadow: 0 1px 1px rgb(0 0 0 / 0.12); }
.chat__bubble i { width: 0.5em; height: 0.5em; border-radius: 50%; background: #8696a0; animation: dot 1.1s infinite ease-in-out; }
.chat__bubble i:nth-child(2) { animation-delay: 0.18s; }
.chat__bubble i:nth-child(3) { animation-delay: 0.36s; }
@keyframes dot { 0%, 70%, 100% { transform: translateY(0); opacity: 0.45; } 35% { transform: translateY(-0.3em); opacity: 1; } }
.chat__done { align-self: center; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.45em 0.9em; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 0.85em; box-shadow: 0 10px 24px -12px rgb(60 35 0 / 0.6); }
.chat__done::before { content: ""; width: 0.45em; height: 0.75em; margin: -0.2em 0.15em 0 0; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; }
.chat__foot { display: flex; flex-shrink: 0; align-items: center; gap: 0.75em; padding: 0.6em 0.9em; background: #f0f2f5; color: #8696a0; }
.chat__foot span { flex: 1; padding: 0.6em 1em; border-radius: 999px; background: #fff; }
.chat__foot svg { width: 1.5em; height: 1.5em; fill: none; stroke: var(--purple); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Sem JS as mensagens já estão todas visíveis; o balão e o selo só aparecem na animação. */
.chat__bubble, .chat__done { display: none; }

.tour { position: relative; min-height: 320px; background: linear-gradient(160deg, #2a0f47, #1a1024); }
.tour__tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; pointer-events: none; padding: 0.375rem 0.75rem; border-radius: 999px; background: rgb(26 16 36 / 0.7); color: #fff; font-size: 0.8rem; font-weight: 600; }
/* A roda do mouse sobre o Matterport dá zoom no tour e trava a rolagem da página: o iframe só recebe o mouse depois do clique. */
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.tour.is-live iframe { pointer-events: auto; }
.tour__go { position: absolute; left: 50%; bottom: 1.5rem; z-index: 1; translate: -50% 0; }
.tour.is-live .tour__go { display: none; }

/* ---------- Cases ---------- */
/* Case Toulon */
.toulon { display: grid; gap: clamp(24px, 3.4vw, 40px); }
.toulon__tag { font: 700 0.8rem/1 var(--font-display); font-stretch: 118%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }
.toulon__title { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 4rem); font-stretch: 118%; font-weight: 800; text-transform: uppercase; line-height: 0.96; text-wrap: balance; }
.toulon__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: stretch; }
.toulon__head { align-self: end; }
.toulon__title em { font-style: normal; color: var(--purple); }
.toulon__head .lede b { color: var(--text); font-weight: 600; }
.toulon__revenue {
  position: relative; overflow: hidden;
  display: grid; align-content: space-between; gap: 10px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--yellow-hi), var(--yellow));
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 30px 60px -30px rgb(120 80 0 / 0.45);
}
.toulon__rev-lbl { font: 700 0.8rem/1 var(--font-display); font-stretch: 118%; letter-spacing: 0.08em; text-transform: uppercase; }
.toulon__rev-num { font: 900 clamp(5rem, 11vw, 9rem)/0.85 var(--font-display); font-stretch: 125%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.toulon__rev-num small { font-size: 0.45em; vertical-align: 0.6em; letter-spacing: 0; }
.toulon__rev-sub { position: relative; z-index: 1; max-width: 20ch; font-weight: 600; }
.toulon__rev-line { position: absolute; right: 0; bottom: 18%; width: 42%; height: 34%; color: var(--purple); }
.toulon__rev-line path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.toulon__rev-line circle { fill: currentColor; }

.toulon__board {
  display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  overflow: hidden; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8), 0 30px 60px -30px var(--shadow), 0 0 0 1px var(--hair);
}
.tl-side { display: grid; gap: 28px; align-content: start; min-width: 0; padding: clamp(24px, 3.4vw, 44px); }
.tl-side header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.tl-side__title { font-stretch: 118%; font-weight: 800; text-transform: uppercase; line-height: 0.96; }
.tl-side__title { font-size: clamp(2rem, 4vw, 3.4rem); }
.tl-side__when { font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.tl-side--antes .tl-side__title, .tl-side--antes .tl-side__when { color: var(--muted); }
.tl-side--depois {
  background: radial-gradient(120% 70% at 100% 0%, rgb(162 29 227 / 0.45), transparent 60%), linear-gradient(160deg, var(--purple), var(--screen) 55%, #2a0f47);
  color: var(--surface);
}
.tl-side--depois .tl-side__title { color: var(--yellow); }
.tl-side--depois .tl-side__when { color: rgb(255 250 240 / 0.72); }

.tl-spine { display: grid; align-content: center; justify-items: center; gap: 14px; padding: 24px 8px; background: var(--yellow); color: var(--ink); }
.tl-spine__x { font: 900 2.2rem/1 var(--font-display); font-stretch: 130%; letter-spacing: -0.02em; }
.tl-spine__lbl { font: 700 0.72rem/1.2 var(--font-display); font-stretch: 118%; letter-spacing: 0.08em; text-transform: uppercase; }
.tl-spine__x, .tl-spine__lbl { writing-mode: vertical-rl; transform: rotate(180deg); }
.tl-spine svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.tl-pile { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); padding-bottom: 12%; }
.tl-pile figure { position: relative; grid-row: 1; margin: 0; border-radius: var(--r-sm); transition: transform 0.7s var(--out); }
.tl-pile img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); }
.tl-pile__tall { grid-column: 1 / 7; }
.tl-pile__wide { grid-column: 4 / 11; align-self: end; margin-bottom: -18%; }
.tl-pile figcaption { position: absolute; top: 12px; left: 12px; padding: 6px 8px; border-radius: 6px; font: 700 0.68rem/1 var(--font-display); font-stretch: 118%; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-side--antes .tl-pile figure { box-shadow: 0 18px 40px -22px var(--shadow); }
.tl-side--antes .tl-pile img { filter: grayscale(0.85) contrast(0.92) brightness(1.04); }
.tl-side--antes .tl-pile__tall { transform: rotate(-3deg); }
.tl-side--antes .tl-pile__wide { transform: rotate(2.5deg); }
.tl-side--antes figcaption { background: var(--raised); color: var(--muted); }
.tl-side--depois .tl-pile figure { box-shadow: 0 30px 60px -24px rgb(26 4 48 / 0.45), 0 0 0 1px rgb(255 255 255 / 0.12); }
.tl-side--depois .tl-pile__tall { grid-column: 5 / 11; transform: rotate(2.5deg); }
.tl-side--depois .tl-pile__wide { grid-column: 1 / 8; transform: rotate(-2deg); }
.tl-side--depois figcaption { background: var(--yellow); color: var(--ink); }
@media (hover: hover) { .tl-pile figure:hover { z-index: 2; transform: rotate(0) translateY(-6px) scale(1.02); } }

.tl-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.tl-nums div { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid rgb(95 84 104 / 0.25); }
.tl-side--depois .tl-nums div { border-color: rgb(255 250 240 / 0.22); }
.tl-nums dt { order: 2; font-size: 0.78rem; font-weight: 500; }
.tl-nums dd { order: 1; margin: 0; font: 800 clamp(1.3rem, 2.2vw, 2rem)/1 var(--font-display); font-stretch: 105%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-side--antes .tl-nums dt, .tl-side--antes .tl-nums dd { color: var(--muted); }
.tl-side--depois .tl-nums dt { color: rgb(255 250 240 / 0.75); }
.tl-side--depois .tl-nums div:first-child dd { color: var(--yellow); }

.toulon__note { font-size: 0.82rem; color: var(--muted); }

@media (max-width: 900px) {
  .toulon__top, .toulon__board { grid-template-columns: 1fr; }
  .tl-spine { grid-auto-flow: column; justify-content: center; padding: 14px 16px; }
  .tl-spine__x, .tl-spine__lbl { writing-mode: horizontal-tb; transform: none; }
  .tl-spine svg { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .tl-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .tl-spine__lbl { display: none; }
}

.cases { padding-block: var(--sec); }
.cases > .wrap { display: grid; gap: clamp(72px, 9vw, 128px); }
.cases .sec-head { margin-bottom: 0; }

/* Depoimentos em vídeo: vertical, capa + botão; o player nativo assume depois do primeiro toque. */
.proof { display: grid; gap: clamp(24px, 3vw, 36px); }
.proof__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; }
.proof__title { font-size: clamp(1.8rem, 3.4vw, 3rem); font-stretch: 118%; font-weight: 800; text-transform: uppercase; line-height: 0.96; }
.proof__head p { color: var(--muted); font-size: 0.95rem; }
.vids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.vid { display: grid; gap: 12px; min-width: 0; }
.vid__frame {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: var(--r-md); background: var(--night);
  box-shadow: 0 30px 60px -34px var(--shadow), 0 0 0 1px var(--hair);
}
.vid__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(180deg, transparent 55%, rgb(26 16 36 / 0.55));
  transition: opacity 0.4s var(--out);
}
.vid__icon {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(180deg, var(--yellow-hi), var(--yellow));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 14px 30px -10px rgb(26 16 36 / 0.6);
  transition: transform 0.5s var(--spring);
}
.vid__icon svg { width: 26px; height: 26px; margin-left: 3px; fill: var(--ink); }
.vid__play:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
@media (hover: hover) { .vid__play:hover .vid__icon { transform: scale(1.1); } }
.vid__time {
  position: absolute; right: 12px; bottom: 12px; pointer-events: none;
  padding: 4px 8px; border-radius: 6px; background: rgb(26 16 36 / 0.7); color: #fff;
  font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.vid.is-playing .vid__play, .vid.is-playing .vid__time { opacity: 0; pointer-events: none; }
.vid__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.vid__who b { font-weight: 700; }
.vid__who span { color: var(--muted); font-size: 0.875rem; }
@media (max-width: 1023px) {
  /* Tablet e celular: fileira lateral com snap, o próximo vídeo aparece na borda. */
  .vids {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut);
  }
  .vids::-webkit-scrollbar { display: none; }
  .vids .vid { flex: none; width: min(70vw, 300px); scroll-snap-align: start; }
}

/* Marcas atendidas */
.brands { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px 56px; padding-block: 28px; border-block: 1px solid var(--hair); }
.brands__label { margin: 0; max-width: 16ch; font: 700 0.8rem/1.35 var(--font-display); font-stretch: 118%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.brands__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; align-items: center; gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.brands__list img { display: block; width: auto; max-width: 100%; height: 72px; opacity: 0.82; transition: opacity 0.4s var(--out); }
.brands__list img:hover { opacity: 1; }
.brands__list .is-word { height: 24px; }
@media (max-width: 760px) {
  .brands { grid-template-columns: 1fr; }
  .brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands__list img { height: 52px; }
  .brands__list .is-word { height: 20px; }
}

/* Convite no fim dos cases */
.cases__next {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair), 0 30px 60px -40px var(--shadow);
}
.cases__next img { width: 72px; height: 72px; transition: transform 600ms var(--spring); }
.cases__next p { flex: 1 1 240px; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1; text-transform: uppercase; }
@media (hover: hover) { .cases__next:hover img { transform: translateY(-8px) rotate(-8deg); } }

/* ---------- Processo: a rota do foguete ---------- */
.process { padding-block: var(--sec); }
.route { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.route__rail { position: absolute; left: calc(0.625rem - 1px); top: 0.7rem; bottom: 0.7rem; width: 2px; border-radius: 2px; background: var(--rail); }
.route__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--yellow); transform-origin: top; transform: scaleY(0); }
/* Celular: o foguete desce pelo trilho da esquerda, nariz pra baixo; o clarão fica atrás dele, em cima. */
.route__rocket { position: absolute; top: 0.7rem; left: calc(0.625rem - 22px); width: 44px; height: 44px; margin-top: -22px; }
.route__rocket::before {
  content: ""; position: absolute; inset: -20% 30% 55% 30%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(253 191 1 / 0.7), transparent); filter: blur(6px);
}
.route__rocket img { width: 100%; height: 100%; rotate: 146deg; filter: drop-shadow(0 8px 14px rgb(58 10 99 / 0.35)); }
.route--done .route__rocket { top: 100%; }
.route__steps { display: grid; gap: 2.75rem; }
.step { position: relative; padding-left: 2.75rem; }
.step__dot {
  position: absolute; left: 0; top: 0.1rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--bg); border: 2px solid #c4b99b;
  transition: background-color 300ms var(--out), border-color 300ms var(--out), transform 450ms var(--out), box-shadow 450ms var(--out);
}
.step.on .step__dot { background: var(--yellow); border-color: var(--yellow); transform: scale(1.15); box-shadow: 0 0 0 6px rgb(253 191 1 / 0.22); }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 300ms var(--out); }
.step.on .step__n { color: var(--purple); }
.step h3 { margin-top: 0.35rem; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.step p { margin-top: 0.6rem; max-width: 34ch; color: var(--muted); }
.step__out { display: grid; gap: 2px; margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--hair); color: var(--text); font-weight: 600; }
.step__out span { font: 700 0.7rem/1 var(--font-display); font-stretch: 118%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }
.route--done .route__fill { transform: none; }
.route--done .step__dot { background: var(--yellow); border-color: var(--yellow); }

@media (min-width: 1024px) {
  .route__rail { left: 0; right: 0; top: calc(0.625rem - 1px); bottom: auto; width: auto; height: 2px; }
  .route__fill { transform-origin: left; transform: scaleX(0); }
  .route--done .route__fill { transform: none; }
  .route__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-top: 3.5rem; }
  .step { padding-left: 0; }
  .step__dot { top: -3.5rem; }
  /* Desktop: o invólucro anda no eixo X e inclina com a velocidade (JS); a imagem gira e aponta o nariz para a frente. */
  .route__rocket { top: 50%; left: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .route__rocket::before { inset: 30% 55% 30% -20%; }
  .route__rocket img { rotate: 56deg; }
  .route--done .route__rocket { top: 50%; left: calc(100% - 32px); }
}

/* ---------- Contato: o bloco roxo que espelha o visor do hero ---------- */
.contact { padding: 0 10px clamp(48px, 6vw, 88px); }
.contact__block {
  max-width: calc(var(--max) + 2 * clamp(20px, 5vw, 72px)); margin-inline: auto;
  padding: clamp(32px, 6vw, 88px) clamp(20px, 5vw, 72px);
  border-radius: var(--r-lg); color: #f4f1f7;
  background:
    radial-gradient(50% 60% at 85% 10%, rgb(162 29 227 / 0.5), transparent 70%),
    radial-gradient(35% 40% at 10% 100%, rgb(253 191 1 / 0.16), transparent 70%),
    var(--screen);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 40px 80px -50px var(--shadow);
}
.contact .h2 { max-width: 20ch; }
.contact ::selection { background: var(--yellow); color: var(--ink); }

.brief { display: grid; gap: 2.5rem; margin-top: clamp(32px, 5vw, 56px); }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opts + .opts { margin-top: 2rem; }
.opts legend { width: 100%; margin-bottom: 0.9rem; font-weight: 700; font-size: 1.0625rem; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; padding: 0 1rem;
  border-radius: 999px; border: 1.5px solid rgb(255 255 255 / 0.36); font-weight: 600;
  transition: background-color 200ms var(--out), color 200ms var(--out), border-color 200ms var(--out), transform 350ms var(--out);
}
/* Visto desenhado com duas bordas: aparece só quando a opção está marcada. */
.opt span::before {
  content: ""; display: none; width: 0.4em; height: 0.75em; margin: -0.2em 0.1em 0 0;
  border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg;
}
.opt input:checked + span { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.opt input:checked + span::before { display: block; }
.opt input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 3px; }
.opt:active span { transform: scale(0.96); }
@media (hover: hover) { .opt:hover span { border-color: #fff; } }

.brief__fields { display: grid; align-content: start; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 700; }
.field input {
  height: 3.25rem; padding: 0 1rem; border-radius: 12px; border: 1.5px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.1); color: #fff; caret-color: var(--yellow);
  transition: border-color 200ms var(--out), background-color 200ms var(--out);
}
.field input::placeholder { color: rgb(244 241 247 / 0.55); }
.field input:hover { border-color: rgb(255 255 255 / 0.36); }
.field input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-color: transparent; background: rgb(255 255 255 / 0.14); }
.field input:user-invalid { border-color: #ffb4b8; }
.brief__fields .btn { justify-self: start; margin-top: 0.4rem; }
.brief__status:empty { display: none; }
.brief__status { font-weight: 600; color: var(--yellow-hi); }
.brief__alt { font-size: 0.95rem; color: rgb(244 241 247 / 0.8); }
.brief__alt a { color: #fff; }
@media (min-width: 1024px) { .brief { grid-template-columns: 1.25fr 1fr; gap: 4rem; } }

/* ---------- Rodapé ---------- */
.footer { padding: clamp(24px, 4vw, 48px) 0 28px; }
.footer__row { display: grid; gap: 1.5rem; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; }
.footer__brand img { width: 40px; height: 40px; }
.footer__line { max-width: 44ch; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-weight: 600; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hair);
  font-size: 0.9rem; color: var(--muted);
}
.to-top { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 600; color: var(--text); }
.to-top img { width: 30px; height: 30px; transition: transform 450ms var(--spring); }
@media (hover: hover) { .to-top:hover img { transform: translateY(-5px) rotate(-10deg); } }
@media (min-width: 900px) {
  .footer__row { grid-template-columns: auto 1fr auto; align-items: center; gap: 3rem; }
}

/* ---------- WhatsApp flutuante: acompanha o site inteiro no canto inferior direito ---------- */
.wa-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgb(18 140 70 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.35);
  animation: fab-in 600ms var(--spring) 900ms both;
  transition: transform 350ms var(--spring), box-shadow 350ms var(--out);
}
.wa-fab svg { width: 30px; height: 30px; fill: currentColor; }
.wa-fab:active { transform: scale(0.94); }
.wa-fab:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
@media (hover: hover) { .wa-fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 36px -12px rgb(18 140 70 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.35); } }
@media (min-width: 1024px) { .wa-fab { right: 28px; bottom: 28px; width: 64px; height: 64px; } .wa-fab svg { width: 32px; height: 32px; } }
@keyframes fab-in { from { opacity: 0; transform: scale(0.4) translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; transition: none; } }

/* ---------- Reduced motion: tudo parado e no estado final ---------- */
@media (prefers-reduced-motion: reduce) {
  .rocket__flame, .chat__bubble i { animation: none; }
  .nav, .btn, .btn::after, .btn svg, .nav__menu, .nav__menu-inner > *, .nav__toggle-icon i, .nav__links a::after, .step__dot, .step__n, .opt span, .field input, .to-top img, .cases__next img, .tl-pile figure, .vid__play, .vid__icon { transition: none; }
  .route__fill { transform: none; }
  .step__dot { background: var(--yellow); border-color: var(--yellow); }
}
@media (prefers-reduced-motion: reduce) {
  .route__rocket { top: 100%; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  .route__rocket { top: 50%; left: calc(100% - 32px); }
}
