/* =====================================================================
   ÍTALO ALVES TI — site público (mesma identidade do sistema)
   ===================================================================== */
:root {
  --bg: #070b14;
  --bg-2: #0b1222;
  --surface: #0f1729;
  --surface-2: #131d33;
  --border: #1d2a45;
  --border-strong: #2a3a5e;
  --text: #e6edf7;
  --text-2: #a7b4cc;
  --text-3: #6f7f9c;
  --cyan: #22d3ee;
  --indigo: #6366f1;
  --grad: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  --wa: #25d366;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --max: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.topo .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.marca:hover { text-decoration: none; }
.marca img { width: 36px; height: 36px; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { color: var(--text-2); padding: 8px 12px; border-radius: 8px; font-size: .93rem; }
.menu a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); color: var(--text); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 600; font-size: .95rem; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; transition: transform .1s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn-pri { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 30px rgba(34, 211, 238, .25); }
.btn-pri:hover { background: var(--grad); box-shadow: 0 10px 36px rgba(99, 102, 241, .4); }
.btn-wa { background: var(--wa); border-color: transparent; color: #06240f; }
.btn-wa:hover { background: var(--wa); filter: brightness(1.06); }
.btn-sm { padding: 8px 14px; font-size: .88rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(34, 211, 238, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 211, 238, .06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(99, 102, 241, .28), transparent 60%); filter: blur(10px); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.selo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; color: var(--cyan); border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .07); padding: 5px 12px; border-radius: 99px; letter-spacing: .03em; }
.selo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; margin: 18px 0 16px; }
.hero p.lead { color: var(--text-2); font-size: 1.12rem; max-width: 560px; margin: 0 0 28px; }
.hero-acoes { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-fatos { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; color: var(--text-2); font-size: .9rem; }
.hero-fatos b { display: block; color: var(--text); font-size: 1rem; }

/* painel ilustrativo do hero (diagnóstico) */
.terminal { background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(34, 211, 238, .08); overflow: hidden; }
.terminal-top { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); align-items: center; }
.terminal-top i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.terminal-top span { margin-left: 8px; font-family: var(--mono); font-size: .75rem; color: var(--text-3); }
.terminal-body { padding: 18px 18px 20px; font-family: var(--mono); font-size: .85rem; }
.diag { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.diag:last-child { border-bottom: 0; }
.diag .ok { color: #34d399; } .diag .warn { color: #fbbf24; } .diag .bad { color: #f87171; }
.barra-diag { height: 6px; background: var(--surface); border-radius: 99px; margin: 14px 0 6px; overflow: hidden; }
.barra-diag span { display: block; height: 100%; width: 78%; background: var(--grad); animation: carrega 2.4s ease-in-out infinite alternate; }
@keyframes carrega { from { width: 35%; } to { width: 92%; } }

/* ---------- seções ---------- */
section.sec { padding: 84px 0; }
section.sec.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head .kicker { font-family: var(--mono); font-size: .78rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 10px 0 12px; }
.sec-head p { color: var(--text-2); margin: 0; }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.card { color: var(--text); display: block; }
a.card:hover, .card.hover:hover { text-decoration: none; border-color: rgba(34, 211, 238, .45); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.card h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.card p { color: var(--text-2); margin: 0; font-size: .95rem; }
.ico-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 211, 238, .1); color: var(--cyan); border: 1px solid rgba(34, 211, 238, .25); }
.ico-box svg { width: 22px; height: 22px; }
.card .mais { display: inline-block; margin-top: 14px; font-size: .88rem; color: var(--cyan); font-weight: 600; }

.passos { counter-reset: passo; }
.passo { position: relative; padding-top: 52px; }
.passo::before { counter-increment: passo; content: "0" counter(passo); position: absolute; top: 18px; left: 24px; font-family: var(--mono); font-weight: 700; font-size: 1.3rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.atend { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.atend .card { padding: 30px; }
.atend .card h3 { font-size: 1.3rem; }
.atend ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.atend li { padding: 5px 0 5px 26px; position: relative; }
.atend li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* problemas (acordeão) */
.acordeao details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; }
.acordeao summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::after { content: "+"; font-family: var(--mono); color: var(--cyan); font-size: 1.3rem; transition: transform .2s; }
.acordeao details[open] summary::after { transform: rotate(45deg); }
.acordeao details[open] { border-color: var(--border-strong); }
.acordeao .resp { padding: 0 20px 18px; color: var(--text-2); }
.acordeao .resp p { margin: 0 0 10px; }

.cta { text-align: center; background: radial-gradient(ellipse at top, rgba(99, 102, 241, .25), transparent 60%), var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; padding: 56px 24px; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta p { color: var(--text-2); margin: 0 auto 26px; max-width: 560px; }

/* ---------- rodapé ---------- */
footer.rodape { border-top: 1px solid var(--border); padding: 44px 0 30px; color: var(--text-3); font-size: .9rem; }
footer.rodape .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
footer.rodape h4 { color: var(--text); margin: 0 0 10px; font-size: .95rem; }
footer.rodape a { color: var(--text-2); }
footer.rodape ul { list-style: none; margin: 0; padding: 0; }
footer.rodape li { padding: 3px 0; }
.rodape-base { max-width: var(--max); margin: 30px auto 0; padding: 18px 22px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.area-tec { font-family: var(--mono); font-size: .78rem; color: var(--text-3) !important; }

/* ---------- artigos ---------- */
.artigo-hero { padding: 60px 0 30px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.artigo-hero .crumb { font-family: var(--mono); font-size: .8rem; color: var(--text-3); }
.artigo-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 12px 0 10px; max-width: 820px; }
.artigo-hero p { color: var(--text-2); max-width: 760px; margin: 0; font-size: 1.08rem; }
.artigo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 44px 22px 70px; }
.artigo .conteudo { font-size: 1.04rem; color: #d3dceb; }
.artigo .conteudo h2 { font-size: 1.4rem; margin: 34px 0 10px; color: var(--text); }
.artigo .conteudo h3 { font-size: 1.12rem; margin: 22px 0 8px; color: var(--text); }
.artigo .conteudo p, .artigo .conteudo li { color: #c7d2e3; }
.artigo .conteudo li { margin: 6px 0; }
.artigo .conteudo strong { color: var(--text); }
.callout { border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .06); border-radius: 12px; padding: 16px 18px; margin: 22px 0; }
.callout.alerta { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .07); }
.lateral { position: sticky; top: 90px; align-self: start; display: grid; gap: 16px; }
.lateral .card h3 { margin-top: 0; }
.lista-links { list-style: none; padding: 0; margin: 10px 0 0; }
.lista-links li { padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.lista-links li:last-child { border: 0; }

/* ---------- assistente (chat) ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 99px; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 12px 34px rgba(34, 211, 238, .35); }
.chat-fab svg { width: 22px; height: 22px; }
.chat-fab .pulso { position: absolute; inset: -4px; border-radius: 99px; border: 2px solid rgba(34, 211, 238, .5); animation: pulso 2s infinite; pointer-events: none; }
@keyframes pulso { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 380px; max-width: calc(100vw - 24px); height: 590px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overflow: hidden; transform: translateY(16px) scale(.98); opacity: 0; pointer-events: none; transition: all .2s; }
.chat.aberto { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, rgba(34, 211, 238, .15), rgba(99, 102, 241, .15)); border-bottom: 1px solid var(--border); }
.chat-head img { width: 38px; height: 38px; }
.chat-head b { display: block; }
.chat-head small { color: var(--text-2); font-size: .78rem; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.chat-head button { margin-left: auto; background: none; border: 0; color: var(--text-2); font-size: 1.4rem; cursor: pointer; width: 34px; height: 34px; border-radius: 8px; }
.chat-head button:hover { background: var(--surface); color: var(--text); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.45; white-space: pre-wrap; animation: entra .2s ease; }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } }
.msg.bot { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.eu { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.digitando { color: var(--text-3); font-family: var(--mono); }
.resumo { font-family: var(--mono); font-size: .8rem; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: 10px; padding: 10px 12px; white-space: pre-wrap; align-self: stretch; }
.opcoes { display: flex; flex-wrap: wrap; gap: 7px; align-self: flex-start; }
.opcoes button { font: inherit; font-size: .86rem; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .06); color: var(--text); cursor: pointer; }
.opcoes button:hover { background: rgba(34, 211, 238, .16); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--bg); }
.chat-form input, .chat-form textarea { flex: 1; font: inherit; font-size: .93rem; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; resize: none; }
.chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--cyan); }
.chat-form button { border: 0; border-radius: 10px; width: 44px; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-form button:disabled { opacity: .4; }
.chat-legal { font-size: .72rem; color: var(--text-3); padding: 0 14px 10px; background: var(--bg); }
.chat-legal a { color: var(--text-2); }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artigo { grid-template-columns: 1fr; }
  .lateral { position: static; }
  footer.rodape .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px 16px 16px; }
  body.menu-on .menu { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .topo .btn-topo { display: none; }
  .hero { padding: 54px 0 50px; }
  section.sec { padding: 60px 0; }
  .g4, .g3, .g2, .atend { grid-template-columns: 1fr; }
  footer.rodape .wrap { grid-template-columns: 1fr; }
  .chat { right: 12px; bottom: 12px; height: calc(100vh - 24px); }
  .chat-fab span.txt { display: none; }
  .chat-fab { padding: 15px; }
}

/* =====================================================================
   v2 — ferramentas, rastreio, preços, galeria, avaliações, plano
   ===================================================================== */
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
a.terminal { display: block; color: var(--text); transition: transform .2s, box-shadow .2s; }
a.terminal:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(34, 211, 238, .4); }
.terminal-cta { color: var(--cyan); font-size: .8rem; margin-top: 4px; }
.pagina-larga { padding: 44px 22px 70px; }
.kicker { font-family: var(--mono); font-size: .78rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; }
.sub { color: var(--text-3); font-size: .85rem; }
.lista-check { list-style: none; padding: 0; margin: 14px 0; }
.lista-check li { padding: 5px 0 5px 28px; position: relative; color: var(--text-2); }
.lista-check li::before { content: ""; position: absolute; left: 5px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* WhatsApp flutuante (acima do Fale comigo) */
.wa-fab { position: fixed; right: 26px; bottom: 92px; z-index: 59; width: 52px; height: 52px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, .35); transition: transform .15s; }
.wa-fab:hover { transform: scale(1.06); text-decoration: none; }
.chat.aberto ~ .wa-fab, body.chat-on .wa-fab { display: none; }

/* preços */
.tabela-precos { width: 100%; border-collapse: collapse; }
.tabela-precos td { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.tabela-precos tr:last-child td { border: 0; }
.tabela-precos .r { text-align: right; white-space: nowrap; color: var(--cyan); }

/* galeria antes/depois */
.antes-depois { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ad-fotos { display: grid; grid-template-columns: 1fr 1fr; }
.ad-fotos div { position: relative; aspect-ratio: 4/3; }
.ad-fotos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-fotos span { position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; background: rgba(0, 0, 0, .65); padding: 2px 8px; border-radius: 99px; }
.antes-depois figcaption { padding: 14px 16px; color: var(--text-2); font-size: .92rem; }

/* avaliações */
.estrelas { color: #fbbf24; letter-spacing: 2px; font-size: 1.05rem; }
.avaliacao p { color: var(--text); margin: 10px 0; font-style: italic; }

/* plano anual */
.plano { display: grid; grid-template-columns: 1.4fr .8fr; gap: 30px; padding: 34px; background: radial-gradient(ellipse at top right, rgba(99, 102, 241, .22), transparent 60%), var(--surface); border-color: var(--border-strong); }
.plano h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 10px 0; }
.plano p { color: var(--text-2); }
.plano-lado { display: flex; flex-direction: column; justify-content: center; gap: 14px; text-align: center; border-left: 1px dashed var(--border-strong); padding-left: 30px; }
.plano-preco { font-size: 2.2rem; font-weight: 800; }
.plano-preco small { font-size: .9rem; color: var(--text-3); font-weight: 400; }

/* sobre */
.sobre { display: flex; gap: 26px; align-items: flex-start; }
.sobre-foto { width: 180px; height: 180px; object-fit: cover; border-radius: 18px; border: 1px solid var(--border-strong); flex-shrink: 0; }

/* ---------- ferramentas ---------- */
.ferramenta { padding: 36px 22px 80px; }
.ferr-app { max-width: 880px; }
.ferr-app .card + .card { margin-top: 18px; }
.passo-ferr { font-family: var(--mono); font-size: .78rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; }
.ferr-app h2 { font-size: 1.3rem; margin: 6px 0 14px; }
.opcoes-grandes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.opc { text-align: left; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.opc:hover { border-color: var(--cyan); }
.opc.sel { border-color: var(--cyan); background: rgba(34, 211, 238, .1); box-shadow: 0 0 0 1px var(--cyan) inset; }
.opc small { display: block; color: var(--text-3); margin-top: 3px; font-size: .8rem; }
.ferr-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.dados-aparelho { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.dado { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.dado span { display: block; font-size: .75rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.dado b { font-family: var(--mono); font-weight: 600; font-size: .95rem; }
.laudo-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.laudo-item:last-child { border: 0; }
.nivel { flex-shrink: 0; font-family: var(--mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; height: fit-content; }
.nivel.alto { background: rgba(248, 113, 113, .15); color: #f87171; }
.nivel.medio { background: rgba(251, 191, 36, .15); color: #fbbf24; }
.nivel.baixo { background: rgba(52, 211, 153, .15); color: #34d399; }
.laudo-item h3 { margin: 0 0 4px; font-size: 1rem; }
.laudo-item p { margin: 0; color: var(--text-2); font-size: .93rem; }
.veredito { font-size: 1.5rem; font-weight: 800; margin: 4px 0 10px; }
.medidor { position: relative; width: 240px; height: 140px; margin: 10px auto; }
.medidor-valor { text-align: center; font-family: var(--mono); font-size: 2.6rem; font-weight: 700; }
.medidor-unid { text-align: center; color: var(--text-3); }
.config-tabela { width: 100%; border-collapse: collapse; margin-top: 8px; }
.config-tabela td { padding: 11px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
.config-tabela td:first-child { color: var(--text-3); width: 34%; font-size: .9rem; }
.abas { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.aba { font: inherit; font-size: .9rem; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer; }
.aba.ativo { border-color: var(--cyan); color: var(--text); background: rgba(34, 211, 238, .1); }
.teclado { display: grid; gap: 5px; user-select: none; }
.teclado .linha { display: flex; gap: 5px; }
.tecla { flex: 1; min-width: 0; height: 42px; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 7px; color: var(--text-2); transition: background .1s; }
.tecla.on { background: var(--grad); color: #fff; border-color: transparent; }
.tecla.foi { background: rgba(52, 211, 153, .18); color: var(--text); border-color: rgba(52, 211, 153, .5); }
.tela-cheia { position: fixed; inset: 0; z-index: 200; cursor: pointer; }
.tela-cheia .dica-tela { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(0, 0, 0, .6); color: #fff; padding: 6px 14px; border-radius: 99px; font-size: .85rem; }
.nivel-mic { height: 14px; background: var(--surface-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.nivel-mic span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .05s; }
video.cam { width: 100%; max-width: 560px; border-radius: 12px; background: #000; transform: scaleX(-1); }
.rastreio { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.campo label { display: block; font-size: .8rem; color: var(--text-2); margin-bottom: 5px; font-weight: 600; }
.campo input, .campo select, .ferr-app input, .ferr-app select { width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 12px; }
.campo input:focus, .ferr-app input:focus, .ferr-app select:focus { outline: none; border-color: var(--cyan); }
.status-os { margin-top: 18px; }
.trilha { display: flex; gap: 0; margin: 18px 0 8px; }
.trilha div { flex: 1; text-align: center; font-size: .72rem; color: var(--text-3); position: relative; padding-top: 22px; }
.trilha div::before { content: ""; position: absolute; top: 6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border-strong); z-index: 1; }
.trilha div::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--border-strong); }
.trilha div:first-child::after { display: none; }
.trilha div.feito { color: var(--text); }
.trilha div.feito::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.trilha div.feito::after { background: var(--cyan); }

@media (max-width: 1100px) { .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .plano { grid-template-columns: 1fr; } .plano-lado { border-left: 0; padding-left: 0; border-top: 1px dashed var(--border-strong); padding-top: 20px; } }
@media (max-width: 720px) {
  .g5 { grid-template-columns: 1fr; }
  .rastreio { grid-template-columns: 1fr; }
  .sobre { flex-direction: column; }
  .wa-fab { right: 18px; bottom: 84px; }
  .tecla { height: 34px; font-size: .6rem; }
  .trilha div { font-size: .6rem; }
}
.kv-pub { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 14px 0 0; }
.kv-pub dt { color: var(--text-3); }
.kv-pub dd { margin: 0; }
.callout { border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .06); border-radius: 12px; padding: 14px 16px; }
.callout.alerta { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .07); }
