/* Portal da Rede · estilo comum (prévia estática)
   Celular < 768 px · tablet 768–1199 px · desktop >= 1200 px */

:root {
  --verde: #34532A;
  --verde-claro: #E7F1E1;
  --fundo: #FAF9F6;
  --texto: #203741;
  --texto-2: #3d5058;
  --texto-3: #576872;
  --branco: #ffffff;
  --linha: #dce2e2;
  --linha-2: #edf0f0;
  --borda: #cfd8d8;
  --borda-forte: #b9c6c7;
  --cinza: #8a9aa2;
  --coral: #CD5C5C;
  --azul: #50658A;
  --pessego: #FFDAB9;
  --erro: #8a2f2a;
  --erro-fundo: #fbe3df;
  --ambar: #7a5300;
  --ambar-fundo: #fdf0d9;
  --retido: #3b4d6b;
  --retido-fundo: #e6ebf2;
  --health: #005F6A;
  --health-fundo: #E6EEF0;
  --foto-fundo: #e9eef0;
  --somente-leitura: #f2f4f4;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --sombra: 0 2px 10px rgba(32, 55, 65, .06);
  --sombra-btn: 0 3px 10px rgba(52, 83, 42, .2);
  --raio-cartao: 20px;
  --raio-campo: 14px;
  --max: 960px;
  --lp-max: 1280px;
  --lp-gut: clamp(20px, 5.5vw, 80px);
  --lp-pad: max(var(--lp-gut), calc((100% - var(--lp-max)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--texto);
  background: var(--fundo);
  overflow-wrap: break-word;
}
main { flex-grow: 1; }
a { color: var(--texto); }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--texto); outline-offset: 2px; }
::placeholder { color: var(--texto-3); opacity: 1; }
a[aria-disabled="true"], button[aria-disabled="true"] { cursor: default; }

@media (max-width: 767.98px) { .t-only { display: none !important; } }
@media (min-width: 768px) { .m-only { display: none !important; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.pular {
  position: absolute; left: 8px; top: -80px; z-index: 10;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--branco); border-radius: 999px; font-weight: 600;
}
.pular:focus { top: 8px; }
.cresce { flex-grow: 1; }
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-3); margin: 0; }
.eyebrow--verde { font-size: 13px; color: var(--verde); }
.nota { font-size: 13px; line-height: 1.45; color: var(--texto-3); }
.ajuda { font-size: 12.5px; font-weight: 400; line-height: 1.45; color: var(--texto-3); }

/* Faixa de prévia */
.faixa {
  background: var(--verde-claro); color: var(--texto);
  font-size: 13px; line-height: 1.4; text-align: center; padding: 8px 16px;
}

/* Botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--verde); color: #fff; border: 0; border-radius: 999px;
  min-height: 52px; padding: 0 24px; font-size: 19px; font-weight: 700;
  text-decoration: none; cursor: pointer; box-shadow: var(--sombra-btn);
}
.btn--bloco { width: 100%; }
.btn--lp { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn--nav { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn--m { min-height: 48px; padding: 0 24px; font-size: 16px; box-shadow: none; }
.btn--coral { background: var(--coral); box-shadow: 0 3px 10px rgba(205, 92, 92, .18); }
.btn2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--branco); color: var(--texto); border: 1px solid var(--borda); border-radius: 999px;
  min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; text-decoration: none;
}
.btn2--lp { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn2--bloco { width: 100%; min-height: 48px; padding: 0 20px; font-size: 16px; }
.btn2--cresce { flex-grow: 1; padding: 0 16px; }
.btn2--mini { min-height: 34px; padding: 0 12px; font-size: 14px; }
.link {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--texto-2);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--cinza);
}
.link--verde { color: var(--verde); text-decoration-color: var(--verde); }
.link-forte { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--verde); }

/* Cartões, grupos, linhas, etiquetas */
.card { background: var(--branco); border-radius: var(--raio-cartao); box-shadow: var(--sombra); }
.grp { background: var(--branco); border-radius: var(--raio-cartao); box-shadow: var(--sombra); overflow: hidden; }
.grp__tit { padding: 16px 16px 4px; }
.grp__tit--linha { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; color: var(--texto); text-decoration: none; }
.row + .row { border-top: 1px solid var(--linha-2); }
.row__txt { flex-grow: 1; min-width: 0; }
.row strong { display: block; font-size: 15px; font-weight: 600; }
.row .sub { display: block; font-size: 13px; color: var(--texto-3); margin-top: 2px; line-height: 1.35; }
.tabela .sub { display: block; font-size: 12px; color: var(--texto-3); margin-top: 4px; line-height: 1.35; }
.row--info { flex-direction: column; align-items: stretch; gap: 2px; min-height: 0; }
.row--info strong { font-size: 14px; }
.row--info span { font-size: 13px; color: var(--texto-3); line-height: 1.35; }
.chev { color: var(--cinza); font-size: 20px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }
.tag--ok { background: var(--verde-claro); color: var(--verde); }
.tag--erro { background: var(--erro-fundo); color: var(--erro); }
.tag--ambar { background: var(--ambar-fundo); color: var(--ambar); }
.tag--retido { background: var(--retido-fundo); color: var(--retido); }
.vt { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 16px; background: var(--verde-claro); color: var(--verde); font-size: 13.5px; font-weight: 600; }

/* Campos */
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--texto-2); }
.fld input, .fld textarea {
  min-height: 48px; border-radius: var(--raio-campo); border: 1px solid var(--borda); background: var(--branco);
  padding: 0 14px; font-size: 16px; color: var(--texto); width: 100%;
}
.fld textarea { padding: 12px 14px; resize: vertical; }
.fld input[readonly] { background: var(--somente-leitura); color: var(--texto-3); }
.grade2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.grade2--sempre { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Seletor de duas opções */
.seg { display: flex; gap: 3px; border: 1px solid var(--linha); padding: 4px; border-radius: 28px; background: var(--branco); }
.seg button {
  flex: 1 1 0; min-height: 44px; border: 0; border-radius: 22px; background: transparent;
  font-size: 14px; color: var(--texto-3); display: grid; place-items: center; padding: 0 8px;
}
.seg button[aria-pressed="true"] { background: var(--verde-claro); color: var(--texto); font-weight: 600; }
.seg--pessego button[aria-pressed="true"] { background: var(--pessego); }

/* Marca */
.logo { display: block; flex-shrink: 0; width: 104px; height: 24px; }
.logo-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.marca { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--verde); }
.simbolo { flex-shrink: 0; width: 24px; height: 24px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }

/* ---------- Cadastro (P01–P04) ---------- */
.topo--cadastro { padding: 0 20px; }
.topo--cadastro .topo__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--linha); }
.topo--cadastro .logo { width: 96px; height: 22px; }
.topo--cadastro .simbolo { width: 26px; height: 26px; }
.topo--passo .topo__in { justify-content: flex-start; }
.topo--passo .marca { font-size: 16px; color: var(--texto); }
.hb { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--branco); border: 1px solid var(--linha); color: var(--texto); text-decoration: none; flex-shrink: 0; }

.cad { width: 100%; padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.etapas { display: flex; flex-direction: column; gap: 8px; }
.barras { display: flex; gap: 6px; }
.bar { height: 6px; border-radius: 3px; background: var(--linha); flex-grow: 1; }
.bar.on { background: var(--verde); }
.etapas__atual { font-size: 13px; color: var(--texto-3); }
.step { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--texto-3); min-height: 40px; }
.step .d { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--borda); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.step.on { color: var(--texto); font-weight: 600; }
.step.on .d { background: var(--verde); border-color: var(--verde); color: #fff; }
.cad__corpo, .cad__form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cad h1 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.08; }
.cad__lead { font-size: 14px; line-height: 1.5; color: var(--texto-2); }
.cartao-t { display: flex; flex-direction: column; gap: 16px; }
.cad__sec { display: flex; flex-direction: column; gap: 10px; }
.cad__acoes { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.cad__acoes .link { align-self: flex-start; }
.cad__acoes--pilha .link { align-self: center; }

.ativ__btn {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; position: relative; width: 100%;
  min-height: 48px; padding: 6px 44px 6px 8px; border-radius: var(--raio-campo); border: 1px solid var(--borda);
  background: var(--branco); text-align: left; cursor: pointer;
}
.ativ__sel { display: flex; gap: 6px; flex-wrap: wrap; }
.ativ__seta { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--texto-3); display: grid; }
.ativ__lista { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--branco); border: 1px solid var(--borda); border-radius: var(--raio-campo); padding: 4px 12px; }
.ativ__op { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 400; color: var(--texto); cursor: pointer; }
.ativ__op input { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--verde); flex-shrink: 0; }

.cnpj-ok { background: var(--branco); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; border: 2px solid var(--verde); }
.cnpj-ok__tit { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--verde); }
.cnpj-ok__l1 { font-size: 14px; }
.cnpj-ok__l2 { font-size: 13px; color: var(--texto-3); }
.cnpj-ok__l3 { font-size: 13px; color: var(--erro); }
.cnpj-ok__l4 { font-size: 13px; color: var(--texto-3); }
.cnpj-ok__l4:empty, .cnpj-ok__l2:empty, .cnpj-ok__l3:empty { display: none; }
.fld-cnpj { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.fld-cnpj .fld { width: 100%; }

.sw { position: relative; width: 48px; height: 28px; border-radius: 14px; flex-shrink: 0; border: 0; padding: 0; background: var(--cinza); cursor: pointer; }
.sw::before { content: ""; position: absolute; inset: -8px 0; }
.sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.sw[aria-checked="true"] { background: var(--verde); }
.sw[aria-checked="true"] i { left: auto; right: 3px; }
.aviso-ok { border-radius: 18px; background: var(--verde-claro); padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.aviso-ok svg { flex-shrink: 0; margin-top: 2px; }

.aceite { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.aceite input {
  -webkit-appearance: none; appearance: none; margin: 0; width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 8px; border: 2px solid var(--verde); background: var(--branco) center / 14px 14px no-repeat; cursor: pointer;
}
.aceite input:checked {
  background-color: var(--verde);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

.plano { padding: 16px; display: flex; flex-direction: column; gap: 6px; border: 2px solid var(--verde); }
.plano__topo { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; }
.plano__topo strong { font-size: 17px; }
.plano__preco { font-family: var(--serif); font-size: 26px; }
.plano__preco span { font-family: var(--sans); font-size: 14px; color: var(--texto-3); }
.plano p { font-size: 14px; line-height: 1.45; color: var(--texto-2); }
.opcoes { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 18px; background: var(--branco); border: 1px solid var(--borda); font-size: 15px; cursor: pointer; position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt:has(input:checked) { border: 2px solid var(--texto); padding: 9px 13px; }
.opt:focus-within { outline: 3px solid var(--texto); outline-offset: 2px; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cinza); flex-shrink: 0; display: grid; place-items: center; }
.opt input:checked + .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--texto); }
.linha-tempo { display: flex; flex-direction: column; gap: 6px; }
.tl { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.35; min-height: 36px; }
.tl__m { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; border: 2px solid var(--borda-forte); }
.tl__m--feito { background: var(--verde); border-color: var(--verde); color: #fff; }
.tl__m--agora { border-color: var(--verde); }
.tl--depois { color: var(--texto-3); }

/* ---------- Entrar (S01) ---------- */
.entrar__topo { display: flex; justify-content: center; padding: 28px 24px 0; }
.entrar__topo .logo { width: 132px; height: 30.6px; }
.entrar__col { width: 100%; max-width: 438px; margin: 0 auto; padding: 18px 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.entrar__col h1 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; }
.entrar__intro { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.entrar__intro p { font-size: 15px; color: var(--texto-3); }
.entrar__form { display: flex; flex-direction: column; gap: 18px; }
.fl { display: flex; flex-direction: column; gap: 8px; }
.lb { font-size: 14px; font-weight: 500; }
.inp { min-height: 52px; border-radius: var(--raio-campo); border: 1px solid var(--borda-forte); background: #fff; padding: 0 14px; font-size: 16px; color: var(--texto); width: 100%; }
.rotas { display: flex; flex-direction: column; gap: 8px; }
.route { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; color: var(--texto); padding: 10px 12px; border-radius: 14px; background: var(--branco); border: 1px solid var(--linha-2); }
.route--staff { border: 2px solid var(--verde); }
.route__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.entrar__acoes { display: flex; flex-direction: column; gap: 4px; align-items: center; margin-top: 8px; }

/* ---------- Área logada (P05–P07) ---------- */
.topo--painel { background: var(--branco); border-bottom: 1px solid var(--linha); padding: 6px 20px; }
.topo--painel .topo__in { display: flex; align-items: center; gap: 10px; }
.topo--painel .logo { width: 88px; height: 20px; }
.topo--painel .marca { gap: 4px; font-size: 12px; }
.topo--painel .simbolo { width: 20px; height: 20px; }

.abas { order: 10; position: sticky; bottom: 0; z-index: 2; background: var(--branco); border-top: 1px solid var(--linha); padding: 4px 8px calc(10px + env(safe-area-inset-bottom, 0px)); }
.abas__in { display: flex; }
.tab { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; padding: 8px 0; font-size: 11px; color: var(--texto-3); text-decoration: none; white-space: nowrap; }
.tab.on { color: var(--verde); font-weight: 700; }

.pagina { width: 100%; padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.pagina h1 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin-top: 2px; }
.pagina--contrato h1 { font-size: 28px; }
.sec { display: flex; flex-direction: column; gap: 10px; }
.botoes { display: flex; gap: 8px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stat { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.stat__r { font-size: 12px; color: var(--texto-3); }
.stat__v { font-family: var(--serif); font-size: 24px; }
.stat--ultimo-m { order: 1; }
.rel-m { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.rel-m strong { font-size: 15px; }
.rel-m .botoes { margin-top: 4px; flex-wrap: nowrap; }
.tabela-rol { overflow-x: auto; }
.tabela { width: 100%; border-collapse: collapse; min-width: 640px; }
.tabela th, .tabela td { text-align: left; padding: 12px 14px; font-size: 14px; }
.tabela th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-3); border-bottom: 1px solid var(--linha); }
.tabela td { border-bottom: 1px solid var(--linha-2); }
.tabela .num { text-align: right; font-variant-numeric: tabular-nums; }
.faixa-card { padding: 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.faixa-card__txt { font-size: 14px; line-height: 1.45; max-width: 520px; }

.perfil-m__topo { display: flex; gap: 14px; align-items: center; }
.perfil-m__dados { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.perfil-m__dados span:last-child { font-size: 13px; color: var(--texto-3); }
.foto-vaga { border-radius: 50%; background: var(--foto-fundo); display: grid; place-items: center; color: var(--texto-3); flex-shrink: 0; }
.foto-vaga--72 { width: 72px; height: 72px; font-size: 11px; }
.foto-vaga--96 { width: 96px; height: 96px; font-size: 12px; }
.nome-serif { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.row--centro { justify-content: center; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.perfil-m { display: flex; flex-direction: column; gap: 16px; }
.perfil-t { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.perfil-t__lado { padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.perfil-t__lado .pq { font-size: 13px; color: var(--texto-3); }
.perfil-t__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bloco { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bloco__topo { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.bloco__topo span { font-size: 13px; color: var(--texto-3); }
.perfil-t .vt { font-size: 14px; padding: 6px 12px; min-height: 0; }
.perfil-t .row { min-height: 56px; padding: 8px 16px; }
.perfil-t .grade2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.acoes-fim { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.contrato { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.contrato__topo { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.contrato__topo strong { font-size: 16px; }
.contrato__meta { font-size: 13px; color: var(--texto-3); }
.contrato__resumo { font-size: 14px; line-height: 1.5; color: var(--texto-2); }
.contrato__aviso { padding: 10px 12px; border-radius: 14px; background: var(--ambar-fundo); font-size: 13px; line-height: 1.45; color: var(--ambar); }
.rule + .rule { border-top: 1px solid var(--linha-2); }
.rule summary { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 14px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.rule summary::-webkit-details-marker { display: none; }
.rule .n { width: 26px; height: 26px; border-radius: 50%; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.rule__sinal::before { content: "+"; }
.rule[open] .rule__sinal::before { content: "\2212"; }
.rule .t { padding: 0 14px 14px 50px; font-size: 14px; line-height: 1.45; color: var(--texto-2); }

/* ---------- Tablet e desktop: desenho de 834 ---------- */
@media (min-width: 768px) {
  .grade2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }

  .topo--cadastro, .topo--painel { background: var(--branco); border-bottom: 1px solid var(--linha); padding: 10px 28px; }
  .topo--cadastro .topo__in, .topo--painel .topo__in { max-width: var(--max); margin: 0 auto; min-height: 44px; border: 0; justify-content: flex-start; gap: 14px; }
  .topo--cadastro .logo, .topo--painel .logo { width: 104px; height: 24px; }
  .topo--cadastro .simbolo, .topo--painel .simbolo { width: 24px; height: 24px; }
  .topo--cadastro .marca, .topo--painel .marca { gap: 6px; font-size: 13px; color: var(--verde); }
  .avatar { width: 40px; height: 40px; }

  .cad { max-width: calc(var(--max) + 56px); margin: 0 auto; padding: 28px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
  .etapas { gap: 4px; position: sticky; top: 16px; }
  .etapas .nota { margin-top: 12px; }
  .cad__corpo, .cad__form { gap: 18px; }
  .cad h1 { font-size: 36px; }
  .cartao-t { background: var(--branco); border-radius: var(--raio-cartao); box-shadow: var(--sombra); padding: 20px; }
  .ativ__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .cnpj-ok { border-radius: 16px; padding: 12px 14px; gap: 4px; }
  .cad__acoes { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 0; }
  .cad__acoes .btn { width: auto; min-height: 52px; padding: 0 32px; font-size: 17px; box-shadow: none; margin-left: auto; }
  .cad__acoes .link { align-self: center; }
  .cad__acoes--pilha { flex-direction: column; align-items: flex-end; }
  .cad__acoes--pilha .link { align-self: flex-end; }

  .abas { order: 0; position: static; border-top: 0; border-bottom: 1px solid var(--linha); padding: 12px 28px; }
  .abas__in { max-width: var(--max); margin: 0 auto; gap: 6px; overflow-x: auto; }
  .tab { flex: 0 0 auto; flex-direction: row; display: inline-flex; padding: 0 16px; border-radius: 22px; font-size: 15px; color: var(--texto-2); }
  .tab.on { background: var(--verde-claro); color: var(--verde); font-weight: 600; }

  .pagina { max-width: calc(var(--max) + 56px); margin: 0 auto; padding: 24px 28px; gap: 20px; }
  .pagina h1, .pagina--contrato h1 { font-size: 34px; line-height: 1.05; }
  .ext-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
  .ext-topo > div:first-child { display: flex; flex-direction: column; gap: 4px; }
  .ext-topo h1 { margin-top: 0; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 14px 16px; }
  .stat__r { font-size: 13px; }
  .stat__v { font-size: 30px; }
  .stat--ultimo-m { order: 0; }

  .contrato { padding: 20px; gap: 10px; }
  .contrato__topo strong { font-size: 18px; }
  .contrato__meta { font-size: 14px; }
  .rule summary { min-height: 0; padding: 14px 16px 0; gap: 12px; font-weight: 700; cursor: default; }
  .rule .n { width: 28px; height: 28px; font-size: 13px; }
  .rule__sinal { display: none; }
  .rule .t { padding: 0 16px 14px 56px; }

  .entrar__topo { padding-top: 48px; }
}

/* ---------- Landing (P00) ---------- */
.lp-topo { background: var(--branco); border-bottom: 1px solid var(--linha); }
.lp-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 12px var(--lp-pad); }
.lp-marca { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; text-decoration: none; }
.lp-marca .logo { width: 120px; height: 28px; }
.lp-marca .marca { gap: 8px; font-size: 15px; }
.lp-marca .simbolo { width: 34px; height: 34px; }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--borda); background: var(--branco); color: var(--texto);
  font-size: 15px; font-weight: 600; cursor: pointer;
}
html:not(.js) .menu-btn { display: none; }
.lp-nav__links { flex-basis: 100%; display: flex; flex-direction: column; gap: 4px; padding: 4px 0 8px; }
.js .lp-nav__links { display: none; }
.js .lp-nav__links[data-aberto="true"] { display: flex; }
.lp-nav__a { display: flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
.lp-nav__links .btn2, .lp-nav__links .btn { margin-top: 6px; }

.lp-sec { padding-left: var(--lp-pad); padding-right: var(--lp-pad); }
.lp-branco { background: var(--branco); }
.lp h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 7vw, 68px); line-height: 1.02; letter-spacing: -0.02em; }
.lp-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.08; }
.lp-h2--40 { font-size: clamp(28px, 4.2vw, 40px); }
.lp-h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.6vw, 32px); line-height: 1.1; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: clamp(36px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); align-items: center; }
.hero__txt { display: flex; flex-direction: column; gap: 22px; }
.hero__lead { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; color: var(--texto-2); max-width: 600px; }
.hero__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero__obs { font-size: 14px; color: var(--texto-3); }
.hero__visual { display: flex; flex-direction: column; position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.hero__foto { position: relative; }
.hero__img, .ph--hero { width: 100%; height: clamp(280px, 62vw, 440px); border-radius: 28px; display: block; }
.hero__img { object-fit: cover; }
.ph { background: var(--verde-claro); color: var(--verde); display: grid; place-content: center; text-align: center; }
.ph--hero { padding: 24px 24px 76px; font-size: 15px; line-height: 1.5; display: grid; }
.hero__papel { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--verde); }
.hero__credito { position: absolute; right: 16px; bottom: 72px; font-size: 11px; color: var(--verde); }
.tem-foto .hero__credito { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.hero__cartao { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; margin: -64px clamp(12px, 4vw, 24px) 0; position: relative; }
.hero__pessoa { display: flex; gap: 14px; align-items: center; }
.hero__avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--foto-fundo); display: grid; place-items: center; font-size: 11px; color: var(--texto-3); flex-shrink: 0; }
.hero__avatar img { width: 56px; height: 56px; object-fit: cover; }
.hero__nome { display: block; font-size: 20px; }
.hero__sub { font-size: 15px; color: var(--texto-3); }
.selos { display: flex; gap: 8px; flex-wrap: wrap; }
.selo { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 12px; }
.selo--pessego { background: var(--pessego); }
.selo--verde { background: var(--verde-claro); color: var(--verde); }
.hero__pedido { border-top: 1px solid var(--linha-2); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.hero__pedido div { display: flex; justify-content: space-between; gap: 12px; }
.hero__pedido strong { white-space: nowrap; }
.pq13 { font-size: 13px; color: var(--texto-3); }

.quem { padding-top: 24px; padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; }
.fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.fotos figure { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fotos__img, .ph--grade { width: 100%; min-height: clamp(200px, 38vw, 300px); border-radius: 22px; display: block; }
.fotos__img { height: clamp(200px, 38vw, 300px); object-fit: cover; }
.ph--grade { padding: 16px; font-size: 13px; line-height: 1.45; display: grid; }
.fotos figcaption { display: flex; flex-direction: column; gap: 2px; }
.fotos figcaption strong { font-size: 17px; }
.fotos figcaption span { font-size: 12px; color: var(--texto-3); }

.como { padding-top: clamp(40px, 5vw, 56px); padding-bottom: clamp(40px, 5vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.passos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.passos li { display: flex; flex-direction: column; gap: 10px; }
.passos strong { font-size: 18px; }
.passos span:last-child { font-size: 15px; line-height: 1.5; color: var(--texto-2); }
.passo-num { width: 40px; height: 40px; border-radius: 50%; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; font-weight: 700; font-size: 17px; }

.duas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.dinheiro { padding-top: clamp(40px, 5vw, 56px); padding-bottom: clamp(40px, 5vw, 56px); }
.lp-card { background: var(--branco); border-radius: 24px; box-shadow: var(--sombra); padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.lista-chk { display: flex; flex-direction: column; gap: 14px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.chk svg { flex-shrink: 0; margin-top: 4px; }
.preco { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--linha-2); }
.preco:last-of-type { border-bottom: 0; }
.preco span { font-size: 17px; }
.preco strong { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3.4vw, 30px); }
.pq14 { font-size: 14px; line-height: 1.5; color: var(--texto-3); }
.pode { padding-bottom: clamp(40px, 5vw, 56px); }
.pode__col { display: flex; flex-direction: column; gap: 12px; }
.health { border-radius: 24px; background: var(--health-fundo); padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.health strong { font-size: 18px; }
.health span { font-size: 15px; line-height: 1.5; color: var(--texto-2); }
.health a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--health); text-decoration: underline; }
.duvidas { padding-top: 40px; padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 4px; }
.duvidas .eyebrow { margin-bottom: 12px; }
.faq { padding: 18px 0; border-top: 1px solid var(--linha); }
.faq h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.faq p { font-size: 15px; line-height: 1.55; color: var(--texto-2); }
.rodape { padding: 28px var(--lp-pad); background: var(--texto); color: #fff; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 1.5; }

@media (max-width: 479.98px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
}
@media (min-width: 768px) {
  .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .duas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .lp-nav { flex-wrap: nowrap; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
  .menu-btn { display: none; }
  .lp-nav__links, .js .lp-nav__links { flex-basis: auto; margin-left: auto; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; }
  .lp-nav__links .btn2, .lp-nav__links .btn { margin-top: 0; }
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
  .hero__visual { max-width: none; }
  .fotos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fotos__img, .ph--grade { min-height: 300px; }
  .fotos__img { height: 300px; }
}

/* ---------- 404 ---------- */
.nao-achou { width: 100%; max-width: 560px; margin: 0 auto; padding: 48px 20px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nao-achou h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 6vw, 36px); line-height: 1.08; }
.nao-achou p { font-size: 15px; line-height: 1.5; color: var(--texto-2); }

/* Fotos da landing: recorte fixo para a grade não pular quando a imagem chega. */
.hero__img { object-position: 50% 22%; }
.fotos__img { background: var(--verde-claro); }
.hero__avatar { font-weight: 700; color: var(--verde); }

/* Botão "i": instrução que abre abaixo da linha. Sem JS o painel já vem aberto. */
.row--quebra { flex-wrap: wrap; }
.row--quebra .row__txt { flex: 1 1 160px; }
.info-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--verde); }
.info-btn span { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font: 700 14px/1 Georgia, 'Times New Roman', serif; font-style: italic; }
.info-btn[aria-expanded="true"] span { background: var(--verde); color: #fff; border-color: var(--verde); }
.info-btn:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
.info-painel { flex: 1 1 100%; background: var(--verde-claro); border-radius: 14px; padding: 12px 14px; margin: 2px 0 6px; font-size: 14px; line-height: 1.45; color: var(--texto); }
.info-painel[hidden] { display: none; }
.info-painel p { margin: 0 0 8px; }
.info-link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-height: 44px; align-content: center; font-weight: 700; color: var(--verde); }

/* Telas com dado real */
.erro-msg { font-size: 14px; line-height: 1.45; color: var(--erro); background: var(--erro-fundo); border-radius: 12px; padding: 10px 14px; }
.link--botao { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.fld--linha { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.fld select { min-height: 48px; border-radius: var(--raio-campo); border: 1px solid var(--borda-forte); background: #fff; padding: 0 12px; font-size: 16px; color: var(--texto); }
button[aria-busy="true"] { opacity: .6; cursor: progress; }
#form-servico { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }

/* ---------- Área logada com dado real: abas, Início, extrato ---------- */
.topo__sair { min-height: 44px; padding: 0 4px; font-size: 14px; }
.aviso { padding: 12px 14px; border-radius: 14px; background: var(--ambar-fundo); font-size: 14px; line-height: 1.45; color: var(--ambar); }
.saudacao { display: flex; flex-direction: column; gap: 6px; }
.saudacao p { font-size: 15px; line-height: 1.5; color: var(--texto-2); }
.situacao .row { align-items: flex-start; }
.situacao .tag { margin-top: 2px; }
.situacao a.row:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.atalhos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.mes { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--texto-2); }
.mes select { min-height: 44px; border-radius: 22px; border: 1px solid var(--borda); background: var(--branco); padding: 0 14px; font-size: 15px; color: var(--texto); font-family: inherit; }
.ext-lista .row { align-items: flex-start; }
.ext-lista .tag { margin-top: 2px; }
.vazio { padding: 16px; font-size: 14px; color: var(--texto-3); }
@media (max-width: 767.98px) {
  .perfil-t { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 768px) {
  .atalhos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .saudacao p { font-size: 16px; }
}

/* ---------- Cadastro com dado real: documentos, conta e contrato, anúncio ---------- */
.doc { align-items: flex-start; }
.doc .tag { margin-top: 2px; }
.doc__acoes { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.doc .erro-msg { flex: 1 1 100%; }
.doc__dados { flex: 1 1 100%; }
.campos-doc { flex: 1 1 100%; display: flex; flex-direction: column; gap: 12px; padding: 12px 0 4px; }
.sub--erro { color: var(--erro) !important; }
.envio { position: relative; cursor: pointer; }
.envio:focus-within { outline: 2px solid var(--verde); outline-offset: 2px; }
.envio[aria-busy="true"] { opacity: .6; cursor: progress; }
.contrato__texto summary { cursor: pointer; }
.contrato__corpo { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; font-size: 14px; line-height: 1.55; color: var(--texto-2); max-height: 420px; overflow-y: auto; }
.contrato__corpo h3 { font-size: 15px; color: var(--texto); }
.contrato__corpo ul { padding-left: 20px; }
.apagada { opacity: .55; }
#fiscal-ajudas { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
/* D63: atendimento pago só com config.js dizendo true (portal.js põe a classe no html); sem ela, esconde. */
html:not(.atendimento-pago) [data-atendimento-pago="sim"],
html:not(.atendimento-pago) a[href$="painel/extrato/"],
html:not(.atendimento-pago) #i-conta,
html:not(.atendimento-pago) #painel-perfil a[href$="cadastro/recebimentos/"] { display: none !important; }
html.atendimento-pago [data-atendimento-pago="nao"] { display: none !important; }
