:root {
  --blue: #2563eb;
  --blue-dark: #1748b8;
  --blue-soft: #e9effd;
  --ink: #0f172a;
  --ink-soft: #4d5a70;
  --ink-muted: #778399;
  --paper: #f7f8fc;
  --paper-deep: #eef2f8;
  --card: #fff;
  --line: #d9dfeb;
  --line-strong: #bcc7dc;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --wrap: 1240px;
  --shadow: 0 30px 80px rgba(24, 58, 123, .16);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .22;
  background-image: linear-gradient(rgba(90, 112, 151, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 112, 151, .12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 38rem);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }

.page-wrap { width: min(100% - clamp(36px, 8vw, 96px), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(88px, 11vw, 150px) 0 clamp(108px, 13vw, 176px); }
.eyebrow {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 500; padding: 12px 18px; border-radius: 10px; color: #fff; background: var(--ink); text-decoration: none; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(37, 99, 235, .5); outline-offset: 3px; border-radius: 8px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(203, 212, 229, .72);
  background: rgba(247, 248, 252, .88);
  backdrop-filter: blur(18px) saturate(150%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand em { margin-left: 2px; padding-left: 12px; border-left: 1px solid var(--line-strong); color: var(--ink-soft); font-family: var(--font-body); font-size: .76rem; font-style: normal; font-weight: 700; letter-spacing: .02em; }
.topnav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.topnav > a:not(.btn) { color: var(--ink-soft); font-size: .95rem; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.topnav > a:not(.btn):hover { color: var(--ink); }
.topnav .nav-web { padding-left: clamp(12px, 1.8vw, 24px); border-left: 1px solid var(--line); color: var(--blue-dark) !important; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform .2s ease; }

.btn {
  min-height: 50px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 14px 30px rgba(37, 99, 235, .24); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 18px 36px rgba(37, 99, 235, .3); }
.btn-secondary { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue-dark); background: #f7f9ff; }
.btn-light { color: var(--blue-dark); background: #fff; box-shadow: 0 16px 38px rgba(5, 24, 64, .25); }
.btn-small { min-height: 44px; padding: 10px 18px; border-radius: 12px; font-size: .87rem; }
.btn.is-disabled, body:not(.release-ready) .btn[data-download] { opacity: .58; cursor: not-allowed; transform: none; box-shadow: none; }
.text-link { color: var(--blue-dark); font-weight: 700; text-decoration: none; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }

.hero { overflow: hidden; padding: clamp(76px, 9vw, 128px) 0 clamp(86px, 10vw, 138px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(560px, 1.13fr); gap: clamp(44px, 6vw, 90px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 12.8ch; margin-top: 18px; font-size: clamp(3rem, 4.35vw, 4.65rem); }
.hero-lead { max-width: 58ch; margin-top: 24px; color: var(--ink-soft); font-size: clamp(1.04rem, 1.35vw, 1.2rem); line-height: 1.62; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.release-line { margin-top: 14px; color: var(--ink-muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.cta-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 18px; padding: 0; list-style: none; font-size: .86rem; font-weight: 600; }
.cta-proof li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.download-error { max-width: 48ch; margin-top: 16px; padding: 12px 14px; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; background: #fff1f2; font-size: .86rem; font-weight: 600; text-align: left; }
/* Botão do Mac e nota "em breve" se alternam pelo atributo `hidden` (ver
   renderMacAvailability em desktop.js); sem este !important o display:flex
   do .btn venceria o hidden e o botão do Mac apareceria sempre. */
[hidden] { display: none !important; }
.mac-soon { margin-top: 6px; color: var(--ink-muted); font-size: .8rem; }

.hero-product { position: relative; min-width: 0; }
.hero-product::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; right: -8%; top: -26%; border-radius: 50%; background: rgba(96, 145, 255, .18); filter: blur(60px); }
.app-window { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(143, 159, 190, .68); border-radius: 18px; background: #f4f6fb; box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.92); transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); transform-origin: left center; }
/* A moldura do hero envolve a captura INTEIRA do aplicativo: a barra de
   título e o rail que aparecem ali são os DO APP, dentro da imagem. */
.app-content { min-height: 0; display: block; }
/* `height: auto` é obrigatório: o atributo height="900" do <img> vira uma
   dica de apresentação que ganharia do aspect-ratio e esticaria a moldura. */
.app-content > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.local-note { position: relative; z-index: 2; width: max-content; max-width: 100%; margin: 14px 0 0 auto; padding: 12px 15px; display: flex; gap: 12px; align-items: center; border: 1px solid rgba(160, 174, 200, .7); border-radius: 13px; background: #fff; }
.local-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: var(--blue-soft); }
.local-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.local-note b, .local-note small { display: block; }
.local-note b { font-size: .86rem; }
.local-note small { margin-top: 2px; color: var(--ink-muted); font-size: .72rem; }

.facts { border-block: 1px solid var(--line); background: rgba(255,255,255,.6); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts article { min-height: 180px; padding: 34px clamp(24px, 3vw, 44px) 36px 0; display: grid; grid-template-columns: 36px 1fr; align-content: start; column-gap: 15px; }
.facts article + article { padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid var(--line); }
.facts article > span { grid-row: 1 / span 2; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.facts b { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.01em; }
.facts p { margin-top: 9px; color: var(--ink-soft); font-size: .88rem; }

.section-heading { margin-bottom: clamp(42px, 6vw, 72px); }
/* `h1` entra aqui por causa da /desktop/planos/, onde o título da PÁGINA é o
   cabeçalho da primeira seção (na landing o h1 é do hero). */
.section-heading h1, .section-heading h2 { max-width: 17ch; margin-top: 14px; font-size: clamp(2.25rem, 4.25vw, 4.25rem); }
.section-heading > p:not(.eyebrow), .heading-split > p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }
.heading-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 7vw, 110px); align-items: end; }
.heading-split > p { max-width: 48ch; padding-bottom: 5px; }

.workflow { background: rgba(247,248,252,.72); }
.feature { overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.84); }
.feature h3 { font-size: clamp(1.65rem, 2.4vw, 2.55rem); }
.feature p { margin-top: 18px; color: var(--ink-soft); }
.feature-number { display: block; margin-bottom: 22px; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.feature-viewer { display: grid; grid-template-columns: .72fr 1.28fr; border-radius: 28px; }
.feature-viewer .feature-copy { padding: clamp(34px, 5vw, 68px); align-self: center; }
.feature-media { position: relative; overflow: hidden; background: #eef3fa; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.feature-viewer .feature-media { min-height: 480px; border-left: 1px solid var(--line); }
.feature-viewer .feature-media img { object-position: 42% center; }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink); font-size: .9rem; font-weight: 600; }
.check-list li::before { content: '✓'; margin-right: 9px; color: var(--blue); font-weight: 800; }
.feature-pair { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 24px; align-items: stretch; }
.feature-pair .feature { height: 100%; grid-row: span 2; border-radius: 22px; display: grid; grid-template-rows: subgrid; }
.feature-pair .feature-copy { min-height: 330px; padding: clamp(28px, 3.5vw, 46px); }
.feature-pair .feature-media { min-height: 0; aspect-ratio: 1.55; border-top: 1px solid var(--line); }
.feature-clash .feature-media img { object-position: center; }
.feature-planner { margin-top: 24px; padding: clamp(34px, 5vw, 66px); display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(32px, 5vw, 70px); border-radius: 28px; align-items: center; background: #f1f5fd; }
.planner-points { margin-top: 30px; display: flex; gap: 18px; }
.planner-points span { min-width: 120px; padding-top: 15px; border-top: 2px solid var(--blue); }
.planner-points b, .planner-points small { display: block; }
.planner-points b { color: var(--blue); font-family: var(--font-display); font-size: 1.45rem; }
.planner-points small { margin-top: 4px; color: var(--ink-soft); font-size: .75rem; }
.planner-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.planner-media figure { overflow: hidden; display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line-strong); border-radius: 15px; background: #fff; box-shadow: 0 18px 42px rgba(30, 62, 125, .14); }
/* 16:9 inteiro: as capturas da Casa de Campo têm o HUD do 4D no alto e a
   Gantt/EAP embaixo — qualquer recorte vertical comeria justamente o que o
   cartão promete. */
.planner-media img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.planner-media figcaption { padding: 9px 12px; color: var(--ink-soft); font-size: .72rem; font-weight: 700; }

.plans { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: #eef2f8; }
.plans::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: 40px; border-radius: 50%; background: rgba(37,99,235,.09); filter: blur(30px); }
.plans .page-wrap { position: relative; }
.plans-heading { text-align: center; }
.plans-heading h1, .plans-heading h2 { max-width: 18ch; margin-inline: auto; }
.plans-heading > p:not(.eyebrow) { max-width: 62ch; margin: 20px auto 0; }
.cycle-switch { width: max-content; margin: 28px auto 0; padding: 4px; display: flex; gap: 3px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(255,255,255,.7); }
.cycle-switch button { min-height: 42px; padding: 8px 18px; border: 0; border-radius: 9px; color: var(--ink-soft); background: transparent; font-size: .86rem; font-weight: 700; cursor: pointer; }
.cycle-switch button.active { color: #fff; background: var(--ink); }
.pricing-shell { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; background: rgba(255,255,255,.8); box-shadow: 0 22px 60px rgba(30, 58, 108, .1); }
.price-card { position: relative; min-width: 0; min-height: 590px; padding: clamp(30px, 3.4vw, 48px); display: flex; flex-direction: column; }
.price-card + .price-card { border-left: 1px solid var(--line); }
.price-card.planner { color: #fff; background: var(--ink); }
.price-card .plan-index { display: block; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; font-weight: 700; }
.price-card.planner .plan-index { color: #86a9fb; }
/* h2 na /desktop/planos/ (os cartões ficam sob o h1 da página), h3 na landing
   (onde já há um h2 na seção). Mesmo desenho nos dois casos. */
.price-card h2, .price-card h3 { margin-top: 16px; font-size: 2rem; }
.price-top { min-height: 154px; }
.price-top p { max-width: 31ch; margin-top: 12px; color: var(--ink-soft); font-size: .9rem; }
.price-card.planner .price-top p { color: #aebad0; }
.price { min-height: 82px; margin-top: 22px; display: flex; flex-direction: column; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.price b { font-family: var(--font-display); font-size: clamp(2.1rem, 3.1vw, 3rem); letter-spacing: -.01em; line-height: 1.05; }
.price > span { margin-top: 7px; color: var(--ink-muted); font-size: .8rem; }
.price-card.planner .price > span { color: #aebad0; }
.price-card .btn { width: 100%; margin-top: 24px; }
.price-card.planner .btn-primary { color: var(--blue-dark); background: #fff; box-shadow: none; }
.price-card ul { margin: 30px 0 0; padding: 27px 0 0; display: grid; gap: 13px; border-top: 1px solid var(--line); list-style: none; color: var(--ink-soft); font-size: .88rem; }
.price-card ul li::before { content: '✓'; margin-right: 9px; color: var(--blue); font-weight: 800; }
.price-card.planner ul { border-color: rgba(255,255,255,.14); color: #c2cada; }
.price-card.planner ul li::before { color: #86a9fb; }
.recommended { position: absolute; top: 0; right: 30px; padding: 7px 11px; color: #dce7ff; border: 1px solid rgba(134,169,251,.42); border-top: 0; border-radius: 0 0 8px 8px; background: rgba(37,99,235,.2); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.annual-equivalent { min-height: 20px; margin-top: -6px; color: var(--blue-dark); font-size: .76rem; font-weight: 700; }
.price-card.planner .annual-equivalent { color: #9db9fa; }
/* Conectado a um projeto, o cadeado do plano não vale: é capacidade do
   projeto. A nota fica colada nos cards porque é uma ressalva DELES. */
.connected-note { max-width: 82ch; margin: 26px auto 0; padding: 16px 20px; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(255,255,255,.78); font-size: .84rem; text-align: center; }
.billing-note { max-width: 78ch; margin: 18px auto 0; color: var(--ink-muted); font-size: .79rem; text-align: center; }

.ecosystem { border-top: 1px solid var(--line); background: rgba(255,255,255,.58); }

/* Os três passos: o mesmo desenho das `.facts` (número mono + regra vertical),
   porque aqui também é uma leitura de uma linha só, da esquerda para a direita. */
.eco-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line-strong); }
.eco-steps li { padding: 26px clamp(20px, 2.6vw, 38px) 30px 0; }
.eco-steps li + li { padding-left: clamp(20px, 2.6vw, 38px); border-left: 1px solid var(--line); }
.eco-step-index { display: block; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.eco-steps b { display: block; margin-top: 13px; font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.2; }
.eco-steps p { margin-top: 10px; color: var(--ink-soft); font-size: .88rem; }

.eco-shot { margin: clamp(40px, 5vw, 66px) 0 0; }
/* A moldura do hero é inclinada; aqui a captura é a prova do que o texto
   acabou de dizer, então ela entra de frente. */
.eco-shot .app-window { transform: none; transform-origin: center; }

.ecosystem-map { margin-top: clamp(40px, 5vw, 66px); display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.eco { min-height: 0; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.eco.web-side { background: #edf2ff; }
.eco-label { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.eco h3 { margin-top: 26px; font-size: 1.45rem; }
.eco ul { margin-top: 26px; padding: 0; display: grid; gap: 11px; list-style: none; color: var(--ink-soft); font-size: .86rem; }
.eco li { padding-top: 11px; border-top: 1px solid var(--line); }
.eco-bridge { align-self: center; display: grid; justify-items: center; gap: 8px; padding-inline: 6px; }
.eco-arrow { color: var(--blue); font-size: 1.6rem; line-height: 1; }
.eco-bridge-note { max-width: 14ch; color: var(--ink-muted); font-size: .71rem; font-weight: 600; line-height: 1.35; text-align: center; }

.eco-lists { margin-top: 24px; display: grid; grid-template-columns: 1.24fr .76fr; gap: 24px; align-items: start; }
.eco-list { padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.eco-list.is-web { background: #f2f5fb; }
.eco-list h3 { font-size: 1.3rem; }
.eco-list ul { margin: 22px 0 0; padding: 0; display: grid; gap: 13px; list-style: none; color: var(--ink-soft); font-size: .88rem; }
.eco-list li { position: relative; padding-left: 26px; }
.eco-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.eco-list.is-web li::before { content: '→'; color: var(--ink-muted); font-weight: 700; }
.eco-standalone { max-width: 76ch; margin: 30px auto 0; color: var(--ink-muted); font-size: .84rem; text-align: center; }
/* Flex (e não um <p> centrado) porque este fecho já teve dois links e pode
   voltar a ter: assim eles quebram em duas linhas no celular em vez de
   estourar a largura. */
.eco-cta { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; text-align: center; }

/* ───────────────────────────────────────────────────────────────────────────
   #assistente — a terceira porta (MCP) resumida na landing

   O mock da conversa é o MESMO objeto da /desktop/assistente/: `.chat-mock` e
   companhia moram no bloco daquela página, mais abaixo neste arquivo, e as
   duas páginas usam o mesmo HTML. Mexeu lá, mexeu aqui.
   ─────────────────────────────────────────────────────────────────────────── */
.assistant { border-top: 1px solid var(--line); background: rgba(247,248,252,.72); }
.assistant-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.assistant-asks { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.assistant-asks li { padding: 17px 20px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--card); }
.assistant-asks b { display: block; font-family: var(--font-display); font-size: 1rem; letter-spacing: -.01em; line-height: 1.3; }
.assistant-asks span { display: block; margin-top: 7px; color: var(--ink-soft); font-size: .87rem; line-height: 1.5; }
.assistant-cta { margin-top: clamp(24px, 3vw, 32px); }

/* "Como instalar" — o aviso do SmartScreen/Gatekeeper explicado logo abaixo
   dos botões reais de download (esta beta sai sem certificado de editor).
   Faixa clara sob o bloco escuro do fechamento, na MESMA seção #instalar:
   quem rolou até aqui vê o botão e o passo a passo numa tela só. */
.install-body { padding: clamp(66px, 8vw, 108px) 0 clamp(84px, 10vw, 136px); background: #f7f9fd; }
.install-heading h3 { max-width: 17ch; font-size: clamp(1.85rem, 3.2vw, 2.9rem); }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.install-card { padding: 30px 30px 34px; border: 1px solid var(--line-strong); border-radius: 20px; background: #fff; }
.install-card h4 { font-size: 1.15rem; letter-spacing: -.01em; }
.install-card ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: install-step; }
.install-card li { position: relative; padding-left: 38px; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; counter-increment: install-step; }
.install-card li + li { margin-top: 18px; }
.install-card li::before { content: counter(install-step); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 700; }
.install-note { max-width: 82ch; margin: 26px auto 0; color: var(--ink-muted); font-size: .84rem; text-align: center; }

.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 7vw, 100px); align-content: start; }
.faq-item { padding: 24px 0 26px; border-top: 1px solid var(--line-strong); }
.faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: '+'; flex: none; color: var(--blue); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.faq-item[open] > summary::after { content: '–'; }
.faq-item > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.faq-grid h3 { font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.25; }
.faq-grid p { max-width: 57ch; margin-top: 12px; color: var(--ink-soft); font-size: .9rem; }

/* Fechamento da página: bloco escuro com os DOIS botões reais de download. */
.final-top { overflow: hidden; position: relative; padding: clamp(74px, 9vw, 116px) 0; color: #fff; background: var(--blue-dark); }
.final-top::before { content: ''; position: absolute; inset: -20%; background: radial-gradient(circle at 72% 28%, rgba(99,146,255,.55), transparent 30%), linear-gradient(110deg, rgba(5,23,58,.34), transparent 55%); }
.final-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(44px, 8vw, 120px); align-items: center; }
.final-top .eyebrow { color: #c8d8ff; }
.final-top h2 { max-width: 15ch; margin-top: 14px; font-size: clamp(2.2rem, 4.1vw, 4rem); }
.final-action { min-width: 0; text-align: center; }
.final-action .btn { width: 100%; }
.final-action .btn + .btn { margin-top: 12px; }
.final-action .release-line { color: #cfdbf5; }
.final-action .mac-soon { color: #a8bfec; }
.final-action .cta-proof { color: #cfdbf5; }
.final-action .download-error { max-width: none; }

footer { padding: 38px 0 78px; border-top: 1px solid var(--line); color: var(--ink-muted); background: #edf1f7; font-size: .82rem; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer-brand { color: var(--ink); font-size: 1.05rem; }
.footer-brand img { width: 26px; height: 26px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
footer nav a { color: var(--ink-soft); text-decoration: none; }
footer nav a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }

.lang-switch { position: fixed; z-index: 210; left: clamp(14px, 2.4vw, 30px); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); padding: 3px; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.91); box-shadow: 0 8px 24px rgba(15,23,42,.1); backdrop-filter: blur(10px); }
.lang-switch button { min-width: 43px; min-height: 38px; padding: 6px 10px; border: 0; border-radius: 9px; color: var(--ink-soft); background: transparent; font-size: .72rem; font-weight: 800; cursor: pointer; }
.lang-switch button.active { color: #fff; background: var(--blue); }

/* A topbar vira hambúrguer bem antes do celular: com seis itens (o
   "Assistente" entrou em 06/09/2026) a barra numa linha só precisa de ~1160px
   no idioma mais largo, o espanhol. Abaixo disso ela quebrava em duas linhas —
   pior do que o menu recolhido, que é o que acontece agora. */
@media (max-width: 1160px) {
  .menu-toggle { display: block; }
  .topnav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 18px; display: none; align-items: stretch; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line); background: rgba(247,248,252,.98); box-shadow: 0 18px 38px rgba(22, 42, 82, .12); }
  .topnav.is-open { display: flex; }
  .topnav > a:not(.btn) { min-height: 46px; padding: 12px 10px; }
  .topnav .nav-web { padding-left: 10px; border-left: 0; border-top: 1px solid var(--line); }
  .topnav .btn { margin-top: 8px; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-product { width: min(900px, 94%); margin-top: 20px; margin-inline: auto; }
  .feature-viewer { grid-template-columns: 1fr; }
  .feature-viewer .feature-media { min-height: 390px; border-left: 0; border-top: 1px solid var(--line); }
  .feature-planner { grid-template-columns: 1fr; }
  .pricing-shell { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
  .price-card + .price-card { border-left: 0; border-top: 1px solid var(--line); }
  .price-top { min-height: 0; }
  .price-card .price { min-height: 0; }
  .price-card .btn { max-width: 340px; }
  .eco-lists { grid-template-columns: 1fr; }
  .assistant-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .heading-split { grid-template-columns: 1fr; gap: 22px; }
  .heading-split > p { max-width: 58ch; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts article { min-height: 0; padding: 28px 0; }
  .facts article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .feature-pair { grid-template-columns: 1fr; grid-template-rows: auto; gap: 24px; }
  .feature-pair .feature { grid-row: auto; grid-template-rows: auto 1fr; }
  .feature-pair .feature-copy { min-height: 0; }
  .eco-steps { grid-template-columns: 1fr; }
  .eco-steps li { padding: 24px 0 26px; }
  .eco-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ecosystem-map { grid-template-columns: 1fr; }
  .eco h3 { margin-top: 22px; }
  .eco-bridge { padding-block: 4px; }
  .eco-arrow { transform: rotate(90deg); }
  .eco-bridge-note { max-width: 40ch; }
  .faq-grid { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .install-heading h3 { max-width: 22ch; }
  .final-grid { grid-template-columns: 1fr; }
  .final-action { max-width: 450px; text-align: left; }
  .final-action .cta-proof { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .section { padding-top: 74px; padding-bottom: 92px; }
  .brand em { display: none; }
  .hero { padding-top: 58px; }
  .hero-copy h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .assistant-cta { width: 100%; }
  .hero-product { width: 100%; }
  .app-window { border-radius: 13px; transform: none; }
  .local-note { width: 92%; margin: 12px auto 0; }
  .feature-viewer, .feature-planner, .pricing-shell { border-radius: 19px; }
  .feature-viewer .feature-media { min-height: 270px; }
  .feature-pair .feature { border-radius: 17px; }
  .feature-planner { padding-inline: 22px; }
  .planner-media { grid-template-columns: 1fr; gap: 14px; }
  .planner-points { flex-direction: column; }
  .price-card { padding: 31px 24px 38px; }
  .price-card .btn { max-width: none; }
  .eco-shot .app-window { border-radius: 13px; }
  .eco, .eco-list { border-radius: 17px; }
  .faq-item { padding-bottom: 22px; }
  .install-card { padding: 24px 22px 28px; border-radius: 17px; }
  .install-body { padding-top: 58px; padding-bottom: 76px; }
  .final-action { max-width: none; }
  .final-action .btn { padding-inline: 16px; }
  footer { padding-bottom: 96px; }
}

/* ───────────────────────────────────────────────────────────────────────────
   /desktop/planos/ — página de planos (site/desktop/planos/index.html)

   Reaproveita a topbar, o rodapé, os cartões de preço, o comutador de ciclo e
   a FAQ da landing. O que é só dela: a trilha, a tabela de comparação e os
   cartões de cobrança.
   ─────────────────────────────────────────────────────────────────────────── */

/* Texto só para leitor de tela (a <caption> da tabela). `clip-path` em vez de
   display:none porque o conteúdo PRECISA continuar sendo lido. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.crumbs { margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-muted); font-size: .82rem; font-weight: 600; }
.crumbs a { color: var(--blue-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* A primeira seção já encosta na topbar: sem o respiro do hero, ela precisa do
   próprio padding de topo. */
.plans-page-top { padding-top: clamp(46px, 6vw, 78px); }
.plans-compare-cta { margin-top: 18px; text-align: center; }

.compare { border-top: 1px solid var(--line); background: rgba(255,255,255,.6); }

/* A ROLAGEM É DAQUI, não da página: no celular a tabela desliza dentro do
   contêiner e o <body> nunca ganha barra horizontal. `tabindex="0"` no HTML
   porque região rolável precisa alcançar o teclado. */
.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 22px 60px rgba(30, 58, 108, .08);
  -webkit-overflow-scrolling: touch;
}
.compare-scroll:focus-visible { outline: 3px solid rgba(37, 99, 235, .5); outline-offset: 3px; }
/* No desktop a tabela inteira cabe na caixa; a dica só faz sentido onde a
   coluna do Planner fica de fora. */
.compare-hint { display: none; }

/* A largura da primeira coluna é uma variável porque a coluna é FIXA
   (`position: sticky`) e as três de veredicto precisam caber no que sobra —
   no celular ela encolhe junto com o resto. */
.compare-table { --tool-col: 300px; width: 100%; min-width: 680px; border-collapse: collapse; font-size: .9rem; }
.compare-table thead th {
  padding: 18px 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
}
.compare-table td, .compare-table tbody th { padding: 14px 16px; border-bottom: 1px solid var(--line); }
/* A coluna da ferramenta acompanha a rolagem horizontal: sem isso, no celular
   a pessoa vê três colunas de ✓ sem saber de qual linha são. O cabeçalho dela
   gruda junto, senão o rótulo "Ferramenta" saía de cena. */
.compare-table thead th:first-child, .compare-table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;
  width: var(--tool-col);
  min-width: var(--tool-col);
  text-align: left;
}
.compare-table thead th:first-child { z-index: 3; }
.compare-table tbody th[scope="row"] {
  color: var(--ink-soft);
  background: var(--card);
  font-family: var(--font-body);
  font-weight: 500;
}
.compare-table td { color: var(--ink-muted); text-align: center; }
.compare-table td.yes { color: var(--blue); font-size: 1.05rem; font-weight: 800; }
.compare-table td.no { color: var(--line-strong); font-size: 1.05rem; }

.compare-table .compare-group th {
  padding: 22px 16px 10px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  text-align: left;
}
/* O rótulo do grupo é que gruda, não a célula: a célula tem colspan="4" e já
   ocupa a tabela inteira, então `sticky` nela não move o texto — ele sumiria
   para a esquerda assim que a tabela rolasse. */
.compare-table .compare-group span {
  position: sticky;
  left: 16px;
  display: inline-block;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.compare-table .compare-highlight th[scope="row"], .compare-table .compare-highlight td { background: var(--blue-soft); }
.compare-table .compare-highlight th[scope="row"] { color: var(--ink); font-weight: 700; }
.compare-note { max-width: 82ch; margin: 26px auto 0; padding: 16px 20px; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(255,255,255,.8); font-size: .84rem; text-align: center; }

.billing { border-top: 1px solid var(--line); background: #eef2f8; }
.billing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.billing-card { padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.billing-index { display: block; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.billing-card h3 { margin-top: 16px; font-size: 1.2rem; }
.billing-card p { margin-top: 12px; color: var(--ink-soft); font-size: .88rem; }
.billing .billing-note { max-width: 82ch; margin: 28px auto 0; color: var(--ink-muted); font-size: .82rem; text-align: center; }

/* O fechamento da página de planos não tem download real (ele mora no
   /desktop/#instalar): só o bloco escuro e um botão que leva até lá. */
.plans-final .final-action .release-line { margin-top: 14px; }

@media (max-width: 1100px) {
  .billing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .billing-grid { grid-template-columns: 1fr; }
  .compare-table { --tool-col: 240px; min-width: 600px; }
}

@media (max-width: 620px) {
  .compare-scroll { border-radius: 17px; }
  .compare-hint { display: block; margin-bottom: 12px; color: var(--ink-muted); font-size: .78rem; }
  .billing-card { border-radius: 17px; }
  /* Numa tela de 390px a coluna fixa fica em 168px: sobram ~200px, o
     suficiente para ler dois veredictos sem perder o nome da ferramenta. */
  .compare-table { --tool-col: 168px; min-width: 480px; font-size: .8rem; }
  .compare-table thead th, .compare-table td, .compare-table tbody th { padding: 12px 10px; }
  .compare-table .compare-group th { padding-inline: 10px; }
  .compare-table .compare-group span { left: 10px; }
}

/* ───────────────────────────────────────────────────────────────────────────
   /desktop/assistente/ — a página do MCP (site/desktop/assistente/index.html)

   Reaproveita quase tudo: topbar, rodapé, faixa de fatos, cartões
   (.billing-grid), acordeão da FAQ, as duas colunas de .eco-lists e o
   fechamento escuro. O que é só dela: o mock da conversa, o bloco do endereço
   e os passos numerados dentro do acordeão.
   ─────────────────────────────────────────────────────────────────────────── */

.assistant-hero { padding-top: clamp(46px, 6vw, 78px); }
.assistant-hero .hero-copy h1 { max-width: 13.5ch; }

/* ILUSTRAÇÃO em HTML/CSS, não captura: a conversa acontece no aplicativo de
   outra empresa, e inventar um print daquela tela seria mentir sobre ela.
   COMPARTILHADO: a seção #assistente da landing usa este mesmo mock, com o
   mesmo HTML — mudar o desenho aqui muda as duas páginas. */
.chat-mock { position: relative; z-index: 1; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.chat-mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.chat-mock-who { font-family: var(--font-display); font-size: .88rem; font-weight: 700; letter-spacing: -.01em; }
.chat-mock-chip { padding: 5px 10px; color: var(--blue-dark); border: 1px solid rgba(37,99,235,.28); border-radius: 999px; background: var(--blue-soft); font-size: .68rem; font-weight: 700; letter-spacing: .02em; }
.chat-mock-body { display: grid; gap: 12px; padding: 20px clamp(16px, 2vw, 22px); }
.chat-mock-body p { max-width: 88%; padding: 12px 15px; border-radius: 14px; font-size: .87rem; line-height: 1.5; }
.chat-you { margin-left: auto; color: #fff; border-bottom-right-radius: 5px; background: var(--ink); }
.chat-bot { color: var(--ink-soft); border: 1px solid var(--line); border-bottom-left-radius: 5px; background: var(--paper); }
.chat-tool { max-width: none !important; padding: 6px 0 6px 12px !important; color: var(--ink-muted); border-left: 2px solid var(--blue); border-radius: 0 !important; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem !important; }
.chat-plan { padding: 15px 17px; border: 1px solid rgba(37,99,235,.3); border-radius: 14px; background: var(--blue-soft); }
.chat-plan b { display: block; color: var(--ink); font-family: var(--font-display); font-size: .86rem; letter-spacing: -.01em; }
.chat-plan ul { margin: 11px 0 0; padding: 0; display: grid; gap: 6px; list-style: none; color: var(--ink-soft); font-size: .79rem; }
.chat-plan li::before { content: '·'; margin-right: 8px; color: var(--blue); font-weight: 800; }
.chat-plan-actions { margin-top: 14px; display: flex; gap: 8px; }
.mock-btn { padding: 7px 14px; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; font-size: .75rem; font-weight: 700; }
.mock-btn.primary { color: #fff; border-color: var(--blue); background: var(--blue); }
.chat-mock figcaption { padding: 12px 18px 15px; color: var(--ink-muted); border-top: 1px solid var(--line); font-size: .74rem; }

/* Os títulos dos exemplos são a PERGUNTA do usuário, entre aspas: cabem mais
   palavras que num título de cartão comum, por isso o corpo menor. */
.ask-grid .billing-card h3 { margin-top: 14px; font-size: 1.04rem; line-height: 1.3; }

.mcp-url { max-width: 720px; margin: 0 auto clamp(34px, 4vw, 50px); padding: 20px clamp(18px, 2.4vw, 26px) 18px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--card); }
.mcp-url-label { display: block; color: var(--ink-muted); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mcp-url-row { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mcp-url-row code { flex: 1 1 260px; min-width: 0; padding: 12px 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92rem; font-weight: 600; overflow-wrap: anywhere; }
.mcp-url-row .btn { flex: none; }
.mcp-url-status { min-height: 18px; margin-top: 9px; color: var(--blue-dark); font-size: .78rem; font-weight: 600; }

.connect-steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: connect-step; }
.connect-steps li { position: relative; padding-left: 34px; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; counter-increment: connect-step; overflow-wrap: anywhere; }
.connect-steps li + li { margin-top: 12px; }
.connect-steps li::before { content: counter(connect-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; }
.connect-note { max-width: 57ch; margin-top: 16px; padding-top: 13px; color: var(--ink-muted); border-top: 1px solid var(--line); font-size: .8rem; line-height: 1.55; }

@media (max-width: 1100px) {
  /* No empilhado o mock ganha a largura toda; sem isto as bolhas ficam
     estreitas demais no meio de uma coluna de 900px. */
  .chat-mock-body p { max-width: 94%; }
}

@media (max-width: 620px) {
  .chat-mock { border-radius: 15px; }
  .chat-mock-body { gap: 10px; padding: 16px 13px; }
  .chat-mock-body p { max-width: 100%; font-size: .83rem; }
  .mcp-url { border-radius: 16px; }
  .mcp-url-row .btn { width: 100%; }
}

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