/* Página inicial do Scale Bot — mesmo sistema visual do painel (scale-ui.css):
   fundo claro, linhas finas, verde só onde tem significado, botão principal preto.
   O site fica sempre no tema claro, mesmo com o aparelho do visitante no modo escuro. */

:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --sunken: #f4f4f1;
  --line: #e8e8e4;
  --line-soft: #f0f0ec;
  --text: #171a18;
  --muted: #5f645f;
  --faint: #8b908c;
  --brand: #16834a;
  --brand-ink: #0d6f39;
  --brand-soft: #edf5ef;
  --bubble-user: #dff3e6;
  --primary: #171a18;
  --primary-hover: #2c302d;
  --on-primary: #ffffff;
  --on-brand: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}


* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand-soft);
}

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

a {
  color: inherit;
}

:is(a, button, input, summary):focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--brand);
  border-radius: var(--radius-sm);
}

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  text-wrap: balance;
}

p {
  margin: 0;
}

/* ── Botões ────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 18px;
  background: var(--surface);
  color: var(--text);
  font: 500 15px var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease);
}

.button:hover {
  background: var(--sunken);
}

.button:active {
  transform: scale(.98);
}

.button.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.button.primary:hover {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
}

.button.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.link-quiet {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.link-quiet:hover {
  color: var(--text);
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 2px 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 500;
}

/* ── Cabeçalho ─────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: border-color .2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(1160px, calc(100% - 48px));
  height: 64px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand-mark {
  width: 32px;
  height: auto;
}

.mark-white {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}

.nav a:hover {
  background: var(--sunken);
  color: var(--text);
}

.nav .nav-login {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--text);
  transition: transform .2s var(--ease);
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ── Hero ──────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 64px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 112px;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.lede {
  max-width: 54ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-facts li,
.assurances li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-facts svg,
.assurances svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
}

/* ── Ilustração do topo: MacBook com o painel do Scale ─────────────── */

.scene {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 600 / 520;
  margin-left: auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 18%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #f5faf6 0%, #eaf5ee 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  container-type: inline-size;
}

.waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  fill: none;
  stroke: color-mix(in srgb, var(--brand) 22%, transparent);
  stroke-width: 1.5;
}

.waves .trail {
  stroke: color-mix(in srgb, var(--brand) 60%, transparent);
  stroke-width: 2;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
}

.glow {
  position: absolute;
  right: 8%;
  bottom: -6%;
  left: 8%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 30%, transparent), transparent);
  filter: blur(18px);
}

/* MacBook (o mesmo da arte original, com a marca do Scale no menu) */
.mac {
  position: absolute;
  top: 21%;
  left: 9%;
  width: 82%;
  z-index: 1;
}

.mac::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -3.5%;
  left: 4%;
  z-index: -1;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(23, 26, 24, .32), transparent);
  filter: blur(6px);
}

.mac picture {
  display: block;
}

.mac-img {
  display: block;
  width: 100%;
  height: auto;
}

.mac-logo {
  position: absolute;
  top: 8.4%;
  left: 13%;
  display: grid;
  place-items: center;
  width: 4%;
  aspect-ratio: 1;
  border-radius: 22%;
  background: #1fb865;
}

.mac-logo img {
  width: 72%;
  height: auto;
}

/* Conversa de verdade por cima da coluna do meio da tela */
.mac-dim {
  position: absolute;
  top: 4.8%;
  left: 11.7%;
  width: 75.9%;
  height: 81%;
  border-radius: .4cqw;
  background: #fbfbfa;
  opacity: 0;
  pointer-events: none;
}

.mac-chat {
  position: absolute;
  top: 16.1%;
  left: 39.36%;
  display: flex;
  flex-direction: column;
  width: 26.06%;
  height: 66.1%;
  border-radius: .7em;
  background: #ffffff;
  box-shadow: 0 0 0 1px #ecedeb;
  color: #171a18;
  font-size: 1cqw;
  overflow: hidden;
}

.mc-head {
  display: flex;
  align-items: center;
  gap: .6em;
  border-bottom: 1px solid #ecedeb;
  padding: .75em .9em;
}

.mc-head b {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: #dff3e6;
  color: #0d6f39;
  font-size: 1em;
  font-weight: 600;
}

.mc-avatar {
  flex: none;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
}

.mc-head span {
  display: grid;
  min-width: 0;
}

.mc-head strong {
  font-size: .9em;
  font-weight: 600;
  line-height: 1.2;
}

.mc-head small {
  color: #656a66;
  font-size: .68em;
  line-height: 1.2;
}

.mc-pill {
  margin-left: auto;
  border-radius: 999px;
  padding: .32em .89em;
  background: #edf5ef;
  color: #0d6f39;
  font-size: .62em;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
}

.mc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: .5em;
  min-height: 0;
  padding: .8em .9em;
  background: #fbfbfa;
}

.mc {
  max-width: 84%;
  margin: 0;
  border-radius: 1em;
  padding: .625em .875em;
  font-size: .8em;
  line-height: 1.38;
  transition: opacity .45s var(--ease), translate .45s var(--ease);
}

.mc.in {
  align-self: flex-start;
  border-bottom-left-radius: .25em;
  background: #ffffff;
  box-shadow: 0 0 0 1px #ecedeb;
}

.mc.out {
  align-self: flex-end;
  border-bottom-right-radius: .25em;
  background: #16834a;
  color: #ffffff;
}

.chat-live .mc:not(.is-shown) {
  opacity: 0;
  translate: 0 1em;
}

.mc-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: .97em 1.25em 1.25em;
  border: 1px solid #ecedeb;
  border-radius: 999px;
  padding: .625em .625em .625em 1.25em;
  color: #8b908c;
  font-size: .72em;
}

.mc-compose i {
  width: 2.22em;
  height: 2.22em;
  border-radius: 50%;
  background: #16834a;
}

/* Rolagem em cena: começa dentro da conversa e a câmera se afasta */
.mac-chat.is-stage {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  box-shadow: 0 0 0 1px #ecedeb, 0 24px 60px -30px rgba(23, 26, 24, .35);
  transform-origin: 0 0;
  pointer-events: none;
  will-change: transform;
}

.is-story.is-story-done .mac-chat.is-stage {
  display: none;
}
.story-veil,
.scroll-hint {
  display: none;
}

.is-story .hero {
  align-items: start;
}

.is-story.is-story-done .hero {
  align-items: center;
}

.is-story.is-story-done .hero-visual::after,
.is-story.is-story-done .story-veil,
.is-story.is-story-done .scroll-hint {
  display: none;
}

.is-story.is-story-done .scene,
.is-story.is-story-done .hero-copy {
  position: relative;
  top: auto;
  margin-bottom: 0;
  opacity: 1;
  translate: none;
}

/* Espaço de rolagem enquanto a cena fica presa na tela */
.is-story .hero-visual::after {
  content: "";
  display: block;
  height: 150svh;
}

.is-story .scene {
  position: sticky;
  top: var(--scene-top, 80px);
  z-index: 6;
  transform-origin: 0 0;
}

.is-story .hero-copy {
  position: sticky;
  top: var(--copy-top, 120px);
  margin-bottom: var(--copy-mb, 0px);
  opacity: var(--copy, 1);
  translate: 0 calc((1 - var(--copy, 1)) * 28px);
}

.is-story .story-veil {
  position: fixed;
  inset: 0;
  z-index: 7;
  display: block;
  background: var(--bg);
  opacity: var(--veil, 0);
  pointer-events: none;
}

.is-story .scroll-hint {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  box-shadow: 0 8px 24px -12px rgba(23, 26, 24, .3);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  opacity: var(--hint, 0);
  translate: -50% calc((1 - var(--hint, 0)) * 10px);
  pointer-events: none;
}

.scroll-hint i {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
  translate: 0 -2px;
  animation: hint-bob 1.4s ease-in-out infinite;
}

.is-story .fc {
  animation: fc-float calc(5s + var(--d) * .7s) ease-in-out infinite;
  animation-delay: calc(var(--d) * .15s);
}

.is-story .waves .trail {
  opacity: var(--trail, 1);
}

/* Cartões flutuando em volta do notebook */
.fc {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: .5cqw;
  border: 1px solid var(--line);
  border-radius: 1.8cqw;
  padding: 1.7cqw 2cqw;
  background: var(--surface);
  box-shadow: 0 2.4cqw 4.4cqw -2.2cqw rgba(23, 26, 24, .32);
  rotate: var(--r, 0deg);
}

.fc strong {
  font-size: 2.15cqw;
  font-weight: 600;
  line-height: 1.25;
}

.fc small {
  color: var(--muted);
  font-size: 1.75cqw;
  font-weight: 500;
  line-height: 1.3;
}

.fc-funnel {
  top: 4%;
  left: -2%;
  width: 21%;
}

.funnel {
  display: grid;
  justify-items: center;
  gap: .45cqw;
  margin-top: .6cqw;
}

.funnel i {
  display: block;
  height: 1.8cqw;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
}

.funnel i:nth-child(1) { width: 100%; background: #16834a; }
.funnel i:nth-child(2) { width: 82%; background: #2ea35f; }
.funnel i:nth-child(3) { width: 64%; background: #5cc286; }
.funnel i:nth-child(4) { width: 46%; background: #9ddbb5; }

.fc-donut {
  top: 49%;
  left: -4%;
  width: 24%;
}

.donut-row {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  margin-top: .4cqw;
}

.donut {
  flex: none;
  width: 7.4cqw;
  height: 7.4cqw;
  border-radius: 50%;
  background: conic-gradient(#16834a 0 46%, #5cc286 46% 74%, #c4ead3 74% 100%);
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
  mask: radial-gradient(circle, transparent 52%, #000 53%);
}

.donut-row ul {
  display: grid;
  gap: .5cqw;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1.6cqw;
}

.donut-row li {
  display: flex;
  align-items: center;
  gap: .6cqw;
}

.donut-row li i {
  width: 1.1cqw;
  height: 1.1cqw;
  border-radius: 50%;
}

.donut-row .c1 { background: #16834a; }
.donut-row .c2 { background: #5cc286; }
.donut-row .c3 { background: #c4ead3; }

.fc-bot {
  top: 4%;
  right: 4%;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.4cqw;
}

.fc-bot > div {
  display: grid;
  gap: .2cqw;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 4.6cqw;
  height: 4.6cqw;
  border-radius: 50%;
  background: var(--brand-soft);
}

.fc-icon svg {
  width: 2.5cqw;
  height: 2.5cqw;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-team {
  top: 41%;
  right: -3%;
  width: 21%;
}

.team-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1cqw;
  margin-top: .4cqw;
}

.team-row b {
  display: grid;
  place-items: center;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  background: #dff3e6;
  color: #0d6f39;
  font-size: 1.2cqw;
  font-weight: 600;
}

.team-row em {
  display: block;
  height: .75cqw;
  border-radius: 1cqw;
  background: #d9dbd7;
}

.dot {
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: #16834a;
}

.dot.warn {
  background: #d9a514;
}

.fc-campaign {
  bottom: 3%;
  left: 5%;
  width: 30%;
}

.fc-bar {
  height: 1cqw;
  margin-top: .8cqw;
  border-radius: 999px;
  background: var(--sunken);
  overflow: hidden;
}

.fc-bar span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.rocket {
  position: absolute;
  right: 5%;
  bottom: 3%;
  z-index: 3;
  width: 13%;
  filter: drop-shadow(0 1.6cqw 1.8cqw rgba(13, 111, 57, .3));
}

/* O "S" do logo em camadas: a letra, o rastro e o foguete que desenha o rastro */
.rocket img {
  display: block;
  width: 100%;
  height: auto;
}

.rocket .md-trail,
.rocket .md-head {
  position: absolute;
  inset: 0;
}

.rocket .md-s {
  opacity: var(--md-s, 1);
  scale: calc(.9 + var(--md-s, 1) * .1);
}

.rocket .md-trail {
  clip-path: polygon(0% 100%, 0% calc(100% - var(--md-k, 140) * 1%), calc(var(--md-k, 140) * 1%) 100%);
}

.rocket .md-head {
  opacity: var(--md-head, 1);
  translate: calc(var(--md-hx, 0) * 1%) calc(var(--md-hy, 0) * 1%);
}

/* Movimento: cada cartão flutua no próprio ritmo, o foguete sobe e desce. */
@media (prefers-reduced-motion: no-preference) {
  .fc {
    animation:
      fc-in .8s var(--ease) both,
      fc-float calc(5s + var(--d) * .7s) ease-in-out infinite;
    animation-delay: calc(var(--d) * .15s + .2s), calc(var(--d) * .15s + 1s);
  }

  .rocket {
    animation: rocket-float 4.5s ease-in-out infinite;
  }

  .waves .trail {
    animation: trail-run 1.8s linear infinite;
  }
}

@keyframes fc-in {
  from { opacity: 0; translate: 0 12px; scale: .96; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes fc-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes rocket-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 5px -10px; rotate: -4deg; }
}

@keyframes hint-bob {
  50% { translate: 0 2px; }
}

@keyframes trail-run {
  to { stroke-dashoffset: -40; }
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* Telefone (topo e simulador) */
.phone {
  position: relative;
  width: min(100%, 360px);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 10px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(23, 26, 24, .04), 0 24px 60px -24px rgba(23, 26, 24, .22);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 10px 12px;
}

.phone-head strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.phone-head small {
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 14px;
  font-weight: 600;
}

.phone-body {
  display: grid;
  gap: 8px;
  min-height: 430px;
  align-content: start;
  border-radius: 18px;
  margin-top: 8px;
  padding: 14px 12px;
  background: var(--sunken);
}

.msg,
.bubble {
  max-width: 82%;
  border-radius: 14px;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
}

.msg.bot,
.bubble.bot {
  justify-self: start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  background: var(--surface);
}

.msg.user,
.bubble.user {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--bubble-user);
}

.msg.system {
  justify-self: center;
  max-width: none;
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 500;
}

.msg-link {
  display: block;
  margin-top: 8px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
  color: var(--brand-ink);
  font-weight: 500;
  text-align: center;
}

/* A conversa do topo aparece mensagem por mensagem, como no celular. */
@media (prefers-reduced-motion: no-preference) {
  .hero .msg {
    animation: msg-in .5s var(--ease) both;
    animation-delay: calc(var(--d) * .7s + .3s);
  }
}

/* ── Seções ────────────────────────────────────────────────────────── */

.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 104px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

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

.section-head h2,
.simulator-copy h2,
.cta-section h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.section-head p,
.simulator-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

/* Como funciona */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: var(--surface);
  list-style: none;
  overflow: hidden;
}

.steps li {
  border-right: 1px solid var(--line);
  padding: 32px 28px 36px;
}

.steps li:last-child {
  border-right: 0;
}

.step-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font: 500 13px var(--mono);
}

.steps h3,
.feature h3,
.soon h3 {
  font-size: 17px;
  letter-spacing: -.01em;
}

.steps p,
.feature p,
.soon p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* Simulador */
.simulator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  align-items: center;
  gap: 80px;
}

.simulator-form {
  margin-top: 32px;
}

.simulator-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.input-row {
  display: flex;
  gap: 8px;
  max-width: 460px;
}

.input-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
  font: 400 15px var(--font);
  caret-color: var(--brand);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.input-row input::placeholder {
  color: var(--muted);
}

.input-row input:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.quick-replies {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.quick-replies button {
  min-width: 44px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
  font: 500 14px var(--mono);
  cursor: pointer;
  transition: background-color .15s var(--ease), transform .1s var(--ease);
}

.quick-replies button:hover {
  background: var(--sunken);
}

.quick-replies button:active {
  transform: scale(.96);
}

.chat-window {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 400px;
  margin-top: 8px;
  border-radius: 18px 18px 0 0;
  padding: 14px 12px;
  background: var(--sunken);
  overflow-y: auto;
  scrollbar-width: thin;
}

.chat-window .bubble.bot { align-self: flex-start; }
.chat-window .bubble.user { align-self: flex-end; }

.chat-window .day {
  align-self: center;
  border-radius: 999px;
  padding: 2px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

@media (prefers-reduced-motion: no-preference) {
  .bubble.is-new {
    animation: msg-in .35s var(--ease) both;
  }
}

.phone-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 18px 18px;
  padding: 8px 8px 8px 14px;
  background: var(--sunken);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.phone-input button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
}

.phone-input svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--on-brand);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

/* Recursos */
.features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

/* 1 destaque + 3 + 2: cinco cartões sem deixar buraco na grade */
.feature {
  grid-column: span 2;
}

.feature:nth-child(n + 5) {
  grid-column: span 3;
}

.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
}

.feature-main {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
  padding: 36px;
}

.feature-main h3 {
  font-size: 22px;
  letter-spacing: -.02em;
}

.feature-main p {
  max-width: 44ch;
  font-size: 16px;
}

.menu-editor {
  display: grid;
  gap: 8px;
  border-radius: var(--radius);
  padding: 16px;
  background: var(--sunken);
}

.me-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface);
  font-size: 14px;
}

.me-row b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font: 500 13px var(--mono);
}

.me-row em {
  color: var(--muted);
  font: 400 12px var(--mono);
  font-style: normal;
}

.me-add {
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 14px;
}

.soon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.soon-item {
  display: grid;
  gap: 4px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.soon-item .tag {
  margin-bottom: 8px;
  background: var(--sunken);
  color: var(--muted);
}

/* Setores */
.sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sectors li {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.sectors strong {
  font-size: 16px;
  font-weight: 600;
}

.sectors span {
  color: var(--muted);
  font: 400 14px var(--mono);
}

/* Proteção do número */
.assurances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assurances li {
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.assurances li svg {
  margin-top: 4px;
}

.assurances strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.assurances span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

/* Planos */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  background: var(--surface);
}

.plan.featured {
  border-color: var(--text);
  box-shadow: 0 24px 60px -32px rgba(23, 26, 24, .3);
}

.plan .tag {
  position: absolute;
  top: 16px;
  right: 16px;
}

.plan h3 {
  font-size: 18px;
}

.plan > p {
  min-height: 3.2em;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 24px 0;
}

.price strong {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.price span {
  color: var(--muted);
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  border-top: 1px solid var(--line-soft);
  padding: 24px 0 0;
  list-style: none;
  font-size: 15px;
}

.plan li {
  position: relative;
  padding-left: 22px;
}

.plan li::before {
  position: absolute;
  top: .55em;
  left: 2px;
  width: 9px;
  height: 5px;
  border-bottom: 1.6px solid var(--brand);
  border-left: 1.6px solid var(--brand);
  transform: rotate(-45deg);
  content: "";
}

.plan .button {
  margin-top: auto;
}

/* Dúvidas */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
}

.faq .section-head {
  margin: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: none;
  color: var(--faint);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 60ch;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

/* Chamada final */
.cta-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 88px 24px;
  background: var(--surface);
  text-align: center;
}

.cta-section p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.cta-section .hero-actions {
  justify-content: center;
}

/* Rodapé */
.footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer .brand-mark {
  width: 26px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

.footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer nav a:hover {
  color: var(--text);
}

/* ── Telas menores ─────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding: 56px 0 88px;
  }

  .scene {
    margin: 0 auto;
  }

  .is-story .hero-visual {
    order: -1;
  }

  .is-story .hero-copy {
    position: static;
    margin-bottom: 0;
    opacity: 1;
    translate: none;
  }

  .simulator {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  /* No celular a conversa fica entre o texto e o campo, como num app de
     mensagens: a resposta aparece logo acima de onde a pessoa digita. */
  .simulator-copy {
    display: contents;
  }

  .simulator-copy h2 { order: 1; }
  .simulator-copy p { order: 2; }

  .simulator .phone-sim {
    order: 3;
    width: 100%;
    max-width: 420px;
    margin: 28px auto 0;
  }

  .simulator .chat-window {
    height: 340px;
  }

  .simulator-form {
    order: 4;
    margin-top: 20px;
  }

  .quick-replies {
    order: 5;
  }

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

  .feature,
  .feature:nth-child(n + 5) {
    grid-column: span 1;
  }

  .feature:last-child {
    grid-column: 1 / -1;
  }

  .feature-main {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin: 0 auto;
  }

  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: calc(100% - 32px);
    gap: 12px;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    background: var(--bg);
  }

  .nav a {
    padding: 12px 10px;
    font-size: 16px;
  }

  .nav .nav-login {
    display: block;
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .header-actions .link-quiet {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .section,
  .cta-section,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 40px 0 72px;
  }

  .lede {
    font-size: 17px;
  }

  .hero-actions .button {
    flex: 1;
  }

  .phone-body {
    min-height: 380px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .steps,
  .features,
  .soon,
  .sectors,
  .assurances {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px;
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .feature,
  .feature:nth-child(n + 5),
  .feature:last-child,
  .feature-main {
    grid-column: auto;
  }

  .feature-main {
    padding: 24px;
  }

  .feature {
    padding: 24px;
  }

  .cta-section {
    padding: 56px 20px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer nav {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .header-actions .button.small {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ── Barra de leitura com o foguete na ponta ───────────────────────── */
.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}

/* Enquanto a cena do MacBook roda, a barra fica escondida */
.is-story:not(.is-story-done) .scroll-progress {
  opacity: 0;
}

.sp-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 35%, transparent), var(--brand));
  transform: scaleX(var(--read, 0));
  transform-origin: 0 50%;
}

.sp-rocket {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  align-items: center;
  width: 34px;
  height: 16px;
  margin: -8px 0 0;
  translate: var(--read-x, 0px) 0;
  opacity: var(--read-on, 0);
  transition: opacity .25s linear;
}

.sp-rocket img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 .6px rgba(13, 60, 30, .9)) drop-shadow(0 2px 3px rgba(13, 111, 57, .35));
}


/* ── Botão flutuante: WhatsApp no caminho, "voltar ao topo" no fim ── */
.rocket-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  translate: 0 16px;
  pointer-events: none;
  transition: opacity .3s var(--ease), translate .3s var(--ease);
}

.rocket-fab.is-shown {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.fab-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary, #171a18);
  box-shadow: 0 10px 28px -10px rgba(23, 26, 24, .55);
  overflow: hidden;
  transition: scale .2s var(--ease), background-color .2s var(--ease);
}

.rocket-fab:hover .fab-icon {
  scale: 1.06;
}

.rocket-fab:active .fab-icon {
  scale: .96;
}

.rocket-fab:focus-visible {
  outline: none;
}

.rocket-fab:focus-visible .fab-icon {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--brand);
}

.fab-icon img {
  position: relative;
  z-index: 1;
  width: 30px;
  height: auto;
  transition: rotate .4s var(--ease), translate .6s cubic-bezier(.55, 0, .75, .2);
}

.fab-icon {
  transition: scale .3s var(--ease), opacity .3s var(--ease), background-color .2s var(--ease);
}

.rocket-fab.is-top .fab-icon {
  opacity: 0;
  scale: .4;
}

/* No fim da página o aviso fica sempre à mostra, ao lado do foguete */
.rocket-fab.is-top .fab-label {
  display: block;
  opacity: 1;
  translate: 0 0;
  animation: hint-in .4s .45s both;
}

/* Some na hora do clique, antes do foguete sair */
.rocket-fab.is-launching .fab-label {
  display: none;
}

@keyframes hint-in {
  from { opacity: 0; translate: 8px 0; }
}

.fab-rocket {
  position: absolute;
  right: 6px;
  bottom: 4px;
  transform-origin: 50% 100%;
  width: 44px;
  height: 48px;
  opacity: 0;
  scale: .5;
  pointer-events: none;
  transition: opacity .3s var(--ease), scale .35s var(--ease);
}

.rocket-fab.is-top .fab-rocket {
  opacity: 1;
  scale: 1;
  animation: boing .9s both;
}

/* Entrada com mola: estica, encolhe e assenta (boing, oing, oing) */
@keyframes boing {
  0% { scale: .3 .3; opacity: 0; animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  28% { scale: .82 1.28; opacity: 1; }
  44% { scale: 1.18 .84; }
  60% { scale: .92 1.1; }
  74% { scale: 1.06 .95; }
  88% { scale: .98 1.02; }
  100% { scale: 1 1; opacity: 1; }
}

.rocket-fab.is-top:hover .fab-rocket {
  scale: 1.08;
}

.fab-rocket img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: auto;
  margin: -24px 0 0 -11px;
  filter: drop-shadow(0 0 .6px rgba(13, 60, 30, .9)) drop-shadow(0 6px 10px rgba(13, 111, 57, .35));
}

/* Chama do lançamento, embaixo do foguete */
.fab-rocket i {
  position: absolute;
  top: 92%;
  left: 50%;
  width: 8px;
  height: 22px;
  margin-left: -4px;
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  background: radial-gradient(circle at 50% 25%, #ffffff, #7fe0a6 45%, transparent 72%);
  opacity: var(--lift-flame, 0);
  animation: flicker .1s steps(2) infinite alternate;
}

.rocket-fab.is-top .fab-rocket {
  pointer-events: auto;
}


.fab-label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--surface);
  box-shadow: 0 8px 24px -14px rgba(23, 26, 24, .35);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  translate: 8px 0;
  transition: opacity .2s var(--ease), translate .2s var(--ease);
}

.rocket-fab:hover .fab-label,
.rocket-fab:focus-visible .fab-label {
  opacity: 1;
  translate: 0 0;
}

@keyframes flicker {
  to { scale: .8 1.15; }
}

@media (hover: none) {
  .rocket-fab:not(.is-top) .fab-label {
    display: none;
  }
}

@media (max-width: 760px) {
  .rocket-fab {
    right: 16px;
    bottom: 16px;
  }

  /* Espaço para o botão do canto não cobrir os links do rodapé */
  .footer {
    padding-bottom: 72px;
  }

  .fab-icon {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab-rocket i {
    display: none;
  }

  .rocket-fab.is-top .fab-rocket {
    animation: none;
  }
}

/* ── Quem já usa: Grupo Nakasa ─────────────────────────────────────── */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px 64px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  background: var(--surface);
}

.proof-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.proof-brand img {
  flex: none;
  width: 72px;
  height: 72px;
}

.proof-kicker {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.proof h2 {
  margin-top: 2px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.proof-lede {
  align-self: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.proof-marcas {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-marcas li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
}

.proof-numeros {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
}

.proof-numeros div {
  padding: 24px 24px 0 0;
}

.proof-numeros div + div {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.proof-numeros dt {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.proof-numeros dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .proof {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px;
  }

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

  .proof-numeros div,
  .proof-numeros div + div {
    border-left: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 18px 0;
  }

  .proof-numeros div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
