/* versão 111126140141 · atualize junto com o ?111126140141 nas páginas que carregam este arquivo */
/* NuvemFront (quadro branco) · site público (home, preços, contas). Mesmos tokens do app. */
:root {
  --brand: #155EEF;
  --brand-hover: #004EEB;
  --brand-light: #84ADFF;
  --brand-tint: #D1E4FF;
  --on-brand: #FFFFFF;
  --navy: #070B1A;
  --accent: #155EEF;
  --accent-2: #004EEB;
  --accent-soft: #EFF5FF;
  --ink: #111318;
  --ink-2: #475467;
  --ink-3: #667085;
  --line: #EAECF0;
  --bg: #FFFFFF;
  --bg-2: #F8FAFC;
  --surface: #FFFFFF;
  --canvas: #F8FAFC;
  --dot: #D0D5DD;
  --line-2: #D0D5DD;
  --lean-top: #F5F9FF;
  --header-bg: rgba(255, 255, 255, .86);
  --solid: #111318;
  --on-solid: #FFFFFF;
  --window-bar: #FCFCFD;
  --yellow: #FFEB99;
  --pink: #F9CBE5;
  --blue: #C9DEFF;
  --green: #CFEFC5;
  --danger: #E5484D;
  --ok: #2A7E3B;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 20, 40, .06), 0 8px 28px rgba(20, 20, 40, .08);
  --shadow-lg: 0 2px 8px rgba(20, 20, 40, .06), 0 24px 64px rgba(20, 20, 40, .14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

/* Modo escuro (B19): segue o sistema, a menos que a pessoa escolha Claro; data-theme="dark" força. Ver docs/07. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #528BFF;
    --accent-2: #84ADFF;
    --accent-soft: #142443;
    --ink: #ECEDF2;
    --ink-2: #A9ABB8;
    --ink-3: #7C7E8C;
    --line: #2C2E37;
    --line-2: #3A3C47;
    --bg: #111216;
    --bg-2: #17181D;
    --surface: #1C1D23;
    --canvas: #17181D;
    --dot: #2C2E36;
    --lean-top: #101A2E;
    --header-bg: rgba(17, 18, 22, .86);
    --solid: #ECEDF2;
    --on-solid: #111216;
    --window-bar: #1A1B21;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent: #528BFF;
  --accent-2: #84ADFF;
  --accent-soft: #142443;
  --ink: #ECEDF2;
  --ink-2: #A9ABB8;
  --ink-3: #7C7E8C;
  --line: #2C2E37;
  --line-2: #3A3C47;
  --bg: #111216;
  --bg-2: #17181D;
  --surface: #1C1D23;
  --canvas: #17181D;
  --dot: #2C2E36;
  --lean-top: #101A2E;
  --header-bg: rgba(17, 18, 22, .86);
  --solid: #ECEDF2;
  --on-solid: #111216;
  --window-bar: #1A1B21;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 8px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* Campos sem fundo próprio seguem o tema (B19); as regras com classe continuam valendo. */
input, textarea, select { background-color: var(--surface); color: var(--ink); }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img, svg { max-width: 100%; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); margin: 0 auto; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font: 600 15px var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 4px 14px rgba(21, 94, 239, .35); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-dark { background: var(--solid); color: var(--on-solid); }
.btn-dark:hover { background: #000; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-danger { background: var(--surface); color: var(--danger); border-color: #F3C4C6; }
.btn-danger:hover { background: #FFF4F4; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.logo-mark { display: inline-grid; place-items: center; width: 44px; height: 32px; }
.logo-mark svg { width: 44px; height: 30px; display: block; }
.logo-word b { color: var(--accent); font-weight: inherit; }
.site-nav { display: flex; gap: 4px; flex: 1; }
.site-nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
@media (max-width: 1180px) { .site-nav { gap: 0; } .site-nav a { padding: 8px 8px; font-size: 14px; } }
.site-nav a:hover, .site-nav a.on { color: var(--ink); background: var(--bg-2); }
.site-cta { display: flex; gap: 8px; align-items: center; }
.site-cta .link { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 10px; }
.site-cta .link:hover { color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; border-radius: 10px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(var(--dot) 1.2px, transparent 1.2px) 0 0 / 22px 22px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 80%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow); text-decoration: none; }
.eyebrow b { background: var(--accent-soft); color: var(--accent); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin: 24px auto 20px; max-width: 900px; font-weight: 800; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .32em; background: rgba(21, 94, 239, .35); z-index: -1; border-radius: 6px; transform: rotate(-1deg); }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 640px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

.window { position: relative; margin: 56px auto 0; max-width: 1080px; background: var(--surface); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--window-bar); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #E6E6EC; }
.window-bar i:nth-child(1) { background: #FF6159; } .window-bar i:nth-child(2) { background: #FFBD2E; } .window-bar i:nth-child(3) { background: #28C941; }
.window-bar span { margin-left: 12px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.window-body { position: relative; aspect-ratio: 16 / 9; background: var(--canvas) radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 20px 20px; }
.window-body .render { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px 28px 28px 84px; }
.window-body .render svg { width: 100%; height: 100%; }
.fake-tools { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; padding: 8px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); }
.fake-tools span { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-2); }
.fake-tools span:first-child { background: var(--accent-soft); }

/* ---------- Seções ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; }
.section-head p { font-size: 18px; color: var(--ink-2); margin: 0; }
.alt { background: var(--bg-2); }

/* Abas de recursos */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 15px var(--font); color: var(--ink-2); cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab.on { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
.tab .dot { width: 10px; height: 10px; border-radius: 3px; }
.showcase { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.showcase-text h3 { font-size: 30px; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 14px; }
.showcase-text p { color: var(--ink-2); font-size: 17px; margin: 0 0 20px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.checks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23155EEF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.showcase-art { background: var(--canvas) radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 20px 20px; border: 1px solid var(--line); border-radius: 20px; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 24px; box-shadow: var(--shadow); }
.showcase-art svg { width: 100%; height: 100%; }

/* Grade de recursos */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 19px; margin: 16px 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.icon-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.icon-tile svg { width: 22px; height: 22px; }
.t-yellow { background: var(--yellow); color: #8A6D00; } .t-pink { background: var(--pink); color: #A51D74; } .t-blue { background: var(--blue); color: #1D5FD1; }
.t-green { background: var(--green); color: #2A7E3B; } .t-purple { background: #DDD0FF; color: #6B2FA3; } .t-orange { background: #FFD3A8; color: #B45309; }

/* Teclado */
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.keys h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 16px; }
.keys p { color: var(--ink-2); font-size: 18px; }
/* Teclado no estilo MacBook (seção Atalhos) */
.mkb-stage { --u: 66px; --g: 9px; position: relative; display: grid; justify-items: center; gap: 22px; padding: 56px 12px 40px; }
.mkb-blobs { position: absolute; inset: -10% 4%; pointer-events: none; filter: blur(38px) saturate(1.1); opacity: .85; }
.mkb-blobs i { position: absolute; border-radius: 50%; animation: blob 14s ease-in-out infinite alternate; }
.mkb-blobs .b1 { width: 46%; height: 70%; left: 12%; top: 6%; background: #8EA2F8; }
.mkb-blobs .b2 { width: 48%; height: 74%; left: 40%; top: 0; background: #FF8A5B; animation-delay: -4s; }
.mkb-blobs .b3 { width: 40%; height: 40%; left: 56%; top: 62%; background: var(--brand); animation-delay: -8s; }
.mkb-blobs .b4 { width: 34%; height: 30%; left: 50%; top: -6%; background: #E7F0C8; animation-delay: -2s; }
@keyframes blob { 50% { transform: translate(4%, -5%) scale(1.06); } 100% { transform: translate(-4%, 4%) scale(.96); } }
.mkb { position: relative; display: grid; gap: var(--g); }
.mkb-row { display: flex; gap: var(--g); }
.mk { --w: 1; position: relative; width: calc(var(--u) * var(--w) + var(--g) * (var(--w) - 1)); height: var(--u); padding: 0; border: 0; border-radius: calc(var(--u) * .15); background: #22102F; color: #F4F1FA; font: 400 calc(var(--u) * .4) var(--font); display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 1px rgba(10,4,20,.25), 0 10px 24px rgba(20,10,40,.28); transition: transform .12s, background .12s, box-shadow .12s, color .12s; -webkit-tap-highlight-color: transparent; }
.mk:hover { background: #2C1A3C; }
.mk:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.mk.mod, .mk.dual { font-size: calc(var(--u) * .25); }
.mk.mod span { position: absolute; left: calc(var(--u) * .18); bottom: calc(var(--u) * .16); }
.mk.mod small { position: absolute; right: calc(var(--u) * .2); top: calc(var(--u) * .14); font-size: calc(var(--u) * .27); line-height: 1; }
.mk.dual { grid-template-rows: 1fr 1fr; align-content: center; gap: 0; font-size: calc(var(--u) * .3); line-height: 1.2; padding: calc(var(--u) * .14) 0; }
.mk.dual small { font-size: inherit; }
.mk.on { transform: translateY(2px); background: #3A2550; color: var(--brand-light); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 2px var(--brand), 0 0 26px rgba(21,94,239,.45); }
.mkb-say { position: relative; margin: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.86); backdrop-filter: blur(8px); box-shadow: var(--shadow); font-weight: 600; font-size: 16px; color: var(--ink); }
.mkb-combo { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #22102F; color: var(--brand-light); font: 600 14px var(--font); letter-spacing: .04em; }
.mkb-hint { position: relative; margin: -8px 0 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 600px) { .mkb-stage { --u: 43px; --g: 6px; padding: 36px 0 28px; } }
@media (max-width: 380px) { .mkb-stage { --u: 38px; --g: 5px; } }
@media (prefers-reduced-motion: reduce) { .mkb-blobs i { animation: none; } .mk { transition: none; } }

/* Casos de uso */
.use { border-radius: 20px; padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.use h3 { margin: 0 0 8px; font-size: 21px; }
.use p { margin: 0; color: rgba(31, 31, 36, .75); }
.use .tag { font-size: 13px; font-weight: 700; opacity: .7; }

/* Mac */
.mac { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; background: var(--navy); color: #fff; border-radius: 28px; padding: 56px; overflow: hidden; }
.mac h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.03em; line-height: 1.1; margin: 12px 0 16px; }
.mac p { color: rgba(255, 255, 255, .72); font-size: 17px; margin: 0 0 24px; }
.mac .kicker { color: var(--brand-light); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mac-art { aspect-ratio: 4 / 3; border-radius: 16px; background: #2A2A33; border: 1px solid #3A3A46; display: grid; place-items: center; padding: 18px; }
.mac-art svg { width: 100%; height: 100%; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--ink-3); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* CTA final */
.final { text-align: center; }
.final-box { border-radius: 28px; padding: 72px 24px; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.final-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(21,94,239,.22) 1.2px, transparent 1.2px) 0 0 / 22px 22px; }
.final-box > * { position: relative; }
.final-box h2 { font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 16px; }
.final-box p { margin: 0 0 28px; font-size: 18px; color: rgba(255,255,255,.85); }


/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--ink-2); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { margin: 0 0 12px; font-size: 13px; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); }

/* ---------- Preços ---------- */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); gap: 4px; margin-top: 24px; }
.billing-toggle button { height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: none; font: 600 14px var(--font); color: var(--ink-2); cursor: pointer; }
.billing-toggle button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.billing-toggle .save { color: var(--ok); font-size: 12px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 22px; }
.plan .tagline { color: var(--ink-2); margin: 6px 0 22px; font-size: 15px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price b { font-size: 48px; letter-spacing: -.03em; line-height: 1; }
.price small { color: var(--ink-2); font-size: 15px; }
.price-note { color: var(--ink-3); font-size: 13px; min-height: 40px; margin-bottom: 20px; }
.seats { display: flex; align-items: center; gap: 10px; margin: -6px 0 20px; font-size: 14px; color: var(--ink-2); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { width: 34px; height: 34px; border: 0; background: var(--bg-2); cursor: pointer; font-size: 18px; color: var(--ink); }
.stepper input { width: 52px; height: 34px; border: 0; text-align: center; font: 600 15px var(--font); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.plan .checks { margin: 24px 0 0; font-size: 15px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--bg-2); font-size: 14px; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--ink-3); }
.table-scroll { overflow-x: auto; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; color: var(--ink-3); font-size: 14px; flex-wrap: wrap; }
.pay-note .mp { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #EAF4FF; color: #0A5FB4; font-weight: 600; font-size: 13px; }

/* ---------- Formulários / contas ---------- */
.auth { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 48px 16px; background: var(--bg-2) radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 22px 22px; }
.auth-card { width: min(440px, 100%); background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 36px 32px; }
.auth-card h1 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 6px; }
.auth-card .sub { color: var(--ink-2); margin: 0 0 24px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; font: 16px var(--font); color: var(--ink); background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(21, 94, 239, .18); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 48px; }
.pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: var(--ink-3); cursor: pointer; }
.pw-toggle:hover { color: var(--ink); background: var(--bg-2); }
.pw-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
input::-ms-reveal, input::-ms-clear { display: none; }
.field .hint { font-size: 13px; color: var(--ink-3); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
.form-msg { min-height: 0; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.form-msg:empty { display: none; }
.form-msg.err { background: #FFF1F1; color: #B42318; }
.form-msg.ok { background: #EEFBF1; color: var(--ok); }
.auth-google { margin: 0 0 18px; }
.btn-google { gap: 10px; }
.btn-google svg { flex: none; }
.auth-google-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.auth-google-note a { color: var(--ink-2); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; color: var(--ink-3); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth:has(.auth-ask) { align-content: center; gap: 16px; }
.auth-ask { padding: 24px 32px; }
.auth-ask h2 { font-size: 18px; margin: 0 0 4px; }
.auth-ask .sub { margin: 0 0 14px; font-size: 14px; }
.auth-ask-row { display: flex; gap: 8px; }
.auth-ask-row input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font: 15px var(--font); }
.auth-ask-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(21, 94, 239, .18); }
.auth-ask .form-msg:empty { display: none; }
.auth-ask .form-msg { margin: 12px 0 0; }
.auth-alt { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--ink-2); }
.auth-plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 20px; }

.account { padding: 48px 0 96px; background: var(--bg-2); min-height: calc(100vh - 68px); }
.account h1 { font-size: 32px; letter-spacing: -.02em; margin: 0 0 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin-bottom: 20px; }
.panel h2 { font-size: 19px; margin: 0 0 4px; }
.panel .sub { color: var(--ink-2); margin: 0 0 20px; font-size: 15px; }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.plan-now { display: flex; align-items: center; gap: 14px; }
.plan-now .big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.status.ok { background: #EEFBF1; color: var(--ok); }
.status.warn { background: #FFF8E1; color: #8A6D00; }
.status.off { background: var(--bg-2); color: var(--ink-2); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.kv div { padding: 14px 16px; background: var(--bg-2); border-radius: 12px; }
.kv span { display: block; font-size: 13px; color: var(--ink-3); }
.kv b { font-size: 16px; }
.members { list-style: none; padding: 0; margin: 0; }
.members li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.members li:last-child { border-bottom: 0; }
.members .who { display: flex; align-items: center; gap: 12px; }
.photo-row { display: flex; align-items: center; gap: 16px; margin: 4px 0 20px; }
.photo-row small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 13px; }
.photo-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-btns label { cursor: pointer; }
.photo { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 22px; }
.photo.square { border-radius: 18px; }
.photo.sm { width: 48px; height: 48px; font-size: 16px; border-radius: 12px; }
.photo img, .members .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-head { display: flex; align-items: center; gap: 14px; }
.members .av { overflow: hidden; flex: none; }
.members .av { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.members small { display: block; color: var(--ink-3); font-size: 13px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 200px; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; font: 15px var(--font); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Checkout simulado */
.sim-banner { background: #FFF8E1; color: #8A6D00; border: 1px solid #F5E2A0; padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; }
.summary { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 20px; }
.summary div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.summary .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 17px; }

/* Páginas de texto */
.prose { padding: 56px 0 96px; }
.prose h1 { font-size: 36px; letter-spacing: -.02em; }
.prose h2 { font-size: 20px; margin-top: 32px; }
.prose p, .prose li { color: var(--ink-2); }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .showcase, .keys, .mac { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mac { padding: 36px 24px; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .site-nav, .site-cta .link { display: none; }
  .site-nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .menu-toggle { display: grid; place-items: center; }
  .site-header .wrap { gap: 12px; }
  .site-cta { margin-left: auto; }
  .grid-3, .grid-4, .two-col { grid-template-columns: 1fr; }
  .window-body .render { padding: 16px 16px 16px 60px; }
  .fake-tools span { width: 22px; height: 22px; }
  .hero { padding-top: 48px; }
  .auth-card { padding: 28px 20px; }
  .fake-tools { display: none; }
  .window-body .render { padding: 12px; }
}


/* ---------- Botões extras ---------- */
.btn-xl { height: 58px; padding: 0 30px; font-size: 17px; border-radius: 16px; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(21, 94, 239, .45); }

/* ---------- Junto, ao vivo ---------- */
.live-sec { overflow: hidden; }
.live-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.live-copy .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.live-copy h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; }
.live-copy > p { font-size: 18px; color: var(--ink-2); margin: 0 0 28px; }
.live-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
.live-list li { display: flex; gap: 14px; align-items: flex-start; }
.live-list .icon-tile { flex: none; width: 40px; height: 40px; }
.live-list .icon-tile svg { width: 20px; height: 20px; }
.live-list b { display: block; font-size: 16px; }
.live-list small { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.live-art { position: relative; }
.live-art::before { content: ''; position: absolute; inset: -40px -60px; background: radial-gradient(closest-side, rgba(21, 94, 239, .22), transparent); z-index: -1; }
.live-frame { position: relative; background: var(--canvas) radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 18px 18px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 64px 18px 22px; }
.live-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; }
.live-avatars { display: flex; padding: 4px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow); }
.live-avatars span { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--surface); color: #fff; font-size: 11px; font-weight: 700; }
.live-avatars span:first-child { margin-left: 0; }
.live-avatars .more { background: #55555F; }
.live-timer { display: flex; align-items: center; gap: 8px; padding: 7px 14px; background: var(--navy); color: #fff; border-radius: 999px; font: 700 17px var(--font); font-variant-numeric: tabular-nums; box-shadow: var(--shadow); }
.live-timer svg { width: 18px; height: 18px; color: var(--brand); }
.live-board { position: relative; width: 100%; }
.live-board svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-vote { position: absolute; transform: translate(-60%, -45%); display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 15px; border: 2px solid var(--surface); background: var(--navy); color: #fff; font: 800 14px var(--font); box-shadow: var(--shadow); animation: pop-in .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.live-vote.top { background: var(--brand); color: var(--on-brand); transform: translate(-60%, -45%) scale(1.2); }
.live-vote:nth-of-type(2) { animation-delay: .15s; } .live-vote:nth-of-type(3) { animation-delay: .3s; }
.live-pin { position: absolute; transform: translate(-2px, -100%); display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--surface); border-radius: 17px 17px 17px 4px; background: var(--navy); color: var(--brand-light); font: 800 11px var(--font); box-shadow: var(--shadow); }
.live-comment { position: absolute; right: -18px; bottom: 26px; display: flex; gap: 10px; max-width: 250px; padding: 12px 14px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); animation: float-y 5s ease-in-out infinite; }
.live-comment .av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #E5484D; color: #fff; font: 700 11px var(--font); }
.live-comment b { font-size: 13px; }
.live-comment p { margin: 2px 0 0; font-size: 14px; color: var(--ink); }
.live-comment i { font-style: normal; color: var(--accent); font-weight: 700; background: var(--accent-soft); border-radius: 4px; padding: 0 3px; }
.live-cursor { position: absolute; z-index: 2; display: flex; align-items: flex-start; pointer-events: none; }
.live-cursor svg { width: 16px; height: 20px; }
.live-cursor span { margin: 16px 0 0 2px; padding: 3px 8px; border-radius: 6px; color: #fff; font: 600 12px var(--font); white-space: nowrap; }
.live-cursor.c1 { animation: cursor-a 9s ease-in-out infinite; }
.live-cursor.c2 { animation: cursor-b 11s ease-in-out infinite; }
@keyframes cursor-a { 0%, 100% { left: 22%; top: 40%; } 30% { left: 38%; top: 58%; } 55% { left: 30%; top: 72%; } 80% { left: 16%; top: 55%; } }
@keyframes cursor-b { 0%, 100% { left: 62%; top: 62%; } 35% { left: 54%; top: 46%; } 60% { left: 70%; top: 74%; } 85% { left: 58%; top: 70%; } }
@keyframes pop-in { from { opacity: 0; transform: translate(-60%, -45%) scale(.3); } }
@keyframes float-y { 50% { translate: 0 -8px; } }

/* ---------- App para Mac (lançamento) ---------- */
.mac2 { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 64px; border-radius: 32px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #070B1A 0%, #0B1B3A 55%, #0B2A6B 100%); }
.mac2-glow { position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; background: radial-gradient(closest-side, rgba(21, 94, 239, .45), transparent); filter: blur(10px); animation: glow 8s ease-in-out infinite; }
.mac2 > *:not(.mac2-glow) { position: relative; }
@keyframes glow { 50% { transform: translate(-40px, 40px) scale(1.1); opacity: .8; } }
.mac2-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(21, 94, 239, .14); border: 1px solid rgba(21, 94, 239, .4); color: var(--brand-light); font-size: 13px; font-weight: 700; }
.mac2-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(21, 94, 239, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(21, 94, 239, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 94, 239, 0); } }
.mac2 h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 16px; font-weight: 800; }
.grad { background: linear-gradient(90deg, #528BFF, #84ADFF 60%, #D1E4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mac2-copy > p { color: rgba(255,255,255,.75); font-size: 17px; margin: 0 0 22px; }
.mac2-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.mac2-list li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.9); font-size: 15px; }
.mac2-list li::before { content: '✓'; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; background: rgba(21, 94, 239, .18); color: var(--brand-light); font-size: 12px; font-weight: 800; }
.waitlist { display: flex; gap: 8px; padding: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; max-width: 480px; }
.waitlist input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 11px; background: transparent; color: #fff; font: 16px var(--font); outline: none; }
.waitlist input::placeholder { color: rgba(255,255,255,.5); }
.waitlist .btn { height: 46px; }
.waitlist-msg { margin: 10px 2px 0; font-size: 13px; color: rgba(255,255,255,.55); }
.waitlist-msg.ok { color: var(--brand-light); font-size: 15px; font-weight: 600; }
.waitlist-msg.err { color: #FF9C9F; }
.mac2-art { position: relative; padding: 24px 0; }
.macbook { transform: perspective(1400px) rotateY(-12deg) rotateX(4deg); transition: transform .6s; }
.mac2:hover .macbook { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.macbook-screen { background: #1C1C24; border-radius: 16px 16px 4px 4px; padding: 10px; border: 1px solid #34343F; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.macbook-bar { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; }
.macbook-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF6159; }
.macbook-bar i:nth-child(2) { background: #FFBD2E; } .macbook-bar i:nth-child(3) { background: #28C941; }
.macbook-bar span { margin-left: 10px; font-size: 11px; color: #9A9AA8; }
.macbook-board { aspect-ratio: 16 / 10; border-radius: 6px; padding: 14px; background: var(--canvas) radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 16px 16px; display: grid; place-items: center; }
.macbook-board svg { width: 100%; height: 100%; }
.macbook-base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#C9CAD3, #8C8D98); }
.chip { position: absolute; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap; animation: float-y 6s ease-in-out infinite; }
.chip.f1 { top: 2%; left: -4%; }
.chip.f2 { bottom: 14%; left: -10%; animation-delay: -2s; }
.chip.f3 { top: 30%; right: -6%; animation-delay: -4s; }

/* ---------- Chamada final ---------- */
.final2 { position: relative; overflow: hidden; text-align: center; padding: 88px 24px 72px; border-radius: 32px; color: #fff; background: linear-gradient(160deg, #155EEF 0%, #0B3FB0 40%, #070B1A 100%); }
.final2::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px) 0 0 / 22px 22px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.final2-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(21, 94, 239, .55), transparent); animation: glow 9s ease-in-out infinite; }
.final2 > *:not(.final2-glow):not(.final2-notes) { position: relative; }
.final2-kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.final2 h2 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; margin: 20px auto 18px; font-weight: 800; max-width: 900px; }
.hl2 { position: relative; white-space: nowrap; color: var(--on-brand); background: var(--brand); padding: 0 .18em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.final2 > p { margin: 0 auto 32px; max-width: 620px; font-size: 19px; color: rgba(255,255,255,.85); }
.final2-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final2-cta .btn-primary { box-shadow: 0 10px 40px rgba(21, 94, 239, .55); animation: nudge 3.5s ease-in-out infinite; }
@keyframes nudge { 0%, 85%, 100% { transform: none; } 90% { transform: translateY(-3px) scale(1.03); } 95% { transform: none; } }
.final2-perks { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; font-size: 15px; color: rgba(255,255,255,.9); }
.final2-perks li::before { content: '✓'; margin-right: 8px; color: var(--brand-light); font-weight: 800; }
.final2-notes .fn { position: absolute; padding: 14px 16px; border-radius: 4px; color: #1F1F24; font: 700 15px var(--font); box-shadow: 0 14px 30px rgba(0,0,0,.25); animation: float-y 7s ease-in-out infinite; }
.fn.n1 { top: 14%; left: 6%; background: #FFEB99; transform: rotate(-6deg); }
.fn.n2 { top: 18%; right: 7%; background: #CFEFC5; transform: rotate(5deg); animation-delay: -2s; }
.fn.n3 { bottom: 9%; left: 3%; background: #C9DEFF; transform: rotate(4deg); animation-delay: -4s; }
.fn.n4 { bottom: 12%; right: 4%; background: #F9CBE5; transform: rotate(-5deg); animation-delay: -1s; }
@media (prefers-reduced-motion: reduce) { .live-cursor, .live-comment, .chip, .fn, .mac2-glow, .final2-glow, .final2-cta .btn-primary, .mac2-badge i { animation: none !important; } }

@media (max-width: 960px) {
  .live-grid, .mac2 { grid-template-columns: 1fr; }
  .mac2 { padding: 40px 24px; }
  .live-comment { right: 8px; bottom: -18px; }
  .chip.f2 { left: 0; } .chip.f1 { left: 0; } .chip.f3 { right: 0; }
  .final2-notes { display: none; }
}
@media (max-width: 720px) {
  .waitlist { flex-direction: column; }
  .final2 { padding: 64px 18px 56px; }
  .btn-xl { width: 100%; }
}

[hidden] { display: none !important; }

/* Cupom de desconto */
.coupon { margin: 0 auto; max-width: 440px; text-align: left; }
.coupon summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; list-style: none; text-align: center; }
.coupon summary::-webkit-details-marker { display: none; }
.coupon summary::before { content: '🏷 '; }
.coupon[open] summary { margin-bottom: 10px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: 600 14px var(--font); letter-spacing: .04em; text-transform: uppercase; background: var(--surface); }
.coupon-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21, 94, 239, .14); }
.coupon-form .btn { height: 40px; }
.coupon-msg { margin: 8px 0 0; font-size: 13px; min-height: 0; }
.coupon-msg:empty { display: none; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.err { color: var(--danger); }
.coupon-x { border: 0; background: none; padding: 0 0 0 4px; color: var(--ink-3); font: inherit; text-decoration: underline; cursor: pointer; }
.coupon.applied .coupon-form input { border-color: var(--ok); background: #F3FBF6; }
.price-was { display: block; color: var(--ink-3); font-size: 15px; font-weight: 500; text-decoration: line-through; margin-bottom: 2px; min-height: 20px; }
.coupon-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #FFF3BF; color: #8A6D00; font-size: 12px; font-weight: 700; vertical-align: 3px; }
.auth-plan.with-coupon { flex-direction: column; align-items: stretch; }
.auth-plan .coupon { max-width: none; margin-top: 4px; }
.auth-plan .coupon summary { text-align: left; }
.auth-plan .coupon-msg { font-weight: 500; }
.pricing-coupon { margin-top: 18px; }
.auth-plan-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Lean Six Sigma (seção da home) */
.lean-sec { background: linear-gradient(180deg, var(--lean-top) 0%, var(--bg) 100%); border-top: 1px solid var(--line); }
.lean-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.lean-copy h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; line-height: 1.08; margin: 10px 0 14px; }
.lean-copy h2 .grad { background: linear-gradient(90deg, #004EEB, #528BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lean-copy > p { color: var(--ink-2); font-size: 18px; margin: 0 0 22px; }
.lean-copy .kicker { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lean-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.lean-list li { position: relative; padding-left: 30px; }
.lean-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.lean-list b { display: block; font-size: 16px; }
.lean-list small { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.lean-art { position: relative; }
.lean-frame { background: var(--surface) radial-gradient(var(--dot) 1px, transparent 1px) 0 0 / 18px 18px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px; }
.lean-frame svg { display: block; width: 100%; height: 100%; }
.lean-tag { position: absolute; padding: 7px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); animation: float-y 5s ease-in-out infinite; white-space: nowrap; }
.lean-tag.t1 { right: -12px; top: 50%; background: #E5484D; }
.lean-tag.t2 { left: -14px; top: 40%; animation-delay: -2.5s; }
@media (max-width: 960px) { .lean-grid { grid-template-columns: 1fr; gap: 36px; } .lean-tag.t1 { right: 8px; } .lean-tag.t2 { left: 8px; } }
@media (prefers-reduced-motion: reduce) { .lean-tag { animation: none; } }

/* Faixa de promoção */
.promo-bar { position: relative; z-index: 51; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; background: linear-gradient(90deg, #070B1A, #111318 60%, #070B1A); color: #FFFFFF; font-size: 14px; text-align: center; }
.promo-bar a { color: inherit; text-decoration: none; }
.promo-bar a:hover .promo-cta { text-decoration: underline; }
.promo-bar code { background: rgba(240, 68, 56, .2); color: #FF8A80; padding: 1px 7px; border-radius: 6px; font-weight: 700; letter-spacing: .04em; }
.promo-cta { color: #F04438; font-weight: 700; margin-left: 6px; white-space: nowrap; }
@media (max-width: 640px) { .promo-bar { font-size: 12.5px; padding: 8px 12px; } }

/* Lista de espera */
.wait-card { text-align: left; }
.wait-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.wait-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(21, 94, 239, .25); }
.wait-steps { display: grid; gap: 10px; margin: 18px 0 20px; }
.wait-steps div { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.wait-steps b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.wait-card [data-redeem] { margin-top: 12px; }
.wait-note { max-width: 560px; margin: 0 auto; padding: 10px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 14px; }

/* Chat Cloud (docs/15-CHAT.md) */
.cloud-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; height: 54px; padding: 0 20px 0 15px; margin: 0; border: 0; border-radius: 999px; background: linear-gradient(135deg, #0B2A6B, #070B1A); color: #EFF5FF; font: 700 15px var(--font); cursor: pointer; box-shadow: 0 10px 30px rgba(7, 11, 26, .28), 0 0 0 3px rgba(21, 94, 239, .25); transition: transform .2s, box-shadow .2s, padding .32s cubic-bezier(.16, 1, .3, 1); }
.cloud-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(7, 11, 26, .32), 0 0 0 3px rgba(21, 94, 239, .4); }
.cloud-ico { position: relative; display: grid; width: 24px; height: 24px; color: var(--brand-light); }
.cloud-ico > span { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .2s, transform .32s cubic-bezier(.16, 1, .3, 1); }
.cloud-ico .i-close { opacity: 0; transform: rotate(-90deg) scale(.6); color: #EFF5FF; }
.cloud-label { display: inline-block; max-width: 160px; margin-left: 10px; overflow: hidden; white-space: nowrap; transition: max-width .32s cubic-bezier(.16, 1, .3, 1), margin .32s cubic-bezier(.16, 1, .3, 1), opacity .2s; }
.cloud-fab.on { padding: 0 15px; }
.cloud-fab.on .cloud-label { max-width: 0; margin-left: 0; opacity: 0; }
.cloud-fab.on .i-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.cloud-fab.on .i-close { opacity: 1; transform: none; }
/* A janela fica sempre no DOM e anima entre fechada e aberta. Os resets evitam herdar estilos do site. */
.cloud-chat { position: fixed; right: 20px; bottom: 86px; z-index: 90; display: flex; flex-direction: column; box-sizing: border-box; width: 380px; height: min(600px, calc(100vh - 120px)); margin: 0; padding: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px) scale(.94); transform-origin: calc(100% - 26px) calc(100% + 40px);
  transition: opacity .2s ease, transform .26s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .26s; }
.cloud-chat.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .22s ease, transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.cloud-chat > * { margin: 0; flex: none; }
.cloud-chat .cloud-log { flex: 1 1 auto; min-height: 0; }
.cloud-chat .cloud-log > .cloud-msg { animation: cloud-msg-in .28s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cloud-msg-in { from { opacity: 0; transform: translateY(8px); } }
.cloud-head { display: flex; border-radius: 0; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(90deg, #070B1A, #0B2A6B); color: #EFF5FF; }
.cloud-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.cloud-avatar svg { width: 28px; height: auto; }
.cloud-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.cloud-who b { font-size: 16px; }
.cloud-who small { display: flex; align-items: center; gap: 6px; color: #A9BCE0; font-size: 12.5px; }
.cloud-who small i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(21, 94, 239, .25); }
.cloud-close { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: #A9B4C8; cursor: pointer; }
.cloud-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cloud-log { position: relative; flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); overscroll-behavior: contain; }
.cloud-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.cloud-msg.bot { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.cloud-msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.cloud-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cloud-acts .btn { height: 34px; font-size: 13.5px; }
.cloud-typing { display: flex; gap: 5px; padding: 14px 16px; }
.cloud-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: cloud-dot 1s infinite ease-in-out; }
.cloud-typing i:nth-child(2) { animation-delay: .15s; }
.cloud-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cloud-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cloud-sugs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; background: var(--bg-2); }
.cloud-sugs:not(:empty) { padding-bottom: 10px; }
.cloud-sug { border: 1px solid var(--accent); background: var(--bg); color: var(--accent); border-radius: 999px; padding: 6px 12px; font: 600 13px var(--font); cursor: pointer; }
.cloud-sug:hover { background: var(--accent-soft); }
.cloud-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--bg); }
.cloud-form input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font: 15px var(--font); color: var(--ink); background: var(--bg); }
.cloud-form input:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.cloud-form button { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--brand); color: var(--on-brand); cursor: pointer; }
.cloud-foot { margin: 0; padding: 0 12px 12px; background: var(--bg); color: var(--ink-3); font-size: 11.5px; text-align: center; }
.cloud-foot a { color: inherit; }
.cloud-nudge { position: fixed; right: 20px; bottom: 86px; z-index: 89; max-width: 260px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px 16px 6px 16px; background: var(--bg); color: var(--ink); font: 14px/1.45 var(--font); text-align: left; cursor: pointer; box-shadow: var(--shadow-lg); animation: cloud-in .2s ease-out; }
.cloud-nudge b { color: var(--accent); font-size: 13px; }
.cloud-nudge[hidden] { display: none; }
@media (max-width: 640px) {
  .cloud-fab { right: 14px; bottom: 14px; height: 50px; padding: 0 16px 0 13px; font-size: 14px; }
  .cloud-fab.on { padding: 0 13px; }
  .cloud-chat { left: 8px; right: 8px; bottom: 74px; width: auto; height: min(78vh, calc(100vh - 90px)); border-radius: 18px; }
  .cloud-nudge { right: 14px; bottom: 74px; }
}
@media (prefers-reduced-motion: reduce) { .cloud-chat, .cloud-chat.open, .cloud-fab, .cloud-label, .cloud-ico > span, .cloud-chat .cloud-log > .cloud-msg { transition-duration: .01s; animation: none; } }
@media print { .cloud-fab, .cloud-chat, .cloud-nudge { display: none !important; } }

/* ---------- Aparência (B19) ---------- */
.nf-theme-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.nf-theme-switch button { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); font: 500 13px var(--font); cursor: pointer; }
.nf-theme-switch button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.footer-theme { margin-top: 18px; }

/* ---------- Hero ao vivo: presença, cursores e seleção sobre o quadro ---------- */
.window-bar .hero-presence { margin-left: auto; display: flex; align-items: center; }
.hero-presence b { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--window-bar); margin-left: -6px; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #fff; }
.hero-presence em { font-style: normal; margin-left: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.hero-presence em i { width: 7px; height: 7px; border-radius: 50%; background: #2A7E3B; box-shadow: 0 0 0 3px rgba(42, 126, 59, .18); animation: hp-pulse 2s ease-in-out infinite; }
@keyframes hp-pulse { 50% { box-shadow: 0 0 0 6px rgba(42, 126, 59, 0); } }
.hero-live { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hl-sel { position: absolute; left: 0; top: 0; border: 2px solid var(--c); border-radius: 8px; opacity: 0; transition: opacity .25s ease; }
.hl-sel.on { opacity: 1; }
.hl-sel::before, .hl-sel::after { content: ''; position: absolute; width: 8px; height: 8px; background: #fff; border: 2px solid var(--c); border-radius: 2px; }
.hl-sel::before { left: -6px; top: -6px; } .hl-sel::after { right: -6px; bottom: -6px; }
.hl-cur { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; transition: transform 1.25s cubic-bezier(.45, .05, .25, 1); will-change: transform; }
.hl-cur svg { width: 18px; height: 18px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.hl-cur b { margin: 14px 0 0 -2px; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
@media (max-width: 720px) { .hero-presence em { display: none; } .hl-cur b { font-size: 10px; padding: 2px 6px; } }

/* ---------- Faixa de modelos ---------- */
.tpl-strip { padding: 40px 0 8px; overflow: hidden; }
.tpl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.tpl-head p { margin: 0; color: var(--ink-2); font-size: 16px; }
.tpl-head b { color: var(--ink); }
.tpl-head .tpl-import { font-size: 14px; color: var(--ink-3); }
.tpl-rows { display: grid; gap: 10px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tpl-row { display: flex; gap: 10px; width: max-content; animation: tpl-roll var(--d, 60s) linear infinite; }
.tpl-row.rev { animation-direction: reverse; }
.tpl-rows:hover .tpl-row { animation-play-state: paused; }
@keyframes tpl-roll { to { transform: translateX(-50%); } }
.tpl-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; text-decoration: none; transition: border-color .15s, transform .15s; }
.tpl-chip:hover { border-color: var(--brand-light); transform: translateY(-2px); }
.tpl-chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.tpl-chip small { font-size: 12px; font-weight: 500; color: var(--ink-3); }

/* ---------- Abas que trocam sozinhas ---------- */
.tab { position: relative; overflow: hidden; }
.tab.on.auto::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--brand-light); transform-origin: left; animation: tab-progress var(--t, 6s) linear forwards; }
@keyframes tab-progress { from { transform: scaleX(0); } }
.showcase-art svg { animation: sc-in .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes sc-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- Para quem: cartões com movimento ---------- */
.use { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.use::after { content: ''; position: absolute; right: -36px; top: -36px; width: 120px; height: 120px; border-radius: 28px; background: rgba(255, 255, 255, .35); transform: rotate(18deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.use:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(20, 20, 40, .35); }
.use:hover::after { transform: rotate(48deg) scale(1.15); }

@media (prefers-reduced-motion: reduce) { .tpl-row, .hero-presence em i, .showcase-art svg { animation: none !important; } .hl-cur { transition: none; } .tab.on.auto::after { display: none; } }
@media (max-width: 720px) {
  .window-body { aspect-ratio: 4 / 3; }
  .window-body .render { padding: 14px; }
  .fake-tools { display: none; }
  .hl-cur { scale: .85; transform-origin: 0 0; }
}

/* Chat no celular: só o ícone, para não cobrir o conteúdo */
@media (max-width: 640px) {
  .cloud-fab { right: 14px; bottom: 14px; width: 54px; padding: 0; justify-content: center; }
  .cloud-fab .cloud-label { max-width: 0; margin-left: 0; opacity: 0; }
  .cloud-fab.on { padding: 0; }
}

/* Aviso de cookies (consent.js): canto inferior esquerdo, longe do botão do chat. */
.cookie-bar { position: fixed; left: 20px; bottom: 20px; z-index: 95; box-sizing: border-box; max-width: 420px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--font); box-shadow: var(--shadow-lg); animation: cloud-in .2s ease-out; }
.cookie-bar p { margin: 0 0 12px; color: var(--ink-2); }
.cookie-bar a { color: var(--accent); }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 640px) { .cookie-bar { left: 12px; right: 12px; bottom: 84px; max-width: none; } }
@media print { .cookie-bar { display: none !important; } }
