/* Inter no próprio site (recorte latino: português completo). Caminho a partir da raiz,
   para funcionar também com o CSS embutido na publicação. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Menu10 — site institucional
   Mundo "Antigravidade": campo branco, detalhes roxos, tudo leve.
   Partículas formam a marca, hexágonos flutuam, o celular paira.
   Sem preto: a tinta mais escura é um roxo muito profundo.
   ============================================================ */

:root {
  color-scheme: only light;   /* não deixar o navegador forçar modo escuro */
  --roxo: #8000bb;              /* a cor da marca: ações, destaques, números */
  --roxo-forte: #6a009c;        /* hover das ações roxas */
  --roxo-faixa: #7700a9;        /* faixas roxas (clientes e fechamento) */
  --lilas: #f0e5f6;             /* hexágonos e superfícies de destaque */
  --lilas-2: #e2cdef;           /* hover dos hexágonos, fio da linha do tempo */
  --lilas-fundo: #faf6fd;       /* seções alternadas */
  --lilas-borda: #e6dcee;       /* contornos finos */
  --lilas-no-roxo: #eadcff;     /* texto secundário sobre o roxo */
  --tinta: #2a1a3a;             /* títulos e texto forte: roxo profundo, nunca preto */
  --texto: #463a52;             /* texto corrido */
  --texto-suave: #6e6474;       /* apoio, legendas, fontes */
  --branco: #ffffff;
  --maps: #ea4335;              /* só no pino do Google Maps */
  --waze: #0786b3;              /* só no ícone do Waze */

  --fonte: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --raio: 16px;
  --pilula: 999px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --secao: clamp(96px, 12vw, 160px);
  --saida: cubic-bezier(.16, 1, .3, 1);

  /* Escala tipográfica por papel */
  --t-meta: .875rem;
  --t-rotulo: .9375rem;
  --t-corpo: 1.0625rem;
  --t-abertura: 1.1875rem;
  --t-titulo: 1.25rem;
  --t-numero: clamp(2rem, 3.2vw, 2.6rem);
  --t-secao: clamp(2.1rem, 3.8vw, 3.4rem);
  --t-display: clamp(3.1rem, 5.8vw, 5.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
/* O que entra pela lateral não cria rolagem para o lado. Fica no conteúdo e no rodapé, nunca no
   body: no Chrome do celular, isso no body empurra o cabeçalho fixo para trás da barra de endereço. */
main, .rodape { overflow-x: clip; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-color: var(--roxo) var(--lilas);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--fonte);
  font-size: var(--t-corpo);
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--roxo);
}

::selection { background: var(--lilas-2); color: var(--tinta); }

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
a, button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; color: var(--tinta); text-wrap: balance; }
p, li, dd, dt { margin: 0; text-wrap: pretty; }
button { font: inherit; }
em { font-style: normal; color: var(--roxo); }

:focus-visible { outline: 2px solid var(--roxo); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.visualmente-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pular {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--roxo);
  color: var(--branco);
  padding: 12px 18px;
  border-radius: var(--pilula);
  font-weight: 600;
  text-decoration: none;
}
.pular:focus { top: 12px; }

.icone { width: 20px; height: 20px; flex-shrink: 0; }
.icone-maps { color: var(--maps); }
.icone-waze { color: var(--waze); }

/* ---------- Botões: pílulas leves ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--pilula);
  font-size: var(--t-rotulo);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--saida), background-color .25s, color .25s, border-color .25s, box-shadow .3s var(--saida);
}
.botao:hover { transform: translateY(-2px); }
.botao:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.botao-roxo { background: var(--roxo); color: var(--branco); }
.botao-roxo:hover { background: var(--roxo-forte); box-shadow: 0 16px 30px -16px rgba(106, 0, 156, .6); }
.botao-linha { background: rgba(255, 255, 255, .86); color: var(--tinta); border-color: var(--lilas-borda); }
.botao-linha:hover { border-color: var(--roxo); color: var(--roxo); }
.botao-branco { background: var(--branco); color: var(--roxo); }
.botao-branco:hover { background: var(--lilas); box-shadow: 0 16px 30px -16px rgba(40, 0, 70, .45); }
.botao-pequeno { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.botao-grande { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.seta { font-size: 1.15em; font-weight: 400; transition: transform .3s var(--saida); }
.botao:hover .seta { transform: translate(3px, 3px); }

.link-roxo {
  display: inline-flex;
  gap: 8px;
  margin-top: 26px;
  padding: 8px 0;
  color: var(--roxo);
  font-weight: 600;
  text-decoration: underline 1.5px transparent;
  transition: text-decoration-color .2s;
}
.link-roxo span { transition: transform .3s var(--saida); }
.link-roxo:hover { text-decoration-color: currentColor; }
.link-roxo:hover span { transform: translateX(4px); }
.botao .icone { transition: transform .4s var(--saida); }
@media (hover: hover) { .botao:hover .icone { transform: rotate(-10deg) scale(1.08); } }

/* ---------- Cabeçalho: uma cápsula de vidro que flutua sobre a página ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 12px var(--gutter) 0;
  pointer-events: none;
}
.topo-conteudo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 20px;
  border: 1px solid rgba(230, 220, 238, .6);
  border-radius: var(--pilula);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 10px 40px -28px rgba(70, 0, 110, .3);
  pointer-events: auto;
  transition: max-width .7s var(--saida), height .5s var(--saida), background-color .4s, border-color .4s, box-shadow .5s var(--saida);
}
/* Ao rolar, a cápsula se recolhe e fica mais firme */
.topo.rolado .topo-conteudo {
  max-width: 1060px;
  height: 58px;
  border-color: var(--lilas-borda);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 50px -26px rgba(70, 0, 110, .38);
}
/* Celular e tablet: sem o vidro fosco (o navegador do celular redesenha o desfoque a cada passo
   da rolagem e o cabeçalho atrasa). Fundo branco quase sólido. */
@media (hover: none), (max-width: 900px) {
  .topo-conteudo, .topo.rolado .topo-conteudo {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, .95);
    border-color: var(--lilas-borda);
  }
}
/* Fio roxo: quanto da página já foi lido */
.topo-progresso {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--roxo), #b46ee0);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.topo.rolado .topo-progresso { opacity: 1; }

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--roxo);
  text-decoration: none;
}
.marca span { color: var(--tinta); font-size: 1rem; font-weight: 750; letter-spacing: -.04em; }
.marca-simbolo { width: 30px; height: 30px; transition: transform .6s var(--saida); }
.marca:hover .marca-simbolo { transform: translateY(-2px) scale(1.06); }

.nav { display: flex; align-items: center; gap: 12px; }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  z-index: 1;
  padding: 9px 16px;
  border-radius: var(--pilula);
  color: var(--texto-suave);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--roxo); }
.nav-links a:focus-visible { outline-offset: 0; border-radius: var(--pilula); }
/* Pílula lilás que desliza até o link sob o mouse (ou o da seção atual) */
.nav-indicador {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: var(--pilula);
  background: var(--lilas);
  opacity: 0;
  transition: transform .5s var(--saida), width .5s var(--saida), opacity .3s;
}
.nav-indicador.visivel { opacity: 1; }

/* Botão com a seta num círculo, que aponta para cima ao passar o mouse */
.botao-cta { min-height: 46px; gap: 12px; padding: 0 6px 0 20px; font-size: .9375rem; }
.botao-seta {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--branco);
  color: var(--roxo);
}
.botao-seta svg { width: 15px; height: 15px; transition: transform .4s var(--saida); }
.botao-cta:hover .botao-seta svg { transform: rotate(-45deg); }

.menu-botao {
  display: none;
  width: 44px; height: 44px;
  padding: 13px 12px;
  border: 0;
  border-radius: 50%;
  background: var(--lilas);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.menu-botao span { display: block; height: 2px; border-radius: 2px; background: var(--roxo); transition: transform .3s var(--saida); }
.menu-botao[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-botao[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Abertura: as partículas formam o M ---------- */
.abertura {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(700px, 100svh);
  background: var(--branco);
}
.abertura canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease-out; }
.abertura canvas.pronto { opacity: 1; }  /* as partículas entram depois do texto (particulas.js) */
.abertura-texto {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: max(700px, 100svh);
  width: min(46%, 600px);
  margin-left: max(clamp(24px, 7.5vw, 140px), calc((100% - var(--container)) / 2));
  padding: 110px 0 90px;
  pointer-events: none;
}
.abertura-texto a { pointer-events: auto; }
/* Véu branco suave atrás do texto: a poeira roxa fica densa em volta,
   mas some perto das letras para o título e o subtítulo lerem limpos */
.abertura-texto::before {
  content: "";
  position: absolute;
  inset: 12% -14% 8% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .94) 55%, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.abertura h1 {
  font-size: var(--t-display);
  font-weight: 640;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.abertura-sub {
  margin-top: 26px;
  max-width: 30rem;
  color: var(--texto-suave);
  font-size: var(--t-abertura);
  line-height: 1.55;
}
.abertura-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.palco-particulas {
  position: absolute;
  z-index: 2;
  top: 8%; right: 2%;
  width: 52%; height: 84%;
  cursor: crosshair;
  touch-action: pan-y;
  outline-offset: -6px;
}
.dica {
  position: absolute;
  z-index: 1;
  right: 5%; bottom: 5%;
  width: 44%;
  color: var(--texto-suave);
  font-size: var(--t-meta);
  text-align: center;
  pointer-events: none;
}
.dica-toque { display: none; }
.descer {
  position: absolute;
  z-index: 3;
  left: max(clamp(24px, 7.5vw, 140px), calc((100% - var(--container)) / 2)); bottom: 28px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--lilas-borda);
  border-radius: 50%;
  color: var(--roxo);
  text-decoration: none;
  transition: transform .3s var(--saida), background-color .25s;
}
.descer:hover { transform: translateY(4px); background: var(--lilas-fundo); }

/* ---------- Clientes: faixa roxa em movimento contínuo ---------- */
.marcas { position: relative; overflow: hidden; padding: 22px 0 26px; background: var(--roxo-faixa); }
.marcas-titulo {
  padding: 0 clamp(20px, 5vw, 72px);
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .82);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.marcas-janela { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #fff 6%, #fff 94%, transparent); }
.marcas-trilho { display: flex; width: max-content; animation: marcas-loop 50s linear infinite; }
.marcas-janela:hover .marcas-trilho { animation-play-state: paused; }
.marcas-grupo {
  --distancia: clamp(64px, 8vw, 128px);
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--distancia);
  padding: 0 var(--distancia) 0 0;
  margin: 0;
  list-style: none;
}
.marcas-grupo li { height: 84px; flex: none; }
/* logos compridas (nome escrito): um pouco mais baixas, para pesar igual às redondas */
.marcas-grupo li.marca-larga { height: 66px; }
.marcas-grupo img { width: auto; height: 100%; }
@keyframes marcas-loop { to { transform: translateX(-50%); } }

/* ---------- Cardápios: hexágonos flutuam em volta do celular ---------- */
.vitrine { position: relative; isolation: isolate; overflow: hidden; background: var(--branco); }
.vitrine-grade {
  width: min(100%, 1640px);
  min-height: max(760px, 100svh);
  margin: 0 auto;
  padding: 72px clamp(24px, 5vw, 88px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 500px) minmax(260px, 1fr);
  column-gap: clamp(18px, 2.5vw, 45px);
  align-items: center;
}
.vitrine-texto { grid-column: 1; grid-row: 1; z-index: 2; width: min(100%, 420px); justify-self: end; }
.vitrine h2 { font-size: var(--t-secao); font-weight: 620; line-height: 1.08; letter-spacing: -.04em; }
.negocio { color: var(--roxo); }
.negocio.trocando, .fechamento-negocio.trocando { animation: palavra-entra .5s var(--saida) both; }
.vitrine-sub { margin-top: 20px; max-width: 22rem; color: var(--texto-suave); }

.hexagonos { grid-column: 3; grid-row: 1; position: relative; z-index: 2; justify-self: start; width: min(100%, 290px); height: 580px; }
.hex {
  position: absolute;
  width: var(--tam, 78px);
  aspect-ratio: 1 / 1.1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hex:nth-child(1) { --tam: 78px; --dur: 5.8s; --atraso: -1.2s; left: 6%; top: 1%; }
.hex:nth-child(2) { --tam: 86px; --dur: 6.6s; --atraso: -3.4s; left: 56%; top: 13%; }
.hex:nth-child(3) { --tam: 74px; --dur: 5.4s; --atraso: -2.1s; left: 12%; top: 30%; }
.hex:nth-child(4) { --tam: 80px; --dur: 6.2s; --atraso: -4.1s; left: 59%; top: 45%; }
.hex:nth-child(5) { --tam: 92px; --dur: 5.9s; --atraso: -.8s; left: 5%; top: 61%; }
.hex:nth-child(6) { --tam: 100px; --dur: 6.4s; --atraso: -2.7s; left: 53%; top: 76%; }
.hex span {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  padding: 0 6px;
  background: var(--lilas);
  color: var(--roxo);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1;
  animation: flutuar var(--dur) ease-in-out var(--atraso) infinite;
  transition: background-color .3s, color .3s, scale .25s var(--saida);
}
/* Nomes compridos (Restaurante, Hamburgueria): sempre numa linha só, sem hífen; o hexágono
   é um pouco maior e a letra um pouco menor para caber */
.hex-longo span { padding: 0 2px; font-size: .75rem; letter-spacing: -.015em; white-space: nowrap; }
.hex:hover span { background: var(--lilas-2); }
.hex:active span { scale: .94; }
.hex[aria-pressed="true"] span { background: var(--roxo); color: var(--branco); }
.hex:focus-visible { outline: none; }
.hex:focus-visible span { box-shadow: inset 0 0 0 3px var(--roxo); }
.hex:focus-visible[aria-pressed="true"] span { box-shadow: inset 0 0 0 3px var(--lilas-2); }
.faisca {
  position: absolute;
  z-index: 3;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--roxo);
  pointer-events: none;
  animation: faisca .64s ease-out forwards;
}

.cena { grid-column: 2; grid-row: 1; position: relative; isolation: isolate; z-index: 1; display: grid; place-items: center; min-width: 0; width: 100%; }
.orbita { position: absolute; z-index: -1; width: 111%; aspect-ratio: 1; border: 2px solid rgba(128, 0, 187, .5); border-radius: 50%; }
.orbita-1 { transform: rotate(-20deg) scaleY(.83); animation: orbita-1 16s linear infinite; }
.orbita-2 { width: 132%; opacity: .8; transform: rotate(24deg) scaleY(.69); animation: orbita-2 21s linear infinite; }
/* Um "satélite" em cada órbita: deixa o giro visível */
.orbita::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--roxo);
  box-shadow: 0 0 0 5px rgba(128, 0, 187, .14);
}
.orbita-2::before { top: auto; bottom: -6px; width: 9px; height: 9px; margin-left: -4.5px; background: #a64fd6; }
.celular {
  position: relative;
  height: min(80svh, 800px);
  aspect-ratio: 822 / 1610;
  max-width: 100%;
  animation: pairar 6s ease-in-out infinite;
}
/* O aparelho é um desenho em vetor (celular.svg, de ferramentas/celular_svg.py), com a tela vazada;
   a arte do cardápio fica por baixo, na posição da tela (passa 3 px sob a borda: nunca sobra fresta). */
.celular::before {
  content: "";
  position: absolute;
  left: .487%;
  top: 0;
  width: 99.027%;
  height: 100%;
  border-radius: 14.619% / 7.391%;
  background: #08070b;   /* atrás da tela: na troca, a tela antiga afunda no escuro */
  box-shadow: 0 34px 60px -18px rgba(70, 0, 110, .32), 0 8px 18px -6px rgba(40, 0, 70, .18);
}
.celular-tela {
  position: absolute;
  z-index: 1;
  left: 4.38%;
  top: 1.988%;
  width: 91.241%;
  height: 96.025%;
  object-fit: cover;
  background: #fff;
}
.celular-tela.entrando { z-index: 2; }
.celular-tela { will-change: transform; }
.celular-aparelho { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; user-select: none; }
/* Portal da troca de cardápio (vitrine.js): o hexágono que voa do botão até a tela... */
.hex-voo {
  position: fixed;
  z-index: 30;
  width: var(--tam, 72px);
  aspect-ratio: 100 / 115;
  background: var(--roxo);
  clip-path: polygon(50% 0, 97% 25%, 97% 75%, 50% 100%, 3% 75%, 3% 25%);
  box-shadow: 0 0 0 1px var(--roxo);
  pointer-events: none;
  will-change: transform;
}
/* ...o contorno roxo que corre na borda da abertura (gira junto com o hexágono) */
.portal-anel { position: absolute; z-index: 3; overflow: hidden; pointer-events: none; }
.portal-anel-giro { position: absolute; inset: 0; will-change: transform; }
.portal-anel-giro svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* recorte hexagonal fixo que cresce e gira por transform (a tela nova vai dentro) */
.portal-mascara { position: absolute; z-index: 2; overflow: hidden; will-change: transform; }
.portal-mascara .celular-tela { will-change: transform; }
/* ...a onda hexagonal que sai de trás do aparelho no impacto */
.portal-onda { position: absolute; z-index: 0; aspect-ratio: 1; pointer-events: none; }
.portal-onda svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* ...e o brilho de vidro que atravessa a tela nova */
.portal-brilho { position: absolute; z-index: 3; overflow: hidden; pointer-events: none; }
/* a faixa de luz anda por transform (a placa de vídeo faz sozinha, sem repintar a tela) */
.portal-brilho i {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .16) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, .16) 60%, transparent 70%);
  will-change: transform;
}
/* véu escuro sobre a tela antiga enquanto ela afunda */
.portal-veu { position: absolute; z-index: 1; background: #08070b; opacity: 0; pointer-events: none; transform-origin: 50% 43%; }

.vitrine.revelada .vitrine-texto { animation: vem-esquerda 1s cubic-bezier(.34, 1.3, .64, 1) both; }
.vitrine.revelada .cena { animation: vem-direita 1.1s .1s cubic-bezier(.34, 1.3, .64, 1) both; }
/* os hexágonos estouram um por um, como bolhas */
.vitrine.revelada .hex { animation: hex-estoura .7s cubic-bezier(.34, 1.8, .64, 1) calc(.25s + var(--ordem, 0) * 90ms) both; }
.js .vitrine:not(.revelada) .hex { opacity: 0; }
.hex:nth-child(1) { --ordem: 0; } .hex:nth-child(2) { --ordem: 1; } .hex:nth-child(3) { --ordem: 2; }
.hex:nth-child(4) { --ordem: 3; } .hex:nth-child(5) { --ordem: 4; } .hex:nth-child(6) { --ordem: 5; }
@keyframes vem-esquerda { from { opacity: 0; transform: translateX(-90px) rotate(-2deg); } }
@keyframes vem-direita { from { opacity: 0; transform: translateX(110px) rotate(6deg) scale(.9); } }
@keyframes hex-estoura { 0% { opacity: 0; transform: scale(0) rotate(-40deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }

/* ---------- Seções de conteúdo ---------- */
.secao { padding: var(--secao) 0; }
.secao-lilas { background: var(--lilas-fundo); }
.titulo-secao { max-width: 20ch; font-size: var(--t-secao); font-weight: 620; line-height: 1.08; letter-spacing: -.04em; }
.cabecalho { max-width: 44rem; margin-bottom: clamp(56px, 7vw, 88px); }
.cabecalho p { margin-top: 20px; max-width: 34rem; color: var(--texto-suave); font-size: var(--t-abertura); }

/* Diferenciais: quatro ideias soltas no branco, cada uma com o hexágono da marca */
.diferenciais {
  list-style: none;
  padding: 0;
  margin: clamp(56px, 7vw, 88px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px clamp(28px, 3.5vw, 56px);
}
.hex-marca { width: 34px; height: 39px; overflow: visible; fill: var(--lilas); stroke: var(--roxo); stroke-width: 5; stroke-linejoin: round; }
/* Hexágonos dos diferenciais: chegam crescendo com um quique, o contorno roxo se desenha em
   volta e o lilás enche por dentro; depois levitam, cada um no seu ritmo, com uma sombrinha
   embaixo que encolhe quando ele sobe. Com o mouse no cartão (ou o toque), crescem e ficam
   roxos. Esperam o cartão aparecer (data-surgir). */
.diferenciais li { position: relative; }
.diferenciais li:nth-child(1) { --d: 0ms; --dur-h: 3.4s; }
.diferenciais li:nth-child(2) { --d: 110ms; --dur-h: 3.9s; }
.diferenciais li:nth-child(3) { --d: 220ms; --dur-h: 3.6s; }
.diferenciais li:nth-child(4) { --d: 330ms; --dur-h: 4.1s; }
.diferenciais .hex-marca {
  position: relative;
  z-index: 1;
  transform-origin: 50% 50%;
  transition: scale .45s cubic-bezier(.34, 1.8, .64, 1);
  animation: hex-chega 1s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d) + .15s) both,
             hex-levita var(--dur-h) ease-in-out calc(var(--d) + 1.2s) infinite;
}
.diferenciais .hex-marca .hex-corpo {
  stroke-dasharray: 1;
  transition: fill .3s;
  animation: hex-traca 1.2s ease-out calc(var(--d) + .2s) both;
}
/* a sombra no chão, embaixo do hexágono */
.diferenciais li::before {
  content: "";
  position: absolute;
  left: 3px; top: 48px;
  width: 28px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(128, 0, 187, .28), transparent);
  animation: hex-sombra var(--dur-h) ease-in-out calc(var(--d) + 1.2s) infinite;
}
.js .diferenciais li[data-surgir]:not(.surgiu) .hex-marca,
.js .diferenciais li[data-surgir]:not(.surgiu) .hex-marca polygon,
.js .diferenciais li[data-surgir]:not(.surgiu)::before { animation-play-state: paused; }
.diferenciais li:hover .hex-marca { scale: 1.2; }
.diferenciais li:hover .hex-marca .hex-corpo { fill: var(--roxo); }
@keyframes hex-chega { from { transform: scale(0); } }
@keyframes hex-traca {
  0% { stroke-dashoffset: 1; fill-opacity: 0; }
  60% { stroke-dashoffset: 0; fill-opacity: 0; }
  100% { stroke-dashoffset: 0; fill-opacity: 1; }
}
@keyframes hex-levita { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -18px; rotate: 3deg; } }
@keyframes hex-sombra { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .55; opacity: .45; } }
.diferenciais h3 { margin-top: 22px; font-size: var(--t-titulo); font-weight: 620; line-height: 1.25; letter-spacing: -.02em; }
.diferenciais p { margin-top: 10px; color: var(--texto-suave); }

/* Números reais: sempre roxos e tabulares */
.numero { color: var(--roxo); font-weight: 620; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }

/* ---------- Recursos: "Sem o Menu10 × Com o Menu10" — a dor e a solução, par a par ---------- */
/* Cada par é um <li> com a dor e a solução. No computador e no tablet, os pares se abrem
   em duas colunas (display: contents) sobre dois painéis de fundo; cada dor fica na linha
   da sua solução (--r). No celular, cada par vira um cartão. Ao aparecer, a dor é riscada
   (.riscado, main.js) e a solução se revela. */
.comparar {
  --dentro: clamp(22px, 3vw, 36px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto repeat(6, auto);
  column-gap: clamp(20px, 3vw, 40px);
}
.comparar-fundo { grid-row: 1 / -1; border-radius: 24px; }
.comparar-fundo-sem { grid-column: 1; border: 1px solid var(--lilas-borda); background: var(--branco); }
.comparar-fundo-com { grid-column: 2; background: var(--roxo); box-shadow: 0 40px 70px -40px rgba(106, 0, 156, .7); }
.comparar-titulo {
  position: relative;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: var(--dentro) var(--dentro) 10px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -.025em;
}
.comparar-titulo svg { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; }
.comparar-titulo-sem { grid-column: 1; color: var(--texto-suave); }
.comparar-titulo-sem svg { padding: 7px; background: var(--lilas-fundo); }
.comparar-titulo-com { grid-column: 2; color: var(--branco); }
.comparar-titulo-com svg { padding: 4px; background: var(--branco); color: var(--roxo); }

.comparar-lista, .par { display: contents; }
.par-sem, .par-com {
  position: relative;
  grid-row: var(--r);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 var(--dentro);
  padding: 14px 0;
  font-size: var(--t-corpo);
  line-height: 1.4;
}
.par-sem { grid-column: 1; color: var(--texto-suave); }
.par-com { grid-column: 2; color: var(--branco); font-weight: 550; }
.par + .par .par-sem { border-top: 1px solid var(--lilas-borda); }
.par + .par .par-com { border-top: 1px solid rgba(255, 255, 255, .16); }
.par:last-child .par-sem, .par:last-child .par-com { margin-bottom: calc(var(--dentro) - 6px); }
.par-sem svg, .par-com svg { flex-shrink: 0; width: 28px; height: 28px; padding: 7px; border-radius: 50%; }
.par-sem svg { background: var(--lilas-fundo); color: #9a8fa3; }
.par-com svg { background: rgba(255, 255, 255, .16); color: var(--branco); }

/* O risco: uma linha fina atravessa a dor, da esquerda para a direita */
.risco {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 58% / 0 1.5px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.65, 0, .35, 1) .45s, color .6s .45s;
}
.par.riscado .risco { background-size: 100% 1.5px; color: #a79db0; }

/* Seta no meio, ligando um lado ao outro */
.comparar-seta {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  translate: -50% -50%;
  border: 4px solid var(--lilas-fundo);
  border-radius: 50%;
  background: var(--branco);
  color: var(--roxo);
  box-shadow: 0 10px 24px -12px rgba(70, 0, 110, .45);
}
.comparar-seta svg { width: 18px; height: 18px; }

/* ---------- Relatórios: as telas reais do sistema numa moldura lilás ---------- */
.gestao-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.gestao-topo p { margin-top: 20px; max-width: 30rem; color: var(--texto-suave); font-size: var(--t-abertura); }
.pilulas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pilulas li {
  padding: 8px 14px;
  border: 1px solid var(--lilas-borda);
  border-radius: var(--pilula);
  background: var(--lilas-fundo);
  color: var(--tinta);
  font-size: .875rem;
  font-weight: 550;
}

.painel {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(10px, 1.4vw, 18px);
  border: 1px solid var(--lilas-borda);
  border-radius: 24px;
  background: var(--lilas-fundo);
  box-shadow: 0 50px 90px -70px rgba(70, 0, 110, .5);
}
.painel-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 2px 4px 14px 8px; }
.painel-marca { display: inline-flex; align-items: center; gap: 10px; color: var(--tinta); font-size: .9375rem; font-weight: 650; }
.painel-marca svg { width: 24px; height: 24px; color: var(--roxo); }
.painel-fonte { padding: 14px 8px 2px; color: var(--texto-suave); font-size: .8125rem; }

.abas { position: relative; isolation: isolate; display: inline-flex; padding: 3px; border: 1px solid var(--lilas-borda); border-radius: var(--pilula); background: var(--branco); }
/* A pílula roxa desliza até a aba escolhida (--x e --w vêm do relatorio.js) */
.abas-indicador { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 0; width: var(--w, 0); border-radius: var(--pilula); background: var(--roxo); transform: translateX(var(--x, 0)); transition: transform .45s var(--saida), width .45s var(--saida); }
.abas button {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--pilula);
  background: transparent;
  color: var(--texto);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .3s, scale .12s;
}
.abas button[aria-selected="true"] { color: var(--branco); }
.abas:not(:has(.abas-indicador[style])) button[aria-selected="true"] { background: var(--roxo); }  /* sem JS: fundo direto na aba */
.abas button:not([aria-selected="true"]):hover { color: var(--roxo); }
.abas button:active { scale: .95; }

/* A tela: o print como está no sistema, com borda fina e um "Ampliar" que aparece no hover */
.tela { animation: tela-entra .5s var(--saida); }
@keyframes tela-entra { from { opacity: 0; transform: translateX(24px) scale(.985); } }
.tela-ampliar {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--lilas-borda);
  border-radius: 14px;
  background: var(--branco);
  cursor: zoom-in;
}
.tela-ampliar img { width: 100%; transition: transform .8s var(--saida); }
.tela-ampliar { transition: transform .3s var(--saida); }
.tela-ampliar:active { transform: scale(.992); transition-duration: .1s; }
.tela-lupa {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--pilula);
  background: var(--roxo);
  color: var(--branco);
  font-size: .8125rem;
  font-weight: 600;
  box-shadow: 0 12px 24px -12px rgba(106, 0, 156, .7);
  transition: transform .4s var(--saida), opacity .3s;
}
.tela-lupa svg { width: 16px; height: 16px; }
@media (hover: hover) {
  .tela-lupa { opacity: 0; transform: translateY(6px); }
  .tela-ampliar:hover .tela-lupa, .tela-ampliar:focus-visible .tela-lupa { opacity: 1; transform: none; }
  .tela-ampliar:hover img { transform: scale(1.015); }
}

/* Tela ampliada: ocupa a janela; no celular, arrasta-se para os lados para ler */
.zoom {
  width: min(1640px, 100vw - 32px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--branco);
  box-shadow: 0 40px 80px -30px rgba(40, 0, 70, .5);
  overflow: hidden;
}
.zoom::backdrop { background: rgba(42, 26, 58, .55); backdrop-filter: blur(4px); }
.zoom[open] { animation: zoom-entrar .35s var(--saida); }
.zoom[open]::backdrop { animation: esmaecer .35s ease-out; }
.zoom.fechando { animation: zoom-sair .2s ease-in forwards; }
.zoom.fechando::backdrop { animation: esmaecer-sair .2s ease-in forwards; }
.zoom-rolagem { max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
.zoom-rolagem img { width: 100%; min-width: 900px; }
.zoom-fechar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--roxo);
  color: var(--branco);
  cursor: pointer;
  box-shadow: 0 10px 20px -10px rgba(106, 0, 156, .7);
}
.zoom-fechar svg { width: 20px; height: 20px; }
@keyframes zoom-entrar { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes zoom-sair { to { opacity: 0; transform: translateY(8px) scale(.985); } }
@keyframes esmaecer-sair { to { opacity: 0; } }

.painel-mais { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.painel-mais > p { color: var(--texto-suave); font-size: .875rem; }

/* Suporte */
.suporte {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 6vw, 88px);
  align-items: stretch;
}
.suporte-texto > p { margin-top: 20px; max-width: 32rem; color: var(--texto-suave); font-size: var(--t-abertura); }
.dados { margin: 32px 0 0; display: grid; gap: 20px; }
.dados div { display: grid; gap: 4px; }
.dados dt { color: var(--texto-suave); font-size: var(--t-meta); font-weight: 500; }
.dados dd { color: var(--tinta); font-size: 1.3125rem; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sem-quebra { white-space: nowrap; }
.dado-link { text-decoration: underline 1.5px var(--lilas-2); transition: text-decoration-color .2s, color .2s; }
.dado-link:hover { color: var(--roxo); text-decoration-color: currentColor; }
.copiar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--roxo);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: underline 1.5px transparent;
  text-underline-offset: .22em;
  vertical-align: .12em;
  cursor: pointer;
  transition: text-decoration-color .2s;
}
.copiar:hover { text-decoration-color: currentColor; }
.copiar svg { display: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.copiar polyline { stroke-dasharray: 1; }
.copiar.copiado svg { display: block; }
.copiar.copiado polyline { animation: tracar .35s var(--saida) both; }
.rotas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.mapa {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--lilas-borda);
  border-radius: var(--raio);
  background: var(--lilas);
}
.mapa-aviso { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--texto-suave); text-align: center; }
.mapa iframe { position: relative; display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }

/* ---------- Fechamento: roxo, com o campo de fluxo girando em volta do mouse ---------- */
.fechamento {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(110px, 14vw, 180px) 0;
  background: var(--roxo-faixa);
  color: var(--branco);
  text-align: center;
}
.fluxo { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; pointer-events: none; }
/* Véu: escurece um pouco o centro (atrás do texto) e funde as bordas com o roxo das seções vizinhas. */
.fluxo-veu {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 46% at 50% 50%, rgba(119, 0, 169, .72), rgba(119, 0, 169, 0) 100%),
    linear-gradient(to bottom, var(--roxo-faixa), rgba(119, 0, 169, 0) 18%, rgba(119, 0, 169, 0) 82%, var(--roxo-faixa));
}
.fechamento-conteudo { position: relative; display: flex; flex-direction: column; align-items: center; }
.fechamento h2 {
  max-width: 16ch;
  color: var(--branco);
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  font-weight: 630;
  line-height: 1.06;
  letter-spacing: -.04em;
}
.fechamento p { margin: 22px 0 38px; max-width: 30rem; color: var(--lilas-no-roxo); font-size: var(--t-abertura); }

/* ---------- Rodapé ---------- */
.rodape { padding: 72px 0 0; border-top: 1px solid var(--lilas-borda); background: var(--branco); color: var(--texto-suave); }
.rodape-grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.rodape-marca { display: flex; gap: 14px; align-items: flex-start; color: var(--roxo); }
.rodape-marca .marca-simbolo { width: 38px; height: 38px; }
.rodape-marca p { color: var(--texto-suave); }
.rodape-marca strong { color: var(--tinta); font-size: 1.0625rem; font-weight: 750; letter-spacing: -.04em; }
.rodape-titulo { margin-bottom: 10px; color: var(--tinta); font-size: var(--t-rotulo); font-weight: 600; }
.rodape-grade a, .rodape-grade p { display: block; padding: 5px 0; text-decoration: none; }
.rodape-grade a { width: fit-content; background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 3px) / 0 1px; transition: color .2s, background-size .4s var(--saida); }
.rodape-grade a:hover, .rodape-grade a:focus-visible { color: var(--roxo); background-size: 100% 1px; }
.rodape-base { padding-top: 22px; padding-bottom: 100px; border-top: 1px solid var(--lilas-borda); font-size: .8125rem; }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--roxo);
  color: var(--branco);
  /* aro branco fino: some no fundo branco, separa o botão do fundo roxo do fechamento */
  box-shadow: 0 0 0 2.5px rgba(255, 255, 255, .92), 0 16px 30px -12px rgba(106, 0, 156, .55);
  transition: transform .3s var(--saida), background-color .25s;
}
.whats-flutuante:hover { transform: translateY(-3px); background: var(--roxo-forte); }
.whats-flutuante:active { transform: scale(.94); transition-duration: .08s; }
.whats-flutuante svg { width: 28px; height: 28px; }

/* ---------- Movimento ---------- */
@keyframes flutuar { 0%, 100% { transform: translateY(2px) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes faisca { from { opacity: 1; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.25); } }
/* O celular flutua: sobe e desce com um leve balanço */

@keyframes pairar {
  0%, 100% { transform: translateY(0) rotate(-1.4deg); }
  50% { transform: translateY(-24px) rotate(1.4deg); }
}
@keyframes orbita-1 { to { transform: rotate(340deg) scaleY(.83); } }
@keyframes orbita-2 { to { transform: rotate(-336deg) scaleY(.69); } }
@keyframes subir { from { opacity: 0; transform: translateY(32px); } }
@keyframes palavra-entra { from { opacity: 0; transform: scale(.6); } }
@keyframes tracar { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }


/* ============================================================
   Movimento ao rolar (inspirado na home da Nuvemshop)
   ============================================================ */
/* Surgir: cada bloco entra de um lado (esquerda, direita, baixo, cima ou crescendo do centro,
   escolhido pelo movimento.js conforme a posição) e assenta com um quique curto.
   Os que entram juntos vêm em sequência (--atraso). Nada de desfoque. */
.js [data-surgir] {
  --de: translateY(56px) scale(.96);
  opacity: 0;
  transform: var(--de);
  transition: opacity .55s ease-out var(--atraso, 0ms), transform 1s cubic-bezier(.34, 1.45, .64, 1) var(--atraso, 0ms);
}
.js [data-surgir][data-dir="esquerda"] { --de: translateX(-80px) rotate(-3deg); }
.js [data-surgir][data-dir="direita"] { --de: translateX(80px) rotate(3deg); }
.js [data-surgir][data-dir="cima"] { --de: translateY(-56px) rotate(-2deg); }
.js [data-surgir][data-dir="cresce"] { --de: scale(.72) rotate(-4deg); }
@media (max-width: 700px) {
  .js [data-surgir][data-dir="esquerda"] { --de: translateX(-44px) rotate(-2deg); }
  .js [data-surgir][data-dir="direita"] { --de: translateX(44px) rotate(2deg); }
}
/* A tela do relatório entra levemente inclinada e se endireita */
.js [data-surgir="tela"] {
  transform: perspective(1800px) translateY(40px) rotateX(6deg) scale(.97);
  transform-origin: 50% 0;
  transition-duration: 1.2s, 1.8s;
}
.js [data-surgir].surgiu { opacity: 1; transform: none; }

/* Abertura: o título sobe linha por linha de dentro de uma máscara, depois o resto */
.abertura h1 .linha { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.abertura h1 .linha > span { display: inline-block; animation: linha-sobe 1.4s cubic-bezier(.22, 1, .36, 1) .15s both; }
.abertura h1 .linha + .linha > span { animation-delay: .3s; }
.abertura-sub { animation: vem-esquerda 1s cubic-bezier(.34, 1.3, .64, 1) .55s both; }
.abertura-acoes { animation: surgir-leve .9s cubic-bezier(.34, 1.5, .64, 1) .75s both; }
.dica, .descer { animation: esmaecer 1.4s ease-out 1.2s both; }
.topo-conteudo { animation: topo-desce 1s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes topo-desce { from { opacity: 0; transform: translateY(-10px); } }
@keyframes surgir-leve { from { opacity: 0; transform: translateY(28px) scale(.94); } }

/* Seções lilás e o fechamento entram como cartas: cantos arredondados que se abrem
   até a largura toda enquanto a seção sobe (só onde o navegador liga animação à rolagem) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .secao-lilas, .fechamento {
      animation: secao-carta linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}
@keyframes secao-carta {
  from { clip-path: inset(0 1.5% round 32px); }
  to { clip-path: inset(0 0 round 0); }
}

/* ============================================================
   Linguagem de movimento: tudo surge "de dentro de uma fenda"
   ============================================================ */
/* Títulos palavra por palavra (movimento.js separa as palavras): cada uma sobe de dentro
   da própria máscara e fica nítida, em onda. A mesma assinatura do título da abertura. */
.palavra {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .12em .02em .16em;   /* espaço para acentos e para o "ç", "g", "p" */
  margin: -.12em -.02em -.16em;
}
.palavra > span {
  display: inline-block;
  transform: translateY(115%) rotate(9deg);
  transform-origin: 0 100%;
  opacity: 0;
  transition: transform .9s cubic-bezier(.34, 1.5, .64, 1) calc(var(--p, 0) * 75ms),
              opacity .35s ease-out calc(var(--p, 0) * 75ms);
}
.visto .palavra > span { transform: none; opacity: 1; }
/* Trecho que muda com a escolha do negócio: entra inteiro, sem máscara */
.palavra-solta { display: inline; opacity: 0; transition: opacity .7s ease-out var(--atraso-solta, 0ms); }
.visto .palavra-solta { opacity: 1; }
/* O título da abertura ganha o mesmo desfoque que se assenta */
@keyframes linha-sobe { from { transform: translateY(110%) rotate(6deg); } }

/* Print do relatório preso à rolagem: vem deitado em perspectiva e se endireita enquanto
   a pessoa desce (só onde o navegador liga animação à rolagem; nos outros, o surgir comum) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .painel[data-aproxima] {
      opacity: 1;
      transition: none;
      transform-origin: 50% 0;
      animation: painel-aproxima linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 42%;
    }
  }
}
@keyframes painel-aproxima {
  from { transform: perspective(1500px) translateY(90px) rotateX(28deg) scale(.86); opacity: .25; }
  55% { opacity: 1; }
  to { transform: none; opacity: 1; }
}

/* ============================================================
   Toque (toque.js): o celular também participa
   ============================================================ */
/* Onda que se abre onde o dedo (ou o clique) encosta: na cor do texto do botão */
.com-onda { overflow: hidden; }
.botao.com-onda, .hex .com-onda, .abas button.com-onda, .copiar.com-onda, .menu-botao.com-onda { position: relative; }
.onda-toque {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: onda-toque .7s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes onda-toque { 0% { opacity: .45; transform: translate(-50%, -50%) scale(0); } 40% { opacity: .38; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
/* Brilho que atravessa os botões principais (no celular, ao aparecer e de tempos em tempos) */
.tem-brilho { position: relative; overflow: hidden; isolation: isolate; }
.tem-brilho::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}
.botao-branco.tem-brilho::after, .botao-linha.tem-brilho::after { background: linear-gradient(105deg, transparent 35%, rgba(128, 0, 187, .18) 50%, transparent 65%); }
.tem-brilho.brilha::after { animation: botao-brilho 1.1s cubic-bezier(.4, 0, .2, 1); }
@keyframes botao-brilho { to { transform: translateX(120%); } }
/* Convite: um hexágono da vitrine pula, chamando para tocar */
.vitrine.revelada .hex.convida {
  animation: hex-estoura .7s cubic-bezier(.34, 1.8, .64, 1) calc(.25s + var(--ordem, 0) * 90ms) both,
             hex-convida .9s cubic-bezier(.34, 1.6, .64, 1);
}
@keyframes hex-convida { 0%, 100% { translate: 0 0; scale: 1; } 35% { translate: 0 -16px; scale: 1.1; } 62% { translate: 0 3px; scale: .96; } }
/* WhatsApp: pulinho quando a rolagem para */
.whats-flutuante.pula { animation: whats-pula .9s cubic-bezier(.34, 1.6, .64, 1); }
@keyframes whats-pula { 0%, 100% { translate: 0 0; } 28% { translate: 0 -16px; } 52% { translate: 0 0; } 72% { translate: 0 -6px; } }
@media (hover: none) {
  /* o botão afunda no toque e volta com um quique */
  .botao { transition: transform .3s var(--saida), scale .55s cubic-bezier(.34, 1.8, .64, 1), background-color .25s, color .25s, border-color .25s, box-shadow .3s var(--saida); }
  .botao:active { scale: .93; }
  .hex span { transition: background-color .3s, color .3s, scale .5s cubic-bezier(.34, 1.8, .64, 1); }
  .hex:active span { scale: .86; }
  /* tocar num diferencial: o hexágono dele pula e fica roxo */
  .diferenciais li:active .hex-marca { scale: 1.3; }
  .diferenciais li:active .hex-marca .hex-corpo { fill: var(--roxo); }
  /* inclinar o aparelho: celular, órbitas e hexágonos vão cada um para um lado */
  .vitrine .celular { translate: calc(var(--incl-x, 0) * 16px) calc(var(--incl-y, 0) * 10px); }
  .vitrine .orbita { translate: calc(var(--incl-x, 0) * -12px) calc(var(--incl-y, 0) * -8px); }
  .vitrine .hex { translate: calc(var(--incl-x, 0) * -9px) calc(var(--incl-y, 0) * -6px); }
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1080px) {
  .vitrine-grade { grid-template-columns: minmax(250px, .9fr) minmax(320px, 1.1fr); grid-template-rows: auto auto; column-gap: 0; }
  .vitrine-texto { grid-column: 1; grid-row: 1; align-self: end; justify-self: start; }
  .hexagonos { grid-column: 1; grid-row: 2; justify-self: center; align-self: start; width: min(100%, 290px); height: 250px; margin-top: 16px; }
  .hex { --tam: 90px !important; }
  .hex:nth-child(1) { left: 0; top: 0; }
  .hex:nth-child(2) { left: calc(50% - 45px); top: 12%; }
  .hex:nth-child(3) { left: calc(100% - 90px); top: 0; }
  .hex:nth-child(4) { left: 0; top: 54%; }
  .hex:nth-child(5) { left: calc(50% - 45px); top: 60%; }
  .hex:nth-child(6) { left: calc(100% - 90px); top: 54%; }
  .hex-longo span { font-size: .6875rem; }
  .cena { grid-column: 2; grid-row: 1 / span 2; }
  .celular { height: min(76svh, 740px); }
  .diferenciais { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  /* Tablet: as duas colunas continuam lado a lado, mais compactas */
  .comparar { --dentro: 18px; column-gap: 14px; }
  .par-sem, .par-com { gap: 10px; font-size: .9375rem; }
  .par-sem svg, .par-com svg { width: 24px; height: 24px; padding: 6px; }
  .comparar-seta { width: 38px; height: 38px; }
  .menu-botao { display: flex; }
  .topo { padding: 10px 12px 0; }
  .topo-conteudo, .topo.rolado .topo-conteudo { height: 58px; padding: 0 7px 0 16px; }
  .topo:has(.nav.aberto) .topo-conteudo { background: var(--branco); border-color: var(--lilas-borda); }
  /* No celular, o menu abre como um cartão flutuante logo abaixo da cápsula */
  .nav {
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--lilas-borda);
    border-radius: 24px;
    background: var(--branco);
    box-shadow: 0 30px 60px -30px rgba(70, 0, 110, .4);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    transform-origin: top;
    transition: opacity .2s, transform .3s var(--saida), visibility 0s .3s;
  }
  .nav.aberto { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .35s var(--saida); }
  .nav-links a, .nav .botao-cta { opacity: 0; translate: 0 -6px; transition: opacity .2s, translate .35s var(--saida); }
  .nav.aberto .nav-links a, .nav.aberto .botao-cta { opacity: 1; translate: none; }
  .nav.aberto .nav-links a:nth-child(3) { transition-delay: 35ms; }
  .nav.aberto .nav-links a:nth-child(4) { transition-delay: 70ms; }
  .nav.aberto .nav-links a:nth-child(5) { transition-delay: 105ms; }
  .nav.aberto .botao-cta { transition-delay: 140ms; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-indicador { display: none; }
  .nav-links a { padding: 14px 16px; border-radius: 16px; color: var(--tinta); font-size: 1.0625rem; }
  .nav-links a[aria-current] { background: var(--lilas); }
  .nav .botao-cta { justify-content: space-between; min-height: 56px; padding: 0 8px 0 20px; font-size: var(--t-rotulo); }
  .botao-seta { width: 40px; height: 40px; }

  .suporte { grid-template-columns: 1fr; }
  .mapa, .mapa iframe { min-height: 340px; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  /* Celular: cada dor e sua solução viram um cartão. Legenda em cima, sem painéis de fundo. */
  .comparar { display: block; }
  .comparar-fundo, .comparar-seta { display: none; }
  .comparar-titulo { display: inline-flex; gap: 8px; margin: 0 6px 14px 0; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: .875rem; }
  .comparar-titulo svg { width: 24px; height: 24px; }
  .comparar-titulo-sem { border: 1px solid var(--lilas-borda); background: var(--branco); }
  .comparar-titulo-sem svg { padding: 6px; }
  .comparar-titulo-com { background: var(--roxo); }
  .comparar-lista { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
  .par { display: block; overflow: hidden; border: 1px solid var(--lilas-borda); border-radius: 18px; background: var(--branco); box-shadow: 0 18px 30px -26px rgba(70, 0, 110, .35); }
  .par-sem, .par-com, .par:last-child .par-sem, .par:last-child .par-com { margin: 0; padding: 14px 16px; border: 0 !important; font-size: .9375rem; }
  .par-com { background: var(--roxo); }
  /* a solução se abre da esquerda para a direita, logo depois do risco */
  .par-com { clip-path: inset(0 100% 0 0); transition: clip-path .8s cubic-bezier(.65, 0, .35, 1) 1.15s; }
  .par.riscado .par-com { clip-path: inset(0); }
  :root { --t-corpo: 1rem; --t-abertura: 1.0625rem; }
  .abertura, .abertura-texto { min-height: max(860px, 100svh); }
  .abertura-texto { width: auto; margin: 0; padding: 108px 22px 0; align-items: center; justify-content: flex-start; text-align: center; }
  .abertura h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  /* No celular o bloco de texto vai até o fim da abertura: o véu cobre só o título, o texto e os botões */
  .abertura-texto::before { inset: 84px -14% auto; height: 400px; background: radial-gradient(closest-side, rgba(255, 255, 255, .95) 62%, rgba(255, 255, 255, 0)); }
  .abertura-sub { margin-top: 16px; max-width: 22rem; }
  .abertura-acoes { flex-direction: column; align-items: stretch; width: min(100%, 22rem); margin-top: 26px; }
  .palco-particulas { top: 58%; right: 0; width: 100%; height: 38%; }
  .dica { right: 0; bottom: 3%; width: 100%; padding: 0 18px; }
  .dica-mouse { display: none; }
  .dica-toque { display: inline; }
  .descer { display: none; }

  .marcas { padding: 18px 0 20px; }
  .marcas-titulo { padding: 0 22px; margin-bottom: 10px; font-size: .75rem; }
  .marcas-grupo { --distancia: 56px; }
  .marcas-grupo li { height: 64px; }

  .vitrine-grade { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 24px; padding: 72px 22px 64px; }
  .vitrine-texto { width: 100%; }
  .vitrine h2 { font-size: clamp(2.1rem, 8.5vw, 3rem); }
  .vitrine-sub { margin-top: 12px; }
  .link-roxo { margin-top: 14px; }
  /* folga embaixo: o celular logo abaixo sobe 24px quando paira e não pode encostar nos hexágonos */
  .hexagonos { width: 100%; height: calc(clamp(64px, 23vw, 86px) * 2.25 + 34px); margin: 4px 0 0; }
  .hex { --tam: clamp(64px, 23vw, 86px) !important; }
  .hex:nth-child(n) { left: calc((100% - var(--tam)) * var(--k) / 5); }
  .hex:nth-child(1) { --k: 0; top: 4%; }
  .hex:nth-child(2) { --k: 1; top: 48%; }
  .hex:nth-child(3) { --k: 2; top: 0; }
  .hex:nth-child(4) { --k: 3; top: 49%; }
  .hex:nth-child(5) { --k: 4; top: 3%; }
  .hex:nth-child(6) { --k: 5; top: 47%; }
  .hex span { font-size: .75rem; }
  .hex-longo span { font-size: clamp(8.8px, 2.65vw, 11px); }
  .cena { align-self: center; }
  .celular { width: min(78%, 360px); height: auto; }
  .orbita { width: 120%; }
  .orbita-2 { width: 140%; }

  .diferenciais { grid-template-columns: 1fr; gap: 40px; }
  .gestao-topo .botao { width: 100%; }
  .botao-grande { width: 100%; max-width: 24rem; padding: 0 20px; font-size: var(--t-rotulo); }
  .rotas .botao { flex: 1 1 100%; }
  .rodape-grade { grid-template-columns: 1fr; gap: 28px; }
  .whats-flutuante { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

/* Aparelhos sem mouse (celular, tablet): as dicas falam em tocar. */
@media (hover: none) {
  .dica-mouse { display: none; }
  .dica-toque { display: inline; }
}

/* Telas de toque: nada clicável abaixo de 44px */
@media (pointer: coarse) {
  .marca { min-height: 44px; }
  .abas button { min-height: 44px; }
  .link-roxo { min-height: 44px; align-items: center; }
  .descer { width: 44px; height: 44px; }
}

/* Celular deitado: a tela é baixa, então o aparelho da vitrine usa uma altura fixa
   (rola junto) em vez de encolher até ficar ilegível */
@media (orientation: landscape) and (max-height: 520px) {
  .celular { height: 560px; }
  .vitrine-grade { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hex span, .orbita, .celular, .marcas-trilho { animation: none !important; }
  .vitrine.revelada .vitrine-texto, .vitrine.revelada .cena, .vitrine.revelada .hexagonos, .vitrine.revelada .hex { animation: none; }
  .js .vitrine .hex, .js .vitrine:not(.revelada) .hex { opacity: 1; }
  .negocio.trocando { animation: esmaecer .2s ease-out both; }
  .botao, .descer, .whats-flutuante, .link-roxo span, .seta { transform: none !important; }
  .marcas-janela { overflow-x: auto; mask-image: none; scrollbar-width: thin; }
  .copiar.copiado polyline { animation: none; }
  .topo-conteudo, .nav-indicador, .marca-simbolo, .botao-seta svg { transition: none; }
  .js [data-surgir] { opacity: 1; transform: none; transition: none; }
  .palavra > span, .palavra-solta { transform: none; opacity: 1; transition: none; }
  .diferenciais .hex-marca, .diferenciais .hex-marca polygon { animation: none; }
  .diferenciais li::before { animation: none; }
  .tela { animation: esmaecer .2s ease-out; }
  .abas-indicador, .tela-ampliar { transition: none; }
  .zoom[open], .zoom.fechando { animation-duration: .01s; }
  .nav-links a, .nav .botao-cta { translate: none !important; }
  .botao .icone { transform: none !important; }
  .risco, .par-com { transition: none !important; }
  .abertura h1 .linha > span, .abertura-sub, .abertura-acoes, .dica, .descer, .topo-conteudo { animation: none; }
  .tela, .zoom[open] { animation: none; }
  .tela-ampliar img { transition: none; transform: none !important; }
}
@keyframes esmaecer { from { opacity: 0; } }

/* ---------- Aviso de cookies (LGPD) ---------- */
.aviso-cookies {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  gap: 14px;
  width: min(420px, calc(100vw - 40px));
  padding: 18px 20px;
  border: 1px solid var(--lilas-borda);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: 0 24px 50px -28px rgba(70, 0, 110, .45);
  animation: surgir-leve .5s var(--saida);
}
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { color: var(--texto); font-size: .9375rem; line-height: 1.5; }
.aviso-cookies a { color: var(--roxo); font-weight: 600; }
.aviso-cookies-botoes { display: flex; justify-content: flex-end; gap: 8px; }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.rodape-links { display: inline-flex; gap: 18px; }
.rodape-links a, .rodape-cookies { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.rodape-links a:hover, .rodape-cookies:hover { color: var(--roxo); }
@media (max-width: 700px) {
  .aviso-cookies { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .com-aviso-cookies .whats-flutuante { bottom: 150px; }
}
