/* Conceito: a própria página é um diagrama de raias. Azul do produto, com o amarelo que marca a etapa atual na tela de acompanhamento. */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --band: #e9eef7;
  --ink: #11233f;
  --muted: #4d5d78;
  --line: #c9d3e4;
  --blue: #0b5cba;
  --blue-ink: #ffffff;
  --signal: #ffe733;
  --signal-ink: #11233f;
  --node: #eceaf0;
  --brand-etapa: #00264f;
  --brand-flow: #0d73e0;
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1a2e; --surface: #16253e; --band: #1b2c48; --ink: #eef3fb; --muted: #a9b8d0; --line: #33466a;
    --blue: #7db5f5; --blue-ink: #0e1a2e; --node: #22344f; --brand-etapa: #eef3fb; --brand-flow: #5aa2f2; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.55 var(--body); }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; text-wrap: balance; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.band { background: var(--band); }
.head { display: grid; gap: 14px; max-width: 700px; margin-bottom: clamp(32px, 5vw, 56px); }
.head p { color: var(--muted); }
.tag { font: 500 0.8rem/1.3 var(--mono); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.5rem/1 var(--display); color: var(--brand-etapa); text-decoration: none; }
.brand-flow { color: var(--brand-flow); }
.brand img { display: block; width: 48px; height: 36px; }
.top nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.top nav a:hover { color: var(--blue); }

.btn { display: inline-block; padding: 13px 24px; border-radius: 8px; font: 700 1.02rem/1.2 var(--body); text-decoration: none; text-align: center; border: 2px solid transparent; }
.btn-main { background: var(--signal); color: var(--signal-ink); border-color: var(--signal-ink); }
.btn-main:hover { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }
.btn-alt { color: var(--ink); border-color: var(--ink); }
.btn-alt:hover { color: var(--blue); border-color: var(--blue); }

.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.hero-copy { display: grid; gap: 22px; max-width: 860px; }
.hero-copy > p { font-size: 1.28rem; color: var(--muted); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-shot { margin-top: clamp(32px, 5vw, 56px); }

.shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; cursor: zoom-in; box-shadow: 0 18px 40px -28px rgba(17, 35, 63, 0.55); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.side { position: relative; }
.side img { position: absolute; top: 0; left: -20%; width: 120%; max-width: none; height: auto; }
figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }

.node { position: relative; z-index: 1; background: var(--node); border: 1.5px solid var(--muted); border-radius: 12px; padding: 12px 14px; }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature + .feature { margin-top: clamp(48px, 7vw, 88px); }
.feature:nth-child(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
.feature:nth-child(even) figure { order: 1; }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature figure { margin: 0; min-width: 0; }
.feature-copy { display: grid; gap: 12px; min-width: 0; }
.feature-copy p { color: var(--muted); }
.ticks { display: grid; gap: 6px; }
.ticks li { padding-left: 20px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--blue); transform: rotate(45deg) scale(0.8); }

.auto { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.actions-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin-bottom: 36px; }
.actions-list p { color: var(--muted); font-size: 1rem; }
.actions-list h3 { font-size: 1.14rem; margin-bottom: 2px; }
.order-title { font: 700 1.14rem/1.3 var(--display); margin-bottom: 12px; }
.order { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.order li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 6px; align-content: start; }
.order h3 { font-size: 1.08rem; }
.order p { color: var(--muted); font-size: 1rem; line-height: 1.35; }
.auto-shot { max-width: 300px; justify-self: end; width: 100%; }
.auto-shot .shot { aspect-ratio: 530 / 900; cursor: default; }

.ia { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 14px; margin: 0; }
.ia figcaption { grid-column: 1 / -1; margin-top: 0; }
.ia-card { display: grid; gap: 14px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.ia-card > .tag { color: var(--muted); }
.ia-card blockquote { margin: 0; font-size: 1.12rem; line-height: 1.45; }
.ia-card mark { background: var(--signal); color: var(--signal-ink); padding-inline: 3px; }
.ia-flow { --gap: 24px; --stub: 14px; --row: 12px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.75fr); column-gap: var(--gap); align-items: center; }
.ia-flow .node { font-weight: 600; font-size: 0.98rem; line-height: 1.25; }
.ia-flow .node .tag { display: block; margin-bottom: 3px; font-weight: 500; color: var(--muted); }
.ia-flow .ia-gate { background: var(--signal); color: var(--signal-ink); border-color: var(--signal-ink); }
.ia-flow > .node:not(:last-child)::after, .ia-flow > .node:last-child::before, .ia-branches .node::before, .ia-branches .node::after { content: ""; position: absolute; top: 50%; border-top: 1.5px solid var(--muted); }
.ia-flow > .node:not(:last-child)::after { left: 100%; width: var(--gap); }
.ia-flow > .node:last-child::before { right: 100%; width: var(--gap); }
.ia-branches { position: relative; display: grid; grid-auto-rows: 1fr; gap: var(--row); padding-inline: var(--stub); }
.ia-branches::before, .ia-branches::after { content: ""; position: absolute; top: calc(25% - var(--row) / 4); bottom: calc(25% - var(--row) / 4); border-left: 1.5px solid var(--muted); }
.ia-branches::before { left: 0; }
.ia-branches::after { right: 0; }
.ia-branches .node::before { right: 100%; width: var(--stub); }
.ia-branches .node::after { left: 100%; width: var(--stub); }
.ia-points { margin-top: 14px; }
.ia-video { margin-top: clamp(40px, 6vw, 72px); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font: 800 3rem/1 var(--display); color: var(--blue); }
.steps p { color: var(--muted); }

.bill { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; }
.bill label { padding: 8px 18px; font-weight: 600; font-size: 1rem; cursor: pointer; }
.bill input { position: absolute; opacity: 0; }
.bill input:checked + label { background: var(--ink); color: var(--bg); }
.bill input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: -3px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 20px; }
.plan-free { border: 2px dashed var(--blue); }
.plan-top { border: 2px solid var(--ink); }
.plan-head { min-height: 92px; }
.plan-head .tag { display: inline-block; background: var(--signal); color: var(--signal-ink); padding: 3px 7px; border-radius: 4px; margin-bottom: 6px; }
.plan-head .tag.none { visibility: hidden; }
.plan-head p { color: var(--muted); font-size: 1rem; }
.price { font: 800 2.35rem/1 var(--display); font-variant-numeric: tabular-nums; min-height: 60px; }
.price small { display: block; font: 400 0.95rem/1.3 var(--body); color: var(--muted); margin-top: 5px; }
.price.ask { font-size: 1.75rem; }
.limits { display: grid; gap: 7px; font-size: 0.98rem; font-variant-numeric: tabular-nums; border-block: 1px solid var(--line); padding-block: 12px; }
.limits div { display: flex; justify-content: space-between; gap: 10px; }
.limits dt { color: var(--muted); }
.limits dd { font-weight: 700; text-align: right; white-space: nowrap; }
.plan .ticks { font-size: 0.98rem; line-height: 1.32; }
.plan .btn { margin-top: auto; padding-inline: 10px; }
.addons { margin-top: 22px; color: var(--muted); font-size: 1rem; max-width: 900px; }

.sla { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.sla-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.sla table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 1rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.sla th, .sla td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.sla thead th, .sla thead td { border-top: 0; }
.sla thead th { font-family: var(--display); font-weight: 700; }
.sla tbody th { font-weight: 600; color: var(--muted); white-space: nowrap; }

.sla-intro { color: var(--muted); max-width: 700px; }
.sla-note { color: var(--muted); font-size: 0.92rem; max-width: 820px; }
.compare tbody th { color: var(--ink); font-weight: 700; }
.compare tr.us th, .compare tr.us td { background: var(--signal); color: var(--signal-ink); font-weight: 700; }


.video-frame { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding-block: 15px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.12rem; }
.faq p { margin-top: 8px; color: var(--muted); }

.close { background: var(--blue); color: var(--blue-ink); }
.close a { color: inherit; }
.close .wrap { display: grid; gap: 18px; }
.close h2 { max-width: 780px; }
.foot { padding-block: 24px; color: var(--muted); font-size: 0.95rem; }

dialog { width: min(1400px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 10px; background: var(--surface); color: var(--ink); overflow: auto; }
dialog::backdrop { background: rgba(10, 18, 32, 0.8); }
dialog img { display: block; width: 100%; }
dialog button { position: sticky; top: 8px; float: right; margin: 8px; padding: 7px 14px; border-radius: 8px; border: 1.5px solid var(--ink); background: var(--signal); color: var(--signal-ink); font: 700 1rem/1.2 var(--body); cursor: pointer; }

@media (max-width: 980px) {
  .feature, .feature:nth-child(even), .auto, .ia { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) figure { order: 2; }
  .feature:nth-child(even) .feature-copy { order: 1; }
  .auto-shot { justify-self: start; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .plans, .steps, .actions-list, .order { grid-template-columns: minmax(0, 1fr); }
  .ia-flow { grid-template-columns: minmax(0, 1fr); row-gap: var(--gap); }
  .ia-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
  .ia-branches::before, .ia-branches::after, .ia-branches .node::before, .ia-branches .node::after { display: none; }
  .ia-flow > .node:not(:last-child)::after, .ia-flow > .node:last-child::before { width: 0; height: var(--gap); border-top: 0; border-left: 1.5px solid var(--muted); }
  .ia-flow > .node:not(:last-child)::after { left: 50%; top: 100%; }
  .ia-flow > .node:last-child::before { left: 50%; right: auto; top: auto; bottom: 100%; }
  .plan-head, .price { min-height: 0; }
  .plan-head .tag.none { display: none; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Teste grátis, acima dos planos pagos */
.trial { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 18px; padding: 22px 24px; background: var(--surface); border: 2px dashed var(--line); border-radius: 10px; }
.trial h3 { margin: 0 0 6px; }
.trial p { margin: 0; color: var(--muted); max-width: 760px; }
.trial-hero { margin-bottom: 0; }
.trial-hero h2 { margin: 0 0 6px; font-size: 1.35rem; }
.trial-hero p { font-size: 1.05rem; }
.foot a { color: inherit; }

/* Termos de uso e política de privacidade */
.legal { max-width: 820px; padding-block: 40px 64px; }
.legal h1 { margin: 8px 0 4px; }
.legal h2 { margin: 28px 0 8px; font-size: 1.2rem; }
.legal-version { color: var(--muted); }
