:root {
  --bg: #060608;
  --fg: #f4f5f8;
  --muted: rgba(244, 245, 248, 0.52);
  --c1: 15 204 143;
  --c2: 41 214 219;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter Tight", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

#stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

.brand {
  position: fixed; top: 24px; left: 28px; z-index: 11; /* acima do fundo desfocado do menu (.top, 10) */
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  pointer-events: none;
}

/* sem JavaScript: o essencial em texto simples */
.nojs { max-width: 680px; margin: 0 auto; padding: 96px 24px; line-height: 1.5; }
.nojs-brand { font-weight: 600; margin-bottom: 48px; }
.nojs h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.nojs p { color: var(--muted); margin-bottom: 14px; }
.nojs a { color: var(--fg); }
.nojs-legal { font-size: 13px; margin-top: 40px; }

/* ---------- tela de idioma ---------- */

#gate {
  position: fixed; inset: 0; z-index: 1;
  touch-action: none; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.has-lang #gate { display: none; }

.dock {
  position: absolute; left: 0; right: 0;
  bottom: calc(34px + env(safe-area-inset-bottom));
}

.hint {
  position: relative; height: 18px; margin-bottom: 26px;
  font-size: 13px; letter-spacing: 0.04em; color: var(--muted); text-align: center;
}
.hint span { position: absolute; left: 0; right: 0; opacity: 0; }

.rail { position: relative; height: 1px; margin-bottom: 8px; }
.rail::before {
  content: ""; position: absolute; top: 0; height: 1px;
  left: 16.6667%; right: 16.6667%;
  background: rgba(255, 255, 255, 0.13);
}
.thumb {
  position: absolute; top: -1px; left: -22px; width: 44px; height: 3px; border-radius: 2px;
  background: color-mix(in srgb, rgb(var(--c1)) 45%, white);
  box-shadow: 0 0 14px rgb(var(--c1) / 0.9);
  will-change: transform;
}

.langs { display: grid; grid-template-columns: repeat(3, 1fr); }
.langs button {
  justify-self: center;
  background: none; border: 0; color: var(--fg); font: inherit;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  padding: 14px 18px; border-radius: 999px; cursor: pointer;
  opacity: 0.32; will-change: transform;
}
.langs button[lang="zh-Hans"] { font-family: "Noto Sans SC", sans-serif; }
.langs button:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.55); outline-offset: 2px; }

/* modo leve (sem WebGL ou com movimento reduzido) */
.greet-fallback { display: none; }
.lite body {
  background:
    radial-gradient(55% 45% at 50% 45%, rgb(var(--c1) / 0.32), transparent 70%),
    radial-gradient(35% 35% at 74% 72%, rgb(var(--c2) / 0.22), transparent 70%),
    var(--bg);
}
.lite #stage { display: none; }
.lite .greet-fallback {
  display: block; position: absolute; left: 0; right: 0; top: 45%;
  font-weight: 700; font-size: min(19vw, 30vh); letter-spacing: -0.035em; line-height: 1;
}
.lite .greet-fallback span {
  position: absolute; left: 0; right: 0; text-align: center;
  transform: translateY(-50%); opacity: 0;
}
.lite .greet-fallback [data-l="zh"] { font-family: "Noto Sans SC", sans-serif; font-size: 0.84em; letter-spacing: 0; }

/* ---------- hero ---------- */

/* depois da tela de idioma a página rola: hero + seções */
html.scrollable { height: auto; overflow-x: hidden; overflow-y: auto; }
html.scrollable body { height: auto; overflow: visible; overflow-x: clip; } /* sem isso o celular alargava a página ~27px ao sair da tela de idioma */

/* sem z-index de propósito: com ele o hero virava uma camada própria e o menu fixo (.top) ficava preso nela,
   por baixo das seções seguintes (z-index 1) e sem receber clique. O hero continua acima do canvas #stage
   porque vem depois dele no HTML. */
#hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; grid-template-rows: 1fr auto; padding-top: 56px;
  visibility: hidden;
}

.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10; /* acima das seções e da prévia dos cases, abaixo do modal (20) */
  display: flex; justify-content: flex-end; align-items: center; gap: 28px;
  padding: 12px 20px 12px 140px;
  transition: background-color 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  background: rgba(6, 6, 8, 0.45); border-bottom-color: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.links { display: flex; gap: 6px; }
.links a {
  position: relative; color: var(--fg); text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 10px 12px; opacity: 0.72; transition: opacity 0.3s;
}
.links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(.22,1,.36,1);
}
.links a:hover { opacity: 1; }
.links a:hover::after { transform: scaleX(1); }

.switch { display: flex; gap: 2px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.switch button {
  background: none; border: 0; color: var(--fg); font: inherit;
  font-size: 13px; font-weight: 500; padding: 8px 10px; border-radius: 999px;
  opacity: 0.42; cursor: pointer; transition: opacity 0.3s;
}
.switch button[lang="zh-Hans"] { font-family: "Noto Sans SC", sans-serif; }
.switch button:hover { opacity: 0.8; }
.switch button[aria-current="true"] { opacity: 1; }

.hero-body {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 24px; min-height: 0;
}

.manifesto { display: flex; flex-direction: column; align-items: center; text-align: center; font-weight: 600; }
.manifesto .line {
  display: block; max-width: 24em;
  font-size: clamp(19px, 2.3vw, 34px); line-height: 1.2; letter-spacing: -0.02em;
  color: rgba(244, 245, 248, 0.86); text-wrap: balance;
}
.manifesto.zh .line { letter-spacing: 0.02em; }
.w { display: inline-block; }

/* a vaga da palavra: altura fixa, a palavra troca por cima sem empurrar o resto */
.slot {
  position: relative; display: block; width: 100%;
  font-size: clamp(46px, 12.5vw, 176px); height: 1.18em; margin: 0.02em 0 0.06em;
  perspective: 900px; cursor: pointer;
}
.word {
  position: absolute; left: 50%; top: 50%; white-space: nowrap; line-height: 1;
  will-change: transform;
}
.ch { display: inline-block; }

.id-base { font-weight: 700; letter-spacing: -0.045em; }

.id-lux { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-style: italic; font-weight: 500; font-size: 1.14em; letter-spacing: 0.005em; }
.id-lux .ch {
  color: transparent;
  background-image: linear-gradient(100deg, #8d6a2c 0%, #f8e8b6 22%, #c9a14a 42%, #fff5d0 58%, #a17c36 78%, #8d6a2c 100%);
  background-size: calc(var(--ww) * 2) 100%; background-repeat: repeat-x;
  background-position: calc(var(--shift) - var(--x)) 0;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 18px rgba(232, 196, 110, 0.18));
}
.zh .id-lux { font-style: normal; font-weight: 700; font-size: 1em; }

.id-young { font-family: "Fredoka", "ZCOOL KuaiLe", sans-serif; font-weight: 700; font-size: 0.98em; letter-spacing: -0.01em; }
.id-young .ch { text-shadow: 0 0.04em 0 rgba(0, 0, 0, 0.18); }

.id-tech { font-family: "JetBrains Mono", "ZCOOL QingKe HuangYou", monospace; font-weight: 500; font-size: 0.8em; letter-spacing: -0.03em; color: #8dffd6; text-shadow: 0 0 28px rgba(141, 255, 214, 0.35); }
.id-tech::after {
  content: ""; display: inline-block; width: 0.5em; height: 0.82em; margin-left: 0.06em; vertical-align: -0.06em;
  background: currentColor; animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.id-tech.decoding::after { visibility: hidden; }

.id-craft { font-family: "Caveat", "Ma Shan Zheng", cursive; font-weight: 700; font-size: 1.08em; letter-spacing: 0; color: #f4e4c8; }
.zh .id-craft { font-size: 1.05em; }

.ctas { display: flex; align-items: center; gap: 22px; margin-top: clamp(26px, 4vh, 44px); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em; border-radius: 999px;
}
.btn.primary {
  color: #08080a; background: var(--fg); padding: 14px 22px 14px 18px;
  box-shadow: 0 10px 40px -10px rgb(var(--c1) / 0.7);
  transition: box-shadow 0.4s, transform 0.4s cubic-bezier(.22,1,.36,1);
}
.btn.primary:hover { transform: translateY(-1px) scale(1.03); box-shadow: 0 14px 50px -8px rgb(var(--c1) / 0.95); }
.btn.ghost { color: var(--fg); opacity: 0.8; padding: 14px 6px; }
.btn.ghost i { font-style: normal; transition: transform 0.4s cubic-bezier(.22,1,.36,1); }
.btn.ghost:hover { opacity: 1; }
.btn.ghost:hover i { transform: translateX(4px); }

.idents {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
  padding: 0 20px calc(30px + env(safe-area-inset-bottom));
}
.idents-cap { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.chip {
  position: relative; background: none; border: 0; color: var(--fg); font: inherit;
  font-size: 13px; font-weight: 500; padding: 9px 12px 11px; cursor: pointer;
  opacity: 0.45; transition: opacity 0.35s;
}
.chip:hover { opacity: 0.8; }
.chip[aria-selected="true"] { opacity: 1; }
.chip-bar { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.chip-bar i { position: absolute; inset: 0; background: rgb(var(--c1)); transform: scaleX(0); transform-origin: left; }

.scroll-hint {
  position: absolute; right: 28px; bottom: calc(30px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint i { position: relative; width: 1px; height: 38px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.scroll-hint i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--fg); animation: hint 1.8s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes hint { to { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .id-tech::after, .scroll-hint i::after { animation: none; }
}

/* ---------- serviços: o que a gente faz (divisória depois do hero) ---------- */

.svc { position: relative; z-index: 1; visibility: hidden; padding: clamp(88px, 13vh, 150px) clamp(20px, 4.5vw, 72px) clamp(64px, 9vh, 110px); }
.scrollable .svc { visibility: visible; }
.svc-head { max-width: 760px; margin-bottom: clamp(28px, 5vh, 48px); }
.svc .eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.svc-title { font-size: clamp(28px, 3.2vw, 50px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.svc.zh .svc-title { letter-spacing: 0.01em; line-height: 1.25; }
.svc-rule { display: block; height: 1px; background: rgba(255, 255, 255, 0.16); transform-origin: left; }
.svc-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-item + .svc-item { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.svc-link {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: clamp(250px, 34vh, 330px);
  padding: 30px clamp(18px, 2vw, 30px) 28px; color: var(--fg); text-decoration: none; overflow: hidden; isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.svc-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 30%), rgb(var(--c1) / 0.16), transparent 70%);
}
.svc-link:hover::before { opacity: 1; }
.svc-link:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.5); outline-offset: -1px; }
.svc-icon {
  width: 48px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  color: rgba(244, 245, 248, 0.72); overflow: visible; transition: color 0.4s, transform 0.6s cubic-bezier(.22,1,.36,1);
}
.svc-icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.65,0,.35,1); }
.svc-icon.drawn > * { stroke-dashoffset: 0; }
.svc-icon > :nth-child(2) { transition-delay: 0.12s; }
.svc-icon > :nth-child(3) { transition-delay: 0.24s; }
.svc-icon > :nth-child(n+4) { transition-delay: 0.36s; }
.svc-icon .ghost { opacity: 0.45; }
.svc-link:hover .svc-icon { color: rgb(var(--c1)); transform: translateY(-3px); }
.svc-n { position: absolute; top: 34px; right: clamp(18px, 2vw, 30px); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-name { margin-top: auto; padding-top: 40px; font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.svc.zh .svc-name { letter-spacing: 0.02em; }
.svc-line { margin-top: 10px; max-width: 22em; font-size: 15px; line-height: 1.5; color: rgba(244, 245, 248, 0.66); }
.svc-cta {
  display: inline-flex; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.5s cubic-bezier(.22,1,.36,1);
}
.svc-cta i { font-style: normal; transition: transform 0.4s cubic-bezier(.22,1,.36,1); }
.svc-link:hover .svc-cta, .svc-link:focus-visible .svc-cta { opacity: 1; transform: none; }
.svc-link:hover .svc-cta i { transform: translateX(4px); }
@media (hover: none) { .svc-cta { opacity: 0.75; transform: none; } }
@media (prefers-reduced-motion: reduce) { .svc-icon > * { transition: none; } }
@media (max-width: 1000px) {
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-item:nth-child(3) { border-left: 0; }
  .svc-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .svc-link { min-height: 230px; }
}
@media (max-width: 600px) {
  .svc-list { grid-template-columns: 1fr; }
  .svc-item + .svc-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .svc-link { min-height: 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 22px 0; }
  .svc-icon { grid-row: 1 / span 3; width: 40px; height: 34px; margin-top: 2px; }
  .svc-n { display: none; }
  .svc-name { margin-top: 0; padding-top: 0; font-size: 21px; }
  .svc-line { margin-top: 6px; font-size: 14px; }
  .svc-cta { margin-top: 10px; font-size: 12px; }
}

/* ---------- filosofia: do template à experiência ---------- */

.philo { position: relative; z-index: 1; visibility: hidden; }
.scrollable .philo { visibility: visible; }
/* no desktop o h2 do capítulo fica só para leitores de tela (o título visível está na coluna) */
.philo-intro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.philo-pin {
  height: 100vh; height: 100svh; min-height: 600px;
  display: grid; align-items: center;
  grid-template-columns: minmax(300px, 0.78fr) 1.22fr;
  column-gap: clamp(32px, 4.5vw, 72px);
  padding: 88px clamp(20px, 4.5vw, 72px) 48px;
}
.philo-side { display: flex; flex-direction: column; gap: 28px; }
.philo-copy { display: grid; }
.philo-stage { perspective: 1400px; }

.philo .eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.philo-title { font-size: clamp(26px, 2.9vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; max-width: 15em; }
.philo.zh .philo-title { letter-spacing: 0.01em; line-height: 1.25; }

.steps { list-style: none; margin-top: 32px; display: grid; gap: 14px; max-width: 360px; }
.steps li { display: grid; grid-template-columns: 30px 1fr; align-items: baseline; row-gap: 8px; opacity: 0.38; transition: opacity 0.4s; }
.steps li.on { opacity: 1; }
.steps .n { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.steps .t { font-size: 16px; font-weight: 500; }
.steps .bar { grid-column: 2; height: 1px; background: rgba(255, 255, 255, 0.14); position: relative; overflow: hidden; }
.steps .bar i { position: absolute; inset: 0; background: rgb(var(--c1)); transform-origin: left; }

.philo-copy p {
  grid-area: 1 / 1; max-width: 30em;
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: rgba(244, 245, 248, 0.8);
}

/* o Lume é inventado: dizer isso evita que pareça um cliente (ou depoimento) de verdade */
.demo-note { display: flex; align-items: center; gap: 8px; margin-top: -10px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.demo-note::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--c1)); opacity: 0.8; }

.browser {
  border-radius: 14px; overflow: hidden; background: #0b0807;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.browser-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #232328; }
.browser-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #3c3c44; }
.url {
  position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  display: grid; height: 20px; min-width: 38%; padding: 0 14px; border-radius: 6px; background: #17171b;
  font-size: 11px; line-height: 20px; color: rgba(255, 255, 255, 0.55); text-align: center;
}
.url span { grid-area: 1 / 1; }
.viewport { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0807; }

/* o site fictício: tamanho fixo (960×600 ou 390×altura da tela), escalado para caber */
.mock {
  position: absolute; left: 0; top: 0; width: 960px; height: 600px; overflow: hidden;
  transform: scale(var(--s, 0.6)); transform-origin: 0 0;
  font-family: Arial, Helvetica, sans-serif;
}
.mock.phone { width: 390px; }
.mock > div, .m-exp > *, .m-tpl > * { position: absolute; }
.m-exp, .m-tpl { inset: 0; }
.m-tpl.burning { filter: url(#burn); }
.m-sparks { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; }
.m-notes, .note, .sticky { z-index: 3; }

/* ---- template genérico ---- */
.t-bg { inset: 0; background: #f1f1f3; }
.t-nav { left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; gap: 30px; padding: 0 40px; border-bottom: 1px solid #e0e0e4; background: #fafafb; }
.t-logo { width: 84px; height: 30px; margin-right: auto; display: grid; place-items: center; background: #cfcfd5; color: #fff; font-size: 12px; letter-spacing: 0.1em; }
.t-nav span { font-size: 14px; color: #9a9aa1; }
.t-burger, .e-burger { display: none; flex-direction: column; gap: 5px; }
.t-burger b { display: block; width: 22px; height: 2px; background: #b5b5bb; }
.t-hero { left: 48px; top: 122px; width: 420px; }
.t-title { font: bold 34px/1.15 Arial, Helvetica, sans-serif; color: #4a4a50; }
.t-text { margin-top: 14px; font-size: 15px; line-height: 1.5; color: #8d8d94; }
.t-btn { display: inline-block; margin-top: 22px; padding: 11px 20px; border-radius: 4px; background: #b9b9c0; color: #fff; font-size: 14px; }
.t-img { left: 520px; top: 104px; width: 392px; height: 248px; background: #dcdce1; border-radius: 4px; overflow: hidden; display: grid; place-items: center; }
.t-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.t-img path { stroke: #c6c6cc; stroke-width: 2; fill: none; }
.t-img small { position: relative; font-size: 13px; color: #a5a5ab; background: #dcdce1; padding: 2px 8px; }
.t-cards { left: 48px; top: 396px; width: 864px; display: flex; gap: 24px; }
.t-card { flex: 1; height: 150px; padding: 22px; border-radius: 4px; background: #e4e4e8; display: flex; flex-direction: column; gap: 10px; }
.t-card i { width: 36px; height: 36px; border-radius: 50%; background: #cfcfd5; flex: none; }
.t-card b { font-size: 16px; color: #6d6d74; }
.t-card u { display: block; height: 8px; width: 80%; border-radius: 4px; background: #d3d3d8; text-decoration: none; }
.t-card u + u { width: 55%; }

/* ---- anotações do diagnóstico ---- */
.m-notes { position: absolute; left: 0; top: 0; width: 960px; height: 600px; pointer-events: none; overflow: visible; }
.m-notes path { fill: none; stroke: #ff4f3a; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.note { font-family: "Caveat", "Ma Shan Zheng", cursive; font-weight: 700; color: #ff4f3a; font-size: 27px; line-height: 1.05; white-space: nowrap; }
.n-title { left: 338px; top: 54px; }
.n-img { left: 610px; top: 186px; text-align: center; font-size: 30px; text-shadow: 0 0 12px #dcdce1, 0 0 6px #dcdce1; }
.n-btn { left: 206px; top: 244px; }
.sticky {
  min-width: 210px; padding: 16px 20px; white-space: nowrap; background: #ffe46b; color: #3b3121;
  font-family: "Caveat", "Ma Shan Zheng", cursive; font-weight: 600; font-size: 24px; line-height: 1.1;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
}
.s1 { left: 74px; top: 418px; }
.s2 { left: 648px; top: 424px; }
.philo.zh .note, .philo.zh .sticky { font-size: 22px; }

/* ---- experiência: Lume (foto gerada + fogo em WebGL) ---- */
.e-gl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.e-shade { inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 18%); pointer-events: none; }
.e-nav {
  left: 0; right: 0; top: 0; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 40px;
  color: rgba(248, 234, 214, 0.78); font: 500 14px "Inter Tight", "Noto Sans SC", sans-serif;
}
.e-logo { margin-right: auto; font-family: "Fraunces", "Noto Serif SC", serif; font-style: italic; font-weight: 500; font-size: 30px; color: #f8ead6; }
.e-pill { padding: 9px 18px; border-radius: 999px; background: #ff7a2f; color: #1a0d06; font-weight: 600; }
.e-burger b { display: block; width: 20px; height: 2px; background: #f8ead6; }
.e-hero { left: 56px; top: 134px; width: 480px; font-family: "Inter Tight", "Noto Sans SC", sans-serif; }
.e-kicker { display: block; font-size: 11.5px; letter-spacing: 0.24em; color: #ff9a5c; font-weight: 600; }
.e-title {
  margin-top: 16px; font-family: "Fraunces", "Noto Serif SC", serif; font-weight: 600; font-size: 76px; line-height: 0.98;
  letter-spacing: -0.025em; color: #f8ead6; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}
.e-title .wd { display: inline-block; }
.e-title em { font-style: italic; font-weight: 500; color: #ffb27a; }
.e-text { margin-top: 20px; max-width: 380px; font-size: 15px; line-height: 1.55; color: rgba(248, 234, 214, 0.8); }
.e-btns { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.e-btn { display: inline-flex; gap: 8px; padding: 14px 24px; border-radius: 999px; background: #ff7a2f; color: #1a0d06; font-weight: 600; font-size: 15px; box-shadow: 0 12px 34px -8px rgba(255, 110, 40, 0.75); }
.e-btn2 { padding: 13px 20px; border-radius: 999px; color: #f8ead6; font-weight: 500; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(248, 234, 214, 0.35); }
.e-cards { left: 56px; top: 482px; display: flex; gap: 12px; font-family: "Inter Tight", "Noto Sans SC", sans-serif; }
.e-card {
  display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; border-radius: 16px;
  background: rgba(20, 10, 6, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 170, 110, 0.2);
}
.e-card img { width: 58px; height: 58px; border-radius: 11px; object-fit: cover; display: block; }
.e-card b { display: block; font-family: "Fraunces", "Noto Serif SC", serif; font-weight: 600; font-size: 15px; color: #f8ead6; }
.e-card small { font-size: 12px; color: rgba(248, 234, 214, 0.6); }

/* ---- layout de celular do site fictício (390 de largura) ---- */
.phone .t-nav { height: 56px; padding: 0 20px; }
.phone .t-nav span { display: none; }
.phone .t-burger, .phone .e-burger { display: flex; }
.phone .t-hero { left: 22px; top: 84px; width: 346px; }
.phone .t-title { font-size: 28px; }
.phone .t-text { margin-top: 10px; font-size: 14px; }
.phone .t-btn { margin-top: 16px; }
.phone .t-img { left: 22px; top: 300px; width: 346px; height: 180px; }
.phone .t-cards { left: 22px; top: 500px; width: 346px; flex-direction: column; gap: 12px; }
.phone .t-card { flex: none; height: 76px; flex-direction: row; align-items: center; padding: 0 18px; }
.phone .t-card u { display: none; }
.phone .m-notes { width: 390px; height: 780px; }
.phone .note { font-size: 22px; }
.phone .n-title { left: 238px; top: 40px; }
.phone .n-img { left: 74px; top: 360px; font-size: 24px; }
.phone .n-btn { left: 152px; top: 190px; }
.phone .sticky { min-width: 150px; padding: 10px 12px; font-size: 18px; }
.phone .s1 { left: 16px; top: 506px; }
.phone .s2 { left: 196px; top: 566px; }
.phone .e-nav { height: 60px; padding: 0 20px; gap: 14px; }
.phone .e-nav span { display: none; }
.phone .e-logo { font-size: 26px; }
.phone .e-pill { padding: 7px 14px; font-size: 13px; }
.phone .e-hero { left: 24px; top: 92px; width: 342px; }
.phone .e-title { font-size: 54px; }
.phone .e-text { max-width: 300px; font-size: 14px; }
.phone .e-btns { flex-wrap: wrap; margin-top: 20px; }
.phone .e-cards { display: none; }

.top, .brand { transition: opacity 0.4s; }

@media (max-width: 760px) {
  /* celular: o título abre o capítulo; a demo ocupa a tela inteira; texto numa faixa embaixo */
  .philo-intro {
    position: relative; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    padding: 112px 22px 56px;
  }
  .philo-intro .philo-title { font-size: clamp(30px, 9vw, 40px); line-height: 1.08; }
  .philo-pin { display: block; position: relative; height: 100vh; height: 100svh; min-height: 0; padding: 0; }
  .philo-stage { position: absolute; inset: 0; perspective: none; }
  .browser { height: 100%; border-radius: 0; box-shadow: none; }
  .browser-bar { display: none; }
  .viewport { aspect-ratio: auto; height: 100%; }
  .philo-side {
    position: absolute; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 4;
    gap: 10px; padding: 14px 16px 16px; border-radius: 18px;
    background: rgba(10, 10, 12, 0.62); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  }
  .philo-head .eyebrow, .philo-head .philo-title { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); max-width: none; margin-top: 0; gap: 10px; }
  .steps li { grid-template-columns: 1fr; row-gap: 6px; }
  .steps .n { display: none; }
  .steps .t { font-size: 12px; }
  .steps .bar { grid-column: 1; }
  .philo-copy p { font-size: 14px; line-height: 1.45; }
  .demo-note { margin-top: -2px; font-size: 11px; }
  .demo-full .top, .demo-full .brand { opacity: 0; pointer-events: none; }
  .scroll-hint { display: none; }
}

/* ---------- cases: lista viva ---------- */

.cases { position: relative; z-index: 1; visibility: hidden; padding: clamp(96px, 14vh, 160px) clamp(20px, 4.5vw, 72px) clamp(96px, 14vh, 160px); }
.scrollable .cases { visibility: visible; }
.cases-head { max-width: 760px; margin-bottom: clamp(36px, 6vh, 64px); }
.cases .eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.cases-title { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.cases-sub { margin-top: 16px; font-size: 16px; color: var(--muted); }
.cases.zh .cases-title { letter-spacing: 0.01em; line-height: 1.25; }

.case-list { list-style: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.case-row { border-top: 1px solid rgba(255, 255, 255, 0.12); transition: opacity 0.4s; }
.case-list.hovering .case-row:not(.on) { opacity: 0.32; }
.case-btn {
  position: relative; width: 100%; display: grid; align-items: center; text-align: left;
  grid-template-columns: 56px minmax(0, 1fr) minmax(280px, 0.6fr) 40px; column-gap: clamp(20px, 3vw, 48px);
  padding: clamp(22px, 3.4vh, 36px) 0; background: none; border: 0; color: var(--fg); font: inherit; cursor: pointer;
}
.cr-n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cr-name {
  font-size: clamp(34px, 4.6vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1), color 0.4s;
}
.cr-info { display: flex; flex-direction: column; gap: 8px; max-width: 30em; }
.cr-line { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; color: rgba(244, 245, 248, 0.72); }
.cr-tags { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.cr-arrow { font-size: 22px; justify-self: end; transition: transform 0.5s cubic-bezier(.22,1,.36,1), color 0.4s; }
.cr-fill { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.7s cubic-bezier(.22,1,.36,1); }
.case-row.on .cr-name { transform: translateX(14px); color: var(--accent); }
.case-row.on .cr-arrow { transform: translate(4px, -4px); color: var(--accent); }
.case-row.on .cr-fill { transform: scaleX(1); }
.case-btn:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.5); outline-offset: 6px; }
.cr-more { height: 0; overflow: hidden; }

/* prévia que segue o cursor */
.case-preview {
  position: fixed; left: 0; top: 0; z-index: 4; width: min(36vw, 520px); pointer-events: none;
  will-change: transform;
}
.cp-frame {
  border-radius: 14px; overflow: hidden; background: #111;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 70px -10px var(--accent, transparent);
}
.cp-bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #1d1d21; }
.cp-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a42; }
.cp-media { position: relative; aspect-ratio: 16 / 10; background: #0d0d0f; }
.cp-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; }

/* case em tela cheia */
.case-modal { position: fixed; inset: 0; z-index: 20; }
.case-modal[hidden] { display: none; }
html.modal-open, html.modal-open body { overflow: hidden; }
.cm-backdrop { position: absolute; inset: 0; }
.cm-panel {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 22px clamp(20px, 4.5vw, 72px) 64px;
  background:
    radial-gradient(70% 60% at 85% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    #08080a;
}
.cm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(24px, 6vh, 64px); }
.cm-n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cm-close, .cm-next {
  display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, 0.06); border: 0; color: var(--fg);
  font: inherit; font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: background 0.3s;
}
.cm-close:hover, .cm-next:hover { background: rgba(255, 255, 255, 0.12); }
.cm-title { font-size: clamp(56px, 10vw, 156px); line-height: 0.9; letter-spacing: -0.05em; font-weight: 700; color: var(--accent); }
.cm-kind { margin-top: 14px; font-size: 16px; color: rgba(244, 245, 248, 0.75); }
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cm-tags span { font-size: 12px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: rgba(244, 245, 248, 0.8); }
.cm-media { display: grid; grid-template-columns: 1fr minmax(160px, 0.26fr); gap: 20px; align-items: end; margin-top: clamp(28px, 5vh, 56px); }
.cm-desk { border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.cm-desk video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0d0d0f; }
.cm-phone { border-radius: 28px; overflow: hidden; padding: 6px; background: #1a1a1e; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.cm-phone video { display: block; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 22px; background: #0d0d0f; }
.cm-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(32px, 6vh, 64px); }
.cm-col h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; font-weight: 600; }
.cm-col p { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: rgba(244, 245, 248, 0.82); }
.cm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(36px, 6vh, 64px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.cm-live { display: inline-flex; gap: 8px; align-items: center; padding: 13px 22px; border-radius: 999px; background: var(--accent); color: #0b0b0d; font-weight: 600; text-decoration: none; }
.cm-live[hidden] { display: none; }

@media (max-width: 900px) {
  .case-btn { grid-template-columns: 36px 1fr 28px; row-gap: 10px; }
  .cr-name { grid-column: 2; white-space: normal; }
  .cr-arrow { grid-column: 3; grid-row: 1; }
  .cr-info { grid-column: 2 / 4; justify-self: start; }
  .case-preview { display: none; }
  .cr-more { display: grid; grid-template-columns: 0.9fr 1fr; gap: 16px; align-items: start; }
  .cr-more video { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 18px; margin: 4px 0 24px; background: #111; }
  .cr-more p { font-size: 14px; line-height: 1.55; color: rgba(244, 245, 248, 0.78); padding-top: 4px; }
  .cr-open { grid-column: 2; align-self: start; justify-self: start; background: var(--accent); color: #0b0b0d; border: 0; font: inherit; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 999px; }
  .case-row.open .cr-arrow { transform: rotate(45deg); color: var(--accent); }
  .cm-media { grid-template-columns: 1fr; }
  .cm-desk { display: none; }
  .cm-phone { max-width: 300px; margin: 0 auto; }
  .cm-cols { grid-template-columns: 1fr; }
}

/* ---------- processo: a conversa ---------- */

.proc { position: relative; z-index: 1; visibility: hidden; padding: clamp(96px, 14vh, 160px) clamp(20px, 4.5vw, 72px) clamp(80px, 12vh, 140px); }
.scrollable .proc { visibility: visible; }
.proc-head { max-width: 760px; margin-bottom: clamp(24px, 4vh, 48px); }
.proc .eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.proc-title { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.proc-sub { margin-top: 16px; font-size: 16px; color: var(--muted); }
.proc.zh .proc-title { letter-spacing: 0.01em; line-height: 1.25; }

.proc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.proc-steps { list-style: none; }
.step { min-height: 70vh; padding-top: 20vh; opacity: 0.3; transition: opacity 0.5s; }
.step:first-child { padding-top: 8vh; }
.step:last-child { min-height: 60vh; }
.step.on { opacity: 1; }
.st-n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { margin: 8px 0 14px; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.st-when {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(244, 245, 248, 0.85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.step.on .st-when { box-shadow: inset 0 0 0 1px rgb(var(--c1) / 0.9); color: var(--fg); }
.step p { margin-top: 18px; max-width: 26em; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; color: rgba(244, 245, 248, 0.75); }

.proc-side { position: sticky; top: 12vh; }
.chat {
  display: flex; flex-direction: column; height: 76vh; max-height: 720px; overflow: hidden; border-radius: 28px;
  background: rgba(14, 14, 18, 0.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ch-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.03); }
.ch-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #fff, #9aa3b5); color: #0b0b0d; font-weight: 700; }
.ch-who b { display: block; font-size: 15px; }
.ch-who small { font-size: 12px; color: rgba(244, 245, 248, 0.55); }
.ch-who small::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #5fd38d; vertical-align: 1px; }
.ch-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 26px; overflow-y: auto; scrollbar-width: none; }
.ch-body::-webkit-scrollbar { display: none; }
.grp { display: flex; flex-direction: column; gap: 8px; }
.sep { display: none; }
.day { align-self: center; margin: 10px 0 4px; }
.day span { padding: 4px 10px; border-radius: 999px; font-size: 11px; background: rgba(255, 255, 255, 0.07); color: rgba(244, 245, 248, 0.6); }

.msg { position: relative; max-width: 82%; transform-origin: bottom left; }
.msg.me { align-self: flex-end; transform-origin: bottom right; }
.msg.them { align-self: flex-start; }
.msg p { padding: 9px 12px 7px; border-radius: 18px; font-size: 14.5px; line-height: 1.4; }
.msg.me p { background: #f4f5f8; color: #0d0e12; border-bottom-right-radius: 6px; }
.msg.them p { background: rgba(255, 255, 255, 0.09); color: var(--fg); border-bottom-left-radius: 6px; }
.time { display: inline-flex; gap: 3px; margin-left: 8px; font-size: 10.5px; opacity: 0.55; vertical-align: -2px; white-space: nowrap; }
.ticks { font-style: normal; color: #3d8bff; letter-spacing: -0.18em; opacity: 1; }
.react { position: absolute; right: 10px; bottom: -12px; padding: 1px 5px; border-radius: 999px; font-style: normal; font-size: 13px; background: #1d1d22; box-shadow: 0 0 0 2px rgba(14, 14, 18, 0.9); }

.att { display: block; margin-bottom: 4px; overflow: hidden; border-radius: 14px; }
.att.doc { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: rgba(255, 255, 255, 0.06); }
.att.doc i { padding: 8px 6px; border-radius: 6px; font-style: normal; font-size: 10px; font-weight: 700; background: #e5484d; color: #fff; }
.att.doc b, .att.link b { display: block; font-size: 13.5px; }
.att.doc small { font-size: 11.5px; color: var(--muted); }
.att.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 290px; max-width: 100%; }
.cc { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; }
.cc img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc b { position: absolute; left: 8px; top: 7px; }
.c1 img { filter: sepia(0.5) brightness(1.15) contrast(0.9); }
.c1 b { font: 700 19px "Caveat", cursive; color: #fff3df; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.c2 { box-shadow: 0 0 0 2px #ff7a2f; }
.c2 img { object-position: 50% 75%; }
.c2 b { font: italic 500 16px "Fraunces", serif; color: #f8ead6; }
.c2 i { position: absolute; right: 6px; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: #ff7a2f; color: #1a0d06; }
.c3 img { filter: grayscale(0.6) brightness(0.8); }
.c3 b { font: 600 10px "Inter Tight", sans-serif; letter-spacing: 0.3em; color: #fff; }
.att.link { display: flex; gap: 10px; align-items: center; padding: 8px; background: rgba(255, 255, 255, 0.06); }
.att.link img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.att.link small { font-size: 11.5px; color: #7fb3ff; }

.typing { display: none; align-self: flex-start; gap: 4px; padding: 13px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.09); }
.typing.on { display: inline-flex; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(244, 245, 248, 0.65); animation: dots 1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.proc-end { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(48px, 8vh, 96px); text-align: center; }
.proc-cta {
  display: inline-flex; gap: 10px; align-items: center; padding: 18px 28px; border-radius: 999px; text-decoration: none;
  background: var(--fg); color: #08080a; font-weight: 600; font-size: 17px;
  box-shadow: 0 16px 50px -12px rgb(var(--c1) / 0.8); transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s;
}
.proc-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 20px 60px -10px rgb(var(--c1) / 0.95); }
.proc-note { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .proc-grid { grid-template-columns: 1fr; }
  .proc-steps { display: none; }
  .proc-side { position: static; }
  .chat { height: auto; max-height: none; border-radius: 22px; }
  .ch-body { overflow: visible; padding: 14px 12px 22px; }
  .sep { display: block; margin: 22px 2px 6px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  .grp:first-child .sep { margin-top: 4px; }
  .sep-n { margin-right: 8px; font-size: 12px; color: var(--muted); }
  .sep b { font-size: 18px; }
  .sep-when { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, rgb(var(--c1)) 45%, white); }
  .sep p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: rgba(244, 245, 248, 0.75); }
  .msg { max-width: 88%; }
  .proc-cta { padding: 16px 24px; font-size: 16px; }
}

/* ---------- quem: a pessoa por trás (entre o processo e o contato) ---------- */

.who {
  position: relative; z-index: 1; visibility: hidden;
  display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 560px); justify-content: center; align-items: center;
  column-gap: clamp(40px, 7vw, 120px);
  padding: clamp(80px, 12vh, 140px) clamp(20px, 4.5vw, 72px) clamp(32px, 5vh, 64px);
}
.scrollable .who { visibility: visible; }
.who-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #15151a;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.who-photo img { display: block; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
/* a foto é clara e o site é escuro: base escurecida e vinheta leve para ela pertencer à página */
.who-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0) 55%, rgba(6, 6, 8, 0.5) 100%),
    radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(6, 6, 8, 0.35) 100%);
}
.who .eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.who-title { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.who.zh .who-title { letter-spacing: 0.01em; line-height: 1.25; white-space: pre-line; }
.who-body { margin-top: 20px; max-width: 32em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: rgba(244, 245, 248, 0.78); }
/* fecho de carta: assinatura em cima, cargo embaixo (lado a lado, a inclinação da manuscrita desalinhava) */
.who-sign { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; }
.who-name {
  display: inline-block; font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(42px, 3.8vw, 56px); line-height: 1;
  color: #f4e4c8; transform: rotate(-4deg); transform-origin: left bottom;
}
.who-role { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.who-role::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.ch-photo { object-fit: cover; }
@media (max-width: 760px) {
  .who { grid-template-columns: 1fr; row-gap: 32px; padding-top: 72px; }
  .who-photo { border-radius: 22px; }
  .who-sign { margin-top: 20px; }
}

/* ---------- contato: olá + conversa rápida ---------- */

.ct {
  position: relative; z-index: 1; visibility: hidden; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(40px, 8vh, 96px) clamp(20px, 4.5vw, 72px) 0;
}
.scrollable .ct { visibility: visible; }
/* a palavra é desenhada pelas partículas; o link é a área clicável (no modo leve o texto aparece) */
.ct-word { position: relative; display: block; width: min(100%, 1100px); height: clamp(180px, 34vh, 340px); color: var(--fg); text-decoration: none; cursor: pointer; }
.ct-word span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: clamp(90px, 22vh, 260px); letter-spacing: -0.04em; opacity: 0; }
.lite .ct-word span { opacity: 1; }
.ct.zh .ct-word span { font-family: "Noto Sans SC", sans-serif; letter-spacing: 0; }
.ct-word:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.4); outline-offset: 8px; border-radius: 24px; }
.ct-head { max-width: 640px; margin-top: 8px; text-align: center; }
.ct .eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ct-title { font-size: clamp(32px, 4vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.ct.zh .ct-title { letter-spacing: 0.01em; }
.ct-sub { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--muted); }

.cv {
  width: min(100%, 520px); margin-top: 32px; overflow: hidden; border-radius: 24px;
  background: rgba(14, 14, 18, 0.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.cv [hidden] { display: none !important; }
.cv-log { display: flex; flex-direction: column; gap: 8px; min-height: 120px; padding: 18px 16px 10px; }
.cv-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.cv-input input {
  flex: 1; min-width: 0; padding: 12px 16px; border: 0; border-radius: 999px; outline: none;
  background: rgba(255, 255, 255, 0.06); color: var(--fg); font: inherit; font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: box-shadow 0.3s;
}
.cv-input input:focus { box-shadow: inset 0 0 0 1px rgb(var(--c1)); }
.cv-input button, .cv-next {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--fg); color: #0b0b0d; font-size: 18px; cursor: pointer;
}
.cv-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 16px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.chip-n {
  padding: 9px 14px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: background 0.25s, color 0.25s;
}
.chip-n[aria-pressed="true"] { background: var(--fg); color: #0b0b0d; }
.cv-next { margin-left: auto; }
.cv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px 18px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.cv-wa {
  display: inline-flex; gap: 8px; align-items: center; padding: 13px 20px; border-radius: 999px; text-decoration: none;
  background: var(--fg); color: #08080a; font-weight: 600; box-shadow: 0 14px 40px -12px rgb(var(--c1) / 0.8);
}
.cv-mail { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cv-restart { margin-left: auto; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }

.ct-foot {
  width: 100%; margin-top: clamp(64px, 12vh, 140px); padding: 28px 0 calc(36px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: var(--muted);
}
.ft-brand b { margin-right: 10px; font-size: 16px; color: var(--fg); }
.ft-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-self: center; }
.ct-foot a { color: inherit; text-decoration: none; transition: color 0.3s; }
.ct-foot a:hover { color: var(--fg); }
.ft-legal { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ft-top { background: none; border: 0; color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }

@media (max-width: 900px) {
  .ct-foot { grid-template-columns: 1fr; gap: 14px; }
  .ft-links { justify-self: start; }
  .cv-restart { margin-left: 0; }
}

button:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.55); outline-offset: 2px; }

@media (max-width: 760px) {
  .links { display: none; }
  .switch { border-left: 0; padding-left: 0; }
  .top { padding: 12px 12px 0 120px; }
}
@media (max-width: 600px) {
  .brand { top: 20px; left: 20px; }
  .langs button { font-size: 14px; padding: 14px 10px; }
  .ctas { flex-direction: column; gap: 6px; }
  .idents-cap { width: 100%; text-align: center; }
  .chip { font-size: 12px; padding: 8px 8px 10px; }
  .chip-bar { left: 8px; right: 8px; }
}
