/* KINESTA — kinesta.app. Família VESTA: noite castanha, creme, areia. */
:root {
  --night: #0c0907;
  --glow: #402918;
  --card: #1a1512;
  --card-2: #221c17;
  --line: #3a2f27;
  --line-2: #56473b;
  --cream: #f3ece4;
  --dust: #b9aea2;
  --mute: #8a7e73;
  --sand: #b8977a;
  --sand-deep: #8e6f55;
  --good: #6dbf8e;
  --warn: #e0b04a;
  --bad: #d9675f;
  --serif: "Newsreader", "New York", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(44px, 7.2vw, 92px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; }
h3 { font-size: 24px; line-height: 1.2; font-weight: 400; }
p { margin: 0; }
.lede { color: var(--dust); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 34em; }

/* ---------- navegação */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(12, 9, 7, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(58, 47, 39, 0.6);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 56px; }
.nav .logo img { height: 22px; width: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { text-decoration: none; font-size: 14px; color: var(--dust); }
.nav ul a:hover { color: var(--cream); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--dust); padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { color: var(--cream); }
.lang div { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; min-width: 150px; }
.lang div a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; text-decoration: none; color: var(--dust); }
.lang div a:hover, .lang div a[aria-current] { background: var(--card-2); color: var(--cream); }
.nav .get { font-size: 13px; font-weight: 600; text-decoration: none; background: var(--sand); color: var(--night); padding: 7px 14px; border-radius: 999px; }

/* ---------- botão App Store */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream); color: var(--night);
  text-decoration: none; padding: 10px 22px 10px 18px; border-radius: 14px;
  transition: background .2s;
}
.store:hover { background: #fff; }
.store svg { width: 24px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store small { font-size: 11px; letter-spacing: .01em; }
.store b { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- hero */
.hero { position: relative; text-align: center; padding: clamp(56px, 9vw, 112px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background: radial-gradient(60% 55% at 50% 0%, rgba(64, 41, 24, 0.95), rgba(64, 41, 24, 0.25) 55%, transparent 75%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero .icon { width: 84px; height: 84px; border-radius: 19px; margin: 0 auto 28px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.hero h1 { max-width: 12ch; margin: 0 auto; }
.hero .lede { margin: 24px auto 0; text-align: center; }
.hero .cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero .note { font-size: 15px; color: var(--dust); }
.hero .note b { color: var(--cream); font-weight: 500; }
.hero .for { font-size: 13px; color: var(--mute); }

/* trio de iPhones */
.trio { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 40px); margin: 64px auto 0; padding: 0 var(--gutter); }
.trio .phone:nth-child(1), .trio .phone:nth-child(3) { width: clamp(150px, 19vw, 230px); opacity: .9; transform: translateY(-36px); }
.trio .phone:nth-child(2) { width: clamp(220px, 27vw, 320px); }

.phone {
  position: relative; aspect-ratio: 9 / 19.5;
  border-radius: 13% / 6%;
  background: #0a0806;
  box-shadow: 0 0 0 1.5px #4a3c31, 0 0 0 5px #17120f, 0 30px 80px rgba(0,0,0,.55);
}
.phone video, .phone .screen { position: absolute; inset: 1.48% 3.2%; width: 93.6%; height: 97.04%; object-fit: cover; border-radius: 10% / 4.6%; background: #1a1512; }
.phone::after { /* dynamic island */
  content: ""; position: absolute; top: 4.6%; left: 50%; width: 30%; height: 3.4%;
  transform: translateX(-50%); background: #000; border-radius: 99px;
}
.phone.land { aspect-ratio: 19.5 / 9; border-radius: 6% / 13%; }
.phone.land video { inset: 3.2% 1.48%; width: 97.04%; height: 93.6%; border-radius: 4.6% / 10%; }
.phone.land::after { top: 50%; left: 3%; width: 1.5%; height: 22%; transform: translateY(-50%); }

/* ---------- secções */
section { padding: clamp(80px, 11vw, 150px) 0; }
.head { max-width: 760px; }
.head.center { margin: 0 auto; text-align: center; }
.head.center .lede { margin-left: auto; margin-right: auto; }
.head .lede { margin-top: 20px; }

/* porquê: três pilares + foto */
.why .head { max-width: 820px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 56px; }
.pillars article { border-top: 1px solid var(--line-2); padding-top: 24px; }
.pillars h3 { font-size: clamp(24px, 2.3vw, 30px); font-weight: 300; }
.pillars p { color: var(--dust); margin-top: 12px; font-size: 16px; }
.photo { margin: clamp(48px, 6vw, 80px) 0 0; }
.photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 60%; border-radius: 28px; }

/* como funciona: passos + ecrã da app */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--sand); font-weight: 300; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { color: var(--dust); font-size: 16px; }
.fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.fig > .phone { width: min(300px, 78vw); }
.fig figcaption { font-size: 13px; color: var(--mute); text-align: center; margin-top: 14px; }

/* testes */
.tests { background: linear-gradient(var(--night), #120d0a 30%, #120d0a 70%, var(--night)); }
.seg { display: flex; justify-content: center; margin: 48px auto 0; }
.seg [role=tablist] { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg button {
  font: 500 14px var(--sans); color: var(--dust); background: none; border: 0; padding: 9px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.seg button[aria-selected=true] { background: var(--cream); color: var(--night); }
.panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: 64px; }
.panel[hidden] { display: none; }
.panel .fig .media { align-self: stretch; }
.panel .media { display: flex; justify-content: center; gap: 20px; align-items: flex-end; }
.panel .media .phone { width: min(270px, 44%); }
.panel .media .phone.single { width: min(300px, 70%); }
.panel .media .phone.land { width: 100%; }
.panel figcaption, .cap { font-size: 13px; color: var(--mute); text-align: center; margin-top: 14px; }
.panel h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 300; }
.panel .txt p { color: var(--dust); margin-top: 16px; max-width: 30em; }
.metrics { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.metrics li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.foot-art { width: 100%; max-width: 420px; margin: 0 auto; }

/* evolução */
.evo-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; margin-top: 64px; }
.evo-side { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.evo-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 28px); }
.evo-k { font-size: 14px; color: var(--dust); margin-bottom: 8px; }
.evo-chart { width: 100%; height: auto; }
.evo-chart .band { fill: rgba(109, 191, 142, 0.12); }
.evo-chart .grid { stroke: var(--line); stroke-width: 1; }
.evo-chart .ax { fill: var(--mute); font: 13px var(--sans); }
.evo-chart .bandlab { fill: var(--good); font: 500 12px var(--sans); }
.evo-chart .ln { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.evo-chart .ln.r, .evo-chart .pt.r { stroke: #c8742f; }
.evo-chart .ln.l, .evo-chart .pt.l { stroke: #3a9db0; }
.evo-chart .pt { fill: var(--night); stroke-width: 2.5; }
.evo-chart .val { font: 600 14px var(--sans); }
.evo-chart .val.r { fill: #e09a5e; }
.evo-chart .val.l { fill: #6cc2d2; }
.evo-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 13px; color: var(--dust); margin-top: 10px; }
.evo-legend .lg { display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: -10px; }
.evo-legend .lg.r { background: #c8742f; }
.evo-legend .lg.l { background: #3a9db0; }
.evo-legend .lg.band { height: 10px; background: rgba(109, 191, 142, 0.25); }
.evo-file { color: var(--dust); max-width: 36em; }

/* ligações para PDF */
.dl { display: flex; flex-direction: column; }
.dl-h { font-size: 14px; color: var(--mute); margin-bottom: 6px; }
.pdf { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t i" "m i"; align-items: center; column-gap: 14px;
  padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.pdf:hover .pdf-t { color: var(--sand); }
.pdf-t { grid-area: t; font-size: 16px; color: var(--cream); }
.pdf-m { grid-area: m; font-size: 13px; color: var(--mute); }
.pdf svg { grid-area: i; width: 20px; height: 20px; color: var(--sand); }
.evo-side .dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
.evo-side .dl .dl-h { grid-column: 1 / -1; }
.fls { display: inline-flex; gap: 10px; font-size: 13px; color: var(--dust); border-top: 1px solid var(--line); align-self: stretch; align-items: center; padding-left: 4px; }
.fl i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.fl-good i { background: var(--good); } .fl-attention i { background: var(--warn); } .fl-marked i { background: var(--bad); }
.panel .dl { margin-top: 28px; }

/* relatórios */
.rep-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 64px; }
.pages { position: relative; aspect-ratio: 1 / 1.25; }
.pages .pg { position: absolute; width: 74%; height: auto; border-radius: 4px; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.3); background: #fff; }
.pages .pg1 { left: 0; top: 0; transform: rotate(-2.5deg); }
.pages .pg2 { right: 0; bottom: 0; transform: rotate(2deg); }
.points { list-style: none; padding: 0; margin: 0; }
.points li { padding: 18px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.points p { color: var(--dust); font-size: 15px; margin-top: 4px; }
.dl-all { margin-top: clamp(64px, 8vw, 104px); }
.dl-all .head h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; }
.dl-all .head p { color: var(--dust); margin-top: 10px; }
.dl.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); margin-top: 28px; }
.trio-cap { margin-top: 18px; }

/* factos */
.facts .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.facts article { border-top: 1px solid var(--line-2); padding-top: 26px; }
.facts h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 300; }
.facts p { color: var(--dust); margin-top: 14px; font-size: 16px; }
.refs { margin-top: 18px; font-size: 13px; color: var(--mute); line-height: 1.7; }

/* preço */
.price { text-align: center; }
.price .card {
  max-width: 560px; margin: 56px auto 0; padding: clamp(36px, 5vw, 56px);
  border-radius: 32px; background: radial-gradient(120% 90% at 50% 0%, #2a1c12, var(--card) 60%); border: 1px solid var(--line);
}
.price .amount { font-family: var(--serif); font-weight: 300; font-size: clamp(76px, 10vw, 112px); line-height: 1; letter-spacing: -0.03em; }
.price .per { color: var(--dust); margin-top: 8px; }
.price .after { color: var(--mute); font-size: 14px; }
.price ul { list-style: none; padding: 0; margin: 32px auto; max-width: 340px; text-align: left; }
.price li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.price li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 10px; height: 6px; border-left: 1.5px solid var(--sand); border-bottom: 1.5px solid var(--sand); transform: rotate(-45deg); }

/* perguntas */
.faq .list { max-width: 780px; margin: 48px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--sand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--dust); padding: 0 40px 24px 0; max-width: 40em; }

/* final + rodapé */
.final { text-align: center; padding-bottom: clamp(80px, 10vw, 130px); }
.final h2 { max-width: 22ch; margin: 0 auto 36px; }
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
footer .logo img { height: 20px; width: auto; opacity: .9; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { text-decoration: none; color: var(--dust); }
footer a:hover { color: var(--cream); }
footer .fam a { color: var(--sand); }

/* páginas legais */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 28px; }
.legal h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; margin: 36px 0 10px; }
.legal p { color: var(--dust); margin-bottom: 12px; }
.legal a { color: var(--sand); }
.legal .back { display: inline-block; margin-top: 40px; font-size: 15px; }

/* ---------- responsivo */
@media (max-width: 900px) {
  .nav ul { display: none; }
  .nav .lang { margin-left: auto; }
  .panel, .split, .evo-grid, .rep-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .photo img { aspect-ratio: 4 / 3; }
  .dl.grid3 { grid-template-columns: 1fr 1fr; }
  .pages { max-width: 460px; width: 100%; margin: 0 auto; }
  .facts .grid { grid-template-columns: 1fr; }
  .trio .phone:nth-child(1), .trio .phone:nth-child(3) { display: none; }
  .trio .phone:nth-child(2) { width: min(300px, 72vw); }
  .panel .txt { order: -1; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .metrics { grid-template-columns: 1fr; }
  .nav .get { display: none; }
  .seg { justify-content: flex-start; }
  footer nav { margin-left: 0; }
  .dl.grid3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =================================================================== abertura animada (scroll) */
.khero { position: relative; background: var(--night); padding: 0; }
.kh-stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.khero.is-live { height: 700vh; }
.khero.is-live .kh-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.kh-stage::before { content: ""; position: absolute; inset: -20% -10% auto; height: 100%;
  background: radial-gradient(55% 50% at 64% 32%, rgba(64,41,24,.9), rgba(64,41,24,.2) 55%, transparent 75%); pointer-events: none; }
.kh-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kh-intro { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; padding-top: 56px;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: opacity, transform; }
.kh-in { max-width: 540px; }
.kh-in h1 { font-size: clamp(44px, 6vw, 86px); line-height: 1.02; text-wrap: balance; }
.kh-in .lede { margin-top: 24px; }
.kh-in .cta { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.kh-in .note { font-size: 15px; color: var(--dust); }
.kh-in .note b { color: var(--cream); font-weight: 500; }
.kh-in .for { font-size: 13px; color: var(--mute); }
.kh-caps { position: absolute; left: 0; right: 0; bottom: clamp(40px, 10vh, 110px); z-index: 2; pointer-events: none; }
.kh-cap { position: absolute; bottom: 0; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  max-width: 470px; padding-right: var(--gutter); opacity: 0; visibility: hidden; }
.kh-cap h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; text-wrap: balance; }
.kh-cap p { color: var(--dust); margin-top: 12px; font-size: 18px; }
.kh-cap.is-last { pointer-events: auto; }
.kh-cap .store { margin-top: 24px; }
.kh-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(58,47,39,.5); z-index: 3; }
.kh-prog i { display: block; height: 100%; background: var(--sand); transform-origin: 0 50%; transform: scaleX(0); }
.kh-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; font-size: 12px; color: var(--mute);
  display: none; flex-direction: column; align-items: center; gap: 8px; letter-spacing: .04em; }
.khero.is-live .kh-cue { display: flex; }
.kh-cue::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--sand), transparent); animation: khcue 2s ease-in-out infinite; }
@keyframes khcue { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

/* trio de telemóveis depois da abertura */
.trio-sec { padding-top: clamp(80px, 10vw, 130px); }
.trio-sec .trio { margin-top: 56px; }
.trio-sec .trio .phone { transition: none; will-change: transform; }

/* porquê: frase que acende palavra a palavra */
.why h2 { max-width: 16ch; }
.statement { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.8vw, 50px); line-height: 1.18; letter-spacing: -0.01em;
  max-width: 24ch; margin-top: 28px; color: var(--cream); text-wrap: pretty; }
html.sx .statement span { color: rgba(243,236,228,.16); transition: color .35s ease; }
html.sx .statement span.on { color: var(--cream); }
.photo { overflow: hidden; border-radius: 28px; }
.photo img { border-radius: 0; will-change: transform; transform-origin: 50% 60%; }

/* como funciona: passos com telemóvel fixo */
.sticky { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); margin-top: 24px; align-items: start; }
.sticky .steps { margin: 0; }
.sticky .steps li { display: flex; flex-direction: column; justify-content: center; min-height: 64vh; padding: 0; border-top: 0; }
.sticky .steps li::before { margin-bottom: 14px; font-size: 48px; }
.sticky .steps h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 300; }
.sticky .steps p { font-size: 18px; max-width: 28em; margin-top: 8px; }
html.sx .sticky .steps li { opacity: .25; transition: opacity .5s ease; }
html.sx .sticky .steps li.is-on { opacity: 1; }
.sticky-media { position: sticky; top: calc(56px + 9vh); display: flex; justify-content: center; }
.how-phone { width: min(300px, 100%); }
.how-phone .layer { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.how-phone .layer.is-on, html:not(.sx) .how-phone .layer:first-child { opacity: 1; }

/* revelações */
html.sx .rv { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.7,.1,1) var(--d, 0s), transform 1.1s cubic-bezier(.2,.7,.1,1) var(--d, 0s); }
html.sx .rv.is-in { opacity: 1; transform: none; }
html.sx [data-draw] .ln { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1) .3s; }
html.sx [data-draw] .pt, html.sx [data-draw] .val { opacity: 0; transition: opacity .5s ease 1.4s; }
html.sx [data-draw].is-drawn .ln { stroke-dashoffset: 0; }
html.sx [data-draw].is-drawn .pt, html.sx [data-draw].is-drawn .val { opacity: 1; }
.pages .pg { will-change: transform; }

@media (max-width: 900px) {
  .sticky { grid-template-columns: 1fr; gap: 0; }
  .sticky-media { order: -1; top: 60px; z-index: 2; padding: 8px 0 18px; background: linear-gradient(var(--night) 86%, rgba(12,9,7,0)); }
  .how-phone { width: min(200px, 50vw); }
  .sticky .steps li { min-height: 58vh; justify-content: flex-end; padding-bottom: 10vh; }
  .pages { width: 86%; }
}
@media (max-width: 760px) {
  .khero.is-live { height: 640vh; }
  .kh-intro { align-items: flex-start; padding-top: calc(64px + 4vh); background: linear-gradient(rgba(12,9,7,.82), rgba(12,9,7,.55) 55%, rgba(12,9,7,0) 80%); }
  .kh-cap { left: var(--gutter); right: var(--gutter); }
  .kh-caps { bottom: 30px; }
  .kh-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(rgba(12,9,7,0), rgba(12,9,7,.92) 50%); pointer-events: none; z-index: 1; }
  .kh-cap p { font-size: 16px; }
}
