/* Cianna · website — branco e coral, cards no estilo Visor, órbita com toque Space. */
@font-face { font-family: "Fustat"; src: url("../fonte/base/fonts/fustat.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonte/base/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonte/base/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #23272a; --ink-950: #16191b; --text-2: #60646a; --muted: #8a8f95;
  --page: #f5f7fa; --subtle: #f1f3f5; --line: #e5e7eb; --line-soft: #eef0f3; --border: #d0d4d9;
  --coral: #ff7759; --coral-hover: #ff8d72; --coral-soft: #fff3f0; --coral-display: #f25a38;
  --green: #2e8f20; --green-soft: #e6f6e2;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --sh-xs: 0 1px 2px rgb(35 39 42 / 6%);
  --sh-card: 0 1px 2px rgb(35 39 42 / 5%), 0 10px 24px -6px rgb(35 39 42 / 10%), 0 34px 70px -18px rgb(35 39 42 / 18%);
  --sh-float: 0 2px 4px rgb(35 39 42 / 6%), 0 18px 40px -8px rgb(35 39 42 / 16%), 0 40px 80px -30px rgb(35 39 42 / 20%);
  --f-display: "Fustat", system-ui, sans-serif; --f-body: "Inter", system-ui, sans-serif; --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --star: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="65.8 26.4 45.6 47.2"><path fill="%23FF7759" d="M88.6 26.4C91.79 38.2 100 46.7 111.4 50 100 53.3 91.79 61.8 88.6 73.6 85.41 61.8 77.2 53.3 65.8 50 77.2 46.7 85.41 38.2 88.6 26.4Z"/></svg>');
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; background: #fff; }
/* Desktop (mouse/trackpad): sem elástico branco ao puxar. No toque, o puxar para atualizar continua. */
@media (hover: hover) and (pointer: fine) { html, body { overscroll-behavior-y: none; } }
section[id] { scroll-margin-top: 24px; }
body { font-family: var(--f-body); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--coral-display); }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.icon svg, [data-icon] svg { width: 100%; height: 100%; display: block; }

/* ---------- Tipografia e botões ---------- */
.eyebrow { font: 600 13px/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 20px; }
.section-title { font: 600 clamp(36px, 4.4vw, 56px)/1.04 var(--f-display); letter-spacing: -0.03em; max-width: 17ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; font: 500 15px/1 var(--f-body); white-space: nowrap; transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.btn--lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn--primary { background: var(--coral); color: var(--ink-950); box-shadow: 0 8px 20px -8px rgb(255 119 89 / 70%); }
.btn--primary:hover { background: var(--coral-hover); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); background: #fff; }
.btn--ghost:hover { background: var(--subtle); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #33383c; transform: translateY(-1px); }
.btn--on-coral { background: rgb(255 255 255 / 92%); color: var(--ink); }
.btn--on-coral:hover { background: #fff; }
.btn__arrow { display: inline-block; transition: transform 300ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:focus-visible, .nav a:focus-visible { outline: 3px solid rgb(255 119 89 / 55%); outline-offset: 2px; }

/* ---------- Navegação: pílula translúcida sobre o topo do hero; não acompanha o scroll ---------- */
/* --rim + --bar-gap é o recuo da pílula até o topo e as bordas da janela. */
:root { --rim: 16px; --bar-gap: 16px; --bar-h: 72px; }
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding-top: calc(var(--rim) + var(--bar-gap)); background: transparent; pointer-events: none; }
.nav__inner { position: relative; z-index: 1; width: min(1240px, 100% - 2 * (var(--rim) + var(--bar-gap))); height: var(--bar-h); margin-inline: auto; padding: 0 12px 0 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 24px; pointer-events: auto;
  border-radius: 999px; background: rgb(255 255 255 / 64%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 90%), 0 1px 2px rgb(35 39 42 / 4%), 0 16px 40px -24px rgb(242 90 56 / 35%);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.nav__brand { justify-self: start; }
.nav__brand img { width: 124px; height: 44px; margin-left: -12px; }
.nav__brand-symbol { display: none; }
/* Seções logo depois da marca; o botão de acesso fecha a pílula à direita. */
.nav__bar { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { position: relative; padding: 6px 0; font: 500 16px/1 var(--f-body); color: var(--ink); transition: color 250ms var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--coral); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 400ms var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav__cta { height: 46px; padding: 0 18px 0 22px; border-radius: 999px; font-size: 16px; }
.nav__cta-icon { width: 18px; height: 18px; margin-left: -2px; transition: transform 300ms var(--ease); }
.nav__cta:hover .nav__cta-icon { transform: translateX(3px); }
.nav__menu { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 200ms var(--ease); }
.nav__menu:hover { background: rgb(35 39 42 / 6%); }
.nav__menu:focus-visible { outline: 3px solid rgb(255 119 89 / 55%); outline-offset: 2px; }
.nav__burger { position: absolute; left: 50%; top: 50%; width: 20px; height: 14px; margin: -7px 0 0 -10px; }
.nav__burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 350ms var(--ease), opacity 200ms var(--ease); }
.nav__burger i:nth-child(1) { top: 0; } .nav__burger i:nth-child(2) { top: 6px; } .nav__burger i:nth-child(3) { top: 12px; }
.nav.is-open .nav__burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger i:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__sheet { display: none; }
@media (max-width: 1023px) {
  /* Abaixo de 1024 px: logo · "Acessar sistema" · ☰ numa pílula de 60 px; as seções ficam na tela cheia. */
  :root { --rim: 12px; --bar-gap: 10px; --bar-h: 60px; }
  .nav__inner { display: flex; gap: 8px; padding: 0 6px 0 18px; }
  .nav__links { display: none; }
  .nav__bar { display: contents; }
  .nav__actions { margin-left: auto; gap: 2px; }
  .nav__cta { height: 44px; padding: 0 16px; font-size: 14.5px; }
  .nav__menu { display: block; order: 9; width: 44px; height: 44px; }
  /* Com o menu aberto a barra sobe para o topo da tela, para o ✕ ficar sempre à mão. */
  .nav.is-open { position: fixed; top: 0; left: 0; right: 0; }
  .nav__sheet { display: flex; position: fixed; inset: 0; z-index: 0; pointer-events: auto; flex-direction: column; justify-content: space-between; padding: 84px 24px 32px; background: #fff; visibility: hidden; opacity: 0; transition: opacity 300ms var(--ease), visibility 0s linear 300ms; }
  .nav.is-open .nav__sheet { visibility: visible; opacity: 1; transition: opacity 300ms var(--ease); }
  .nav__sheet nav { display: flex; flex-direction: column; }
  .nav__sheet nav a { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 600 38px/1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); }
  .nav__sheet nav a i { font: 500 13px/1 var(--f-mono); font-style: normal; color: var(--coral-display); }
  .nav.is-open .nav__sheet nav a { opacity: 1; transform: none; }
  .nav.is-open .nav__sheet nav a:nth-child(2) { transition-delay: 60ms; } .nav.is-open .nav__sheet nav a:nth-child(3) { transition-delay: 120ms; } .nav.is-open .nav__sheet nav a:nth-child(4) { transition-delay: 180ms; }
  .nav__sheet-actions { display: grid; }
}
@media (max-width: 767px) {
  :root { --rim: 8px; --bar-gap: 8px; }
  .nav__inner { gap: 4px; padding: 0 4px 0 14px; }
  .nav__cta-icon { display: none; }
  .nav__cta { padding: 0 14px; font-size: 14px; }
  .nav__menu { width: 40px; }
}
/* Telas muito estreitas: só o símbolo no lugar do lockup, para caber "Acessar sistema" e o ☰. */
@media (max-width: 379px) {
  .nav__brand-lockup { display: none; }
  .nav__brand .nav__brand-symbol { display: block; width: 30px; height: 25px; margin: 0; }
  .hero__title { font-size: 42px; }
}

/* ---------- 1 · Hero: painel coral com o menu dentro e o Dashboard recortado na base ---------- */
@font-face { font-family: "Caveat"; src: url("../fonte/base/fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
/* Fundo coral de ponta a ponta; a pílula do menu (.nav, absoluta) flutua sobre o topo. A base corta o Dashboard. */
.hero { --k: 1; position: relative; isolation: isolate; padding: calc(var(--rim) + var(--bar-gap) + var(--bar-h) + 96px) 24px 0; text-align: center; overflow: clip;
  background: linear-gradient(180deg, #fff7f4 0%, #ffefe9 55%, #ffe4da 100%); }
/* Base do hero: o Dashboard e o coral se desfocam aos poucos e somem no branco da seção seguinte. */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: calc(var(--k) * 190px + 20px); pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0), #fff 94%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%); mask-image: linear-gradient(180deg, transparent, #000 55%); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(56% 44% at 50% 0%, #fff 0%, rgb(255 255 255 / 0) 72%),
    radial-gradient(46% 34% at 50% 74%, rgb(255 119 89 / 24%), rgb(255 119 89 / 0) 72%),
    radial-gradient(28% 36% at 0% 100%, rgb(255 119 89 / 14%), rgb(255 119 89 / 0) 70%),
    radial-gradient(28% 36% at 100% 100%, rgb(255 119 89 / 14%), rgb(255 119 89 / 0) 70%); }
.hero__copy { position: relative; max-width: 1000px; margin: 0 auto; }
.hero__title { font: 600 clamp(46px, 6.3vw, 86px)/0.98 var(--f-display); letter-spacing: -0.04em; max-width: 15ch; margin-inline: auto; }
/* Ponto final de "bem desenhada": a estrela da marca em coral; não quebra linha longe da palavra. */
.hero__sign { white-space: nowrap; }
.hero__star { display: inline-block; width: 0.24em; height: 0.25em; margin-left: 0.06em; vertical-align: baseline; background: var(--star) center / contain no-repeat; animation: spin-soft 8s var(--ease) infinite; }
.hero__lead { margin: 24px auto 0; max-width: 610px; font-size: 19px; line-height: 1.55; color: var(--text-2); text-wrap: balance; }
.hero__ctas { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__cta { height: 56px; padding: 0 26px 0 30px; border-radius: 999px; font-size: 17px; }

/* Recorte do Dashboard: moldura de vidro; os gráficos entram no desfoque da base do hero. O Dashboard tem largura fixa (--vis de altura visível)
   e o JS escala (--k, no .hero) para caber na moldura; sem JS fica em 1 e o lado direito é cortado. */
.shot { --vis: 540px; position: relative; width: min(1288px, 100% - 64px); margin: 104px auto 0; text-align: left; }
.shot__frame { position: relative; padding: 14px 14px 0; border-radius: 34px 34px 0 0; background: rgb(255 255 255 / 46%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 85%), 0 -24px 70px -34px rgb(242 90 56 / 38%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(48px); transition: opacity 1000ms var(--ease) 300ms, transform 1200ms var(--ease) 300ms; }
.is-loaded .shot__frame { opacity: 1; transform: none; }
.shot__fit { height: calc(var(--k) * var(--vis)); overflow: hidden; border-radius: 22px 22px 0 0; box-shadow: 0 0 0 1px rgb(35 39 42 / 6%); }
/* Anotação à mão: aponta do texto para o painel. */
.shot__hand { position: absolute; z-index: 2; right: 3%; bottom: calc(100% + 34px); font: 600 30px/1 "Caveat", "Bradley Hand", cursive; color: var(--ink); rotate: -6deg; opacity: 0; translate: 0 8px; transition: opacity 700ms var(--ease) 1600ms, translate 700ms var(--ease) 1600ms; }
.shot__arrow { position: absolute; z-index: 2; right: calc(3% + 190px); bottom: calc(100% - 26px); width: 66px; height: 70px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 700ms var(--ease) 1800ms; }
.is-loaded .shot__hand, .is-loaded .shot__arrow { opacity: 1; translate: none; }

/* Dashboard (Approved v1 do cianna-frontend) em medidas de 1260 px. Cores do produto: tinta #1F4747, "R$" e centavos #5F7089. */
.dash { --d-ink: #1f4747; --d-crumb: #5f7089; --d-text: #1a1a1a; --d-sec: #60646a; --d-div: #e5e7eb; --d-ok: #2e8f20; --d-bad: #d8402a;
  width: 1260px; display: flex; background: var(--page); font-family: var(--f-display); color: var(--d-text); transform: scale(var(--k)); transform-origin: 0 0; }
.dash svg { display: block; }
.dash__ico { display: block; width: 20px; height: 20px; flex-shrink: 0; color: var(--d-ink); }
svg.dash__ico, .dash__info, .dash__trend svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dash__side { width: 240px; flex-shrink: 0; display: flex; flex-direction: column; padding: 14px 10px 0; background: #fff; }
.dash__brand { display: flex; align-items: center; justify-content: space-between; height: 44px; padding-right: 6px; }
.dash__brand img { width: 124px; height: 44px; margin-left: -8px; }
.dash__brand .dash__ico { width: 24px; height: 24px; }
.dash__org { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--d-div); }
.dash__org-pic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--subtle); }
.dash__org-name { flex: 1; min-width: 0; font: 600 15px/1.25 var(--f-display); }
.dash__ico--sm { width: 18px; height: 18px; }
.dash__nav { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.dash__item { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 10px; border-radius: 12px; font: 500 16px/1.25 var(--f-display); color: rgb(26 26 26 / 72%); }
.dash__item.is-on { background: var(--coral); color: var(--d-ink); font-weight: 600; }
.dash__chev { margin-left: auto; width: 18px; height: 18px; }
.dash__main { flex: 1; min-width: 0; padding: 0 24px 24px; }
.dash__top { height: 72px; display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.dash__menu { display: none; }
.dash__crumb { display: flex; align-items: center; gap: 10px; font: 500 18px/1 var(--f-display); color: var(--d-ink); }
.dash__bell { position: relative; display: block; margin-left: auto; }
.dash__bell .dash__ico { width: 24px; height: 24px; }
.dash__bell i { position: absolute; top: -1px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--page); }
.dash__card { display: flex; flex-direction: column; gap: 24px; padding: 24px; border-radius: 32px; background: #fff; }
.dash__seg span { flex-shrink: 0; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--d-div); font: 500 14px/1 var(--f-display); color: var(--d-sec); white-space: nowrap; }
.dash__seg .is-on { background: var(--coral-soft); box-shadow: inset 0 0 0 1px #ffc8bb; color: #a33a22; font-weight: 600; }
.dash__highs { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); column-gap: 28px; }
.dash__vr { background: var(--d-div); }
.dash__high { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.dash__high h3 { display: flex; align-items: center; gap: 6px; font: 500 16px/24px var(--f-display); color: var(--d-sec); }
.dash__info { width: 18px; height: 18px; }
.dash__money { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.dash__money .dash__cur, .dash__money b { font: 600 36px/44px var(--f-body); letter-spacing: -0.035em; }
.dash__cur, .dash__cents { color: var(--d-crumb); }
.dash__money b, .dash__kpi b { color: var(--d-ink); font-variant-numeric: tabular-nums; }
.dash__cents { font: 500 14px/20px var(--f-body); }
.dash__trend { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; font: 600 14px/20px var(--f-body); color: var(--d-ok); }
.dash__trend svg { width: 16px; height: 16px; stroke-width: 2; }
.dash__trend--bad { color: var(--d-bad); }
.dash__note { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--d-sec); }
.seal { --seal-in: 1200ms; width: 120px; height: 110px; flex-shrink: 0; }
.dash__kpis { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 20px; padding: 24px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--d-div); }
.dash__kpi h4 { display: flex; align-items: center; gap: 8px; font: 500 15px/20px var(--f-display); color: var(--d-sec); white-space: nowrap; }
.dash__kpi p { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.dash__kpi b, .dash__kpi .dash__cur { font: 600 24px/32px var(--f-body); }
.dash__kpi .dash__cents { font-size: 12px; line-height: 16px; }
.dash__kpi .dash__trend { margin-left: 6px; font-size: 13px; }
.dash__kpi .dash__trend svg { width: 14px; height: 14px; }
.dash__charts { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.dash__panel { min-width: 0; padding: 24px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--d-div); }
.dash__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin-bottom: 20px; }
.dash__panel h3 { display: flex; align-items: center; gap: 10px; font: 500 17px/24px var(--f-display); color: var(--d-sec); }
.dash__panel-head small { font-size: 13px; color: var(--d-sec); }
.dash__seg { display: flex; gap: 6px; }
.dash__seg span { padding: 0 14px; font-size: 13px; }
.dash__plotgrid { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 10px; }
.dash__axis { margin-top: -8px; height: 216px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; font: 400 12px/16px var(--f-body); color: var(--d-sec); white-space: nowrap; }
.dash__plot { position: relative; height: 200px; }
.dash__lines { position: absolute; inset: 0; border-bottom: 1px solid var(--d-div); background: repeating-linear-gradient(to bottom, var(--d-div) 0 1px, transparent 1px 25%); }
.dash__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dash__xaxis { grid-column: 2; margin-top: 12px; display: flex; justify-content: space-between; font: 400 12px/16px var(--f-body); color: var(--d-sec); }
.dash__bars, .dash__xaxis--bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.dash__bars { align-items: end; }
.dash__xaxis--bars { text-align: center; }
.dash__bars > i:not(.dash__lines) { position: relative; justify-self: center; width: min(52px, 68%); height: calc(var(--h) * 100%); border-radius: 8px 8px 3px 3px; background: var(--coral-hover);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(1100ms + var(--i) * 60ms); }
.is-loaded .dash__bars > i { transform: none; }
/* A linha diária se desenha da esquerda para a direita (1,8 s); a área aparece em seguida. */
.dash__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms cubic-bezier(0.65, 0, 0.35, 1) 1100ms; }
.dash__area { opacity: 0; transition: opacity 1000ms var(--ease) 1800ms; }
.is-loaded .dash__line { stroke-dashoffset: 0; }
.is-loaded .dash__area { opacity: 1; }

/* Selos dos destaques (seals.tsx + globals.css do cianna-frontend): entram uma vez, depois do painel. */
@media (prefers-reduced-motion: no-preference) {
  .is-loaded .seal :is(.seal-drop, .seal-shadow, .seal-spin, .seal-pop, .seal-badge) { transform-box: fill-box; transform-origin: center; }
  .is-loaded .seal :is(.seal-minute, .seal-hour) { transform-box: view-box; transform-origin: 140px 120px; }
  .is-loaded .seal .seal-drop { animation: seal-drop 620ms calc(var(--seal-in) + var(--seal-delay)) both; }
  .is-loaded .seal .seal-shadow { animation: seal-pop 520ms calc(var(--seal-in) + 250ms) cubic-bezier(0.22, 1, 0.36, 1) both; }
  .is-loaded .seal .seal-spin { animation: seal-spin 1600ms calc(var(--seal-in) + 380ms) both; }
  .is-loaded .seal .seal-pop { animation: seal-pop 380ms calc(var(--seal-in) + 1900ms) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .is-loaded .seal .seal-badge { animation: seal-pop 460ms var(--seal-in) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .is-loaded .seal .seal-minute { animation: seal-minute 1900ms calc(var(--seal-in) + 120ms) cubic-bezier(0.2, 0.6, 0.3, 1) both; }
  .is-loaded .seal .seal-hour { animation: seal-hour 1900ms calc(var(--seal-in) + 120ms) cubic-bezier(0.2, 0.6, 0.3, 1) both; }
  .is-loaded .seal .seal-write { stroke-dasharray: 1 1; animation: seal-write var(--seal-duration) calc(var(--seal-in) + var(--seal-delay)) cubic-bezier(0.45, 0, 0.55, 1) both; }
  .is-loaded .seal .seal-grow { transform-box: fill-box; transform-origin: left center; animation: seal-grow 360ms calc(var(--seal-in) + var(--seal-delay)) cubic-bezier(0.22, 1, 0.36, 1) both; }
}
@keyframes seal-drop {
  0% { transform: translateY(-64px); opacity: 0; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  12% { opacity: 1; }
  62% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  78% { transform: translateY(-7px); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes seal-spin {
  0% { transform: scale(0.06, 0.5); opacity: 0; animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  8% { transform: scale(1, 1); opacity: 1; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  17% { transform: scale(0.06, 1); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  26% { transform: scale(1, 1); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  38% { transform: scale(0.06, 1); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  52% { transform: scale(1, 1); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  72% { transform: scale(0.06, 1); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  100% { transform: scale(1, 1); opacity: 1; }
}
@keyframes seal-pop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes seal-minute { from { transform: rotate(-720deg); } to { transform: rotate(0); } }
@keyframes seal-hour { from { transform: rotate(-60deg); } to { transform: rotate(0); } }
@keyframes seal-write { 0% { stroke-dashoffset: 1; opacity: 0; } 2% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes seal-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.tile { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--page); color: var(--ink); flex-shrink: 0; }
.tile--ok { background: var(--green-soft); color: var(--green); }
.tile--coral { background: var(--coral-soft); color: var(--coral-display); }
.meter { display: block; width: 130px; height: 4px; margin-top: 7px; border-radius: 99px; background: var(--subtle); overflow: hidden; }
.meter > i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit; background: var(--coral); transition: width 1200ms var(--ease); }

/* ---------- 2 · Faixa ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: 600 22px/1 var(--f-display); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.marquee i { width: 14px; height: 14px; background: var(--star) center / contain no-repeat; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 3 · Órbita (scroll) ---------- */
.orbit { position: relative; height: 280vh; --p: 0; }
.orbit__sticky { position: sticky; top: 0; height: 100vh; padding-top: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.orbit__titles { position: relative; height: 70px; width: 100%; text-align: center; margin-bottom: 20px; }
.orbit__t { position: absolute; inset: 0; font: 600 clamp(32px, 4.4vw, 56px)/1.05 var(--f-display); letter-spacing: -0.03em; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.orbit__t--b { opacity: 0; transform: translateY(18px); }
.orbit.is-b .orbit__t--a { opacity: 0; transform: translateY(-18px); }
.orbit.is-b .orbit__t--b { opacity: 1; transform: none; }
.orbit__field { position: relative; width: 1100px; height: 600px; flex-shrink: 0; transform: scale(var(--fs, 1)); margin: calc((var(--fs, 1) - 1) * 300px) 0; }
.chip { position: absolute; left: 50%; top: 50%; padding: 11px 16px; border-radius: 12px; background: #fff; box-shadow: var(--sh-card), 0 0 0 1px var(--line-soft); font-size: 16px; color: #4a4f55; white-space: nowrap;
  --k: clamp(0, (var(--p) - 0.1) / 0.34, 1);
  transform: translate(calc(-50% + var(--x) * (1 - var(--k))), calc(-50% + var(--y) * (1 - var(--k)))) rotate(calc(var(--r) * (1 - var(--k)))) scale(calc(1 - var(--k) * 0.7));
  opacity: calc(1 - var(--k) * var(--k) * var(--k)); }
.core { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--sh-card), 0 0 0 1px var(--line-soft);
  --k2: clamp(0, (var(--p) - 0.26) / 0.22, 1); transform: scale(calc(0.3 + var(--k2) * 0.7)); opacity: var(--k2); }
.core img { width: 76px; height: 64px; position: relative; }
.core__glow { position: absolute; inset: -90px; border-radius: 50%; background: radial-gradient(circle, rgb(255 119 89 / 30%), rgb(255 119 89 / 0) 65%); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(0.92); opacity: 0.8; } 50% { transform: scale(1.06); opacity: 1; } }
.rings { position: absolute; inset: 0; --k3: clamp(0, (var(--p) - 0.4) / 0.25, 1); }
.ring { position: absolute; left: 50%; top: 50%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%; border: 1px solid rgb(35 39 42 / 10%);
  opacity: var(--k3); transform: scale(calc(0.6 + var(--k3) * 0.4)) rotate(calc(var(--p) * var(--turn))); animation: spinr var(--dur) linear infinite; }
.ring--1 { --d: 290px; }
.ring--2 { --d: 450px; border-style: dashed; }
.ring--3 { --d: 600px; }
.rings { --turn: 80deg; --dur: 110s; }
.node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(calc(var(--d) / 2)) rotate(calc(-1 * var(--a))); }
.node__in { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 99px; background: #fff; box-shadow: var(--sh-float), 0 0 0 1px var(--line-soft); font: 600 15px/1 var(--f-body); white-space: nowrap;
  translate: -50% -50%; transform: rotate(calc(-1 * var(--p) * var(--turn))); animation: spinr var(--dur) linear infinite reverse; }
.node__in .tile { width: 30px; height: 30px; padding: 6px; border-radius: 99px; }
@keyframes spinr { to { rotate: 360deg; } }
.orbit__lead { margin-top: 8px; max-width: 520px; text-align: center; font-size: 19px; color: var(--text-2); opacity: clamp(0, (var(--p) - 0.62) / 0.12, 1); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-soft { 0%, 70% { transform: rotate(0); } 100% { transform: rotate(180deg); } }

/* ---------- 4 · Módulos ---------- */
.modules { background: var(--page); padding: 140px 0; }
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mcard { display: flex; flex-direction: column; padding: 26px 28px 28px; border-radius: 24px; background: #fff; box-shadow: var(--sh-xs), 0 0 0 1px var(--line-soft); transition: transform 400ms var(--ease), box-shadow 400ms var(--ease), opacity 800ms var(--ease); }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--sh-card), 0 0 0 1px var(--line-soft); }
.mcard--wide { grid-column: span 2; }
.mcard header { display: flex; align-items: center; justify-content: space-between; }
.mcard h3 { margin-top: 18px; font: 600 23px/1.15 var(--f-display); letter-spacing: -0.02em; }
.mcard p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; max-width: 44ch; }
.mcard__media { margin-top: 22px; flex: 1; min-height: 200px; border-radius: 16px; background: var(--page); display: grid; place-items: center; padding: 18px; overflow: hidden; position: relative; }
.mcard__media--piece { padding: 0; aspect-ratio: 16 / 10; min-height: 0; display: block; }
.mcard__media--piece iframe { display: block; width: 100%; height: 100%; overflow: hidden; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 99px; background: var(--subtle); color: var(--text-2); font: 500 12.5px/1 var(--f-body); }
.tag--live { background: var(--green-soft); color: var(--green); }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }

.pipeline { width: 100%; container-type: inline-size; }
.pipeline__steps { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12px; color: var(--text-2); text-align: center; }
.pipeline__track { position: relative; margin: 12px 12.5%; height: 4px; border-radius: 99px; background: var(--line); }
.pipeline__track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--coral); width: 0; }
.pipeline__card { margin: 16px auto 0; width: 170px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--sh-card); position: relative; }
.pipeline__card small { display: block; font-size: 11.5px; color: var(--text-2); }
.pipeline__card b { font-size: 13.5px; font-weight: 600; }
.is-anim .pipeline__track i { animation: pipe 8s var(--ease) infinite; }
.is-anim .pipeline__card { animation: pipe-card 8s var(--ease) infinite; }
@keyframes pipe { 0%, 8% { width: 0; } 25%, 33% { width: 33.3%; } 50%, 58% { width: 66.6%; } 75%, 92% { width: 100%; } 100% { width: 0; } }
@keyframes pipe-card { 0%, 8% { translate: -38% 0; } 25%, 33% { translate: -12% 0; } 50%, 58% { translate: 12% 0; } 75%, 92% { translate: 38% 0; } 100% { translate: -38% 0; } }

.stock { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.stock__row { display: grid; grid-template-columns: 1fr 70px 30px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--sh-xs); font-size: 13px; }
.stock__row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock__row .meter { width: 100%; margin: 0; }
.stock__row b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.stock__add { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 10px; border: 1.5px dashed var(--border); color: var(--text-2); font-size: 13px; }
.stock__add span { width: 16px; height: 16px; }
.is-anim .stock__add { animation: nudge 3s var(--ease) infinite; }
@keyframes nudge { 0%, 80%, 100% { border-color: var(--border); color: var(--text-2); } 88% { border-color: var(--coral); color: var(--coral-display); } }

.fin { width: 100%; }
.fin__head small { display: block; font-size: 12.5px; color: var(--text-2); }
.fin__head b { font: 600 26px/1.1 var(--f-display); letter-spacing: -0.02em; }
.fin__bars { margin-top: 14px; height: 96px; display: flex; align-items: flex-end; gap: 10px; }
.fin__bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--coral), #ffb09e); transform-origin: 50% 100%; transform: scaleY(0); transition: transform 900ms var(--ease), height 900ms var(--ease); }
.fin__bars i:nth-child(n) { transition-delay: calc(var(--j, 0) * 70ms); }
.is-anim .fin__bars i { transform: scaleY(1); }

.nfe { width: min(240px, 100%); padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--sh-card); display: flex; flex-direction: column; gap: 6px; }
.nfe__top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-2); }
.nfe__status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--subtle); color: var(--text-2); font-weight: 500; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.nfe__spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 900ms linear infinite; }
.nfe.is-ok .nfe__status { background: var(--green-soft); color: var(--green); }
.nfe.is-ok .nfe__spin { animation: none; border: 0; width: 8px; height: 8px; background: currentColor; }
.nfe b { font: 600 24px/1.1 var(--f-display); letter-spacing: -0.02em; }
.nfe__who { font-size: 12.5px; color: var(--text-2); }

/* CRM: um cartão anda de Contato para Fechado */
/* Colunas em subgrid: as três linhas (rótulo, cartão, vaga) alinham entre as colunas. O cartão que anda
   ocupa a célula da vaga tracejada da 1ª coluna e desliza uma coluna inteira por etapa (--crm-step). */
.crm { --crm-pad: 8px; --crm-gap: 8px; container-type: inline-size; position: relative; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); gap: 6px var(--crm-gap); }
.crm__col { grid-row: 1 / 4; grid-column: 1; display: grid; grid-template-rows: subgrid; row-gap: 6px; padding: var(--crm-pad); border-radius: 12px; background: rgb(255 255 255 / 60%); }
.crm__col:nth-child(2) { grid-column: 2; } .crm__col:nth-child(3) { grid-column: 3; }
.crm__col small { font-size: 11.5px; color: var(--text-2); padding: 2px 2px 4px; }
.crm__card { display: block; padding: 8px; border-radius: 9px; background: #fff; box-shadow: var(--sh-xs); font: 500 11.5px/1.2 var(--f-body); font-style: normal; }
.crm__card--ok { box-shadow: inset 3px 0 0 var(--green), var(--sh-xs); }
.crm__card--ghost { min-height: 30px; background: transparent; box-shadow: none; border: 1.5px dashed var(--border); }
.crm__mover { --crm-step: calc(2 * var(--crm-pad) + var(--crm-gap)); position: relative; z-index: 1; grid-row: 3; grid-column: 1; margin: 0 var(--crm-pad) var(--crm-pad); padding: 8px; border-radius: 9px; background: #fff; box-shadow: var(--sh-card), inset 3px 0 0 var(--coral); font: 600 11.5px/1.2 var(--f-body); font-style: normal; }
/* Coluna estreita (≈ 68 px em 1024): menos respiro e corpo menor para os nomes caberem inteiros. */
@container (max-width: 280px) {
  .crm__col, .crm__mover { --crm-pad: 4px; }
  .crm__col small { padding: 2px 1px 3px; font-size: 10.5px; }
  .crm__card, .crm__mover { padding: 6px 4px 6px 5px; font-size: 10.5px; }
}
.is-anim .crm__mover { animation: crm 7s var(--ease) infinite; }
@keyframes crm { 0%, 12% { transform: translateX(0); } 38%, 50% { transform: translateX(calc(100% + var(--crm-step))); } 76%, 90% { transform: translateX(calc(200% + 2 * var(--crm-step))); box-shadow: var(--sh-card), inset 3px 0 0 var(--green); } 100% { transform: translateX(0); } }

/* Agenda: a semana e os compromissos que entram */
.agenda { position: relative; width: 100%; }
.agenda__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 11.5px; color: var(--text-2); text-align: center; }
.agenda__days .is-today { color: var(--coral-display); font-weight: 600; }
.agenda__grid { margin-top: 8px; height: 130px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.agenda__grid i { border-radius: 10px; background: rgb(255 255 255 / 70%); }
.agenda__grid i:nth-child(4) { background: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 119 89 / 45%); }
.agenda__slot { position: absolute; left: 0; right: 0; margin: 0 auto; width: 76%; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: var(--sh-card); display: flex; flex-direction: column; gap: 2px; opacity: 0; transform: translateY(10px) scale(0.96); }
.agenda__slot b { font-size: 12.5px; font-weight: 600; }
.agenda__slot small { font-size: 11.5px; color: var(--text-2); }
.agenda__slot--a { top: 34px; box-shadow: var(--sh-card), inset 3px 0 0 var(--ink); }
.agenda__slot--b { top: 92px; box-shadow: var(--sh-card), inset 3px 0 0 var(--coral); }
.is-anim .agenda__slot--a { animation: slot 6s var(--ease) infinite; }
.is-anim .agenda__slot--b { animation: slot 6s var(--ease) infinite 0.5s; }
@keyframes slot { 0% { opacity: 0; transform: translateY(10px) scale(0.96); } 12%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }

/* Financeiro largo */
.fin--wide { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: end; }
.fin__nums { display: flex; flex-direction: column; gap: 16px; }
.fin--wide .fin__bars { margin-top: 0; height: 150px; }

/* ---------- FAQ ---------- */
.faq { padding: 140px 0; }
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.faq__side { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.faq__side .section-title { margin-bottom: 28px; }
.eyebrow--coral { color: var(--coral-display); display: inline-flex; align-items: center; gap: 6px; }
.eyebrow__star { width: 12px; height: 12px; background: var(--star) center / contain no-repeat; }
.btn__star { width: 14px; height: 14px; background: var(--star) center / contain no-repeat; filter: brightness(0) saturate(0) opacity(.85); }
.faq__talk { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px; background: #fff; box-shadow: var(--sh-card), 0 0 0 1px var(--line-soft); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.faq__talk:hover { transform: translateY(-3px); }
.faq__talk-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--coral-soft); display: grid; place-items: center; }
.faq__talk b { display: block; font: 600 16px/1.2 var(--f-body); }
.faq__talk small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--text-2); }
.faq__talk-arrow { margin-left: 10px; color: var(--coral-display); font-size: 18px; transition: transform 300ms var(--ease); }
.faq__talk:hover .faq__talk-arrow { transform: translateX(4px); }
.faq__list { list-style: none; padding: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 28px 0; border: 0; background: none; cursor: pointer; text-align: left; font: 500 20px/1.3 var(--f-body); color: var(--ink); }
.faq__q:focus-visible { outline: 3px solid rgb(255 119 89 / 55%); outline-offset: 4px; border-radius: 8px; }
.faq__n { font: 600 14px/1 var(--f-mono); color: var(--coral-display); width: 34px; flex-shrink: 0; }
.faq__t { flex: 1; transition: color 250ms var(--ease); }
.faq__q:hover .faq__t { color: var(--coral-display); }
.faq__icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; border-radius: 2px; background: var(--coral-display); transition: transform 400ms var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 40px 28px 50px; color: var(--text-2); font-size: 16.5px; line-height: 1.6; opacity: 0; transform: translateY(-6px); transition: opacity 350ms var(--ease), transform 350ms var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: 120ms; }

/* ---------- 5 · Como funciona (propostas) ---------- */
.how { background: #fff; padding: 140px 0 80px; }
.how__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; margin-top: 24px; }
.how__steps { list-style: none; padding: 0; }
.step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.25; transition: opacity 500ms var(--ease); }
.step.is-active { opacity: 1; }
.step__n { font: 500 15px/1 var(--f-mono); color: var(--coral-display); }
.step__title { margin-top: 18px; font: 600 clamp(30px, 3.4vw, 44px)/1.06 var(--f-display); letter-spacing: -0.03em; max-width: 14ch; }
.step__text { margin-top: 16px; font-size: 18px; color: var(--text-2); max-width: 30ch; }
.step__media { display: none; }
.how__stage { position: sticky; top: calc(50vh - 280px); align-self: start; display: flex; flex-direction: column; gap: 18px; }
.how__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 12%; }
.how__bar span { height: 4px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.how__bar span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease); }
.how__bar span.is-done::after { transform: scaleX(1); }
.how__bar span.is-active::after { background: var(--coral); transform: scaleX(1); }
.how__frame { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--page); }
.how__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transform: translateY(16px) scale(0.985); transition: opacity 600ms var(--ease), transform 700ms var(--ease); pointer-events: none; }
.how__frame iframe.is-on { opacity: 1; transform: none; }
.piece { display: block; width: 100%; height: 100%; border: 0; background: transparent; }

/* ---------- 6 · Chamada final (painel coral) ---------- */
.cta { padding: 120px 0 140px; }
.cta__panel { position: relative; overflow: hidden; border-radius: 36px; background: var(--coral); padding: 96px 72px; min-height: 460px; display: flex; align-items: center; }
.cta__blinds { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 58%; display: flex; flex-direction: column; gap: 16px; }
.cta__blinds i { display: block; height: 30px; border-radius: 99px; background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / 34%)); transform-origin: 100% 50%; animation: blade 6s var(--ease) infinite; animation-delay: calc(var(--b) * -0.35s); }
.cta__blinds i:nth-child(1) { --b: 0; width: 92%; margin-left: auto; } .cta__blinds i:nth-child(2) { --b: 1; width: 84%; margin-left: auto; }
.cta__blinds i:nth-child(3) { --b: 2; width: 74%; margin-left: auto; } .cta__blinds i:nth-child(4) { --b: 3; width: 66%; margin-left: auto; }
.cta__blinds i:nth-child(5) { --b: 4; width: 66%; margin-left: auto; } .cta__blinds i:nth-child(6) { --b: 5; width: 74%; margin-left: auto; }
.cta__blinds i:nth-child(7) { --b: 6; width: 84%; margin-left: auto; } .cta__blinds i:nth-child(8) { --b: 7; width: 92%; margin-left: auto; }
@keyframes blade { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.9); opacity: 0.7; } }
.cta__star { position: absolute; right: 14%; top: 50%; width: 120px; height: 124px; margin-top: -62px; animation: breathe 6s ease-in-out infinite; }
.cta__star svg { width: 100%; height: 100%; fill: #fff; }
@keyframes breathe { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(10deg) scale(1.08); } }
.cta__copy { position: relative; max-width: 560px; }
.cta__title { font: 600 clamp(44px, 5.6vw, 76px)/1 var(--f-display); letter-spacing: -0.04em; color: var(--ink-950); }
.cta__lead { margin-top: 18px; font-size: 19px; color: rgb(22 25 27 / 78%); }
.cta__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Rodapé: colunas + CIANNA gigante cortado ---------- */
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/HankenGrotesk-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
.footer { position: relative; overflow: hidden; background: var(--page); border-top: 1px solid var(--line); padding-top: 96px; color: var(--text-2);
  background-image: linear-gradient(rgb(35 39 42 / 3.5%) 1px, transparent 1px), linear-gradient(90deg, rgb(35 39 42 / 3.5%) 1px, transparent 1px); background-size: 12px 12px; }
.footer__top { position: relative; z-index: 1; display: grid; grid-template-columns: 120px 1fr; gap: 24px; }
.footer__icon img { width: 52px; height: 52px; border-radius: 12px; box-shadow: var(--sh-card); transition: transform 400ms var(--ease); }
.footer__icon:hover img { transform: rotate(-8deg) scale(1.05); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h2 { margin-bottom: 6px; font: 500 13px/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer__col a { width: fit-content; font-size: 17px; color: var(--ink); background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0 1.5px no-repeat; transition: background-size 350ms var(--ease), color 250ms var(--ease); }
.footer__col a:hover { color: var(--coral-display); background-size: 100% 1.5px; }
.footer__bottom { position: relative; z-index: 1; display: grid; grid-template-columns: 120px 1fr; gap: 24px; margin-top: 120px; font-size: 15px; }
.footer__bottom small { font-size: 14px; color: var(--muted); }
.footer__bottom a { width: fit-content; color: var(--ink); background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0 1.5px no-repeat; transition: background-size 350ms var(--ease), color 250ms var(--ease); }
.footer__bottom a:hover { color: var(--coral-display); background-size: 100% 1.5px; }
.footer__word { position: relative; display: flex; justify-content: center; margin-top: -40px; height: 15.5vw; font: 600 25vw/0.8 "Hanken Grotesk", var(--f-display); letter-spacing: 0.02em; color: #e8ebef; user-select: none; pointer-events: none; }
.footer__word span { display: inline-block; transform: translateY(40%); opacity: 0; transition: transform 1100ms var(--ease), opacity 900ms var(--ease); transition-delay: calc(var(--i) * 70ms); }
.footer.is-in .footer__word span { transform: none; opacity: 1; }

/* ---------- Revelação no scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.mcard[data-reveal].is-in:hover { transform: translateY(-4px); }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px), (max-height: 820px) { .orbit__field { --fs: 0.82; } }
@media (max-width: 1023px) {
  /* Hero: painel mais rente à janela; o Dashboard ocupa a largura e encolhe por escala. */
  .hero { padding-top: calc(var(--rim) + var(--bar-gap) + var(--bar-h) + 72px); }
  .shot { width: 100%; margin-top: 112px; }
  .shot__frame { padding: 10px 10px 0; border-radius: 30px 30px 0 0; }
  .shot__fit { border-radius: 20px 20px 0 0; }
  .shot__hand { right: 2%; bottom: calc(100% + 22px); font-size: 26px; }
  .shot__arrow { right: calc(2% + 168px); bottom: calc(100% - 20px); width: 54px; height: 58px; }
  .how__grid { grid-template-columns: 1fr; }
  .how__stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 48px 0; }
  .step__media { display: block; margin-top: 28px; aspect-ratio: 4 / 3; border-radius: 22px; background: var(--page); overflow: hidden; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orbit__field { --fs: 0.66; }
}
@media (max-width: 767px) {
  .footer { padding-top: 64px; }
  .footer__top, .footer__bottom { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__bottom { margin-top: 64px; }
  .footer__word { margin-top: 20px; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__talk { margin-top: 32px; }
  .faq__q { font-size: 17px; padding: 22px 0; }
  .faq__a p { padding: 0 8px 22px 50px; }
  .fin--wide { grid-template-columns: 1fr; }
  .faq { padding: 96px 0; }
  .orbit { height: 240vh; }
  .orbit__field { --fs: 0.36; }
  .orbit__titles { height: 96px; padding: 0 20px; }
  .orbit__t { padding: 0 20px; }
  .orbit__lead { padding: 0 24px; font-size: 17px; }
  .modules, .how { padding: 96px 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .mcard--wide { grid-column: auto; }
  .cta { padding: 72px 0 96px; }
  .cta__panel { padding: 56px 28px 220px; border-radius: 28px; }
  .cta__blinds { top: auto; bottom: 40px; transform: none; width: 90%; }
  .cta__star { top: auto; bottom: 70px; right: 12%; width: 80px; height: 84px; }
}

/* ---------- Celular (Paper · Proposta v1 · Website · Mobile) ---------- */
@media (max-width: 767px) {
  .section-title { font-size: 38px; line-height: 40px; }
  /* Hero: painel a 8 px da janela; o Dashboard vira o layout de celular do produto (390 px, sem sidebar). */
  .hero { padding: calc(var(--rim) + var(--bar-gap) + var(--bar-h) + 52px) 16px 0; }
  .hero__title { font-size: 44px; line-height: 1; }
  .hero__star { margin-left: 0.05em; }
  .hero__lead { margin-top: 20px; font-size: 17px; line-height: 26px; }
  .hero__ctas { flex-direction: column; gap: 10px; margin-top: 28px; }
  .hero__ctas .btn { width: 100%; }
  .shot { --vis: 500px; margin-top: 84px; }
  .shot__frame { padding: 8px 8px 0; border-radius: 24px 24px 0 0; }
  .shot__fit { border-radius: 17px 17px 0 0; }
  .shot__hand { right: 1%; bottom: calc(100% + 14px); font-size: 22px; }
  .shot__arrow { right: calc(1% + 130px); bottom: calc(100% - 16px); width: 40px; height: 44px; }
  .dash { width: 390px; }
  .dash__side { display: none; }
  .dash__main { padding: 0 8px 8px; }
  .dash__top { height: 60px; padding: 0 10px; }
  .dash__menu { display: flex; flex-direction: column; justify-content: space-between; width: 20px; height: 14px; margin-right: 6px; }
  .dash__menu i { height: 1.5px; border-radius: 2px; background: var(--d-ink); }
  .dash__card { gap: 18px; padding: 16px; border-radius: 24px; }
  .dash__highs { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .dash__vr { height: 1px; }
  .dash__money .dash__cur, .dash__money b { font-size: 30px; line-height: 38px; }
  .dash__trend { margin-left: 4px; }
  .seal { width: 76px; height: 70px; }
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 18px; border-radius: 20px; }
  .dash__kpi--ticket { order: 5; grid-column: 1 / -1; }
  .dash__charts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dash__panel { padding: 18px; border-radius: 20px; }
  .dash__plotgrid { grid-template-columns: 36px minmax(0, 1fr); column-gap: 8px; }
  .dash__axis { height: 176px; }
  .dash__plot { height: 160px; }
  .dash__xaxis:not(.dash__xaxis--bars) span:nth-child(even) { display: none; }
  /* Órbita: medidas reais, sem escala */
  .orbit__titles { height: 90px; margin-bottom: 12px; }
  .orbit__t { font-size: 40px; line-height: 42px; }
  .orbit__field { --fs: 1; width: 390px; height: 420px; margin: 0; }
  .ring--1 { --d: 160px; } .ring--2 { --d: 230px; } .ring--3 { --d: 290px; }
  .core { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
  .core img { width: 46px; height: 38px; }
  .core__glow { inset: -60px; }
  .node__in { gap: 7px; padding: 6px 12px 6px 6px; font-size: 13.5px; }
  .node__in .tile { width: 26px; height: 26px; padding: 5px; }
  .chip { padding: 10px 14px; font-size: 14.5px; }
  /* No celular os módulos ficam parados na posição do Paper: girando, as 8 pílulas se sobrepõem em 390 px. */
  .ring, .node__in { animation: none; }
  .ring { transform: scale(calc(0.6 + var(--k3) * 0.4)); }
  .node__in { transform: none; }
  .ring--1 .node:nth-child(1) { --a: 270deg !important; }
  .ring--1 .node:nth-child(2) { --a: 90deg !important; }
  .ring--2 .node:nth-child(1) { --a: 0deg !important; }
  .ring--2 .node:nth-child(2) { --a: 180deg !important; }
  .ring--2 .node:nth-child(3) { --a: 300deg !important; --d: 290px; }
  .ring--3 .node:nth-child(1) { --a: 120deg !important; }
  .ring--3 .node:nth-child(2) { --a: 60deg !important; }
  .ring--3 .node:nth-child(3) { --a: 240deg !important; }
  .chip:nth-child(1) { --x: -77px !important; --y: -192px !important; }
  .chip:nth-child(2) { --x: 107px !important; --y: -155px !important; }
  .chip:nth-child(3) { --x: -83px !important; --y: -107px !important; }
  .chip:nth-child(4) { --x: 77px !important; --y: -67px !important; }
  .chip:nth-child(5) { --x: -5px !important; --y: -14px !important; }
  .chip:nth-child(6) { --x: -91px !important; --y: 43px !important; }
  .chip:nth-child(7) { --x: 101px !important; --y: 34px !important; }
  .chip:nth-child(8) { --x: 57px !important; --y: 93px !important; }
  .chip:nth-child(9) { --x: -69px !important; --y: 141px !important; }
  .chip:nth-child(10) { --x: 77px !important; --y: 186px !important; }
  /* Módulos */
  .modules { padding: 88px 0 96px; }
  .bento { margin-top: 40px; gap: 16px; }
  .mcard { padding: 22px; border-radius: 22px; }
  .mcard h3 { font-size: 22px; }
  .mcard__media { min-height: 0; padding: 16px 10px; }
  .mcard__media--piece { padding: 0; }
  .crm { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 8px; }
  .crm__col, .crm__col:nth-child(n) { grid-row: auto; grid-column: auto; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 7px 6px; min-height: 0; padding: 10px; }
  .crm__col small { flex-basis: 100%; padding: 0; font-size: 12px; line-height: 14px; }
  .crm__card, .crm__mover { padding: 8px 9px; font-size: 12px; line-height: 15px; }
  .crm__card--ghost { width: 134px; height: 31px; margin-left: auto; padding: 0; }
  .crm__mover { position: absolute; grid-row: auto; grid-column: auto; top: 31px; left: auto; right: 10px; width: 134px; margin: 0; }
  .is-anim .crm__mover { animation-name: crm-m; }
  .stock__row { grid-template-columns: minmax(0, 1fr) 48px 26px; }
  /* Propostas */
  .how { padding: 96px 0 40px; }
  .step { padding: 56px 0 0; }
  .step__title { font-size: 31px; line-height: 34px; }
  .step__text { margin-top: 14px; font-size: 17px; line-height: 26px; }
  .step__media { margin-top: 24px; }
  /* FAQ: perguntas antes do contato */
  .faq { padding: 88px 0; }
  .faq__grid { gap: 0; }
  .faq__side { display: contents; }
  .faq__side > .eyebrow { order: 1; }
  .faq__side > .section-title { order: 2; margin-bottom: 36px; }
  .faq__list { order: 3; border-top: 1px solid var(--line); }
  .faq__side > div[data-reveal] { order: 4; margin-top: 36px; }
  .faq__side > div .btn { width: 100%; }
  .faq__talk { order: 5; margin-top: 14px; }
  .faq__q { gap: 12px; padding: 20px 0; }
  .faq__n { width: 28px; }
  .faq__a p { padding: 0 4px 22px 40px; font-size: 15.5px; line-height: 25px; }
  /* Chamada final */
  .cta { padding: 24px 0 88px; }
  .cta__panel { min-height: 0; padding: 44px 26px 222px; border-radius: 28px; }
  .cta__title { font-size: 44px; line-height: 44px; }
  .cta__lead { margin-top: 16px; font-size: 17px; line-height: 26px; }
  .cta__actions { flex-direction: column; gap: 10px; margin-top: 28px; }
  .cta__actions .btn { width: 100%; }
  .cta__blinds { top: auto; bottom: 30px; right: -24px; width: 300px; gap: 8px; transform: none; }
  .cta__blinds i { height: 14px; }
  .cta__star { top: auto; bottom: 70px; right: 58px; width: 78px; height: 81px; margin-top: 0; }
  /* Rodapé */
  .footer__top { gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .footer__col:nth-child(2) { order: 3; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto repeat(4, auto); grid-auto-flow: column; gap: 14px 20px; }
  .footer__col:nth-child(2) h2 { grid-column: 1 / -1; grid-row: 1; }
  .footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 64px; }
  .footer__word { margin-top: 28px; }
}
@keyframes crm-m { 0%, 12% { transform: translateY(0); } 38%, 50% { transform: translateY(80px); } 76%, 90% { transform: translateY(160px); box-shadow: var(--sh-card), inset 3px 0 0 var(--green); } 100% { transform: translateY(0); } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .orbit { height: auto; --p: 1 !important; }
  .orbit__sticky { position: relative; height: auto; padding: 120px 0; }
  .chips { display: none; }
  .footer__word span { opacity: 1 !important; transform: none !important; }
  /* estado final visível sem depender da rolagem */
  [data-reveal] { opacity: 1; transform: none; }
  .agenda__slot { opacity: 1; transform: none; }
  .pipeline__track i { width: 100%; }
  /* 38 % da largura do cartão (170 px), sem passar da borda quando o card é estreito. */
  .pipeline__card { translate: min(64.6px, (100cqw - 170px) / 2) 0; }
  .crm__mover { transform: translateX(calc(200% + 2 * var(--crm-step))); box-shadow: var(--sh-card), inset 3px 0 0 var(--green); }
  .fin__bars i { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .crm__mover { transform: translateY(160px); }
  /* Como em 1KAV-0: cartão do pedido centralizado sob a barra cheia (a 38 % ele passaria da borda do card). */
  .pipeline__card { translate: none; }
}
