/* =========================================================
   OIOM — acesso antecipado
   Paleta monocromática, bordas 1px, toque de caderno rabiscado
   ========================================================= */

:root {
  --bg: #0e0e0f;
  --bg-2: #141415;
  --surface: #1a1a1c;
  --surface-2: #212123;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f2f2f3;
  --text-2: #d6d6d8;
  --muted: #8d8d92;
  --faint: #55555a;
  --tag-fill: #3a3a3d;
  --glow: 255, 255, 255;          /* brilhos e bordas no hover */
  --on-rgb: 11, 11, 12;           /* texto em cima de var(--text) */
  --window-bg: linear-gradient(160deg, #1d1d1f, #121213);
  --window-shadow: 0 40px 120px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.6), inset 0 1px 0 rgba(var(--glow),0.05);
  --soft-shadow: 0 20px 60px -30px rgba(0,0,0,0.8);
  --nav-bg: rgba(20, 20, 21, 0.72);
  --logo-filter: none;            /* os logos são brancos */
  color-scheme: dark;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --max: 1140px;
}

/* tema claro: escolhido no botão da navbar ou vindo do sistema (ver <head>).
   .theme-dark / .theme-light também servem pra prévia da personalização */
.theme-dark {
  --bg: #0e0e0f; --bg-2: #141415; --surface: #1a1a1c; --surface-2: #212123;
  --line: rgba(255, 255, 255, 0.07); --line-2: rgba(255, 255, 255, 0.13);
  --text: #f2f2f3; --text-2: #d6d6d8; --muted: #8d8d92; --faint: #55555a; --tag-fill: #3a3a3d;
  --glow: 255, 255, 255; --on-rgb: 11, 11, 12;
  --window-bg: linear-gradient(160deg, #1d1d1f, #121213);
  --window-shadow: 0 30px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,0,0,0.5), inset 0 1px 0 rgba(var(--glow),0.05);
  --logo-filter: none;
  color-scheme: dark;
}
:root[data-theme="light"], .theme-light {
  --bg: #f5f5f3; --bg-2: #ededea; --surface: #ffffff; --surface-2: #f1f1ee;
  --line: rgba(0, 0, 0, 0.08); --line-2: rgba(0, 0, 0, 0.14);
  --text: #121213; --text-2: #2e2e32; --muted: #66666c; --faint: #9b9ba0; --tag-fill: #dededb;
  --glow: 0, 0, 0; --on-rgb: 250, 250, 250;
  --window-bg: linear-gradient(160deg, #ffffff, #f3f3f1);
  --window-shadow: 0 40px 100px -40px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --soft-shadow: 0 20px 60px -34px rgba(0,0,0,0.25);
  --nav-bg: rgba(245, 245, 243, 0.75);
  --logo-filter: invert(1);
  color-scheme: light;
}
.logo { filter: var(--logo-filter); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(var(--glow),0.06), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(var(--glow),0.03), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
em { font-style: normal; border-bottom: 2px solid var(--text); }
::selection { background: var(--text); color: rgb(var(--on-rgb)); }

/* ---------- utilitários ---------- */
.scribble { font-family: var(--hand); font-size: 1.45rem; color: var(--muted); line-height: 1; }
.scribble--sm { font-size: 1.15rem; }
.scribble--xs { font-size: 1rem; }
.grid-paper {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
}
kbd {
  font-family: var(--sans);
  font-size: 0.7rem;
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface-2);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 0.95rem;
  padding: 12px 20px; border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--text); color: rgb(var(--on-rgb)); box-shadow: 0 0 0 0 rgba(var(--glow),0); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px rgba(var(--glow),0.35); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: var(--surface); border-color: rgba(var(--glow),0.22); }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; border-radius: 10px; }
.btn--lg { padding: 15px 24px; font-size: 1rem; }
.win { width: 16px; height: 16px; fill: currentColor; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  width: min(calc(100% - 28px), var(--max));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav__mark { width: 30px; height: auto; display: block; transition: transform .5s var(--ease); }
.nav__brand:hover .nav__mark { transform: rotate(-10deg); }
.nav__word { height: 32px; width: auto; display: block; }
.nav__word--sm { height: 25px; opacity: .6; }
.nav__links { display: flex; gap: 28px; font-size: 0.9rem; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* ---------- seções base ---------- */
section { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; display: grid; gap: 14px; justify-items: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.section-head > p:last-child:not(.scribble) { color: var(--muted); font-size: 1.05rem; }


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

/* ---------- contraste (bagunça x OIOM) ---------- */
.contrast { padding: 120px 0 140px; text-align: center; display: grid; gap: 22px; justify-items: center; }
.contrast__art { width: min(680px, 100%); height: auto; overflow: visible; margin-bottom: 10px; }
.contrast__art path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contrast__art .mess { stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease), opacity 1s 1.8s; }
.contrast__art .clean { stroke: var(--text); stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease) 1.6s; }
.contrast.is-in .mess { stroke-dashoffset: 0; opacity: 0.45; }
.contrast.is-in .clean { stroke-dashoffset: 0; }
.contrast h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.contrast p { color: var(--muted); max-width: 560px; font-size: 1.08rem; }

/* ---------- demo ---------- */
.demo { padding: 80px 0 120px; }
/* janela de chat: boas-vindas → mensagem enviada → resposta do OIOM */
.demo__box {
  max-width: 680px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px;
}

.chat__stage { display: grid; min-height: 330px; padding: 8px 0 6px; }
.chat__welcome, .chat__thread { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.chat__welcome { display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.chat__welcome p { font-size: 0.95rem; color: var(--faint); }
.chat__mark { width: 22px; height: 22px; object-fit: contain; opacity: .35; }
.chat__thread { display: flex; flex-direction: column; gap: 18px; opacity: 0; transform: translateY(8px); pointer-events: none; }
.chat__stage.is-chatting .chat__welcome { opacity: 0; transform: translateY(-8px); }
.chat__stage.is-chatting .chat__thread { opacity: 1; transform: none; pointer-events: auto; }

.chat__msg {
  align-self: flex-end; max-width: 82%;
  padding: 11px 16px; border-radius: 18px 18px 4px 18px;
  background: var(--text); color: rgb(var(--on-rgb)); font-size: 0.98rem; line-height: 1.45;
}
.chat__reply { display: flex; gap: 12px; align-items: flex-start; }
.chat__avatar {
  width: 28px; height: 28px; padding: 6px; flex: none; object-fit: contain;
  border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
}
.chat__reply .parsed { flex: 1; min-width: 0; }

.capture {
  display: grid; gap: 12px;
  padding: 14px 14px 10px 16px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .2s;
}
.capture.is-typing { border-color: rgba(var(--glow),0.22); }
.capture__field { display: flex; align-items: center; position: relative; min-height: 1.5em; font-size: 1rem; }
.capture__text { min-width: 0; }
.capture__text:empty::after { content: "Escreva do seu jeito..."; position: absolute; left: 4px; top: 50%; transform: translateY(-50%); color: var(--faint); white-space: nowrap; }
.capture__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.capture__hint { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--faint); }
.capture__send {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--surface-2); color: var(--faint);
  transition: background .2s, color .2s, transform .15s;
}
.capture__send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.capture.is-typing .capture__send { background: var(--text); color: rgb(var(--on-rgb)); }
.capture.is-sent .capture__send { transform: scale(0.88); }
.caret { width: 1.5px; height: 1.2em; background: var(--text); animation: blink 1s steps(1) infinite; flex: none; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }

.parsed {
  display: grid; gap: 14px;
  padding: 18px 20px; border-radius: 16px;
  border: 1px solid var(--line-2);
  background-color: var(--surface);
  box-shadow: var(--soft-shadow);
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.parsed:empty { visibility: hidden; min-height: 98px; }
.parsed.is-shown { opacity: 1; transform: none; }
.parsed__item { display: flex; gap: 14px; align-items: flex-start; }
.parsed__check { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; margin-top: 2px; }
.parsed__body { display: grid; gap: 8px; min-width: 0; }
.parsed__body strong { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.parsed__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.parsed__chips span { font-size: 0.78rem; padding: 3px 9px; border-radius: 7px; background: var(--surface-2); color: var(--text-2); }
.parsed__note { padding-left: 32px; }
/* várias tarefas encadeadas: linhas compactas que entram uma de cada vez */
.parsed--multi { gap: 0; padding: 6px 18px 14px; }
.parsed--multi .parsed__item { align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.parsed--multi .parsed__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; flex: 1; }
.parsed--multi .parsed__body strong { font-size: 1rem; }
.parsed--multi .parsed__check { margin-top: 0; }
.parsed--multi .parsed__note { padding-top: 12px; }
.parsed--multi .parsed__item { opacity: 0; transform: translateX(-8px); transition: opacity .45s var(--ease) var(--d), transform .45s var(--ease) var(--d); }
.parsed--multi.is-shown .parsed__item { opacity: 1; transform: none; }

.demo__chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.chip {
  position: relative; overflow: hidden;
  font: inherit; font-size: 0.8rem; color: var(--muted);
  background: transparent; border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 10px; cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.chip.is-active { color: var(--text); background: var(--surface-2); border-color: var(--line-2); }
/* barra de progresso até o próximo exemplo */
.chip::before, .chip::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  opacity: 0; transition: opacity .25s;
}
.chip::before, .chip::after { left: 12px; right: 12px; bottom: 2px; height: 1.5px; }
.chip::before { background: rgba(var(--glow),0.1); }
.chip::after { background: var(--muted); transform: scaleX(var(--p, 0)); transform-origin: left; }
.chip.is-active::before, .chip.is-active::after { opacity: 1; }
.demo__box.is-paused .chip.is-active::after { opacity: .45; }
.demo__hint { text-align: center; font-size: 0.78rem; color: var(--faint); transition: color .2s; }
.demo__box.is-paused .demo__hint { color: var(--muted); }
@media (hover: none) { .demo__hint { display: none; } }

/* ---------- personalização ---------- */
.custom { padding: 80px 0 120px; }
.custom__demo { max-width: 680px; margin: 0 auto; display: grid; gap: 28px; }
.custom__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
.custom__more { margin-top: 48px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.custom__more p:not(.scribble) { color: var(--muted); margin-bottom: 14px; }
.opt { display: grid; gap: 8px; justify-items: center; }
.opt__label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.seg { display: flex; width: fit-content; max-width: 100%; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.seg button {
  font: inherit; font-size: 0.86rem; color: var(--muted);
  background: transparent; border: 0; padding: 7px 14px; border-radius: 7px; cursor: pointer;
  transition: background .2s, color .2s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--text); color: rgb(var(--on-rgb)); }
.seg button:focus-visible, .switch:focus-visible, .theme-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* prévia: uma janelinha do app que muda ao vivo */
.pv {
  color: var(--text); font-size: 12px; text-align: left;
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  background: var(--window-bg); box-shadow: var(--window-shadow);
  transition: color .4s, border-color .4s;
}
.pv__bar { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.pv__brand { display: flex; align-items: center; height: 20px; flex: none; }
.pv__brand img { height: 100%; width: auto; display: block; animation: pop .4s var(--ease); }
.pv__brand .pv__word { height: 17px; }
.pv[data-title="icon"] .pv__word, .pv[data-title="logo"] .pv__icon { display: none; }
.pv__zone { flex: 1; min-width: 0; }
.pv__search {
  --w: min(100%, 240px); --f: 0.5;
  width: var(--w); margin-left: calc((100% - var(--w)) * var(--f));
  display: flex; align-items: center; gap: 8px; padding: 6px 10px;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface);
  color: var(--faint); font-size: 11.5px; white-space: nowrap; overflow: hidden;
  transition: margin-left .5s var(--ease);
}
.pv__search span { color: var(--muted); }
.pv[data-search="left"] .pv__search { --f: 0; }
.pv[data-search="right"] .pv__search { --f: 1; }
.pv__body { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 14px 16px; }
.pv__side { display: grid; gap: 9px; align-content: start; padding: 10px 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); min-height: 200px; }
.pv__side i { height: 7px; border-radius: 4px; background: var(--line-2); }
.pv__side i:first-child { background: var(--text); }
.pv__main { display: grid; gap: 10px; align-content: start; min-width: 0; }
.pv__h { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.pv__card { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); }
.pv__card b { font-size: 13px; }
.pv__timer { font-size: 28px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pv__line { height: 7px; border-radius: 4px; background: var(--line-2); }
.pv__line--s { width: 60%; }

/* botão de tema na navbar: sistema → claro → escuro */
.nav__actions { display: flex; align-items: center; gap: 8px; }
.theme-btn {
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0; cursor: pointer;
  color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  transition: color .2s, border-color .2s, background .2s;
}
.theme-btn:hover { color: var(--text); background: var(--surface); }
.theme-btn svg { width: 17px; height: 17px; display: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root[data-mode="system"] .theme-btn .t-system,
:root[data-mode="light"] .theme-btn .t-light,
:root[data-mode="dark"] .theme-btn .t-dark { display: block; }

/* ---------- footer ---------- */
.footer {
  width: min(calc(100% - 32px), var(--max)); margin: 0 auto;
  padding: 32px 0 44px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--faint); font-size: 0.85rem;
}
.footer .nav__brand { color: var(--muted); }
.footer__links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--text); }

/* botão do Dashboard na navbar: ícone + texto; no celular, só o ícone */
.nav__dash { display: inline-flex; align-items: center; gap: 7px; }
.nav__dash svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   SITE 2 (12/2026): seções de tela cheia, títulos enormes,
   colagem com as telas reais do app e menos cartões iguais.
   ========================================================= */
:root {
  --max: 1240px;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  /* blocos da colagem: cores fixas (não seguem o tema, como papéis sobre a mesa) */
  --blk-paper: #ece6d8;
}
body { background: var(--bg); }
section { width: min(calc(100% - 40px), var(--max)); }

/* peças que vinham do mockup antigo e a prévia ainda usa */
.label { white-space: nowrap; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.window__ctrls { display: flex; gap: 14px; flex: none; }
.window__ctrls i { width: 9px; height: 1.5px; background: var(--faint); display: block; }
.window__ctrls i:nth-child(2) { width: 8px; height: 8px; background: none; border: 1.5px solid var(--faint); border-radius: 1px; }
.window__ctrls i:nth-child(3) { width: 10px; height: 10px; background: linear-gradient(45deg, transparent 45%, var(--faint) 45%, var(--faint) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--faint) 45%, var(--faint) 55%, transparent 55%); }

/* ---------- tipografia das seções ---------- */
.kicker {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.big {
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 0.98;
  text-wrap: balance;
}
.big .muted { color: var(--faint); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 600px; text-wrap: pretty; }
.head { display: grid; gap: 22px; justify-items: center; text-align: center; margin: 0 auto 72px; max-width: 1000px; }
.head--left { justify-items: start; text-align: left; margin: 0; }

/* ---------- abertura: título no centro, a janela real embaixo e o Notch descendo ---------- */
.hero { padding: 150px 0 0; display: grid; justify-items: center; text-align: center; }
.hero__copy { display: grid; gap: 24px; justify-items: center; max-width: 980px; }
.hero__title { font-size: clamp(3rem, 8vw, 7.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; text-wrap: balance; }
.hero__title .muted { color: var(--faint); }
.hero__sub { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; text-wrap: pretty; }
.hero__sub em { color: var(--text); }
.hero__meta { font-size: 0.82rem; color: var(--faint); }
.hero .reveal:nth-child(2) { transition-delay: .07s; }
.hero .reveal:nth-child(3) { transition-delay: .14s; }
.hero .reveal:nth-child(4) { transition-delay: .21s; }
.hero .reveal:nth-child(5) { transition-delay: .28s; }

/* botões: o principal parece download (leva ao login do painel); o outro é só um link */
.cta { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.cta__main { padding: 16px 26px; font-size: 1.02rem; font-weight: 600; border-radius: 14px; }
.cta__main .win { width: 17px; height: 17px; }
.cta__alt { color: var(--muted); font-size: 0.98rem; font-weight: 500; transition: color .2s; }
.cta__alt span { display: inline-block; transition: transform .3s var(--ease); }
.cta__alt:hover { color: var(--text); }
.cta__alt:hover span { transform: translateX(4px); }
.btn--primary:hover { transform: none; }

/* palco: a janela do app, deitada, que se endireita ao rolar */
.stage { position: relative; width: min(100%, 1060px); margin-top: 84px; perspective: 1800px; }
.screen { position: relative; transform-origin: 50% 0; }
@supports (animation-timeline: view()) {
  .screen { animation: screen-up linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes screen-up { from { transform: rotateX(24deg) scale(.92); } to { transform: none; } }
}
.screen__win {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 140px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.35);
}
:root[data-theme="light"] .screen__win { box-shadow: 0 60px 120px -50px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.04); }
.screen__win img { display: block; width: 100%; height: auto; }
.screen__win .on-light { display: none; }
:root[data-theme="light"] .screen__win .on-light { display: block; }
/* o Notch "mora" na borda de cima da tela: desce como no Windows, com mola (cantos invertidos colados na borda) */
.screen__notch {
  position: absolute; z-index: 2; left: 50%; top: 1px;
  width: min(36%, 400px); height: auto; translate: -50% 0;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.4));
  clip-path: inset(0 0 100% 0); opacity: 0;
}
.screen__notch.on-light { display: none; }
:root[data-theme="light"] .screen__notch.on-dark { display: none; }
:root[data-theme="light"] .screen__notch.on-light { display: block; }
.stage.is-in .screen__notch { animation: notch-drop 1s cubic-bezier(.2, 1.25, .35, 1) .8s both; }
@keyframes notch-drop {
  0% { clip-path: inset(0 34% 100% 34%); opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* anotações à mão nas margens, com setas que se desenham apontando para dentro da janela */
.note {
  position: absolute; z-index: 3; margin: 0; width: 10ch;
  font-family: var(--hand); font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.05; color: var(--text);
  opacity: 0; transform: translateY(6px) rotate(var(--r, -3deg)); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.arrow { position: absolute; z-index: 3; width: 92px; height: auto; overflow: visible; }
.arrow path { fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.stage.is-in .note { opacity: .9; transform: rotate(var(--r, -3deg)); }
.stage.is-in .arrow path { transition: stroke-dashoffset .7s var(--ease); stroke-dashoffset: 0; }
.note--notch { left: calc(70% + 36px); top: -58px; --r: 3deg; width: auto; white-space: nowrap; transition-delay: 1.7s; }
.arrow--notch { left: 70%; top: -28px; width: 70px; }
.stage.is-in .arrow--notch path { transition-delay: 1.9s; }
.stage.is-in .arrow--notch path + path { transition-delay: 2.5s; transition-duration: .25s; }
.note--focus { right: calc(100% + 34px); top: 50%; --r: -5deg; text-align: right; transition-delay: 2.3s; }
.arrow--focus { left: -30px; top: calc(50% + 22px); width: 230px; }
.arrow--focus path { stroke-width: 1.4; }
.stage.is-in .arrow--focus path { transition-delay: 2.5s; }
.stage.is-in .arrow--focus path + path { transition-delay: 3.1s; transition-duration: .25s; }
.note--day { left: calc(100% + 34px); top: 34%; --r: 4deg; transition-delay: 2.9s; }
.arrow--day { left: calc(100% - 64px); top: calc(34% + 34px); transform: scaleX(-1); }
.stage.is-in .arrow--day path { transition-delay: 3.1s; }
.stage.is-in .arrow--day path + path { transition-delay: 3.7s; transition-duration: .25s; }
@media (max-width: 1360px) { .note--focus, .arrow--focus, .note--day, .arrow--day { display: none; } }

/* o fim da janela some no fundo (a próxima seção começa por baixo) */
.stage::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -2px; height: 32%; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg)); }

/* ---------- frase grande com o rabisco ---------- */
.contrast { padding: 180px 0 150px; text-align: center; display: grid; gap: 26px; justify-items: center; }
.contrast .big { max-width: 1100px; }
.contrast__art { width: 100%; height: 140px; margin: 0; }
.contrast__art .clean { stroke-width: 10; }

/* ---------- demo ---------- */
.demo { padding: 120px 0 160px; }
.demo .demo__box { max-width: 760px; }

/* ---------- recursos: lista + tela grande ---------- */
.tour { padding: 120px 0 160px; }
.tour__body { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.tour__list { display: grid; border-left: 1px solid var(--line-2); }
.tour__item {
  font: inherit; color: var(--faint); text-align: left; cursor: pointer;
  background: none; border: 0; padding: 14px 0 14px 26px; position: relative;
  display: grid; gap: 8px;
  transition: color .3s;
}
.tour__item:hover { color: var(--muted); }
.tour__item:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; border-radius: 6px; }
.tour__name { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.tour__desc { display: none; color: var(--muted); font-size: 0.95rem; line-height: 1.5; max-width: 340px; }
.tour__item.is-active { color: var(--text); padding-block: 22px; }
.tour__item.is-active .tour__desc { display: block; animation: tour-desc .5s var(--ease); }
@keyframes tour-desc { from { opacity: 0; transform: translateY(6px); } }
/* a linha da esquerda enche enquanto a parte está à vista (troca sozinha) */
.tour__bar { position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: transparent; }
.tour__item.is-active .tour__bar { background: var(--text); transform-origin: top; transform: scaleY(var(--p, 1)); }
.tour__stage {
  position: relative; min-height: 520px;
  display: grid; place-items: center;
  padding: 44px; border-radius: 28px;
  background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden;
}
.tour__stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .6;
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.tour__panel { margin: 0; position: relative; width: 100%; display: grid; place-items: center; }
.tour__panel[hidden] { display: none; }
.tour__panel.is-active { animation: tour-in .6s var(--ease); }
@keyframes tour-in { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); } }
.tour__panel img {
  max-width: 100%; max-height: 440px; width: auto; height: auto;
  border-radius: 14px; box-shadow: var(--window-shadow);
}
.on-light { display: none; }
:root[data-theme="light"] .on-light { display: block; }
:root[data-theme="light"] .on-dark { display: none; }

/* ---------- personalização ---------- */
.custom { padding: 120px 0 160px; }
.custom__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.custom__controls { display: grid; gap: 18px; margin-top: 8px; }
.custom .opt { justify-items: start; }
.custom__more { color: var(--muted); max-width: 460px; }
.custom__more .scribble { color: var(--text); font-size: 1.4rem; }
.custom .pv { font-size: 13px; }

/* ---------- Windows × navegador ---------- */
.compare { padding: 120px 0 160px; }
.compare__wrap { overflow-x: auto; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare__table th, .compare__table td { padding: 20px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; }
.compare__table thead th { vertical-align: bottom; border-bottom-color: var(--text); padding-bottom: 22px; }
.compare__table tbody th { font-weight: 500; font-size: 1.02rem; width: 40%; }
.compare__table td { color: var(--text-2); font-weight: 500; width: 30%; }
.compare__app { display: block; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; }
.compare__table thead small { display: block; color: var(--muted); font-size: 0.85rem; font-weight: 400; margin-top: 4px; }
.compare__table tbody tr { transition: background .2s; }
.compare__table tbody tr:hover { background: rgba(var(--glow), 0.025); }
.yes, .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; position: relative; vertical-align: middle; }
.yes { background: var(--text); }
.yes::after { content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 5px; height: 10px; border: solid rgb(var(--on-rgb)); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.no { border: 1.5px solid var(--line-2); }
.no::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1.5px; background: var(--faint); }

/* ---------- privacidade ---------- */
.privacy { padding: 120px 0 160px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.facts li { padding: 32px 32px 8px 0; display: grid; gap: 12px; align-content: start; }
.facts li + li { padding-left: 32px; border-left: 1px solid var(--line-2); }
.facts__n { font-family: var(--mono); font-size: 0.8rem; color: var(--faint); }
.facts h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; }
.facts p { color: var(--muted); }
.facts li:nth-child(2) { transition-delay: .1s; }
.facts li:nth-child(3) { transition-delay: .2s; }

/* ---------- CTA final: bloco de papel de ponta a ponta ---------- */
.final {
  width: 100%; max-width: none; margin: 0;
  padding: 140px 20px; background: var(--blk-paper); color: var(--text);
  --bg: var(--blk-paper); --bg-2: #e3dccc; --surface: #f6f2e9;
}
.final__inner { width: min(100%, 1000px); margin: 0 auto; display: grid; gap: 30px; justify-items: center; text-align: center; }
.final__mark { width: 96px; height: auto; }
.final__mark.reveal { transform: translateY(18px) rotate(-12deg) scale(.85); }
.final__mark.reveal.is-in { transform: none; animation: float 6s ease-in-out 1s infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(3deg); } }
.final .big .muted { color: #9b958a; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; color: var(--text-2); font-size: 0.98rem; }
.steps li { display: flex; gap: 10px; align-items: baseline; }
.steps span { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }

/* ---------- FAQ: título à esquerda, lista fina à direita ---------- */
.faq { padding: 140px 0 120px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq .big { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.faq__list { display: grid; border-top: 1px solid var(--line-2); }
details { border-bottom: 1px solid var(--line-2); }
summary {
  list-style: none; cursor: pointer;
  padding: 24px 0; font-weight: 500; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
summary:hover { color: var(--text-2); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--muted); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 40px 26px 0; color: var(--muted); }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .tour__body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tour__list { grid-auto-flow: column; grid-auto-columns: max-content; border-left: 0; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
  .tour__list::-webkit-scrollbar { display: none; }
  .tour__item, .tour__item.is-active { padding: 12px 16px; }
  .tour__item.is-active .tour__desc { display: none; }
  .tour__bar { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 2px; }
  .tour__item.is-active .tour__bar { transform-origin: left; transform: scaleX(var(--p, 1)); }
  .tour__name { font-size: 1.05rem; }
  .tour__stage { min-height: 0; padding: 22px; border-radius: 20px; }
  .tour__panel img { max-height: 360px; }
  .custom__grid, .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .custom .head--left { justify-items: center; text-align: center; }
  .custom .opt { justify-items: center; }
}
@media (max-width: 760px) {
  .note, .arrow { display: none; }
  .stage { margin-top: 56px; }
  .screen__notch { width: 58%; }
}
@media (max-width: 680px) {
  section { width: min(calc(100% - 28px), var(--max)); }
  .nav { padding-left: 12px; }
  .nav__links { display: none; }
  .nav__dash span { display: none; }
  .nav__dash { padding: 8px 9px; }
  .head { margin-bottom: 44px; }
  .contrast, .demo, .tour, .custom, .compare, .privacy { padding: 90px 0 100px; }
  .contrast__art { height: 90px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li, .facts li + li { padding: 26px 0 18px; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line-2); }
  .final { padding: 100px 14px; }
  .faq { padding: 100px 0 80px; }
  .btn--lg { width: 100%; justify-content: center; }
  .chat__stage { min-height: 400px; }
  .chat__avatar { display: none; }
  .chat__msg { max-width: 92%; }
  .demo__chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .demo__chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .parsed--multi .parsed__body { display: grid; gap: 6px; }
  .pv__body { grid-template-columns: 52px minmax(0, 1fr); }
  .pv__side { min-height: 150px; }
}
@media (max-width: 380px) {
  .nav .btn--sm { padding: 8px 11px; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .contrast__art .mess, .contrast__art .clean { stroke-dashoffset: 0; }
  .screen__notch { clip-path: none; opacity: 1; }
  .stage .screen__notch { animation: none; }
  .note { opacity: .92; }
  .arrow path { stroke-dashoffset: 0; }
  .screen { animation: none; }
}

/* ajustes depois da 1.ª foto */
.custom .big { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.custom__more { display: block; margin: 8px 0 0; text-align: inherit; }
