/* Kivern V2.2. Cores do app (ChronoHUD/KivernAppearance.swift): marfim e terracota no Claro, azul-noite no Escuro.
   Títulos em serifa, como no piloto V2; o resto na fonte do sistema. */
:root {
  --ivory: #FCF4EA;
  --paper: #F6EADC;
  --line: #EADBCB;
  --ink: #1A1714;
  --muted: #6F6356;
  --terra: #C9552D;
  --terra-text: #BE4416;
  --rest: #458766;
  --night: #11141A;
  --night-2: #18202A;
  --night-line: #232C37;
  --mist: #F5F7FA;
  --mist-2: #B6BCC2;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 48px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--ivory); padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { top: 12px; }
.shell { width: min(1240px, 100% - var(--gutter)); margin-inline: auto; }
section { scroll-margin-top: 72px; }

h1, h2, .slide-title, .doc-h, .styles-list b, .closing h2, .private h3 { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -.025em; }
h2 em, h1 em { font-style: italic; color: var(--terra-text); }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.kicker, .sub-kicker, .eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-text); }
.section-lead { margin: 28px 0 0; max-width: 46ch; font-size: 20px; line-height: 1.5; color: var(--muted); }
kbd { font: 600 14px/1 var(--sans); display: inline-flex; align-items: center; justify-content: center; min-width: 2em; padding: .45em .6em;
  border-radius: 7px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line); }

/* Janelas de Mac de mentira (só o contexto; o Kivern é sempre gravação do app) */
.win-bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; border-bottom: 1px solid rgba(26, 23, 20, .08); }
.lights { display: flex; gap: 7px; flex: none; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.win-title { font-size: 13px; font-weight: 600; color: var(--muted); }
.address { flex: 1; min-width: 0; text-align: center; font-size: 12.5px; color: #cfcfd2; background: #333336; border-radius: 7px; padding: 5px 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cabeçalho */
.masthead { position: sticky; top: 0; z-index: 20; background: rgba(252, 244, 234, .95); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.masthead.is-stuck { border-color: var(--line); }
.masthead-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; letter-spacing: .41em; flex: none; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a, .langs a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover, .langs a:hover, .nav a[aria-current] { color: var(--ink); }
.langs { display: flex; gap: 10px; font-size: 13px; font-weight: 600; }
.langs a[aria-current] { color: var(--ink); }
.motion { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 6px 4px; font-size: 13px; color: var(--muted); cursor: pointer; }
.motion:hover { color: var(--ink); }
.motion-icon { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; }
.motion-icon::before, .motion-icon::after { content: ""; position: absolute; top: 3px; width: 2px; height: 5px; background: currentColor; }
.motion-icon::before { left: 3px; } .motion-icon::after { left: 6px; }
.motion[aria-pressed="true"] .motion-icon::before { left: 4px; top: 2.5px; width: 0; height: 0; background: none;
  border-left: 5px solid currentColor; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.motion[aria-pressed="true"] .motion-icon::after { display: none; }

/* 01 — Abertura */
.hero { padding: 64px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(50px, 5.1vw, 78px); line-height: .98; letter-spacing: -.03em; }
.hero h1 em { display: block; }
.hero-lead { margin: 30px 0 0; max-width: 34ch; font-size: 20px; line-height: 1.5; color: var(--muted); }
.cta { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; padding: 14px 16px 14px 24px; border-radius: 99px;
  background: var(--ink); color: var(--ivory); text-decoration: none; font-weight: 600; font-size: 16px; transition: background .25s; }
.cta:hover { background: #33291f; }
.cta span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--terra); }
.cta svg { width: 16px; height: 16px; }
.release { display: grid; gap: 2px; margin: 34px 0 0; font-size: 15px; }
.release span { color: var(--muted); }

.desk { position: relative; margin: 0; aspect-ratio: 16 / 12.4; --kv: 46%; }
.win { position: absolute; border-radius: 12px; overflow: hidden; transition: transform 1.2s var(--ease), filter 1.2s var(--ease), box-shadow 1.2s;
  box-shadow: 0 40px 80px -36px rgba(26, 23, 20, .55), 0 0 0 1px rgba(26, 23, 20, .1); }
.win-browser { right: 0; bottom: 6%; width: 74%; background: #141416; color: #f1f1f1; z-index: 2; }
.win-browser .win-bar { background: #222224; border-color: rgba(0, 0, 0, .5); }
.win-player { position: relative; aspect-ratio: 16 / 9; background: #000; }
/* O vídeo bem mais calmo, para não disputar com o Kivern. */
.desk-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.55); }
.win-progress { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.win-progress i { display: block; height: 100%; width: 0; background: #fff; }
.win-caption { margin: 0; padding: 12px 16px 16px; font-size: 14px; font-weight: 600; }
/* As notas ficam no canto de cima, atrás do navegador: o título continua legível quando elas estão atrás. */
.win-notes { left: 0; top: 6%; width: 42%; background: #F7EEE3; z-index: 1; transform-origin: top left; }
.win-notes .win-bar { height: 30px; }
.slide { padding: 22px 26px 26px; }
.slide-kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-text); }
.slide-title { margin: 10px 0 14px; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.08; letter-spacing: -.015em; color: #3d342b; }
.slide ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
/* As duas janelas trocam de lugar; a de trás recua um pouco. O Kivern não se mexe: fica sempre na frente. */
/* As janelas de trás ficam como fundo: menores, sem cor viva e um pouco fora de foco. */
.win { filter: saturate(.7); }
.desk[data-front="browser"] .win-notes, .desk[data-front="notes"] .win-browser { transform: scale(.94); filter: brightness(.9) saturate(.5) blur(1.5px); }
.desk[data-front="notes"] .win-notes { z-index: 3; }
/* O Kivern desce até a borda do navegador: a maior parte dele fica sobre o vídeo escuro, que o destaca do marfim. */
/* Ele sai da borda do navegador: assim se vê que flutua por cima de tudo, e a aula continua visível embaixo. */
.desk-kivern { position: absolute; top: 15%; right: -3%; z-index: 5; width: var(--kv);
  filter: drop-shadow(0 40px 56px rgba(26, 23, 20, .5)) drop-shadow(0 6px 14px rgba(26, 23, 20, .26)); }
.desk-kivern .kv-pill { display: none; }

/* 02 — Liberdade */
.freedom { padding: 40px 0 112px; }
.freedom-head h2 { max-width: 12ch; }
.freedom-body { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px 56px; margin-top: 64px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: sticky; top: 96px; }
.steps button { display: grid; grid-template-columns: 34px 1fr; gap: 2px 8px; width: 100%; padding: 16px 0 16px 18px; border: 0; border-left: 2px solid var(--line);
  background: none; text-align: left; cursor: pointer; color: var(--muted); transition: color .3s, border-color .3s; }
.steps button:hover { color: var(--ink); }
.steps button[aria-pressed="true"] { color: var(--ink); border-color: var(--terra); }
.step-n { grid-row: span 2; font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 3px; }
.steps b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; }
.step-line { font-size: 15px; }
/* Miniaturas na mesma escala: a janela, a pílula e os números lado a lado mostram o tamanho antes do texto. */
.steps button { grid-template-columns: 34px 1fr 66px; }
.step-thumb { grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center end; align-self: center; }
.step-thumb img { max-width: 100%; height: auto; filter: drop-shadow(0 4px 8px rgba(26, 23, 20, .18)); opacity: .55; transition: opacity .3s; }
.steps button[aria-pressed="true"] .step-thumb img, .steps button:hover .step-thumb img { opacity: 1; }
.steps li:nth-child(4) .step-thumb { background: repeating-linear-gradient(180deg, transparent 0 7px, rgba(61, 52, 43, .22) 7px 8px); border-radius: 6px; }
.steps li:nth-child(4) .step-thumb img { opacity: .3; }
.steps li:nth-child(4) button[aria-pressed="true"] .step-thumb img, .steps li:nth-child(4) button:hover .step-thumb img { opacity: .45; }
.stage { position: relative; grid-column: 2; grid-row: 1; }
.doc { border-radius: 14px; overflow: hidden; background: #fffdf9;
  box-shadow: 0 50px 100px -50px rgba(26, 23, 20, .5), 0 0 0 1px rgba(26, 23, 20, .09); }
.doc-page { padding: 56px 56px 150px; min-height: 480px; }
.doc-kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doc-text .doc-h { margin: 12px 0 18px; font-size: 34px; line-height: 1.08; letter-spacing: -.015em; }
/* O texto corre por baixo do Kivern: é ali que a transparência aparece. */
.doc-text p { margin: 0 0 14px; font-family: var(--serif); font-size: 18px; line-height: 1.65; color: #3d342b; }
/* As três formas do Kivern ficam no mesmo canto, sobre o texto; cada uma no tamanho que teria num Mac com esta largura.
   A que sai some primeiro e só depois a outra entra: nunca há duas formas na tela. */
.free-kivern { position: absolute; top: 70px; right: 28px; width: 34%; aspect-ratio: 680 / 614; pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(26, 23, 20, .32)); transition: filter .5s var(--ease); }
.free-kivern .film { position: absolute; top: 0; right: 0; opacity: 0; transform: scale(.96); transform-origin: top right;
  transition: opacity .28s linear, transform .28s var(--ease); }
.free-kivern .film.is-on { opacity: 1; transform: none; transition: opacity .45s var(--ease) .3s, transform .6s var(--ease) .3s; }
.free-window { width: 100%; }
.free-pill { width: 64%; }
/* Só números de verdade: a gravação do app sem cápsula (452 de 680 pontos da janela), e sem sombra, como no Mac. */
.free-numbers { width: 66.5%; }
.free-kivern:has(.free-numbers.is-on) { filter: drop-shadow(0 22px 34px rgba(26, 23, 20, 0)); }
.free-kivern.is-faded .free-window { transition: opacity .25s linear; }
/* Na transparência, a sombra sai junto: sem ela, o Kivern não parece uma segunda janela. */
.free-kivern.is-faded { filter: drop-shadow(0 22px 34px rgba(26, 23, 20, 0)); }
/* O controle fica dentro do documento, embaixo do texto: aparece na etapa 4 sem empurrar nada. */
.opacity { grid-column: 2; grid-row: 1; align-self: end; position: relative; z-index: 3; margin: 0 24px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 22px; border-radius: 16px; background: var(--paper);
  transition: opacity .4s var(--ease); }
/* Fora da etapa 4 o controle some, mas guarda o lugar: a página não pula. */
.opacity.is-off { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.opacity label { font-weight: 600; font-size: 15px; }
.opacity input { flex: 1; min-width: 160px; accent-color: var(--terra); height: 32px; cursor: pointer; }
.opacity output { width: 4ch; font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.opacity-note { flex-basis: 100%; margin: 0; font-size: 15px; color: var(--muted); }

/* 03 — Fluid: um bloco grafite com cantos arredondados, sem degradê de transição. */
.fluid { background: var(--night); color: var(--mist); padding: 120px 0 104px; border-radius: 40px; margin-inline: 12px; }
.fluid .kicker { color: #E0663A; }
.fluid h2 em { color: #F08A5D; }
.fluid .section-lead { color: var(--mist-2); max-width: 40ch; }
.fluid-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.fluid-head .kicker { grid-column: 1 / -1; margin: 0; }
.fluid-head .section-lead { margin: 0; }
/* A cápsula é o centro do capítulo: no tamanho da gravação (920 px), com um brilho quente em volta. */
.fluid-stage { display: grid; place-items: center; padding: 128px 0 144px;
  background: radial-gradient(56% 60% at 50% 50%, rgba(224, 102, 58, .3), rgba(224, 102, 58, .08) 55%, transparent 78%); }
.fluid-capsule { width: min(920px, 100%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.moments { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px;
  border-top: 1px solid var(--night-line); padding-top: 56px; }
.moment-film { height: 104px; display: flex; align-items: center; margin-bottom: 24px; }
.moment-film .film { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.moments h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: -.01em; margin-bottom: 8px; }
.moments p { margin: 0; color: #7d858e; font-size: 14.5px; max-width: 32ch; }
.fluid-foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-top: 56px;
  padding-top: 32px; border-top: 1px solid var(--night-line); }
.fluid-modes { margin: 0; max-width: 60ch; color: var(--mist-2); font-size: 16px; }
.fluid-note { margin: 0; font-size: 13px; color: #6b737c; justify-self: end; text-align: right; max-width: 36ch; }

/* 04 — Do seu jeito */
.way { padding: 112px 0 104px; }
.way-head h2 { max-width: 11ch; }
.styles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; margin-top: 64px; align-items: start; }
.styles-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.styles-list li { border-bottom: 1px solid var(--line); }
.styles-list button { display: grid; gap: 4px; width: 100%; padding: 18px 0 18px 0; border: 0; background: none; text-align: left; cursor: pointer;
  color: var(--muted); transition: color .25s, padding .4s var(--ease); }
.styles-list button:hover { color: var(--ink); }
.styles-list button[aria-pressed="true"] { color: var(--ink); padding-left: 18px; box-shadow: inset 2px 0 var(--terra); }
.styles-list b { font-size: 30px; line-height: 1.1; letter-spacing: -.015em; }
.styles-list span { font-size: 15px; }
.styles-stage { position: sticky; top: 96px; border-radius: 28px; background: var(--paper); padding: 36px 40px 26px; transition: background .5s var(--ease); }
.styles-stage[data-theme="dark"] { background: var(--night-2); color: var(--mist); }
/* Altura fixa: trocar de estilo não muda o tamanho do palco. */
.styles-frame { display: grid; place-items: center; height: 500px; margin-inline: auto; }
.style-shot { width: min(450px, 100%); max-height: 100%; object-fit: contain; filter: drop-shadow(0 26px 40px rgba(26, 23, 20, .22)); transition: opacity .2s; }
.style-shot.is-loading { opacity: .15; }
.look { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(26, 23, 20, .1); font-size: 14px; }
.styles-stage[data-theme="dark"] .look { border-color: var(--night-line); }
.look-row { display: flex; align-items: center; gap: 12px; }
.look-row > span { color: var(--muted); }
.styles-stage[data-theme="dark"] .look-row > span, .styles-stage[data-theme="dark"] .look-note { color: var(--mist-2); }
.styles-stage[data-theme="dark"] .seg { background: var(--night); }
.styles-stage[data-theme="dark"] .seg button { color: var(--mist-2); }
.styles-stage[data-theme="dark"] .seg button[aria-pressed="true"] { background: var(--night-line); color: var(--mist); }
.look-note { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 13px; }
/* 03 — Três modos: a interface de cada um, gravada do app, sobre um palco comum; a pergunta que ele responde embaixo. */
.modes { padding: 56px 0 120px; }
.modes-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.modes-head .kicker { grid-column: 1 / -1; margin: 0; }
.modes-head .section-lead { margin: 0; }
.mode-row { list-style: none; margin-block: 64px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mode-row li { display: grid; grid-template-rows: auto 1fr; }
.mode-film { display: grid; place-items: center; height: 420px; padding: 28px; border-radius: 24px; background: var(--paper); }
.mode-film .film { width: min(280px, 100%); filter: drop-shadow(0 22px 34px rgba(26, 23, 20, .2)); }
/* A pílula não tem texto (serve ao inglês); fica maior, no lugar da janela. */
.mode-pilula { height: 220px; }
.mode-pilula .film { width: min(300px, 100%); }
.mode-copy { padding: 24px 4px 0; }
.mode-row h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -.015em; }
.mode-ask { margin: 4px 0 10px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--terra-text); }
.mode-row p:last-child { margin: 0; color: var(--muted); max-width: 34ch; font-size: 16px; }
.phase-colors { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-block: 32px 0; font-size: 14px; color: var(--muted); }
.phase-colors span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-focus { background: var(--terra); } .dot-break { background: var(--rest); }

/* Botões em grupo e chave, como no V3 */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper); }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 9px; font-size: 14px; cursor: pointer; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; transition: background .25s, color .25s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(26, 23, 20, .12); }
.seg button:disabled { opacity: .32; cursor: not-allowed; }
.seg button:disabled:hover { color: var(--muted); }
.styles-stage .seg { background: rgba(26, 23, 20, .06); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.sw-terracotta { background: #C9552D; } .sw-blue { background: #1F6FD1; } .sw-graphite { background: #7A828C; }
.switch { width: 46px; height: 28px; border-radius: 99px; border: 0; background: var(--line); position: relative; cursor: pointer; transition: background .25s; flex: none; }
.switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch[aria-checked="true"] { background: var(--terra); }
.switch[aria-checked="true"] span { transform: translateX(18px); }

/* 05 — Experimente: a cena da V3, com a página mais simples e os controles agrupados. */
.explore { padding: 104px 0 120px; background: var(--paper); }
.explore-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.explore-head .kicker { grid-column: 1 / -1; margin: 0; }
.explore-head h2 { max-width: 13ch; }
.explore-head .section-lead { margin: 0; }
.scene { margin-block: 0; }
.screen { position: relative; overflow: hidden; border-radius: 18px; background: #1d1714;
  box-shadow: 0 60px 120px -50px rgba(26, 23, 20, .6), 0 0 0 1px rgba(26, 23, 20, .14); }
.mac { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform-origin: 0 0; isolation: isolate; overflow: hidden; font-size: 14px; line-height: 1.4; }
.mac::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, #3a302b, #221c19 60%, #1b1715); }
.menubar-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  height: 28px; padding: 0 18px; font-size: 13.5px; color: #fff; background: rgba(20, 16, 14, .3); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.menus { display: flex; gap: 22px; white-space: nowrap; }
.menus span:first-child { font-weight: 700; }
.status { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.status img { display: block; height: 12px; width: auto; }
.kv-item { position: relative; }
.kv-icon { display: grid; place-items: center; height: 22px; padding: 0 7px; border: 0; border-radius: 5px; background: none; cursor: default; }
.kv-icon[aria-expanded="true"] { background: rgba(255, 255, 255, .22); }
.kv-menu { position: absolute; top: 26px; right: -4px; z-index: 6; min-width: 248px; margin: 0; padding: 5px; list-style: none;
  border-radius: 10px; color: #f2f2f2; background: rgba(42, 38, 36, .82); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .7), inset 0 0 0 .5px rgba(255, 255, 255, .18), 0 14px 40px rgba(0, 0, 0, .45); font-size: 13.5px; }
.kv-menu[hidden] { display: none; }
.kv-menu button { display: block; width: 100%; padding: 3px 10px 3px 22px; border: 0; border-radius: 5px; background: none; color: inherit;
  font: inherit; text-align: left; white-space: nowrap; cursor: default; }
.kv-menu button:hover, .kv-menu button:focus-visible, .has-sub:hover > button { background: #2f6fde; outline: none; }
.kv-menu [role="separator"] { height: 1px; margin: 5px 10px; background: rgba(255, 255, 255, .14); }
.kv-menu [aria-checked="true"]::before { content: "✓"; position: absolute; margin-left: -14px; }
.has-sub { position: relative; }
.has-sub > button::after { content: "›"; float: right; font-size: 16px; line-height: 1; opacity: .7; }
.kv-menu.sub { display: none; top: -5px; right: calc(100% - 4px); min-width: 170px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.browser { position: absolute; top: 62px; bottom: 0; left: 14%; right: 2.5%; display: flex; flex-direction: column;
  background: #0f0f10; color: #f1f1f1; border-radius: 12px 12px 0 0; overflow: hidden;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .09); }
.browser-bar { flex: none; display: grid; grid-template-columns: 1fr minmax(0, 2fr) 1fr; align-items: center; height: 52px; padding: 0 18px;
  background: #202022; border-bottom: 1px solid rgba(0, 0, 0, .5); }
.browser-bar .lights i { width: 12px; height: 12px; }
.browser-bar .address { font-size: 13px; padding: 7px 12px; }
.page { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; padding: 26px 32px 0; }
.page::-webkit-scrollbar { display: none; }
.player { position: relative; aspect-ratio: 16 / 9; max-height: 600px; margin-inline: auto; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; isolation: isolate; }
.player-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.55); }
.player-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
.track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; background: #fff; }
.player-state { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; z-index: 1; }
.player-state::before, .player-state::after { content: ""; position: absolute; top: 22px; width: 6px; height: 20px; border-radius: 2px; background: #fff; }
.player-state::before { left: 24px; }
.player-state::after { left: 34px; }
.player-state.is-play::before { left: 26px; top: 21px; width: 0; height: 0; border-radius: 0; background: none;
  border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.player-state.is-play::after { display: none; }
.player-state.flash { animation: flash .7s var(--ease); }
@keyframes flash { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.25); } }
.watch-title { margin: 18px 0 0; font-size: 20px; font-weight: 600; }
/* O Kivern fica sobre o vídeo, que é onde ele faz sentido. */
.hud { position: absolute; top: 170px; left: 22%; z-index: 2; display: grid; width: 340px; cursor: default;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .4)); transition: opacity .6s var(--ease), visibility .6s; }
.hud .film { grid-area: 1 / 1; width: 100%; height: auto; opacity: 0; transition: opacity .35s var(--ease); }
.hud .film.is-on { opacity: 1; }
.hud.is-hidden { opacity: 0 !important; visibility: hidden; }
.scene.clickthrough .hud { pointer-events: none; }
.hud::after { content: ""; position: absolute; inset: -3px; border-radius: 14px; border: 3px solid #FF9500; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.scene.clickthrough .hud::after { opacity: 1; }
.hud[data-shape="pilula"]::after, .hud[data-shape="numeros"]::after { border-radius: 999px; }
.full-open { position: absolute; right: 16px; bottom: 16px; z-index: 4; border: 0; border-radius: 99px; padding: 10px 18px;
  font-size: 14px; font-weight: 600; color: #fff; background: rgba(20, 16, 14, .55); cursor: pointer;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); transition: background .25s; }
.full-open:hover { background: rgba(20, 16, 14, .8); }
.full-close { display: none; }

.scene-controls { margin-top: 28px; }
/* Primeiro nível: quatro momentos prontos, cada um com a miniatura da gravação sobre o vídeo. */
.presets { display: grid; gap: 12px; margin-bottom: 22px; }
.preset-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.preset { display: grid; gap: 2px; padding: 10px 10px 14px; border: 0; border-radius: 18px; background: var(--ivory); text-align: left; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.preset:hover { box-shadow: 0 0 0 1px var(--muted); }
.preset[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--terra); }
.preset:active { transform: scale(.985); }
.preset b { padding: 10px 6px 0; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; }
.preset > span:last-child { padding: 0 6px; font-size: 14px; color: var(--muted); }
.preset-thumb { display: grid; place-items: center; height: 104px; border-radius: 11px; overflow: hidden;
  background: #2a2522 url("/media/fundo/ondas.webp") center / cover; }
.preset-thumb img { width: 46%; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.preset-janela img { width: 30%; }
.preset-pilula img { width: 54%; }
.preset-thumb.is-faded img { opacity: .4; outline: 2px solid #FF9500; outline-offset: 1px; border-radius: 6px; }
.custom { margin-top: 22px; padding: 26px 28px; border-radius: 20px; background: var(--ivory); }
.custom[hidden] { display: none; }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.missing-note { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.missing-note[hidden] { display: none; }
.group + .group { padding-left: 32px; border-left: 1px solid var(--line); margin-left: -1px; }
.group { display: grid; gap: 12px; align-content: start; }
.group-label { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-text); }
.control { display: grid; justify-items: start; gap: 6px; font-size: 14px; }
.control[hidden] { display: none; }
.control-label { color: var(--muted); }
.control-hint { margin: 0; font-size: 13px; color: var(--muted); }
.control-hint:empty { display: none; }
.control kbd { font-size: 11px; padding: .3em .45em; min-width: 0; margin-left: 4px; }
.scene-controls .seg { background: rgba(26, 23, 20, .06); }
.scene-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; }
.reset { padding: 0; border: 0; background: none; cursor: pointer; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.reset:hover { color: var(--ink); }
.more-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink); }
.more-toggle::before { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line);
  font-weight: 400; transition: transform .3s var(--ease); }
.more-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.ct-state { margin: 0; font-size: 14px; color: var(--muted); }
.scene-note, .lang-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.lang-note { padding-left: 12px; border-left: 2px solid var(--terra); }
.lang-note[hidden] { display: none; }

.scene.is-full { position: fixed; inset: 0; z-index: 100; background: #000; }
.scene.is-full .screen { position: absolute; inset: 0; border-radius: 0; box-shadow: none; background: #000; }
.scene.is-full .full-open, .scene.is-full .scene-note, .scene.is-full .lang-note,
.scene.is-full .group-label, .scene.is-full .scene-actions, .scene.is-full .custom, .scene.is-full .preset-thumb, .scene.is-full .preset > span:last-child { display: none; }
/* Na tela cheia, os momentos prontos viram uma barra embaixo; o botão Fechar fica no canto. */
.scene.is-full .presets { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 5; margin: 0; padding: 8px;
  border-radius: 16px; background: var(--ivory); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.scene.is-full .preset-row { display: flex; gap: 6px; }
.scene.is-full .preset { padding: 6px 14px 8px; border-radius: 10px; box-shadow: none; }
.scene.is-full .preset[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--terra); }
.scene.is-full .preset b { padding: 0; font-size: 17px; }
.scene.is-full .scene-controls { position: absolute; top: 44px; right: 16px; z-index: 5; margin: 0; }
.scene.is-full .full-close { display: inline-block; border: 0; border-radius: 10px; padding: 8px 14px; font-size: 14px; font-weight: 600;
  color: var(--ivory); background: var(--ink); cursor: pointer; }
html.no-scroll { overflow: hidden; }

/* 06 — Detalhes: composição editorial, com fios finos em vez de cartões. */
.details { padding: 112px 0 0; }
.details-head h2 { max-width: none; font-size: clamp(38px, 4.6vw, 64px); }
.details-lead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px 80px; margin-top: 80px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.quick-shot { padding: 48px 32px; border-radius: 24px; background: linear-gradient(160deg, var(--paper), #f1e1cf); display: grid; place-items: center; }
.quick-shot img { width: min(520px, 100%); filter: drop-shadow(0 22px 34px rgba(26, 23, 20, .2)); }
.quick-copy { margin-top: 28px; }
.quick-copy h3, .shortcuts h3, .menubar h3, .settings h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.015em; margin-bottom: 10px; text-wrap: balance; }
.quick-copy p { margin: 0; max-width: 46ch; color: var(--muted); font-size: 18px; }
.key-list { list-style: none; margin: 18px 0 0; padding: 0; }
.key-list li { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.key-list li:first-child { border-top: 1px solid var(--line); }
.keys { display: flex; gap: 6px; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.details-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px 80px; padding: 72px 0 96px; }
/* Esquerda: a lista e os ícones da barra de menus. Direita: os Ajustes, que são a peça mais alta. */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
.settings { grid-column: 2; grid-row: 1 / span 2; }
.facts li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { padding-top: 0; }
.facts h3 { margin-bottom: 6px; }
.facts p { margin: 0; color: var(--muted); max-width: 46ch; }
.menubar ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 18px 36px; }
.menubar li { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.menubar-icon { width: 160px; border-radius: 6px; }
.settings { display: grid; justify-items: start; align-content: start; gap: 18px; }
.settings h3 { margin: 0; }
.settings .seg { background: rgba(26, 23, 20, .06); }
.settings-frame img { width: min(560px, 100%); border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(26, 23, 20, .45), 0 0 0 1px rgba(26, 23, 20, .08); transition: opacity .3s; }
.settings-frame img.is-loading { opacity: .4; }
.private { background: var(--paper); padding: 88px 0; }
.private-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 80px; align-items: start; }
.private h3 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.02em; max-width: 12ch; grid-row: span 2; }
.private ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.private li { padding: 8px 14px; border-radius: 99px; background: var(--ivory); font-size: 15px; font-weight: 600; }
.private p { margin: 0; color: var(--muted); max-width: 52ch; }

/* 07 — Encerramento */
.closing { padding: 120px 0 128px; text-align: center; }
.closing-inner { display: grid; justify-items: center; }
.closing-capsule { width: min(560px, 100%); margin-bottom: 64px; filter: drop-shadow(0 30px 50px rgba(26, 23, 20, .18)); }
.closing-brand { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 14px; letter-spacing: .41em; }
.closing h2 { font-size: clamp(40px, 5.6vw, 80px); max-width: 16ch; }
.closing h2 em { display: block; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin: 40px 0 0; font-weight: 600; font-size: 16px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.closing-facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; color: var(--muted); }
.closing-facts li + li::before { content: "·"; margin-right: 22px; }

/* Rodapé */
.footer { background: var(--night); color: var(--mist); padding: 64px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--night-line); }

.footer-top p { margin: 0; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; color: var(--mist-2); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { color: var(--mist); }
.footer .langs a { color: var(--mist-2); }
.footer .langs a[aria-current] { color: var(--mist); }

/* Movimento pausado (botão do cabeçalho) */
html.paused .win { transition: none; }

/* Tablet */
@media (max-width: 1080px) {
  .nav { gap: 18px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 640px; }
  .freedom-body { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .doc-page { padding: 44px 36px 48px; }
  .group + .group { padding-left: 0; border-left: 0; }
  .groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .group:nth-child(3) { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); }
  .styles { gap: 36px; }
  .mode-film { height: 360px; }
}
@media (max-width: 900px) {
  :root { --gutter: 40px; }
  .masthead-inner { flex-wrap: wrap; height: auto; padding: 12px 0 0; gap: 4px 20px; }
  .brand { margin-right: auto; }
  .nav { order: 4; flex-basis: 100%; margin: 0 -20px; padding: 6px 20px 10px; overflow-x: auto; scrollbar-width: none; gap: 22px; white-space: nowrap;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 0; }
  .freedom-body { grid-template-columns: 1fr; margin-top: 48px; }
  .steps { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .steps button { border-left: 0; border-top: 2px solid var(--line); padding: 14px 4px 6px; grid-template-columns: 28px 1fr; }
  .steps button[aria-pressed="true"] { border-color: var(--terra); }
  .steps button { grid-template-columns: 28px 1fr; }
  .step-thumb { display: none; }
  .steps b { font-size: 20px; }
  .stage, .opacity { grid-column: 1; grid-row: 2; }
  .opacity { margin: 0 14px 14px; }
  .fluid-head, .explore-head { grid-template-columns: 1fr; }
  .moments { grid-template-columns: 1fr; gap: 44px; }
  .fluid-foot { grid-template-columns: 1fr; }
  .fluid-note { justify-self: start; text-align: left; }
  .modes-head { grid-template-columns: 1fr; }
  .preset-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .styles { grid-template-columns: 1fr; }
  .styles-stage { position: static; order: -1; }
  .styles-frame { height: 440px; }
  .details-lead, .details-more, .private-inner { grid-template-columns: 1fr; }
  .facts { grid-row: auto; }
  .settings { grid-column: auto; grid-row: auto; }
}

/* Celular: cada demonstração tem a sua versão, maior e mais simples. */
@media (max-width: 640px) {
  :root { --gutter: 32px; }
  body { font-size: 16px; }
  .masthead-inner { gap: 4px 14px; }
  .motion-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .motion { padding: 10px 6px; }
  .langs a { padding: 8px 2px; }
  .nav { margin: 0 -16px; padding-inline: 16px; }
  .hero { padding: 36px 0 88px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 60px); }
  .hero-lead { font-size: 18px; margin-top: 22px; }
  .cta { margin-top: 28px; }
  .section-lead { font-size: 18px; }
  h2 { font-size: clamp(36px, 10.6vw, 52px); }
  /* No celular, a janela do Kivern ficaria pequena demais: entra a pílula, larga e legível, sobre o vídeo. */
  .desk { aspect-ratio: auto; --kv: 72%; }
  .desk-kivern { right: auto; left: 50%; top: 50px; transform: translateX(-50%); }
  .desk-kivern .kv-window { display: none; }
  .desk-kivern .kv-pill { display: block; }
  /* A mesa fica só com o navegador e a pílula por cima: duas janelas lado a lado não cabem. */
  .win-browser { position: relative; top: auto; bottom: auto; right: auto; width: 100%; }
  .win-notes { display: none; }
  .desk[data-front="notes"] .win-browser { transform: none; filter: none; }
  .win-caption { font-size: 12px; padding: 8px 12px 10px; }
  .freedom { padding-bottom: 88px; }
  .doc-page { min-height: 0; padding: 28px 20px 200px; }
  .doc-text .doc-h { font-size: 26px; margin-top: 8px; }
  .doc-text p { font-size: 15px; }
  .doc-h + p + p { display: none; }
  /* O Kivern fica no alto do documento, em cima do texto, onde a transparência aparece. */
  .free-kivern { top: 64px; right: 14px; width: 62%; }
  .free-pill { width: 96%; }
  /* Sobe um pouco para não encostar no título do documento. */
  .free-kivern .free-numbers { width: 66.5%; top: -14px; }
  .opacity { padding: 16px 18px; }
  .opacity input { flex-basis: 100%; order: 3; height: 40px; }
  .fluid { margin-inline: 6px; border-radius: 28px; padding: 88px 0 72px; }
  .fluid-stage { padding: 56px 4px 64px; }
  .moments { gap: 36px; padding-top: 44px; }
  .moment-film { margin-bottom: 18px; }
  .moments h3 { font-size: 23px; }
  .way { padding: 88px 0 88px; }
  .styles { margin-top: 44px; gap: 28px; }
  .styles-stage { padding: 18px 14px 16px; border-radius: 22px; }
  .styles-frame { height: 250px; }
  .style-shot { width: min(250px, 100%); }
  .look { margin-top: 12px; padding-top: 12px; gap: 10px; }
  .look-row { width: 100%; flex-direction: column; align-items: stretch; gap: 6px; }
  .look .seg { display: flex; }
  .look .seg button { flex: 1 1 auto; justify-content: center; }
  .look-note { display: none; }
  .styles-list b { font-size: 23px; }
  .styles-list button { padding: 12px 0; }
  /* Os três modos viram uma fileira que desliza para o lado, um por vez. */
  .modes { padding: 40px 0 88px; }
  .mode-row { margin-top: 40px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .mode-row::-webkit-scrollbar { display: none; }
  .mode-row li { scroll-snap-align: start; }
  .mode-film { height: 330px; padding: 18px; border-radius: 20px; }
  .mode-film .film { width: min(240px, 100%); }
  .mode-pilula { height: 170px; }
  .mode-row h3 { font-size: 27px; }
  .preset-row { gap: 10px; }
  .preset { padding: 8px 8px 12px; border-radius: 14px; }
  .preset-thumb { height: 76px; border-radius: 9px; }
  .preset b { font-size: 19px; padding-top: 8px; }
  .preset > span:last-child { font-size: 13px; line-height: 1.35; }
  .custom { padding: 20px 16px; }
  .groups { grid-template-columns: 1fr; }
  .group:nth-child(3) { grid-column: auto; }
  .group + .group { padding-top: 20px; border-top: 1px solid var(--line); }
  .moment-film { height: 88px; }
  .explore { padding: 88px 0 96px; }
  .explore-head { margin-bottom: 36px; }
  .screen { border-radius: 12px; }
  .full-open { right: 10px; bottom: 10px; padding: 8px 14px; font-size: 13px; }
  .groups { grid-template-columns: 1fr; gap: 20px; }
  .group + .group { padding-left: 0; border-left: 0; }
  .scene-controls { margin-top: 20px; }
  /* Os seletores ocupam a largura toda, como no iPhone; assim os cinco estilos cabem numa linha. */
  .scene-controls .seg { display: flex; width: 100%; }
  .scene-controls .seg button { flex: 1 1 auto; padding: 8px 6px; font-size: 13.5px; }
  .seg button { padding: 9px 12px; }
  .details { padding-top: 88px; }
  .details-lead { margin-top: 48px; padding-bottom: 48px; }
  .details-more { padding-top: 48px; gap: 56px; }
  .quick-shot { padding: 28px 14px; border-radius: 18px; }
  .key-list li { grid-template-columns: 1fr; gap: 8px; }
  .menubar ul { grid-template-columns: 1fr 1fr; gap: 16px; }
  .menubar-icon { width: 100%; max-width: 150px; }
  .closing { padding: 88px 0 96px; }
  .closing-facts li + li::before { display: none; }
}

@media (max-width: 380px) {
  .steps button { grid-template-columns: 1fr; padding-inline: 0; }
  .step-n { grid-row: auto; padding: 0; }
  .steps b { font-size: 18px; }
  .step-line { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Cena no celular: tela virtual de 680 pontos, com menos itens no topo; o Kivern aparece maior. */
.mac.is-narrow .menus span:nth-child(n + 3) { display: none; }
.mac.is-narrow .browser { left: 4%; right: 4%; top: 48px; }
.mac.is-narrow .page { padding: 18px 18px 0; }
.mac.is-narrow .hud { top: 92px; left: 7%; }
