/* Justa Parte · protótipo navegável · CSS compartilhado
   Tokens da marca (manual v1, set/2026). Lima só sobre Petróleo; em fundo claro, Lima-oliva.
   --oliva-texto é um tom derivado da Lima-oliva para texto pequeno (6,5:1 no branco, AA). */

@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Condensed"; src: url("../fonts/IBMPlexSansCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Condensed"; src: url("../fonts/IBMPlexSansCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: optional; }
/* redesign 01/10/2026 (F1): fallback com as métricas da Plex, para a troca de fonte não mexer no layout (CLS) */
@font-face { font-family: "Plex Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 100.8%; ascent-override: 101.7%; descent-override: 27.3%; line-gap-override: 0%; }
@font-face { font-family: "Plex Cond Fallback"; src: local("Arial Bold"), local("Arial"), local("Liberation Sans Bold"); font-weight: 700; size-adjust: 90%; ascent-override: 113%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --petroleo: #0C4A50;
  --petroleo-escuro: #08363B;
  --petroleo-claro: #1A5E65;
  --lima: #B7DB48;
  --oliva: #6A8C00;
  --oliva-texto: #4D6600;
  --agua: #DDEEEA;
  --agua-forte: #C4DEDA;
  --carvao: #16262A;
  --papel: #F8FAF9;
  --branco: #FFFFFF;
  --texto-2: #4E6164;      /* 6,2:1 no Papel */
  --linha: #D3E0DD;
  --linha-forte: #A9C2BE;
  --erro: #B42318;          /* 6,3:1 no Papel */
  --erro-fundo: #FDECEA;
  --sobre-petroleo-2: #A9C7C3; /* texto secundário sobre Petróleo, 5,5:1 */
  /* redesign 01/10/2026 ("mesa de conferência") */
  --petroleo-noite: #062B30;   /* hero e CTA final: branco 15:1, lima 9,5:1, #A9C7C3 8,3:1 */
  --lima-brilho: #D9F27A;      /* só traço de conferência e realce; nunca texto em fundo claro */
  --grade-escura: rgba(183, 219, 72, .07);
  --grade-clara: rgba(12, 74, 80, .06);
  --sombra-3: 0 30px 60px -20px rgba(6, 43, 48, .45), 0 12px 24px -12px rgba(6, 43, 48, .30);
  --r-3: 14px;
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 400ms; --dur-4: 700ms;
  --ease-saida: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-carimbo: cubic-bezier(.34, 1.56, .64, 1);

  --fonte: "IBM Plex Sans", "Plex Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --titulo: "IBM Plex Sans Condensed", "Plex Cond Fallback", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-1: 4px;
  --r-2: 8px;
  --sombra-1: 0 1px 2px rgba(22, 38, 42, .06), 0 1px 3px rgba(22, 38, 42, .08);
  --sombra-2: 0 8px 24px rgba(12, 74, 80, .14);
  --foco: 0 0 0 3px var(--branco), 0 0 0 6px var(--petroleo);
  --corte: 20%; /* inclinação de 70° usada nos paralelogramos */
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--fonte); font-size: 16px; line-height: 1.55;
  color: var(--carvao); background: var(--papel);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--petroleo); letter-spacing: -.01em; }
h1, h2 { font-family: var(--titulo); letter-spacing: -.015em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.05rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
a { color: var(--petroleo); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--foco); border-radius: var(--r-1); }
.escuro :focus-visible, .on-dark :focus-visible { box-shadow: 0 0 0 3px var(--petroleo), 0 0 0 6px var(--lima); }
small, .small { font-size: .875rem; }
.muted { color: var(--texto-2); }
.num, .mono, code { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.num { white-space: nowrap; }
.dir { text-align: right; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--petroleo); color: var(--branco); padding: 10px 14px; z-index: 100; border-radius: var(--r-1); }
.skip:focus { top: 8px; }
hr { border: 0; border-top: 1px solid var(--linha); margin: 1.5rem 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 32px; } }

/* ---------- faixa de protótipo ---------- */
.proto-strip {
  background: var(--carvao); color: var(--papel); font-size: .8125rem; text-align: center;
  padding: 6px 12px; letter-spacing: .02em; position: relative; z-index: 60;
}
.proto-strip a { color: var(--lima); }
.proto-strip strong { font-weight: 600; }

/* ---------- grifo (valor apurado) ---------- */
.grifo { background: linear-gradient(transparent 52%, rgba(183, 219, 72, .45) 52%, rgba(183, 219, 72, .45) 92%, transparent 92%); color: var(--petroleo); padding: 0 .1em; }

/* ---------- títulos de seção com o corte de 70° ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--oliva-texto); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 22px; height: 10px; background: var(--oliva); clip-path: polygon(var(--corte) 0, 100% 0, 80% 100%, 0 100%); }
.escuro .eyebrow { color: var(--lima); }
.escuro .eyebrow::before { background: var(--lima); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-1); border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--fonte); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primario { background: var(--petroleo); color: var(--branco); }
.btn-primario:hover { background: var(--petroleo-escuro); }
.btn-lima { background: var(--lima); color: var(--carvao); }
.btn-lima:hover { background: #C6E56A; }
.btn-contorno { background: transparent; color: var(--petroleo); border-color: var(--petroleo); }
.btn-contorno:hover { background: var(--agua); }
.escuro .btn-contorno { color: var(--branco); border-color: rgba(255,255,255,.7); }
.escuro .btn-contorno:hover { background: rgba(255,255,255,.08); }
.btn-texto { background: transparent; color: var(--petroleo); padding-left: 8px; padding-right: 8px; }
.btn-texto:hover { background: var(--agua); }
.btn-perigo { background: var(--branco); color: var(--erro); border-color: var(--erro); }
.btn-perigo:hover { background: var(--erro-fundo); }
.btn-sm { min-height: 44px; padding: 6px 12px; font-size: .9rem; }
.btn-bloco { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: #E4ECEA; color: #6B7C7E; border-color: #E4ECEA; cursor: not-allowed; transform: none; }
.btn-linha { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- selos ---------- */
.selo { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; white-space: nowrap; line-height: 1.4; }
.selo-lanc { background: var(--petroleo); color: var(--lima); }
.selo-promo { background: var(--lima); color: var(--petroleo); }
.promo-nota { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 20px; }
.selo-breve { background: var(--agua); color: var(--petroleo); }
.selo-ok { background: #E7F0D2; color: var(--oliva-texto); }
.selo-erro { background: var(--erro-fundo); color: var(--erro); }
.selo-neutro { background: #EDF2F1; color: var(--texto-2); }
.selo-teste { background: var(--carvao); color: var(--lima); }
.selo-borda { background: transparent; border: 1px solid var(--linha-forte); color: var(--texto-2); }

/* ---------- cartões ---------- */
.card { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-2); padding: 20px; box-shadow: var(--sombra-1); }
.card > :last-child { margin-bottom: 0; }
.card-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-titulo h2, .card-titulo h3 { margin: 0; }
.card-agua { background: var(--agua); border-color: var(--agua-forte); box-shadow: none; }
.card-petroleo { background: var(--petroleo); color: var(--branco); border-color: var(--petroleo); }
.card-petroleo h2, .card-petroleo h3 { color: var(--branco); }
.card-petroleo .muted { color: var(--sobre-petroleo-2); }

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pilha > * + * { margin-top: 20px; }
.lista-limpa { list-style: none; margin: 0; padding: 0; }

/* ---------- formulários ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.campo label, .rotulo { font-weight: 600; font-size: .9375rem; color: var(--carvao); }
.campo .dica { font-size: .8125rem; color: var(--texto-2); }
.campo .erro-msg { font-size: .875rem; color: var(--erro); font-weight: 500; display: none; }
.campo.tem-erro .erro-msg { display: block; }
.campo.tem-erro input, .campo.tem-erro select, .campo.tem-erro textarea { border-color: var(--erro); background: #FFF8F7; }
.campo.ok input { border-color: var(--oliva); }
.campo .ok-msg { font-size: .875rem; color: var(--oliva-texto); font-weight: 500; display: none; }
.campo.ok .ok-msg { display: block; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], input[type="number"], input[type="search"], select, textarea {
  font: 400 1rem/1.4 var(--fonte); color: var(--carvao); background: var(--branco);
  border: 1.5px solid var(--linha-forte); border-radius: var(--r-1); padding: 10px 12px; min-height: 44px; width: 100%;
}
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6D7F81; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--petroleo); box-shadow: 0 0 0 3px rgba(12, 74, 80, .25); border-radius: var(--r-1); }
input.mono { font-family: var(--mono); letter-spacing: .02em; }
.linha-campos { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .linha-campos.c2 { grid-template-columns: 1fr 1fr; } .linha-campos.c21 { grid-template-columns: 2fr 1fr; } .linha-campos.c3 { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--petroleo); cursor: pointer; }
.check span { font-size: .9375rem; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 600; font-size: .9375rem; padding: 0; margin-bottom: 8px; }
.opcoes { display: grid; gap: 10px; }
.opcao { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--linha-forte); border-radius: var(--r-2); background: var(--branco); cursor: pointer; min-height: 44px; }
.opcao input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--petroleo); }
.opcao:has(input:checked) { border-color: var(--petroleo); background: #F1F8F6; box-shadow: inset 4px 0 0 var(--petroleo); }
.opcao:has(input:disabled) { opacity: .62; cursor: not-allowed; background: #F3F6F5; }
.opcao .opcao-corpo { flex: 1; min-width: 0; }
.opcao .opcao-topo { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.opcao strong { color: var(--petroleo); }
.seg { display: inline-flex; border: 1.5px solid var(--linha-forte); border-radius: var(--r-1); overflow: hidden; }
.seg label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; cursor: pointer; font-weight: 500; border-right: 1px solid var(--linha); }
.seg label:last-child { border-right: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--petroleo); color: var(--branco); }
.seg label:has(input:focus-visible) { box-shadow: inset 0 0 0 3px var(--lima); }

/* ---------- abas ---------- */
.abas { display: flex; gap: 4px; border-bottom: 1.5px solid var(--linha); margin-bottom: 20px; overflow-x: auto; scrollbar-width: thin; }
.abas [role="tab"] { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1.5px; font: 600 1rem var(--fonte); color: var(--texto-2); padding: 10px 16px; min-height: 44px; cursor: pointer; white-space: nowrap; }
.abas [role="tab"][aria-selected="true"] { color: var(--petroleo); border-bottom-color: var(--oliva); }
.abas [role="tab"]:hover { color: var(--petroleo); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- tabelas ---------- */
.tabela-wrap { overflow-x: auto; border: 1px solid var(--linha); border-radius: var(--r-2); background: var(--branco); }
table.tabela { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tabela caption { text-align: left; padding: 14px 16px 0; font-weight: 600; color: var(--petroleo); }
.tabela th, .tabela td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--linha); vertical-align: middle; }
.tabela thead th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-2); font-weight: 600; background: #F3F7F6; white-space: nowrap; }
.tabela tbody tr:last-child td { border-bottom: 0; }
.tabela tbody tr:hover { background: #F7FBFA; }
.tabela td.num, .tabela th.num { text-align: right; }
@media (max-width: 719px) {
  .tabela-cards { border: 0; background: transparent; overflow: visible; }
  .tabela-cards table, .tabela-cards tbody, .tabela-cards tr, .tabela-cards td { display: block; width: 100%; }
  .tabela-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabela-cards caption { display: block; padding: 0 0 10px; }
  .tabela-cards tr { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-2); margin-bottom: 12px; padding: 6px 0; box-shadow: var(--sombra-1); }
  .tabela-cards td { border: 0; padding: 6px 14px; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .tabela-cards td::before { content: attr(data-rotulo); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--texto-2); font-weight: 600; text-align: left; flex: none; max-width: 45%; padding-top: 2px; }
  .tabela-cards td.num { text-align: right; }
}

/* ---------- cabeçalho do site público ---------- */
.site-topo { background: var(--papel); border-bottom: 1px solid var(--linha); position: sticky; top: 0; z-index: 50; }
.site-topo .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.marca-link { display: inline-flex; align-items: center; min-height: 44px; }
.marca-link img { height: 30px; width: auto; }
.site-nav { display: none; gap: 4px; align-items: center; }
.site-nav a { text-decoration: none; color: var(--carvao); font-weight: 500; padding: 10px 12px; border-radius: var(--r-1); min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { background: var(--agua); color: var(--petroleo); }
.site-acoes { display: flex; gap: 8px; align-items: center; }
.site-acoes .btn-contorno { display: none; }
@media (min-width: 960px) { .site-nav { display: flex; } .site-acoes .btn-contorno { display: inline-flex; } }
.menu-botao { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--linha-forte); background: var(--branco); border-radius: var(--r-1); cursor: pointer; color: var(--petroleo); }
.menu-botao svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .site-topo .menu-botao { display: none; } }
.menu-movel { display: none; border-top: 1px solid var(--linha); background: var(--papel); padding: 8px 20px 16px; }
.menu-movel.aberto { display: block; }
.menu-movel a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 500; color: var(--carvao); border-bottom: 1px solid var(--linha); }
@media (min-width: 960px) { .menu-movel { display: none !important; } }

/* ---------- hero ---------- */
.escuro { background: var(--petroleo); color: var(--branco); }
.escuro h1, .escuro h2, .escuro h3 { color: var(--branco); }
.escuro .muted { color: var(--sobre-petroleo-2); }
.escuro a:not(.btn) { color: var(--lima); }
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
.hero .container { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 88px 0 96px; } .hero .container { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { max-width: 17ch; font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.02em; }
.hero h1 .destaque { color: var(--lima); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--agua); max-width: 46ch; margin-bottom: 28px; }
.hero-ia { margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--sobre-petroleo-2); max-width: 52ch; }
.hero-ia svg { flex: none; width: 34px; margin-top: 2px; }
.hero-fundo { position: absolute; right: -80px; bottom: -60px; width: 520px; opacity: .07; pointer-events: none; }
.slogan { font-weight: 600; color: var(--lima); letter-spacing: .01em; }

/* ---------- seções ---------- */
.secao { padding: 64px 0; }
.secao-agua { background: var(--agua); }
.secao-branca { background: var(--branco); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.secao-cab { max-width: 720px; margin-bottom: 36px; }
.secao-cab p { color: var(--texto-2); font-size: 1.0625rem; }

.passos { counter-reset: passo; display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .passos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .passos { grid-template-columns: repeat(4, 1fr); } }
.passos li { counter-increment: passo; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-2); padding: 24px 20px 20px; position: relative; }
.passos li::before { content: counter(passo); display: inline-grid; place-items: center; width: 44px; height: 32px; background: var(--petroleo); color: var(--lima); font: 500 1rem var(--mono); clip-path: polygon(var(--corte) 0, 100% 0, 80% 100%, 0 100%); margin-bottom: 14px; }
.passos h3 { margin-bottom: .35em; }
.passos p { color: var(--texto-2); font-size: .9375rem; margin: 0; }

.difs { display: grid; gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--r-2); overflow: hidden; }
@media (min-width: 720px) { .difs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .difs { grid-template-columns: repeat(3, 1fr); } }
.difs > div { background: var(--branco); padding: 24px 22px; }
.difs h3 { display: flex; gap: 10px; align-items: center; font-size: 1.0625rem; }
.difs h3 svg { width: 22px; height: 22px; flex: none; color: var(--oliva); }
.difs p { margin: 0; color: var(--texto-2); font-size: .9375rem; }

/* ---------- preços ---------- */
.precos-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .precos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .precos-grid { grid-template-columns: repeat(3, 1fr); } }
.preco-card { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-2); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.preco-card.ativo { border-color: var(--petroleo); box-shadow: inset 0 4px 0 var(--petroleo); }
.preco-card.breve { background: #FBFCFC; }
.preco-card .cod { font: 500 .8125rem var(--mono); color: var(--texto-2); }
.preco-card h3 { margin: 0; font-size: 1.0625rem; }
.faixas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.faixa { border: 1px solid var(--linha); border-radius: var(--r-1); padding: 8px 10px; }
.faixa .f { font-size: .75rem; font-weight: 600; color: var(--texto-2); letter-spacing: .05em; }
.faixa .v { font: 500 1.25rem var(--mono); color: var(--petroleo); }
.breve .faixa .v { color: var(--texto-2); }
.faixa.unica { grid-column: 1 / -1; }
.regras-faixa { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 900px) { .regras-faixa { grid-template-columns: repeat(4, 1fr); } }
.regras-faixa > div { border-left: 3px solid var(--oliva); padding: 4px 0 4px 14px; font-size: .9375rem; }
.regras-faixa strong { display: block; color: var(--petroleo); }

.planos { display: grid; gap: 16px; }
@media (min-width: 760px) { .planos { grid-template-columns: 1fr 1fr; } }
.plano { border-radius: var(--r-2); padding: 24px; border: 1px solid var(--linha); background: var(--branco); }
.plano.escuro { border-color: var(--petroleo); }
.plano .paga { font-size: .9375rem; }
.plano .leva { font: 500 2rem var(--mono); line-height: 1.1; margin: 6px 0 4px; }
.plano .leva small { font: 500 .875rem var(--fonte); }
.plano ul { margin: 16px 0 20px; padding-left: 20px; }
.plano li { margin-bottom: 6px; }
.escuro .leva { color: var(--lima); }
.plano:not(.escuro) .leva { color: var(--petroleo); }

/* ---------- relatório-modelo ---------- */
.relatorio-mini { background: var(--branco); border-radius: 6px; box-shadow: var(--sombra-2); padding: 22px 22px 18px; color: var(--carvao); max-width: 440px; width: 100%; margin-left: auto; position: relative; }
.relatorio-cab { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-bottom: 10px; border-bottom: 2px solid var(--petroleo); position: relative; }
.relatorio-cab::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 24%; height: 2px; background: var(--oliva); }
.relatorio-cab img { height: 22px; width: auto; }
.relatorio-cab .rc-dir { text-align: right; font-size: .6875rem; color: var(--texto-2); line-height: 1.45; }
.relatorio-cab .rc-dir strong { color: var(--petroleo); letter-spacing: .06em; font-size: .6875rem; display: block; }
.relatorio-mini .total-lbl { font-size: .75rem; color: var(--texto-2); margin: 14px 0 2px; }
.relatorio-mini .total { font: 500 1.7rem var(--mono); color: var(--petroleo); }
.relatorio-mini ol { padding-left: 18px; margin: 10px 0 12px; font-size: .8125rem; }
.relatorio-mini ol li { margin-bottom: 6px; }
.fonte-id { font: 400 .75rem var(--mono); color: var(--texto-2); background: #F1F5F4; padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
.relatorio-mini .rodape-rel { display: flex; justify-content: space-between; font-size: .6875rem; color: var(--texto-2); border-top: 1px solid var(--linha); padding-top: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-2); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 600; color: var(--petroleo); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 500 1.4rem var(--mono); color: var(--oliva-texto); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 18px; color: var(--carvao); }

/* ---------- rodapé ---------- */
.rodape { background: var(--carvao); color: #C9D6D4; padding: 48px 0 32px; font-size: .9375rem; }
.rodape a { color: var(--branco); }
.rodape .container { display: grid; gap: 28px; }
@media (min-width: 860px) { .rodape .container { grid-template-columns: 1.4fr 1fr 1fr; } }
.rodape h2 { color: var(--branco); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li a { display: inline-flex; min-height: 36px; align-items: center; }
.rodape .aviso-legal { grid-column: 1 / -1; border-top: 1px solid #2E4247; padding-top: 20px; font-size: .8125rem; color: #AFC0BD; }
.rodape img { height: 28px; width: auto; margin-bottom: 14px; }

/* ---------- área logada (cliente) ---------- */
.app-topo { background: var(--petroleo); color: var(--branco); position: sticky; top: 0; z-index: 50; }
.app-topo .barra { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 16px; }
.app-topo .marca-link img { height: 26px; }
.app-topo .escritorio { display: none; font-size: .9375rem; color: var(--agua); border-left: 1px solid rgba(255,255,255,.2); padding-left: 16px; margin-left: 4px; }
@media (min-width: 900px) { .app-topo .escritorio { display: block; } }
.app-topo .esq { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-topo .dir-topo { display: flex; align-items: center; gap: 10px; }
.saldo-pilula { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--branco); min-height: 40px; font-size: .875rem; }
.saldo-pilula .num { color: var(--lima); font-weight: 500; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--agua); color: var(--petroleo); display: grid; place-items: center; font-weight: 700; font-size: .875rem; flex: none; }
.app-topo .menu-botao { background: transparent; color: var(--branco); border-color: rgba(255,255,255,.35); }
@media (min-width: 1000px) { .app-topo .menu-botao { display: none; } }

.app-corpo { display: grid; min-height: calc(100vh - 96px); }
@media (min-width: 1000px) { .app-corpo { grid-template-columns: 248px minmax(0, 1fr); } }
.app-nav { background: var(--branco); border-right: 1px solid var(--linha); padding: 16px 12px; display: none; }
.app-nav.aberto { display: block; border-bottom: 1px solid var(--linha); }
@media (min-width: 1000px) { .app-nav { display: block; } }
.app-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; text-decoration: none; color: var(--carvao); font-weight: 500; border-radius: var(--r-1); position: relative; }
.app-nav a svg { width: 20px; height: 20px; color: var(--texto-2); flex: none; }
.app-nav a:hover { background: var(--agua); }
.app-nav a[aria-current="page"] { background: var(--agua); color: var(--petroleo); font-weight: 600; }
.app-nav a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; background: var(--oliva); }
.app-nav a[aria-current="page"] svg { color: var(--petroleo); }
.app-nav .nav-sep { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-2); padding: 16px 12px 6px; font-weight: 600; }
.app-main { padding: 24px 16px 96px; min-width: 0; }
@media (min-width: 900px) { .app-main { padding: 32px 36px 96px; } }
.pagina-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.pagina-cab h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.pagina-cab p { margin: 4px 0 0; color: var(--texto-2); }
.migalha { font-size: .875rem; margin-bottom: 8px; color: var(--texto-2); }
.migalha a { color: var(--texto-2); }

.saldo-grande { font: 500 2.4rem var(--mono); color: var(--lima); line-height: 1.1; margin: 4px 0; }
.aviso { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-2); border: 1px solid var(--linha-forte); background: var(--branco); }
.aviso svg { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.aviso-acao { border-color: var(--petroleo); background: #F1F8F6; box-shadow: inset 4px 0 0 var(--petroleo); }
.aviso-acao svg { color: var(--petroleo); }
.aviso-erro { border-color: #F1B8B2; background: var(--erro-fundo); }
.aviso-erro svg { color: var(--erro); }
.aviso-info { background: var(--agua); border-color: var(--agua-forte); }
.aviso-info svg { color: var(--petroleo); }
.aviso-ok { background: #F1F7E4; border-color: #C9DD97; }
.aviso-ok svg { color: var(--oliva-texto); }
.aviso .corpo { flex: 1; min-width: 0; }
.aviso .corpo p:last-child { margin-bottom: 0; }
.aviso strong { color: var(--carvao); }

/* ---------- linha do tempo (paralelogramos do símbolo) ---------- */
.lt { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 12px 0 8px; list-style: none; padding: 0; }
.lt li { font-size: .75rem; color: var(--texto-2); line-height: 1.25; }
.lt li::before { content: ""; display: block; height: 10px; margin-bottom: 6px; background: #E1EAE8; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.lt li.feito::before { background: var(--petroleo); }
.lt li.atual::before { background: var(--oliva); }
.lt li.atual { color: var(--carvao); font-weight: 600; }
.lt li.feito { color: var(--petroleo); }
@media (max-width: 480px) { .lt li span { display: none; } .lt li.atual span { display: inline; } }

.pedido-linha { padding: 16px 0; border-bottom: 1px solid var(--linha); }
.pedido-linha:last-child { border-bottom: 0; padding-bottom: 0; }
.pedido-linha:first-child { padding-top: 0; }
.pedido-topo { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.pedido-topo a { font-weight: 600; text-decoration: none; }
.pedido-topo a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .875rem; color: var(--texto-2); }
.meta .num { color: var(--carvao); }

/* timeline vertical (detalhe do pedido) */
.tv { list-style: none; margin: 0; padding: 0; }
.tv li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 18px; position: relative; }
.tv li::after { content: ""; position: absolute; left: 13px; top: 24px; bottom: 0; width: 2px; background: var(--linha); }
.tv li:last-child::after { display: none; }
.tv li.feito::after { background: var(--petroleo); }
.tv .marca { width: 28px; height: 18px; margin-top: 3px; background: #E1EAE8; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.tv li.feito .marca { background: var(--petroleo); }
.tv li.atual .marca { background: var(--oliva); }
.tv .t { font-weight: 600; }
.tv .d { font-size: .875rem; color: var(--texto-2); }

/* ---------- entregáveis ---------- */
.arquivo { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.arquivo:last-child { border-bottom: 0; }
.arquivo .ext { width: 44px; height: 44px; border-radius: var(--r-1); background: var(--agua); color: var(--petroleo); display: grid; place-items: center; font: 500 .75rem var(--mono); }
.arquivo .ext.pjc { background: var(--petroleo); color: var(--lima); }
.arquivo .nome { font-weight: 600; word-break: break-word; }
.arquivo .hash { font: 400 .75rem var(--mono); color: var(--texto-2); }
@media (max-width: 520px) { .arquivo { grid-template-columns: 44px 1fr; } .arquivo .btn { grid-column: 1 / -1; } }

/* ---------- chat (Justino e mensagens) ---------- */
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: .9375rem; line-height: 1.45; }
.msg p { margin: 0 0 .5em; }
.msg p:last-child { margin: 0; }
.msg .quem { display: block; font-size: .75rem; font-weight: 600; color: var(--texto-2); margin-bottom: 2px; }
.msg.bot { background: var(--branco); border: 1px solid var(--linha); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.humano { background: #F1F7E4; border: 1px solid #D5E5AE; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.eu { background: var(--petroleo); color: var(--branco); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.eu .quem { color: var(--sobre-petroleo-2); }
.msg.sistema { align-self: center; background: transparent; color: var(--texto-2); font-size: .8125rem; text-align: center; padding: 2px 8px; }
.msg .hora { display: block; font: 400 .6875rem var(--mono); color: var(--texto-2); margin-top: 4px; text-align: right; }
.msg.eu .hora { color: var(--sobre-petroleo-2); }
.msg table { border-collapse: collapse; margin: 6px 0; font-size: .875rem; }
.msg td { padding: 2px 10px 2px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--petroleo); color: var(--petroleo); background: var(--branco); border-radius: 999px; padding: 6px 14px; font: 500 .875rem var(--fonte); min-height: 40px; cursor: pointer; }
.chip:hover { background: var(--agua); }
.chat-entrada { display: flex; gap: 8px; }
.chat-entrada input { flex: 1; }
.digitando { display: inline-flex; gap: 4px; padding: 12px 14px; }
.digitando i { width: 6px; height: 6px; border-radius: 50%; background: var(--texto-2); animation: pisca 1s infinite; }
.digitando i:nth-child(2) { animation-delay: .15s; } .digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pisca { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.jus-aviso { font-size: .8125rem; background: var(--agua); color: var(--carvao); padding: 8px 14px; border-bottom: 1px solid var(--agua-forte); }
.jus-cab { display: flex; align-items: center; gap: 12px; background: var(--petroleo); color: var(--branco); padding: 12px 14px; }
.jus-cab .jus-av { width: 38px; height: 38px; border-radius: 50%; background: var(--petroleo-escuro); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); flex: none; }
.jus-cab .jus-av img { width: 24px; }
.jus-cab strong { display: block; font-size: 1rem; }
.jus-cab span { font-size: .8125rem; color: var(--sobre-petroleo-2); }
.jus-cab .fechar { margin-left: auto; background: transparent; border: 0; color: var(--branco); width: 44px; height: 44px; cursor: pointer; border-radius: var(--r-1); display: grid; place-items: center; }
.jus-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; background: var(--petroleo); color: var(--branco); border: 0; border-radius: 999px; padding: 8px 18px 8px 8px; min-height: 56px; font: 600 1rem var(--fonte); cursor: pointer; box-shadow: var(--sombra-2); }
.jus-fab .jus-av { width: 40px; height: 40px; border-radius: 50%; background: var(--petroleo-escuro); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); }
.jus-fab .jus-av img { width: 24px; }
.jus-fab:hover { background: var(--petroleo-escuro); }
.jus-painel { position: fixed; right: 20px; bottom: 88px; z-index: 81; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 120px)); background: var(--papel); border-radius: 12px; box-shadow: 0 20px 48px rgba(12, 74, 80, .28); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--linha); }
.jus-painel.aberto { display: flex; }
.jus-painel .chat { flex: 1; overflow-y: auto; padding: 14px; }
.jus-painel .chat-pe { padding: 10px; border-top: 1px solid var(--linha); background: var(--branco); display: grid; gap: 8px; }
@media (max-width: 520px) { .jus-fab .rot { display: none; } .jus-fab { padding: 8px; right: 14px; bottom: 14px; } .jus-painel { right: 12px; bottom: 80px; } }

/* mock de celular */
.celular { width: 300px; max-width: 100%; margin: 0 auto; border: 10px solid var(--carvao); border-radius: 36px; overflow: hidden; background: #EFEAE2; box-shadow: var(--sombra-2); }
.celular .cel-topo { background: #1F3B3F; color: var(--branco); padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-size: .875rem; }
.celular .cel-topo .jus-av { width: 34px; height: 34px; border-radius: 50%; background: var(--petroleo); display: grid; place-items: center; flex: none; }
.celular .cel-topo .jus-av img { width: 22px; }
.celular .cel-topo small { display: block; color: #B9CFCC; font-size: .75rem; }
.celular .cel-corpo { padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; min-height: 480px; }
.celular .wa { max-width: 86%; padding: 7px 10px 5px; border-radius: 8px; font-size: .8125rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.celular .wa.dele { background: var(--branco); align-self: flex-start; }
.celular .wa.meu { background: #DCF1D0; align-self: flex-end; }
.celular .wa .h { display: block; text-align: right; font-size: .625rem; color: #5E6E70; margin-top: 2px; }
.celular .wa-botoes { display: grid; gap: 1px; background: #D8DDDC; border-radius: 8px; overflow: hidden; align-self: flex-start; width: 86%; }
.celular .wa-botoes span { background: var(--branco); color: #0B6B78; text-align: center; font-size: .8125rem; padding: 8px; font-weight: 500; }
.celular .cel-pe { background: #F0F0F0; padding: 8px; display: flex; gap: 6px; }
.celular .cel-pe span { flex: 1; background: var(--branco); border-radius: 20px; padding: 8px 12px; font-size: .8125rem; color: #6B7C7E; }

/* ---------- wizard ---------- */
.passos-wiz { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: pw; }
.passos-wiz li { flex: 1; counter-increment: pw; font-size: .8125rem; color: var(--texto-2); min-width: 0; }
.passos-wiz li::before { content: ""; display: block; height: 8px; background: #E1EAE8; margin-bottom: 8px; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.passos-wiz li .n { font-family: var(--mono); margin-right: 4px; }
.passos-wiz li.feito::before { background: var(--petroleo); }
.passos-wiz li.atual::before { background: var(--oliva); }
.passos-wiz li.atual { color: var(--carvao); font-weight: 600; }
@media (max-width: 640px) { .passos-wiz li .t { display: none; } .passos-wiz li.atual .t { display: inline; } .passos-wiz li:not(.atual) { flex: 0 0 34px; } }
.wiz-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) { .wiz-layout { grid-template-columns: minmax(0, 1fr) 340px; } .wiz-lado { position: sticky; top: 88px; } }
.wiz-passo[hidden] { display: none; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--linha); flex-wrap: wrap; }
.estimativa { display: grid; gap: 8px; }
.estimativa .linha { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.estimativa .total { border-top: 1px solid var(--linha); padding-top: 10px; margin-top: 4px; font-weight: 600; }
.estimativa .total .num { font-size: 1.25rem; color: var(--petroleo); }
.dropzone { border: 2px dashed var(--linha-forte); border-radius: var(--r-2); padding: 32px 20px; text-align: center; background: var(--branco); transition: border-color .15s, background .15s; }
.dropzone.sobre { border-color: var(--petroleo); background: #F1F8F6; }
.dropzone svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--petroleo); }
.dropzone .btn { margin-top: 8px; }
.barra-prog { height: 8px; background: #E1EAE8; border-radius: 4px; overflow: hidden; }
.barra-prog > div { height: 100%; background: var(--petroleo); width: 0; transition: width .3s; }
.espera { text-align: center; padding: 32px 16px; }
.espera .simbolo-anim { width: 96px; margin: 0 auto 20px; }
.espera .simbolo-anim .fatia { animation: fatia 1.4s ease-in-out infinite; transform-origin: center; }
@keyframes fatia { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .espera .simbolo-anim .fatia, .digitando i { animation: none; } html { scroll-behavior: auto; } }
.qr { width: 180px; height: 180px; background: var(--branco); padding: 10px; border: 1px solid var(--linha); border-radius: var(--r-1); }
.pix-box { display: grid; gap: 16px; align-items: center; }
@media (min-width: 640px) { .pix-box { grid-template-columns: auto 1fr; } }
.copia { display: flex; gap: 8px; }
.copia input { font-family: var(--mono); font-size: .8125rem; }
.saldo-conta { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: .9375rem; }
.saldo-conta .num { text-align: right; }
.saldo-conta .depois { font-weight: 600; border-top: 1px solid var(--linha); padding-top: 6px; }
.checklist-param { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checklist-param li { display: flex; gap: 10px; font-size: .9375rem; }
.checklist-param li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border: 2px solid var(--petroleo); border-radius: 3px; }

/* ---------- console interno ---------- */
.console { background: #F3F6F5; }
.console-corpo { display: grid; min-height: calc(100vh - 32px); }
@media (min-width: 1000px) { .console-corpo { grid-template-columns: 232px minmax(0, 1fr); } }
.console-lado { background: var(--petroleo); color: var(--branco); padding: 16px 12px; }
.console-lado .marca-link img { height: 24px; }
.console-lado .rot-console { display: inline-block; margin: 10px 0 12px 4px; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--carvao); background: var(--lima); padding: 3px 8px; font-weight: 700; border-radius: 2px; }
.console-lado nav { display: none; }
.console-lado nav.aberto { display: block; }
@media (min-width: 1000px) { .console-lado { position: sticky; top: 0; height: 100vh; overflow-y: auto; } .console-lado nav { display: block; } .console-lado .menu-botao { display: none; } }
.console-lado .topo-lado { display: flex; justify-content: space-between; align-items: center; }
.console-lado .menu-botao { background: transparent; border-color: rgba(255,255,255,.35); color: var(--branco); }
.console-lado nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; color: var(--agua); text-decoration: none; border-radius: var(--r-1); font-weight: 500; }
.console-lado nav a:hover { background: rgba(255,255,255,.08); }
.console-lado nav a[aria-current="page"] { background: var(--petroleo-escuro); color: var(--branco); box-shadow: inset 3px 0 0 var(--lima); }
.console-lado nav .num-fila { margin-left: auto; font: 500 .75rem var(--mono); background: rgba(255,255,255,.12); padding: 1px 7px; border-radius: 10px; }
.console-lado .quem-sou { border-top: 1px solid rgba(255,255,255,.15); margin-top: 16px; padding-top: 14px; font-size: .8125rem; color: var(--sobre-petroleo-2); }
.console-lado .quem-sou strong { color: var(--branco); display: block; font-size: .9375rem; }
.console-main { padding: 20px 16px 64px; min-width: 0; }
@media (min-width: 900px) { .console-main { padding: 28px 32px 64px; } }
.console .card { box-shadow: none; }

.filtros { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 16px; padding: 14px 16px; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-2); }
.filtros .campo { margin: 0; min-width: 160px; flex: 1; }
.filtros .campo label { font-size: .8125rem; }

.sem { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .875rem; }
.sem i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.sem.folga i { background: var(--oliva); }
.sem.apertado i { background: var(--branco); border: 3px solid var(--erro); }
.sem.estourado i { background: var(--erro); }
.sem.estourado { color: var(--erro); font-weight: 600; }
.gate { display: inline-flex; gap: 3px; }
.gate b { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.gate b.v { background: var(--oliva); }
.gate b.x { background: var(--erro); }
.gate b.p { background: #D7E1DF; }
.cont { font: 500 .8125rem var(--mono); padding: 2px 7px; border-radius: 3px; background: #EDF2F1; color: var(--carvao); }
.cont.dec { background: #FFF0EE; color: var(--erro); }
.cont.conf { background: var(--agua); color: var(--petroleo); }
.estagio { font-size: .8125rem; font-weight: 600; color: var(--petroleo); }

.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-2); padding: 14px 16px; }
.kpi .k { font-size: .8125rem; color: var(--texto-2); font-weight: 500; }
.kpi .v { font: 500 1.6rem var(--mono); color: var(--petroleo); line-height: 1.2; margin: 4px 0 2px; }
.kpi .s { font-size: .8125rem; color: var(--texto-2); }
.kpi .s.bom { color: var(--oliva-texto); font-weight: 500; }
.kpi .s.ruim { color: var(--erro); font-weight: 500; }
.barra-meta { height: 8px; background: #E1EAE8; border-radius: 4px; position: relative; margin-top: 8px; }
.barra-meta > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--petroleo); }
.barra-meta > i.acima { background: var(--erro); }
.barra-meta > b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--carvao); }

/* ---------- conferência do caso ---------- */
.caso-layout { display: grid; gap: 20px; }
@media (min-width: 1180px) { .caso-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .visual-col { position: sticky; top: 16px; align-self: start; } }
.dl-param { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .9375rem; }
.dl-param dt { color: var(--texto-2); }
.dl-param dd { margin: 0; text-align: right; }
.achado { border: 1px solid var(--linha); border-radius: var(--r-2); padding: 14px 16px; background: var(--branco); }
.achado + .achado { margin-top: 10px; }
.achado .topo { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 4px; }
.achado p { margin: 0 0 6px; font-size: .9375rem; }
.achado.decidir { border-color: #F1B8B2; box-shadow: inset 4px 0 0 var(--erro); }
.achado.decidir.resolvido { border-color: #C9DD97; box-shadow: inset 4px 0 0 var(--oliva); }
.ref-id { font: 500 .8125rem var(--mono); color: var(--petroleo); background: var(--agua); border: 0; padding: 4px 8px; border-radius: 3px; cursor: pointer; min-height: 32px; text-decoration: underline; text-underline-offset: 2px; }
.ref-id:hover { background: var(--agua-forte); }
.variante { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--linha); font-size: .9375rem; }
.variante:last-child { border-bottom: 0; }
.pdf-visor { background: #5B6B6D; border-radius: var(--r-2); padding: 16px; height: 620px; overflow: auto; }
.pdf-pagina { background: var(--branco); max-width: 520px; margin: 0 auto 16px; padding: 28px 30px; font-size: .75rem; line-height: 1.55; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.25); position: relative; min-height: 640px; }
.pdf-pagina .rod { position: absolute; left: 30px; right: 30px; bottom: 16px; display: flex; justify-content: space-between; font: 400 .625rem var(--mono); color: #6B6B6B; }
.pdf-pagina .lin { height: 8px; background: #E8ECEB; border-radius: 2px; margin: 7px 0; }
.pdf-pagina .lin.m { width: 72%; } .pdf-pagina .lin.c { width: 45%; }
.pdf-pagina .realce { background: rgba(183, 219, 72, .5); outline: 2px solid var(--oliva); padding: 2px 4px; }
.pdf-pagina h4 { font-size: .8125rem; color: #222; text-align: center; margin-bottom: 12px; }
.pdf-pagina table { width: 100%; border-collapse: collapse; font: 400 .6875rem var(--mono); }
.pdf-pagina td, .pdf-pagina th { border: 1px solid #CFD6D5; padding: 3px 5px; }
.pdf-pagina th { background: #EEF2F1; font-family: var(--fonte); }
.checklist-lib { display: grid; gap: 2px; }
.cronometro { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-2); background: var(--carvao); color: var(--papel); }
.cronometro .tempo { font: 500 1.6rem var(--mono); color: var(--lima); }
.cronometro .barra-prog { flex: 1; min-width: 160px; background: #2E4247; }
.cronometro .barra-prog > div { background: var(--lima); }
.cronometro .rot { font-size: .875rem; color: #C9D6D4; }
.liberacao { position: sticky; bottom: 0; z-index: 20; background: var(--branco); border-top: 1px solid var(--linha); padding: 14px 16px; margin: 20px -16px -64px; box-shadow: 0 -6px 18px rgba(22,38,42,.08); }
@media (min-width: 900px) { .liberacao { margin: 20px -32px -64px; padding: 14px 32px; } }
.liberacao .porque { font-size: .875rem; color: var(--texto-2); }
.trilha { font-size: .875rem; }
.trilha td:first-child { white-space: nowrap; }

/* ---------- dialog ---------- */
dialog { border: 0; border-radius: var(--r-2); padding: 0; width: min(520px, calc(100vw - 24px)); box-shadow: 0 24px 64px rgba(12,74,80,.35); color: var(--carvao); }
dialog::backdrop { background: rgba(22, 38, 42, .55); }
dialog .dlg-cab { padding: 18px 20px 0; }
dialog .dlg-corpo { padding: 12px 20px; }
dialog .dlg-pe { padding: 12px 20px 20px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--carvao); color: var(--papel); padding: 12px 18px; border-radius: var(--r-2); opacity: 0; transition: .2s; z-index: 120; max-width: calc(100vw - 32px); font-size: .9375rem; box-shadow: var(--sombra-2); }
.toast.mostra { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- entrar ---------- */
.entrar-layout { display: grid; min-height: 100vh; min-height: 100dvh; }
@media (min-width: 1000px) { .entrar-layout { grid-template-columns: 1fr 1fr; } }
.entrar-lado { padding: 32px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.entrar-lado img.logo { height: 32px; width: auto; }
.entrar-lado blockquote { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.3; max-width: 22ch; }
.entrar-lado ul { padding-left: 20px; color: var(--agua); }
.entrar-lado li { margin-bottom: 8px; }
@media (max-width: 999px) { .entrar-lado .extra { display: none; } .entrar-lado { padding: 20px; } }
.entrar-form { padding: 32px 20px 64px; display: flex; justify-content: center; }
.entrar-form > div { width: 100%; max-width: 480px; }

/* ---------- índice ---------- */
.indice-lista { display: grid; gap: 10px; counter-reset: ind; list-style: none; padding: 0; }
@media (min-width: 760px) { .indice-lista { grid-template-columns: 1fr 1fr; } }
.indice-lista a { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--r-2); text-decoration: none; color: var(--carvao); min-height: 64px; }
.indice-lista a:hover { border-color: var(--petroleo); }
.indice-lista a b { font: 500 .875rem var(--mono); color: var(--lima); background: var(--petroleo); height: 32px; display: grid; place-items: center; clip-path: polygon(var(--corte) 0, 100% 0, 80% 100%, 0 100%); }
.indice-lista a span strong { color: var(--petroleo); display: block; }
.indice-lista a span small { color: var(--texto-2); }

.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt1 { margin-top: 8px; } .mt2 { margin-top: 16px; } .mt3 { margin-top: 24px; } .mb2 { margin-bottom: 16px; }
.flex-entre { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- ajustes ---------- */
.pedido-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1180px) { .pedido-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
[tabindex="-1"]:focus { outline: none; box-shadow: none; }
.check.tem-erro span { color: var(--erro); }
.check.tem-erro input { outline: 2px solid var(--erro); outline-offset: 2px; }
.aviso { flex-wrap: wrap; }
.aviso .corpo { flex: 1 1 220px; }
@media (max-width: 479px) { .rot-saldo { display: none; } .app-topo .avatar { display: none; } .app-topo .barra { padding: 0 12px; } }

.plano.escuro { background: var(--petroleo); color: var(--branco); }
.plano.escuro h3, .plano.escuro h4 { color: var(--branco); }
.relatorio-mini { overflow: hidden; }
.relatorio-mini .muted, .relatorio-mini .total-lbl { color: var(--texto-2); }
@media (max-width: 480px) { .relatorio-cab { flex-direction: column; } .relatorio-cab .rc-dir { text-align: left; } }

/* ---------- telas logadas ligadas à API (29/09/2026) ---------- */
/* nada da tela aparece antes de a sessão ser conferida (sem sessão = /entrar.html) */
body[data-logada]:not(.sessao-ok) .app-main,
body[data-logada]:not(.sessao-ok) .console-main { visibility: hidden; }
.vazio { padding: 14px 0; color: var(--texto-2); }
.acoes-linha { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.msg-form { font-size: .9375rem; margin: 8px 0 0; }
.msg-form.erro { color: var(--erro); font-weight: 500; }
.msg-form.ok { color: var(--oliva-texto); font-weight: 500; }
.link-copia { font: 400 .8125rem var(--mono); word-break: break-all; background: var(--agua); padding: 8px 10px; border-radius: var(--r-1); }
.lista-pend li { padding: 6px 0; }
body:not(.com-2fa) [data-2fa] { display: none !important; }   /* 2FA desligado no servidor (JP_2FA=0, padrão) */
.qr-2fa { width: 180px; height: 180px; image-rendering: pixelated; background: #fff; }
.codigos { font: 500 .9375rem var(--mono); columns: 2; }
.tabela td .btn { white-space: nowrap; }
.nav-sair { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; text-align: left; }

/* ---------- Entrar com Google (29/09/2026): padrão de marca do Google, tema claro ----------
   Botão branco, borda #747775, texto #1F1F1F, logo "G" de 4 cores à esquerda, altura 44 px (toque). */
.google-bloco { margin: 0 0 4px; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  min-height: 44px; padding: 10px 16px; border-radius: var(--r-1);
  background: #FFFFFF; color: #1F1F1F; border: 1px solid #747775;
  font: 500 1rem/1.2 Roboto, "IBM Plex Sans", arial, sans-serif; letter-spacing: .25px; text-decoration: none; cursor: pointer;
  transition: background-color .15s, box-shadow .15s;
}
.btn-google:hover { background: #F7F8F8; box-shadow: 0 1px 2px rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); }
.btn-google:active { background: #EEF0F0; }
.btn-google .g-logo { width: 20px; height: 20px; flex: none; }
.separador-ou { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--texto-2); font-size: .875rem; }
.separador-ou::before, .separador-ou::after { content: ""; flex: 1; border-top: 1px solid var(--linha); }

/* ---------- senha: olho, regras vivas e repetição (01/10/2026) ---------- */
.senha-caixa { position: relative; display: block; width: 100%; }
.senha-caixa input { padding-right: 52px; }
.senha-olho { position: absolute; top: 2px; right: 2px; bottom: 2px; width: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: var(--r-1); color: var(--petroleo); cursor: pointer; padding: 0; }
.senha-olho:hover { background: var(--agua); }
.senha-olho svg { width: 22px; height: 22px; }
.senha-regras { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 2px; font-size: .875rem; color: var(--texto-2); }
.senha-regras li { display: flex; gap: 8px; align-items: center; }
.senha-regras .marca { display: inline-flex; width: 18px; height: 18px; flex: none; }
.senha-regras .marca svg { width: 18px; height: 18px; }
.senha-regras li.ok { color: var(--oliva-texto); font-weight: 500; }
.senha-confere { font-size: .875rem; font-weight: 500; margin: 0; min-height: 1.25em; display: flex; gap: 6px; align-items: center; }
.senha-confere svg { width: 18px; height: 18px; flex: none; }
.senha-confere.ok { color: var(--oliva-texto); }
.senha-confere.erro { color: var(--erro); }
input[aria-invalid="true"] { border-color: var(--erro); }

/* ---------- endereço com CEP (01/10/2026) ---------- */
.endereco-bloco { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.endereco-bloco legend { font-weight: 600; font-size: 1rem; color: var(--carvao); padding: 0; margin-bottom: 4px; }
.endereco-bloco .endereco-intro { font-size: .875rem; color: var(--texto-2); margin: 0 0 12px; }
.endereco-bloco .cep-status { font-size: .8125rem; color: var(--texto-2); min-height: 1.2em; }
.endereco-bloco .cep-status.erro { color: var(--erro); font-weight: 500; }
.endereco-bloco .cep-status.ok { color: var(--oliva-texto); font-weight: 500; }
.endereco-bloco .linha-campos > .campo { min-width: 0; }
@media (min-width: 560px) { .endereco-bloco .c-cep { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .endereco-bloco .c-num { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .endereco-bloco .c-cid { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } }

/* ---------- movimento da área do cliente (redesign 01/10/2026): só resposta a estado, nada em loop sem motivo ---------- */
.toast { transition: opacity var(--dur-2) var(--ease-saida), transform var(--dur-2) var(--ease-saida); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes jp-enche { from { transform: scaleX(0); } }
  @keyframes jp-dialogo { from { opacity: 0; transform: translateY(12px) scale(.98); } }
  @keyframes jp-etapa { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
  @keyframes jp-esq { to { background-position: -200% 0; } }
  .passos-wiz li.atual::before, .passos-wiz li.feito::before { transform-origin: left; animation: jp-enche 300ms var(--ease-saida) backwards; }
  .lt li.atual::before { animation: jp-etapa 1.8s var(--ease-io) 3; }
  dialog[open] { animation: jp-dialogo var(--dur-2) var(--ease-saida); }
  .esqueleto-linha { color: transparent; border-radius: var(--r-2); min-height: 120px; background: linear-gradient(90deg, #EEF3F2 30%, #E2EBE9 50%, #EEF3F2 70%) 0 0 / 200% 100%; animation: jp-esq 1.4s linear infinite; }
}
