/* Layout: uma faixa por seção, conteúdo em coluna de até 1120px; em "Como o serviço anda", a ficha de
   uma OS anda pelas etapas e acende o passo correspondente da lista. Paleta e fontes = app (Bancada Digital).
   Fontes servidas pelo próprio site (fontes.css), sem chamar o Google. */
:root {
  --bg: 246 241 230;
  --surface: 255 255 255;
  --surface-2: 236 227 208;
  --border: 220 208 180;
  --ink: 38 32 26;
  --ink-muted: 119 108 90;
  --accent: 31 111 107;
  --accent-strong: 23 86 82;
  --accent-soft: 220 237 234;
  --accent-ink: 255 255 255;
  --good: 61 122 69;
  --good-soft: 225 238 222;
  --warn: 180 113 31;
  --warn-soft: 245 230 208;
  --critical: 178 58 52;
  --critical-soft: 245 222 219;
  --shadow: 0 1px 2px rgba(38, 32, 26, .06), 0 6px 20px -8px rgba(38, 32, 26, .18);
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: 23 20 15; --surface: 31 27 20; --surface-2: 38 32 25; --border: 58 50 37;
    --ink: 241 233 216; --ink-muted: 179 168 143;
    --accent: 79 189 182; --accent-strong: 111 209 202; --accent-soft: 30 59 57; --accent-ink: 8 32 30;
    --good: 123 201 131; --good-soft: 31 51 34; --warn: 224 163 84; --warn-soft: 58 44 24;
    --critical: 225 116 109; --critical-soft: 59 33 31;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -10px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: 23 20 15; --surface: 31 27 20; --surface-2: 38 32 25; --border: 58 50 37;
  --ink: 241 233 216; --ink-muted: 179 168 143;
  --accent: 79 189 182; --accent-strong: 111 209 202; --accent-soft: 30 59 57; --accent-ink: 8 32 30;
  --good: 123 201 131; --good-soft: 31 51 34; --warn: 224 163 84; --warn-soft: 58 44 24;
  --critical: 225 116 109; --critical-soft: 59 33 31;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -10px rgba(0,0,0,.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  background: rgb(var(--bg)); color: rgb(var(--ink));
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: rgb(var(--surface)); }
h1, h2, h3 { font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: rgb(var(--accent)); }
:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--accent)); }
.muted { color: rgb(var(--ink-muted)); }


/* Topo */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(var(--surface) / .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgb(var(--border)); }
header.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: rgb(var(--ink)); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.logo i { width: 30px; height: 30px; border-radius: 8px; background: rgb(var(--accent)); color: rgb(var(--accent-ink)); display: grid; place-items: center; font-style: normal; font-size: 16px; font-weight: 700; }
nav.links { display: flex; gap: 4px; margin-left: 8px; }
nav.links a { text-decoration: none; color: rgb(var(--ink-muted)); font-weight: 400; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
nav.links a:hover { color: rgb(var(--ink)); background: rgb(var(--surface-2) / .6); }
nav.links a[aria-current="page"] { color: rgb(var(--ink)); font-weight: 500; }
.top-acoes { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.top-acoes .menu-btn { display: none; }
nav.links a.so-mobile { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 500; font-size: 15px; text-decoration: none; border-radius: 8px; padding: 10px 18px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: rgb(var(--accent)); color: rgb(var(--accent-ink)); }
.btn-primary:hover { background: rgb(var(--accent-strong)); }
.btn-ghost { background: transparent; color: rgb(var(--ink)); border-color: rgb(var(--border)); }
.btn-ghost:hover { background: rgb(var(--surface-2) / .6); }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

section { padding-block: 72px; }
.band { background: rgb(var(--surface)); border-block: 1px solid rgb(var(--border)); }

/* Herói */
/* Herói em duas colunas de texto: o título grande à esquerda; à direita, explicação e ações,
   alinhadas pela base do título. Embaixo, o caminho do serviço em três passos. */
.hero { padding-block: 72px 64px; }
.hero-grade { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.hero .eyebrow { grid-column: 1 / -1; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: rgb(var(--accent)); }
.hero-lado { display: grid; gap: 24px; padding-bottom: 6px; }
.hero .lead { font-size: 18px; color: rgb(var(--ink-muted)); max-width: 44ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .nota { font-size: 14px; color: rgb(var(--ink-muted)); margin-top: -10px; }
/* Os três passos: uma barra só, cada passo com o número num círculo e uma seta até o próximo. */
.ramos { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; box-shadow: var(--shadow); counter-reset: r; }
.ramos li { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 28px; font-size: 16px; font-weight: 500; line-height: 1.35; counter-increment: r; }
.ramos li::before { content: counter(r); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--accent-soft)); color: rgb(var(--accent)); font-family: var(--mono); font-size: 14px; font-weight: 500; }
.ramos li:last-child::before { background: rgb(var(--accent)); color: rgb(var(--accent-ink)); }
.ramos li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; background: rgb(var(--surface)); border-top: 1px solid rgb(var(--border)); border-right: 1px solid rgb(var(--border)); transform: translateY(-50%) rotate(45deg); z-index: 1; }

/* Ficha da OS (em "Como o serviço anda") */
.ficha { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.ficha-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px dashed rgb(var(--border)); }
.ficha-topo .num { font-size: 13px; color: rgb(var(--ink-muted)); }
.ficha-topo h3 { font-size: 17px; font-weight: 500; margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-acc { background: rgb(var(--accent-soft)); color: rgb(var(--accent)); }
.pill-good { background: rgb(var(--good-soft)); color: rgb(var(--good)); }
.pill-warn { background: rgb(var(--warn-soft)); color: rgb(var(--warn)); }
.etapas { list-style: none; margin: 0; padding: 16px 20px 6px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.etapas li { height: 6px; border-radius: 3px; background: rgb(var(--surface-2)); transition: background .4s; }
.etapas li.feita { background: rgb(var(--accent) / .45); }
.etapas li.atual { background: rgb(var(--accent)); }
.etapa-nome { padding: 0 20px; font-size: 13px; color: rgb(var(--ink-muted)); display: flex; justify-content: space-between; gap: 8px; }
.etapa-nome b { color: rgb(var(--ink)); font-weight: 500; }
.ficha-corpo { padding: 16px 20px 20px; display: grid; gap: 14px; }
.itens { width: 100%; border-collapse: collapse; font-size: 14px; }
.itens td { padding: 7px 0; border-bottom: 1px solid rgb(var(--border) / .7); vertical-align: top; }
.itens td:last-child { text-align: right; white-space: nowrap; }
.itens small { display: block; color: rgb(var(--ink-muted)); font-size: 12.5px; }
.itens tr.total td { border-bottom: 0; font-weight: 500; padding-top: 10px; }
.fotos { display: flex; gap: 8px; align-items: center; }
.foto { width: 44px; height: 44px; border-radius: 6px; background:
  repeating-linear-gradient(135deg, rgb(var(--surface-2)) 0 6px, rgb(var(--border) / .6) 6px 7px); border: 1px solid rgb(var(--border)); }
.fotos span { font-size: 12.5px; color: rgb(var(--ink-muted)); margin-left: 4px; }
.ficha-pe { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px; background: rgb(var(--surface-2) / .5); font-size: 13px; color: rgb(var(--ink-muted)); }
.wpp { display: inline-flex; gap: 6px; align-items: center; color: rgb(var(--good)); font-weight: 500; }

/* Fluxo */
.secao-titulo { max-width: 640px; display: grid; gap: 10px; margin-bottom: 40px; }
.secao-titulo h2 { font-size: clamp(26px, 3.4vw, 34px); }
.secao-titulo p { color: rgb(var(--ink-muted)); font-size: 17px; }
.fluxo-area { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.ficha-lugar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); }
.fluxo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; counter-reset: passo; border-top: 1px solid rgb(var(--border)); }
.fluxo li { padding: 20px 20px 24px 0; border-bottom: 1px solid rgb(var(--border)); display: grid; gap: 6px; align-content: start; counter-increment: passo; }
.fluxo li::before { content: counter(passo, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: rgb(var(--accent)); }
.fluxo h3 { font-size: 17px; font-weight: 500; }
.fluxo p { font-size: 14.5px; color: rgb(var(--ink-muted)); }
.fluxo li::before { justify-self: start; padding: 1px 6px; border-radius: 4px; transition: background .3s, color .3s; }
.fluxo h3 { transition: color .3s; }
.fluxo li.ativo::before { background: rgb(var(--accent)); color: rgb(var(--accent-ink)); }
.fluxo li.ativo h3 { color: rgb(var(--accent)); }

/* Clientes */
.clientes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cliente { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; padding: 32px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; }
.cliente blockquote { margin: 0; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; font-weight: 400; text-wrap: pretty; }
.cliente blockquote::before { content: "“"; display: block; font-size: 56px; line-height: .6; color: rgb(var(--accent)); margin-bottom: 8px; }
.cliente .quem { display: flex; gap: 14px; align-items: center; margin-top: 24px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: rgb(var(--accent-soft)); color: rgb(var(--accent)); display: grid; place-items: center; font-weight: 600; font-size: 19px; flex: none; }
.quem b { font-weight: 500; display: block; }
.quem span { font-size: 14px; color: rgb(var(--ink-muted)); }
.cliente dl { margin: 0; display: grid; gap: 14px; align-content: start; border-left: 1px solid rgb(var(--border)); padding-left: 32px; }
.cliente dt { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--ink-muted)); }
.cliente dd { margin: 2px 0 0; font-size: 15px; }

/* Grade de funções */
.grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cartao { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.cartao h3 { font-size: 17px; font-weight: 500; }
.cartao p { font-size: 14.5px; color: rgb(var(--ink-muted)); }
.cartao ul { margin: 4px 0 0; padding-left: 18px; font-size: 14.5px; color: rgb(var(--ink-muted)); display: grid; gap: 4px; }
.ico { width: 36px; height: 36px; border-radius: 8px; background: rgb(var(--accent-soft)); color: rgb(var(--accent)); display: grid; place-items: center; }
.ico svg { width: 20px; height: 20px; }

/* Telas do sistema */
.telas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tela { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.tela.grande { grid-column: 1 / -1; }
.janela { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgb(var(--surface-2)); border: 1px solid rgb(var(--border)); border-bottom: 0; border-radius: 10px 10px 0 0; }
.janela i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--border)); }
.janela span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: rgb(var(--ink-muted)); }
.captura { margin-top: -10px; aspect-ratio: 16 / 10; max-width: 100%; border: 1px solid rgb(var(--border)); border-radius: 0 0 10px 10px; background: rgb(var(--surface)); overflow: hidden; box-shadow: var(--shadow); }
.tela.grande .captura { aspect-ratio: 16 / 8; }
.captura img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tema-escuro { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tema-claro { display: none !important; } :root:not([data-theme="light"]) .tema-escuro { display: block !important; } }
:root[data-theme="dark"] .tema-claro { display: none !important; }
:root[data-theme="dark"] .tema-escuro { display: block !important; }
.tela figcaption { font-size: 14.5px; color: rgb(var(--ink-muted)); }

/* Planos */
.planos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plano { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.plano.destaque { border: 2px solid rgb(var(--accent)); padding: 23px; }
.plano h3 { font-size: 20px; }
.plano .preco { font-size: 15px; color: rgb(var(--ink-muted)); }
.plano .preco b { display: block; font-size: 24px; color: rgb(var(--ink)); font-weight: 500; }
.limites { display: grid; gap: 10px; margin: 0; }
.limites div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgb(var(--border) / .7); padding-bottom: 8px; font-size: 14.5px; }
.limites dt { color: rgb(var(--ink-muted)); }
.limites dd { margin: 0; font-weight: 500; }
.plano .btn { margin-top: auto; }
.selo { align-self: flex-start; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: rgb(var(--accent)); color: rgb(var(--accent-ink)); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: 56px; }
.faq h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.faq p { font-size: 15px; color: rgb(var(--ink-muted)); max-width: 52ch; }

/* Chamada final */
.chamada { background: rgb(var(--accent)); color: rgb(var(--accent-ink)); border-radius: 12px; padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.chamada h2 { font-size: clamp(22px, 3vw, 30px); max-width: 24ch; }
.chamada p { opacity: .85; margin-top: 6px; }
.chamada .btn { background: rgb(var(--accent-ink)); color: rgb(var(--accent)); }

/* Cadastro */
.turnstile { min-height: 65px; }
.fechado { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.fechado h1 { font-size: 26px; }
.cad { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
.form { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; padding: 28px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.form h1 { font-size: 26px; }
.campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campo { display: grid; gap: 6px; min-width: 0; }
.campo.inteiro { grid-column: 1 / -1; }
.campo label { font-size: 14px; font-weight: 500; }
.campo label small { font-weight: 300; color: rgb(var(--ink-muted)); }
.campo input { font: inherit; font-size: 15px; font-weight: 400; color: rgb(var(--ink)); background: rgb(var(--bg) / .5); border: 1px solid rgb(var(--border)); border-radius: 8px; padding: 10px 12px; width: 100%; }
.campo input:focus { outline: none; border-color: rgb(var(--accent)); box-shadow: 0 0 0 3px rgb(var(--accent) / .18); }
.campo .ajuda { font-size: 13px; color: rgb(var(--ink-muted)); }
.campo .erro { font-size: 13px; color: rgb(var(--critical)); }
.campo.invalido input { border-color: rgb(var(--critical)); }
.senha-box { position: relative; }
.senha-box input { padding-right: 72px; }
.senha-box button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 13px; background: none; border: 0; color: rgb(var(--accent)); cursor: pointer; padding: 6px 8px; }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.aceite input { width: 18px; height: 18px; margin-top: 3px; accent-color: rgb(var(--accent)); flex: none; }
.alerta { border-radius: 8px; padding: 12px 14px; font-size: 14.5px; background: rgb(var(--critical-soft)); color: rgb(var(--ink)); border: 1px solid rgb(var(--critical) / .35); }
.alerta b { color: rgb(var(--critical)); font-weight: 500; }
.lado { display: grid; gap: 24px; padding-top: 8px; }
.lado h2 { font-size: 20px; }
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: p; }
.passos li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; counter-increment: p; }
.passos li::before { content: counter(p); width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgb(var(--accent)); color: rgb(var(--accent)); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; }
.passos b { font-weight: 500; display: block; }
.passos span { font-size: 14.5px; color: rgb(var(--ink-muted)); }

.enviado { max-width: 620px; margin: 0 auto; text-align: left; display: grid; gap: 18px; }
.enviado .selo-email { width: 56px; height: 56px; border-radius: 12px; background: rgb(var(--accent-soft)); color: rgb(var(--accent)); display: grid; place-items: center; }
.enviado h1 { font-size: 30px; }
.enviado .caixa { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: 12px; padding: 20px 22px; display: grid; gap: 10px; font-size: 15px; }

/* Termos */
.doc-legal { max-width: 720px; }
.doc-legal h1 { font-size: 32px; margin-bottom: 8px; }
.rascunho { background: rgb(var(--warn-soft)); border: 1px solid rgb(var(--warn) / .4); border-radius: 8px; padding: 12px 16px; font-size: 14.5px; margin: 20px 0 32px; }
.rascunho b { color: rgb(var(--warn)); font-weight: 600; }
.texto-legal { font-size: 15.5px; }
.texto-legal h2 { font-size: 19px; margin: 32px 0 10px; }
.texto-legal p, .texto-legal ul { margin: 0 0 12px; max-width: 68ch; }
.texto-legal ul { padding-left: 20px; }
.texto-legal strong { font-weight: 500; }
.texto-legal code { font-family: var(--mono); font-size: .9em; }

/* Rodapé */
footer { border-top: 1px solid rgb(var(--border)); background: rgb(var(--surface)); padding-block: 40px 32px; font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
footer h4 { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--ink-muted)); margin: 0 0 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { color: rgb(var(--ink)); text-decoration: none; }
footer a:hover { color: rgb(var(--accent)); }
footer .base { grid-column: 1 / -1; border-top: 1px solid rgb(var(--border)); padding-top: 18px; color: rgb(var(--ink-muted)); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .hero-grade { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero { padding-block: 48px 48px; }
  .cad, .fluxo-area, .cliente { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ficha-lugar { position: static; }
  .cliente dl { border-left: 0; padding-left: 0; border-top: 1px solid rgb(var(--border)); padding-top: 20px; }
  .grade, .planos, .telas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tela.grande .captura { aspect-ratio: 16 / 10; }
  footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  nav.links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgb(var(--surface)); border-bottom: 1px solid rgb(var(--border)); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); margin: 0; }
  nav.links.aberto { display: flex; }
  .top-acoes .menu-btn { display: inline-flex; }
  nav.links a.so-mobile { display: block; }
  .top-acoes .entrar { display: none; }
  section { padding-block: 52px; }
}
@media (max-width: 560px) {
  .grade, .planos, .fluxo, .faq, .campos, .telas { grid-template-columns: minmax(0, 1fr); }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 20px; }
  .chamada { padding: 28px 22px; }
  .cliente { padding: 22px; }
  .top-acoes .btn-primary { padding: 9px 12px; font-size: 14px; }
  .hero .lead { font-size: 17px; }
  .ramos { grid-template-columns: minmax(0, 1fr); margin-top: 40px; padding-block: 6px; }
  .ramos li { padding: 12px 20px; }
  /* No celular, uma linha vertical liga os círculos no lugar das setas. */
  .ramos li:not(:last-child)::after { right: auto; left: 35px; top: calc(50% + 16px); width: 1px; height: calc(100% - 32px); background: rgb(var(--border)); border: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
