/* Encanador no Preço Certo — app (adaptado do Elétrica no Preço Certo, 31-10-2026). Tema branco com detalhes âmbar (madeira):
   fundo branco, cinza quente nos campos, âmbar #0284C7 no microfone, nos botões e nos destaques; texto nogueira #0C243C. Cor por tipo de item. Fonte Poppins. */
:root {
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --card-2: #F6F7F9;
  --ink: #0C243C;
  --ink-2: #0C243C;
  --muted: #6F655D;
  --dim: #A39A92;
  --line: #ECEEF2;
  --line-2: #D9DEE5;

  --brand: #0284C7;
  --brand-d: #0369A1;
  --brand-l: #E0F2FE;
  --brand-ink: #0C243C;
  --brand-txt: #075985;
  --ice: #BAE6FD;
  --logo-navy: #0C243C;
  --logo-cyan: #0369A1;

  --cobre: #DD7436;  --cobre-l: #FDEDE2;
  --gelo: #0EA5E9;   --gelo-l: #E0F5FC;
  --volt: #E29E00;   --volt-l: #FFF4D4;
  --agua: #10A58C;   --agua-l: #DBF5F0;
  --roxo: #7454EE;   --roxo-l: #EEEAFF;
  --azul: #1765FF;   --azul-l: #E6EEFF;
  --rosa: #E8396A;   --rosa-l: #FDE5EC;
  --ok: #12A862;     --ok-l: #DFF5E9;
  --wa: #25D366;

  --r-sm: 14px;
  --r: 22px;
  --r-lg: 28px;
  --sh: 0 0 0 1px rgba(16, 24, 40, .06), 0 1px 2px rgba(40, 25, 14, .04), 0 12px 32px -14px rgba(40, 25, 14, .14);
  --sh-2: 0 2px 6px rgba(40, 25, 14, .06), 0 24px 48px -20px rgba(40, 25, 14, .28);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --pad: 20px;
}

.c-cobre { --c: var(--cobre); --cl: var(--cobre-l); }
.c-gelo  { --c: var(--gelo);  --cl: var(--gelo-l); }
.c-volt  { --c: var(--volt);  --cl: var(--volt-l); }
.c-agua  { --c: var(--agua);  --cl: var(--agua-l); }
.c-roxo  { --c: var(--roxo);  --cl: var(--roxo-l); }
.c-azul  { --c: var(--azul);  --cl: var(--azul-l); }
.c-rosa  { --c: var(--rosa);  --cl: var(--rosa-l); }
.c-ok    { --c: var(--ok);    --cl: var(--ok-l); }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  overscroll-behavior: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
i.ph-bold, i.ph-fill { font-size: 20px; line-height: 1; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.toque { transition: transform .14s ease, opacity .14s ease; cursor: pointer; user-select: none; -webkit-user-select: none; }
.toque:active { transform: scale(.97); }

/* ---------- palco e aparelho ---------- */
.stage { height: 100%; }
.phone { position: relative; height: 100%; width: 100%; overflow: hidden; overflow: clip; background: var(--bg); isolation: isolate; }
.sbar, .barra-home { display: none; }

body.moldura {
  background:
    radial-gradient(800px 560px at 15% 10%, rgba(2, 132, 199, .12), transparent 62%),
    #F7F3EF;
}
body.moldura .stage { display: grid; place-items: center; min-height: 100%; padding: 24px; }
body.moldura .phone {
  width: 402px; height: 874px; max-height: calc(100vh - 48px);
  border-radius: 58px;
  box-shadow: 0 0 0 10px #0E1A2A, 0 0 0 11.5px #34465C, 0 50px 110px -24px rgba(40, 25, 14, .45);
  --safe-top: 54px;
  --safe-bot: 24px;
}
body.moldura .sbar {
  display: flex; position: absolute; z-index: 90; top: 0; left: 0; right: 0; height: 54px;
  align-items: center; justify-content: space-between; padding: 6px 30px 0 46px;
  font-weight: 700; font-size: 16px; pointer-events: none; color: var(--ink);
}
body.moldura.sbar-clara .sbar { color: #fff; }
.sb-island { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 122px; height: 35px; border-radius: 20px; background: #000; }
.sb-icons { display: flex; gap: 6px; align-items: center; }
.sb-icons svg { fill: currentColor; }
.sb-bat { width: 26px; height: 12.5px; border-radius: 4px; border: 1.3px solid currentColor; padding: 1.5px; position: relative; opacity: .9; }
.sb-bat i { display: block; height: 100%; width: 78%; background: currentColor; border-radius: 2px; }
body.moldura .barra-home { display: block; position: absolute; z-index: 95; bottom: 8px; left: 50%; transform: translateX(-50%); width: 136px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .85; pointer-events: none; }
body.moldura.sbar-clara .barra-home { background: #fff; }

/* ---------- área que rola ---------- */
.tela {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: calc(var(--safe-top) + 10px) 0 calc(var(--safe-bot) + 40px);
}
.tela::-webkit-scrollbar { display: none; }
.tela.com-rodape { padding-bottom: calc(var(--safe-bot) + 132px); }
.entra-tela { animation: entraTela .32s cubic-bezier(.2, .8, .2, 1) both; }
.sem-anim .entra-tela { animation: none; }
@keyframes entraTela { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.px { padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- abertura ---------- */
.abertura {
  position: absolute; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: #fff; transition: opacity .45s ease, visibility .45s;
}
.abertura.some { opacity: 0; visibility: hidden; }
.abertura.ja { transition: none; }
.ab-logo { width: 170px; height: auto; animation: abLogo .7s cubic-bezier(.2,.9,.2,1.15) both; }
.ab-frase { font-size: 14px; color: var(--muted); font-weight: 600; animation: entraTela .5s .25s both; }
@keyframes abLogo { from { transform: scale(.8) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- topo do início ---------- */
.topo { display: flex; align-items: center; gap: 10px; padding: 6px var(--pad) 0; }
.marca { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15.5px; letter-spacing: -.03em; color: var(--logo-navy); line-height: 1; white-space: nowrap; }
.marca em { font-style: normal; color: var(--logo-cyan); }
.marca img { width: 50px; height: auto; }
.topo .grow { flex: 1; }
.bolha-ic {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--card); box-shadow: var(--sh); color: var(--ink-2);
}
.bolha-ic .ponto { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--rosa); box-shadow: 0 0 0 2px #fff; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px;
  background: linear-gradient(140deg, #FFB37A, #E8396A); color: #fff; box-shadow: var(--sh);
}

.ola { padding: 22px var(--pad) 0; }
.ola small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.ola h1 { margin: 4px 0 0; font-size: 27px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
.ola h1 span { color: var(--brand-txt); }

/* abas em pílula (no lugar da barra de baixo) */
.abas {
  margin: 18px var(--pad) 0; padding: 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: #F7F3EF; border-radius: 999px;
}
.abas a {
  height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 700; font-size: 13.5px; color: var(--muted); transition: background .2s, color .2s;
}
.abas a i { font-size: 16px; }
.abas a.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(40, 25, 14, .18); }

/* ---------- herói com microfone ---------- */
.heroi {
  position: relative; overflow: hidden; margin: 16px var(--pad) 0; padding: 20px 20px 18px; border-radius: var(--r-lg);
  background: radial-gradient(240px 200px at 88% 45%, rgba(2, 132, 199, .16), transparent 70%), var(--card); color: var(--ink);
  box-shadow: var(--sh);
}
.heroi .ventos { position: absolute; right: -30px; bottom: -20px; width: 260px; opacity: .16; pointer-events: none; stroke: var(--brand); }
.heroi .ventos path { animation: vento 3.2s linear infinite; stroke-dasharray: 14 10; }
@keyframes vento { to { stroke-dashoffset: -48; } }
.heroi .eti { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-txt); }
.heroi h2 { margin: 10px 0 0; font-size: 23px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; max-width: 210px; }
.heroi p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); max-width: 200px; font-weight: 500; }
.heroi .mic {
  position: absolute; right: 22px; top: 50%; transform: translateY(-62%);
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(150deg, #38BDF8, #0369A1); color: var(--brand-ink); box-shadow: 0 14px 30px -10px rgba(2, 132, 199, .6);
}
.heroi .mic i { font-size: 38px; }
.heroi .mic::before, .heroi .mic::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(2, 132, 199, .45);
  animation: onda 2.2s ease-out infinite;
}
.heroi .mic::after { animation-delay: 1.1s; }
@keyframes onda { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.heroi .linha-acoes { display: flex; gap: 8px; margin-top: 18px; position: relative; }
.pilula-vidro {
  height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--card-2); border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--brand-ink);
}
.pilula-vidro i { font-size: 16px; }

/* ---------- números do mês ---------- */
.numeros { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; margin: 14px var(--pad) 0; }
.numero { background: var(--card); border-radius: 20px; padding: 13px 13px 12px; box-shadow: var(--sh); min-width: 0; }
.numero b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.numero span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.25; }
.numero.cor { background: var(--cl); box-shadow: none; }
.numero.cor b { color: var(--c); }

/* ---------- seções ---------- */
.secao { margin-top: 26px; }
.secao-cab { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 var(--pad); margin-bottom: 12px; }
.secao-cab h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.secao-cab small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; margin-top: 2px; }
.secao-cab a { color: var(--brand-txt); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 3px; }

/* agenda em linha do tempo */
.agenda { padding: 0 var(--pad); display: grid; gap: 10px; }
.visita { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: stretch; }
.visita .hora { padding-top: 14px; font-weight: 700; font-size: 13px; color: var(--ink-2); position: relative; }
.visita .hora::after { content: ""; position: absolute; left: 20px; top: 40px; bottom: -14px; width: 2px; border-radius: 2px; background: var(--line-2); }
.visita:last-child .hora::after { display: none; }
.visita .cartao { min-width: 0; background: var(--card); border-radius: 20px; padding: 12px 12px; box-shadow: var(--sh); display: flex; gap: 12px; align-items: center; }
.tile { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--cl); color: var(--c); flex: none; }
.tile i { font-size: 21px; }
.visita .txt { flex: 1; min-width: 0; }
.visita .txt b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.visita .txt span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selo {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; background: var(--cl); color: var(--c); white-space: nowrap; flex: none;
}
.selo i { font-size: 13px; }

/* cartão da limpeza (o extra que vira order bump) */
.limpeza {
  margin: 0 var(--pad); padding: 16px; border-radius: var(--r-lg); position: relative; overflow: hidden;
  background: linear-gradient(140deg, #E2F8F3 0%, #D2F1FB 100%);
}
.limpeza .l-topo { display: flex; gap: 12px; align-items: flex-start; }
.limpeza .tile { background: #fff; color: var(--agua); }
.limpeza b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.limpeza p { margin: 4px 0 0; font-size: 12.5px; color: #3F6464; font-weight: 600; line-height: 1.4; }
.limpeza .l-base { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.rostos { display: flex; }
.rostos span {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff;
  border: 2px solid #E2F8F3; margin-left: -8px;
}
.rostos span:first-child { margin-left: 0; }
.botao-agua {
  height: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--agua); color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 10px 20px -10px rgba(16, 165, 140, .8);
}
.botao-agua i { font-size: 17px; }

/* ---------- botões ---------- */
.botao {
  height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; font-size: 16px; letter-spacing: -.01em; width: 100%;
  background: var(--brand); color: var(--brand-ink); box-shadow: 0 14px 28px -14px rgba(2, 132, 199, .9);
}
.botao i { font-size: 20px; }
.botao.claro { background: var(--card); color: var(--ink); box-shadow: var(--sh); }
.botao.wa { background: var(--wa); color: #fff; box-shadow: 0 14px 28px -14px rgba(37, 211, 102, .9); }
.botao[disabled] { opacity: .45; pointer-events: none; }

/* ---------- cabeçalho de tela interna ---------- */
.cab { display: flex; align-items: center; gap: 10px; padding: 4px var(--pad) 0; min-height: 48px; }
.cab .titulo { flex: 1; text-align: center; min-width: 0; }
.cab .titulo b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.cab .titulo span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- tela de falar ---------- */
.falar-zona { display: grid; justify-items: center; text-align: center; padding: 28px var(--pad) 0; }
.mic-gigante {
  position: relative; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(150deg, #38BDF8, #0369A1); color: var(--brand-ink); box-shadow: 0 24px 50px -18px rgba(2, 132, 199, .9);
}
.mic-gigante i { font-size: 54px; }
.mic-gigante .anel { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(2, 132, 199, .35); animation: onda 2.4s ease-out infinite; }
.mic-gigante .anel:nth-child(2) { animation-delay: .8s; }
.mic-gigante .anel:nth-child(3) { animation-delay: 1.6s; }
.gravando .mic-gigante { background: linear-gradient(150deg, #FF5C86, #E8396A); box-shadow: 0 24px 50px -18px rgba(232, 57, 106, .9); }
.gravando .mic-gigante .anel { border-color: rgba(232, 57, 106, .35); animation-duration: 1.3s; }
.falar-zona h2 { margin: 26px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.falar-zona p { margin: 6px 0 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.cronometro { margin-top: 14px; font-size: 15px; font-weight: 800; color: var(--rosa); display: inline-flex; align-items: center; gap: 7px; }
.cronometro::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rosa); animation: pisca 1s infinite; }
@keyframes pisca { 50% { opacity: .2; } }
.ondas { display: flex; align-items: center; justify-content: center; gap: 3px; height: 44px; margin-top: 14px; }
.ondas i { display: block; width: 4px; border-radius: 4px; background: var(--rosa); height: 8px; transition: height .12s ease; }
.dica {
  margin: 28px var(--pad) 0; padding: 14px 16px; border-radius: 20px; background: var(--card); box-shadow: var(--sh);
  font-size: 14px; line-height: 1.45; color: var(--ink-2); font-weight: 600; text-align: left;
}
.dica small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-txt); margin-bottom: 6px; }
.fala-viva { margin: 26px var(--pad) 0; font-size: 21px; line-height: 1.42; font-weight: 700; letter-spacing: -.015em; text-align: left; min-height: 120px; }
.fala-viva .cursor { display: inline-block; width: 3px; height: 22px; background: var(--rosa); vertical-align: -3px; margin-left: 3px; animation: pisca .8s infinite; }

/* áudio enviado */
.audio-enviado {
  margin: 12px var(--pad) 0; margin-left: auto; width: fit-content; max-width: calc(100% - 2 * var(--pad));
  display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 22px 22px 6px 22px;
  background: var(--brand); color: var(--brand-ink); box-shadow: 0 12px 24px -14px rgba(2, 132, 199, .9);
}
.audio-enviado .play { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--brand-ink); display: grid; place-items: center; }
.audio-enviado .play i { font-size: 15px; }
.audio-enviado .barrinhas { display: flex; align-items: center; gap: 2px; height: 24px; }
.audio-enviado .barrinhas i { display: block; width: 3px; border-radius: 3px; background: rgba(59, 37, 22, .7); }
.audio-enviado em { font-style: normal; font-weight: 700; font-size: 12.5px; opacity: .85; }

.texto-fala {
  margin: 12px var(--pad) 0; padding: 14px 16px; border-radius: 20px; background: var(--card); box-shadow: var(--sh);
  font-size: 15px; line-height: 1.6; font-weight: 600; color: var(--ink-2);
}
.texto-fala small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.texto-fala mark { background: transparent; color: inherit; border-radius: 6px; padding: 1px 1px; transition: background .35s, color .35s; }
.texto-fala mark.on { background: var(--cl); color: var(--c); font-weight: 800; }

/* o que o app entendeu */
.entendi { margin: 12px var(--pad) 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chip-ent {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px;
  background: var(--card); box-shadow: var(--sh); font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  animation: pop .38s cubic-bezier(.2, .9, .2, 1.3) both;
}
.chip-ent .bol { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--cl); color: var(--c); }
.chip-ent .bol i { font-size: 13px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- desenho da instalação ---------- */
.esquema { margin: 14px var(--pad) 0; padding: 14px 14px 10px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh); position: relative; }
.esquema .e-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.esquema .e-cab b { font-size: 14px; font-weight: 800; }
.esquema .e-cab span { font-size: 12px; font-weight: 700; color: var(--muted); }
.esquema svg { display: block; width: 100%; height: auto; }
.esquema .tubo-anda { stroke-dasharray: 6 8; animation: vento 1.6s linear infinite; }
.esquema .ar-sai path { stroke-dasharray: 10 8; animation: vento 2s linear infinite; }
.esquema .desenha { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); animation: desenha 1.1s ease forwards; }
@keyframes desenha { to { stroke-dashoffset: 0; } }
.esquema .gota { animation: gota 1.6s ease-in infinite; }
@keyframes gota { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
.esquema .rot { font: 800 10.5px "Poppins", sans-serif; }

/* ---------- linhas do orçamento ---------- */
.grupo { margin: 18px var(--pad) 0; }
.grupo-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.grupo-cab b { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c); }
.grupo-cab b i { font-size: 16px; }
.grupo-cab span { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.lista { background: var(--card); border-radius: 22px; box-shadow: var(--sh); overflow: hidden; }
.lista:empty { display: none; }
.linha { display: flex; align-items: center; gap: 12px; padding: 12px 14px; position: relative; }
.linha + .linha { border-top: 1px solid var(--line); }
.linha .tile { width: 38px; height: 38px; border-radius: 12px; }
.linha .tile i { font-size: 19px; }
.linha .txt { flex: 1; min-width: 0; }
.linha .txt b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.linha .txt span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.linha .valor { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.linha.nova { animation: linhaEntra .45s cubic-bezier(.2, .9, .2, 1) both; }
.linha.nova::after { content: ""; position: absolute; inset: 0; background: var(--cl); opacity: 0; animation: brilho 1.1s ease both; pointer-events: none; }
@keyframes linhaEntra { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes brilho { 0% { opacity: .9; } 100% { opacity: 0; } }
.tag-imp { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--rosa-l); color: var(--rosa); font-size: 10.5px; font-weight: 800; vertical-align: 1px; }

/* rodapé com o total */
.rodape-total {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px var(--pad) calc(var(--safe-bot) + 12px);
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(211, 222, 233, .7);
}
.rodape-total .rt-linha { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 10px; }
.rodape-total small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.rodape-total .total { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.rodape-total .divisao { text-align: right; font-size: 11.5px; font-weight: 700; color: var(--muted); line-height: 1.5; }
.rodape-total .divisao b { color: var(--ink-2); }
.pisca-total { animation: pulsa .4s ease; }
@keyframes pulsa { 40% { transform: scale(1.06); color: var(--brand-txt); } }

.passos-ent { margin: 14px var(--pad) 0; display: grid; gap: 8px; }
.passo-ent { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--dim); transition: color .3s; }
.passo-ent .bol { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; transition: background .3s; }
.passo-ent .bol i { font-size: 14px; }
.passo-ent.on { color: var(--ink); }
.passo-ent.on .bol { background: var(--ok); }
.passo-ent.vez .bol { background: var(--brand); color: var(--brand-ink); }
.passo-ent.vez .bol i { animation: gira 1s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- aviso (toast) ---------- */
.aviso {
  position: absolute; left: 50%; bottom: calc(var(--safe-bot) + 110px); z-index: 120; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; padding: 11px 16px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: all .25s ease; white-space: nowrap; display: flex; gap: 8px; align-items: center;
}
.aviso.on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Telas do app inteiro
   ========================================================= */
.c-cinza { --c: #6B7A8C; --cl: #EEF2F7; }
.gira { animation: gira 1s linear infinite; display: inline-block; }
.link-mao { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 18px auto 0; color: var(--brand-txt); font-weight: 700; font-size: 14px; }

/* bem-vindo */
.bv { padding: 8px var(--pad) 0; text-align: center; }
.bv-logo { width: 128px; margin: 6px auto 0; }
.bv-esq { margin: 18px 0 0 !important; text-align: left; }
.bv h1 { margin: 22px 0 0; font-size: 25px; line-height: 1.18; font-weight: 800; letter-spacing: -.03em; }
.bv p { margin: 10px auto 0; max-width: 320px; font-size: 14.5px; line-height: 1.5; color: var(--muted); font-weight: 500; }
.bv-passos { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 18px; }
.bv-passos span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--cl); color: var(--c); font-weight: 800; font-size: 13px; }
.bv-passos span i { font-size: 16px; }
.bv-passos > i { color: var(--dim); font-style: normal; font-weight: 800; }

/* rodapé só com botão */
.rodape-total.so-botao { padding-top: 14px; }
.dois-botoes { display: grid; grid-template-columns: 1fr 2.2fr; gap: 10px; }
.botao.mini { font-size: 15px; }

/* fab */
.fab {
  position: absolute; z-index: 40; right: var(--pad); bottom: calc(var(--safe-bot) + 18px);
  height: 54px; padding: 0 20px 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 15px; box-shadow: 0 16px 30px -12px rgba(2, 132, 199, .9);
}
.fab i { font-size: 21px; }

/* gaveta */
.veu { position: absolute; inset: 0; z-index: 140; background: rgba(40, 25, 14, .38); opacity: 0; pointer-events: none; transition: opacity .25s; }
.veu.on { opacity: 1; pointer-events: auto; }
.gaveta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--bg); border-radius: 28px 28px 0 0;
  padding: 8px var(--pad) calc(var(--safe-bot) + 18px); transform: translateY(105%); transition: transform .34s cubic-bezier(.2, .9, .2, 1);
  max-height: 82%; display: flex; flex-direction: column;
}
.gaveta.on { transform: none; }
.g-alca { width: 42px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 4px auto 12px; flex: none; }
.g-tit { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.g-sub { margin: 3px 0 14px; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.g-rola { overflow-y: auto; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scrollbar-width: none; }
.g-grupo + .g-grupo { margin-top: 16px; }
.g-grupo > b { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c); margin-bottom: 8px; }
.opcao, .g-item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 20px; background: var(--card); box-shadow: var(--sh); }
.opcao + .opcao, .g-item + .g-item { margin-top: 8px; }
.opcao .tile { width: 48px; height: 48px; border-radius: 16px; }
.opcao .tile i { font-size: 24px; }
.opcao .txt, .g-item .txt { flex: 1; min-width: 0; }
.opcao .txt b { display: block; font-size: 16px; font-weight: 800; }
.opcao .txt span, .g-item .txt span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.opcao > i { color: var(--dim); }
.g-item .tile { width: 40px; height: 40px; border-radius: 13px; }
.g-item .txt b { display: block; font-size: 14px; font-weight: 700; }
.g-item em { font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--c); white-space: nowrap; }
.g-item.ja { opacity: .5; }

/* carregando (gera PDF) */
.carregando { position: absolute; inset: 0; z-index: 160; display: grid; place-items: center; background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.carregando.on { opacity: 1; pointer-events: auto; }
.cg-caixa { width: 250px; padding: 24px 20px 20px; border-radius: 26px; background: var(--card); box-shadow: var(--sh-2); display: grid; justify-items: center; text-align: center; gap: 4px; }
.cg-icone { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: var(--rosa-l); color: var(--rosa); margin-bottom: 10px; animation: pop .5s cubic-bezier(.2, .9, .2, 1.3) both; }
.cg-icone i { font-size: 34px; }
.cg-caixa b { font-size: 16px; font-weight: 800; }
.cg-caixa > span:not(.cg-barra) { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cg-barra { width: 100%; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 12px; }
.cg-barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--ice)); border-radius: 3px; animation: enche 1.3s ease forwards; }
@keyframes enche { to { width: 100%; } }

/* notificação do topo */
.notif {
  position: absolute; z-index: 170; left: 10px; right: 10px; top: calc(var(--safe-top) + 6px);
  display: flex; gap: 11px; align-items: center; padding: 11px 13px; border-radius: 22px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 18px 40px -14px rgba(40, 25, 14, .45);
  transform: translateY(-140%); transition: transform .45s cubic-bezier(.2, .9, .2, 1.1); cursor: pointer;
}
.notif.on { transform: none; }
.notif img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.notif small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.notif b { display: block; font-size: 14px; font-weight: 800; }
.notif span { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }

/* conferir o orçamento */
.faixa-status { display: flex; align-items: center; gap: 8px; margin: 10px var(--pad) 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cartao-cli, .cartao-eq { display: flex; align-items: center; gap: 12px; margin: 12px var(--pad) 0; padding: 12px 14px; border-radius: 22px; background: var(--card); box-shadow: var(--sh); }
.cartao-cli .txt, .cartao-eq .txt { flex: 1; min-width: 0; }
.cartao-cli b, .cartao-eq b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.cartao-cli .txt span, .cartao-eq .txt span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.av-g { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex: none; }
.cartao-eq img { width: 74px; height: 46px; object-fit: contain; border-radius: 12px; background: #F2F6FB; mix-blend-mode: multiply; padding: 4px; flex: none; }
.cartao-eq.solto { margin: 0; }
.cartao-eq .eq-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; font-size: 26px; color: var(--volt); background: var(--volt-l); }
.mini-esq { padding: 10px; }
.add-imp, .add-item {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px var(--pad) 0; height: 50px; border-radius: 18px;
  border: 2px dashed rgba(232, 57, 106, .45); color: var(--rosa); font-weight: 800; font-size: 14px; background: rgba(253, 229, 236, .45);
}
.add-item { margin: 12px 0 0; border-color: rgba(2, 132, 199, .35); color: var(--brand-txt); background: var(--card); }
.add-imp i, .add-item i { font-size: 19px; }
.notas { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px var(--pad) 0; }
.notas span { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--card); font-size: 12px; font-weight: 700; color: var(--ink-2); box-shadow: var(--sh); }
.notas i { font-size: 15px; color: var(--agua); }
.linha .valor small { font-size: 11px; color: var(--muted); font-weight: 700; }

/* ficha manual */
.ficha { padding: 6px var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.bloco { min-width: 0; }
.bloco { background: var(--card); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--sh); }
.bloco.sem-fundo { background: none; box-shadow: none; padding: 4px 0 0; }
.bloco h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.bloco h4 i { font-size: 18px; color: var(--brand-txt); }
.campos { display: grid; gap: 8px; }
.campo { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px; background: var(--card-2); border: 1.5px solid var(--line); }
.campo:focus-within { border-color: var(--brand-txt); background: #fff; }
.c-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-l); color: var(--brand-txt); flex: none; }
.c-ic i { font-size: 17px; }
.c-txt { flex: 1; min-width: 0; }
.c-txt small { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.c-txt input { width: 100%; border: 0; outline: 0; background: none; font: 700 15px "Poppins", sans-serif; color: var(--ink); padding: 0; }
.c-txt input::placeholder { color: var(--dim); font-weight: 600; }
.chips-serv { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-serv { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 13px 0 5px; border-radius: 999px; background: var(--card-2); border: 1.5px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--ink-2); transition: all .2s; }
.chip-serv .tile { width: 32px; height: 32px; border-radius: 50%; }
.chip-serv .tile i { font-size: 16px; }
.chip-serv.on { background: var(--cl); border-color: var(--c); color: var(--c); font-weight: 800; }
.chip-serv.on .tile { background: var(--c); color: #fff; }
.equip { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 18px; background: linear-gradient(140deg, #F2F7FF, #EAF7FC); }
.equip img { width: 116px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.equip b { display: block; font-size: 15px; font-weight: 800; }
.equip span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin-top: 12px; border-radius: 16px; background: #E8EEF6; }
.seg a { height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: all .2s; }
.seg a i { font-size: 16px; }
.seg a.on { background: var(--card); color: var(--brand-txt); font-weight: 800; box-shadow: 0 2px 8px -2px rgba(40, 25, 14, .18); }
.marcas { display: flex; gap: 6px; overflow-x: auto; margin: 10px calc(-1 * 14px) 0; padding: 2px 14px; scrollbar-width: none; }
.marcas::-webkit-scrollbar { display: none; }
.marcas a { flex: none; height: 34px; padding: 0 13px; border-radius: 999px; display: flex; align-items: center; background: var(--card-2); border: 1.5px solid var(--line); font-weight: 700; font-size: 13px; color: var(--ink-2); }
.marcas a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.linha-tog { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.linha-tog span { display: inline-flex; align-items: center; gap: 8px; }
.linha-tog span i { font-size: 18px; color: var(--muted); }
.tog { width: 50px; height: 30px; border-radius: 999px; background: #D6DEE8; position: relative; transition: background .2s; flex: none; }
.tog i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(40, 25, 14, .25); transition: transform .22s cubic-bezier(.2, .9, .2, 1.2); }
.tog.on { background: var(--ok); }
.tog.on i { transform: translateX(20px); }
.esquema.dentro { margin: 0; box-shadow: none; background: var(--card-2); padding: 10px; }
.controles { display: grid; gap: 10px; margin-top: 12px; }
.ctrl { display: flex; align-items: center; gap: 10px; }
.ctrl .tile { width: 38px; height: 38px; border-radius: 12px; }
.ctrl .tile i { font-size: 19px; }
.ctrl .txt { flex: 1; min-width: 0; }
.ctrl .txt b { display: block; font-size: 14px; font-weight: 800; }
.ctrl .txt span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.passo { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card-2); border: 1.5px solid var(--line); }
.passo a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--card); color: var(--c); box-shadow: 0 1px 3px rgba(40, 25, 14, .1); }
.passo a i { font-size: 16px; }
.passo em { min-width: 50px; text-align: center; font-style: normal; font-weight: 800; font-size: 15px; color: var(--c); }
.ctrl-dupla small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.ctrl-dupla .seg { margin-top: 6px; }

/* PDF */
.pdf-fundo { margin: 12px 0 0; padding: 16px var(--pad) 8px; background: #DDE5EF; min-height: 100%; }
.pdf { background: #fff; border-radius: 6px; padding: 18px 16px 16px; box-shadow: 0 18px 36px -18px rgba(40, 25, 14, .45); font-size: 10.5px; color: #1d2b3c; }
.pdf-topo { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.pdf-marca { display: flex; gap: 8px; align-items: center; }
.pdf-marca img { width: 46px; }
.pdf-marca b { display: block; font-size: 12.5px; font-weight: 800; color: var(--logo-navy); }
.pdf-marca span, .pdf-num span { display: block; font-size: 9.5px; color: #5d6e82; font-weight: 500; }
.pdf-num { text-align: right; }
.pdf-num small { display: block; font-size: 9px; letter-spacing: .14em; font-weight: 800; color: var(--logo-cyan); }
.pdf-num b { display: block; font-size: 15px; font-weight: 800; color: var(--logo-navy); }
.pdf-faixa { height: 4px; border-radius: 2px; margin: 12px 0; background: linear-gradient(90deg, var(--logo-navy), var(--logo-cyan)); }
.pdf-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdf-2col small { display: block; font-size: 8.5px; letter-spacing: .12em; font-weight: 800; color: #98a6b7; margin-bottom: 2px; }
.pdf-2col b { display: block; font-size: 11.5px; font-weight: 800; }
.pdf-2col span { display: block; font-size: 9.5px; color: #5d6e82; line-height: 1.45; }
.pdf-tab { width: 100%; border-collapse: collapse; margin-top: 14px; }
.pdf-tab th { text-align: left; font-size: 9px; letter-spacing: .1em; padding: 7px 8px; }
.pdf-tab th.num { text-align: right; }
.pdf-tab .cab-mat th { background: var(--cobre-l); color: var(--cobre); }
.pdf-tab .cab-mo th { background: var(--azul-l); color: var(--azul); }
.pdf-tab td { padding: 7px 8px; border-bottom: 1px solid #edf1f6; vertical-align: top; }
.pdf-tab td b { display: block; font-size: 10.5px; font-weight: 700; }
.pdf-tab td b i { color: var(--rosa); font-style: normal; font-weight: 700; }
.pdf-tab td span { display: block; font-size: 9px; color: #7d8b9c; }
.pdf-tab td.num { text-align: right; font-weight: 700; white-space: nowrap; }
.pdf-total { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--logo-navy); color: #fff; }
.pdf-total span { font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.pdf-total b { font-size: 17px; font-weight: 800; }
.pdf-notas { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 9.5px; color: #5d6e82; font-weight: 600; }
.pdf-aprova { margin-top: 12px; padding: 8px 10px; border-radius: 8px; background: #E9FBEF; color: #11713d; font-size: 10px; font-weight: 600; text-align: center; }

/* WhatsApp */
.tela.zap-tela { padding-top: 0; background: #EFE7DD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d9cfc3' stroke-width='1.4' opacity='.6'%3E%3Ccircle cx='14' cy='16' r='5'/%3E%3Cpath d='M50 10l8 8m0-8l-8 8'/%3E%3Cpath d='M20 54c4-6 10-6 14 0'/%3E%3Crect x='54' y='48' width='12' height='12' rx='3'/%3E%3C/g%3E%3C/svg%3E"); }
.zap-cab { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: calc(var(--safe-top) + 8px) 14px 10px; background: rgba(247, 247, 247, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #e3e3e3; color: #0b7aff; }
.zap-cab > a i { font-size: 24px; color: #0b7aff; }
.zap-cab > i { font-size: 22px; color: #0b7aff; margin-left: 10px; }
.zap-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.zap-nome { flex: 1; min-width: 0; color: #111; }
.zap-nome b { display: block; font-size: 15.5px; font-weight: 600; }
.zap-nome span { display: block; font-size: 12px; color: #6b6b6b; font-weight: 400; }
.zap-chat { padding: 12px 12px 20px; display: flex; flex-direction: column; gap: 6px; }
.zap-dia { align-self: center; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .9); font-size: 12px; color: #55606b; font-weight: 600; margin-bottom: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.zap-msg { max-width: 82%; padding: 7px 9px 6px; border-radius: 10px; font-size: 14.5px; line-height: 1.38; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); animation: zapEntra .3s cubic-bezier(.2, .9, .2, 1.1) both; font-weight: 400; }
.zap-msg b { font-weight: 700; }
.zap-msg em { display: block; text-align: right; font-style: normal; font-size: 11px; color: #667781; margin-top: 2px; }
.zap-msg.eu { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 3px; }
.zap-msg.ela { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.tique { font-style: normal; color: #8696a0; letter-spacing: -3px; margin-left: 2px; transition: color .3s; }
.tique.lido { color: #53BDEB; }
.zap-msg.doc { padding: 4px 4px 5px; }
.zap-doc { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; background: rgba(0, 0, 0, .05); min-width: 230px; }
.pdf-ic { width: 34px; height: 40px; border-radius: 5px; display: grid; place-items: center; background: #E5484D; color: #fff; font-size: 10px; font-weight: 800; flex: none; }
.zap-doc b { display: block; font-size: 14px; font-weight: 600; }
.zap-doc small { display: block; font-size: 11.5px; color: #667781; }
.zap-msg.doc em { padding-right: 5px; }
.digitando { display: flex; gap: 4px; padding: 12px 14px; }
.digitando i { width: 7px; height: 7px; border-radius: 50%; background: #9aa5ad; animation: pula 1s infinite; }
.digitando i:nth-child(2) { animation-delay: .15s; }
.digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pula { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes zapEntra { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.zap-aprovado { align-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ok); color: #fff; font-weight: 800; font-size: 13.5px; box-shadow: 0 10px 22px -10px rgba(18, 168, 98, .9); animation: pop .45s cubic-bezier(.2, .9, .2, 1.3) both; }
.zap-aprovado i { font-size: 17px; }
.zap-barra { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 8px 12px calc(var(--safe-bot) + 8px); background: #F6F6F6; border-top: 1px solid #e3e3e3; color: #0b7aff; }
.zap-barra i { font-size: 23px; }
.zap-input { flex: 1; height: 36px; border-radius: 18px; background: #fff; border: 1px solid #e1e1e1; display: flex; align-items: center; padding: 0 14px; color: #a0a0a0; font-size: 14.5px; }
.tela.zap-tela.com-rodape { padding-bottom: calc(var(--safe-bot) + 70px); }

/* aprovado */
.aprov { text-align: center; padding: 10px var(--pad) 0; overflow-x: clip; }
.carimbo-zona { position: relative; width: 210px; height: 150px; margin: 8px auto 0; }
.doc-mini { position: absolute; inset: 0; border-radius: 18px; background: var(--card); box-shadow: var(--sh-2); padding: 16px 18px; text-align: left; transform: rotate(-3deg); }
.doc-mini img { width: 42px; display: block; margin-bottom: 10px; }
.dm-l { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-top: 7px; }
.dm-l.l1 { width: 80%; } .dm-l.l2 { width: 62%; } .dm-l.l3 { width: 72%; } .dm-l.l4 { width: 48%; }
.doc-mini b { position: absolute; right: 16px; bottom: 14px; font-size: 15px; font-weight: 800; color: var(--logo-navy); }
.carimbo {
  position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 12px;
  border: 3px solid var(--ok); color: var(--ok); background: rgba(223, 245, 233, .92); font-weight: 800; font-size: 20px; letter-spacing: .08em;
  transform: translate(-50%, -50%) rotate(-12deg) scale(1.9); opacity: 0;
}
.carimbo i { font-size: 24px; }
.carimbo.bate { animation: carimba .45s cubic-bezier(.3, 1.4, .5, 1) forwards; }
@keyframes carimba { to { transform: translate(-50%, -50%) rotate(-12deg) scale(1); opacity: 1; } }
.aprov h2 { margin: 26px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.aprov p { margin: 4px 0 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.agendado { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 22px; background: var(--card); box-shadow: var(--sh); text-align: left; }
.agendado .txt { flex: 1; min-width: 0; }
.agendado b { display: block; font-size: 15px; font-weight: 800; }
.agendado .txt span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.lembrete { margin: 16px var(--pad) 0; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(140deg, #E2F8F3, #D2F1FB); }
.lb-cab { display: flex; gap: 12px; align-items: center; }
.lb-cab .tile { background: #fff; color: var(--agua); }
.lb-cab > div { flex: 1; min-width: 0; }
.lb-cab b { display: block; font-size: 15px; font-weight: 800; }
.lb-cab div span { display: block; font-size: 12px; color: #3F6464; font-weight: 600; line-height: 1.35; }
.lb-msg { margin-top: 12px; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 13.5px; line-height: 1.45; color: #1d2b3c; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.lb-msg small { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; color: #12A862; margin-bottom: 4px; letter-spacing: .02em; }
.lb-msg small i { font-size: 14px; }
.lb-msg mark { background: var(--agua-l); color: var(--agua); font-weight: 800; border-radius: 5px; padding: 0 3px; }
.lb-msg.solta { margin: 12px var(--pad) 0; box-shadow: var(--sh); }

/* listas: orçamentos e clientes */
.filtros { display: flex; gap: 7px; overflow-x: auto; padding: 2px var(--pad); margin-top: 16px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtros a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 999px; background: var(--card); box-shadow: var(--sh); font-weight: 700; font-size: 13px; color: var(--ink-2); }
.filtros a i { font-size: 15px; }
.filtros a em { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--muted); background: var(--card-2); padding: 1px 7px; border-radius: 999px; }
.filtros a.on { background: var(--ink); color: #fff; }
.filtros a.on em { background: rgba(255, 255, 255, .18); color: #fff; }
.orc-lista, .cli-lista { padding: 0 var(--pad); }
.dia { margin-top: 16px; }
.dia > small { display: block; margin: 0 0 8px 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.orc-linha, .cli-linha { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.orc-linha + .orc-linha, .cli-linha + .cli-linha { border-top: 1px solid var(--line); }
.orc-linha .tile { width: 40px; height: 40px; border-radius: 13px; }
.orc-linha .txt, .cli-linha .txt { flex: 1; min-width: 0; }
.orc-linha .txt b, .cli-linha .txt b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.orc-linha .txt span, .cli-linha .txt span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.orc-linha .dir { display: grid; justify-items: end; gap: 4px; flex: none; }
.orc-linha .dir b { font-size: 14.5px; font-weight: 800; }
.orc-linha .selo { height: 22px; font-size: 11px; padding: 0 8px; }
.vazio { display: grid; justify-items: center; gap: 8px; padding: 40px 0; color: var(--dim); font-weight: 700; }
.vazio i { font-size: 32px; }
.busca { display: flex; align-items: center; gap: 10px; margin: 16px var(--pad) 0; height: 48px; padding: 0 14px; border-radius: 16px; background: var(--card); box-shadow: var(--sh); color: var(--dim); }
.busca input { flex: 1; border: 0; outline: 0; background: none; font: 600 14.5px "Poppins", sans-serif; color: var(--ink); }
.faixa-limpeza { display: flex; align-items: center; gap: 12px; margin: 12px var(--pad) 0; padding: 12px 14px; border-radius: 20px; background: linear-gradient(140deg, #E2F8F3, #D2F1FB); }
.faixa-limpeza .tile { background: var(--agua); color: #fff; }
.faixa-limpeza .txt { flex: 1; min-width: 0; }
.faixa-limpeza b { display: block; font-size: 14.5px; font-weight: 800; }
.faixa-limpeza .txt span { display: block; font-size: 12px; color: #3F6464; font-weight: 600; }
.faixa-limpeza > i { color: var(--agua); }
.cli-lista { margin-top: 12px; }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.cli-linha .prox { font-size: 11px; color: var(--dim); font-weight: 700; text-align: right; line-height: 1.3; flex: none; }
.cli-linha .selo { flex: none; }
.cli-topo { display: grid; justify-items: center; text-align: center; padding: 8px var(--pad) 0; }
.av-xg { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 28px; box-shadow: var(--sh-2); }
.cli-topo h2 { margin: 14px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cli-topo p { margin: 2px 0 0; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.cli-acoes { display: flex; gap: 22px; margin-top: 16px; }
.cli-acoes a { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.cli-acoes a i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 23px; background: var(--cl); color: var(--c); }
.bloco-c { margin: 18px var(--pad) 0; }
.bloco-c h4 { margin: 0 0 8px 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.prox-limp { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 22px; background: var(--card); box-shadow: var(--sh); }
.prox-limp .tile { background: var(--agua-l); color: var(--agua); }
.prox-limp.vence { background: linear-gradient(140deg, #E2F8F3, #D2F1FB); box-shadow: none; }
.prox-limp.vence .tile { background: #fff; }
.prox-limp .txt { flex: 1; min-width: 0; }
.prox-limp b { display: block; font-size: 14.5px; font-weight: 800; }
.prox-limp .txt span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.limp-intro { display: flex; gap: 12px; align-items: center; margin: 12px var(--pad) 0; }
.limp-intro .tile { background: var(--agua-l); color: var(--agua); }
.limp-intro p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); font-weight: 500; }
.limp-intro b { font-weight: 800; }
.limp-lista { margin: 0 var(--pad); }
.limp-lista .check { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); flex: none; }
.limp-lista .check i { font-size: 14px; }
.limp-lista .st { font-size: 12px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; flex: none; }
.limp-lista .st.ok { color: var(--ok); }
.limp-lista .st i { font-size: 15px; }
.cli-linha.feito { background: rgba(223, 245, 233, .5); }

/* perfil */
.menu { margin: 18px var(--pad) 0; }
.menu-linha { display: flex; align-items: center; gap: 12px; padding: 14px; font-weight: 700; font-size: 14.5px; }
.menu-linha + .menu-linha { border-top: 1px solid var(--line); }
.menu-linha .mi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-l); color: var(--brand-txt); }
.menu-linha .grow { flex: 1; }
.menu-linha em { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.menu-linha > i { color: var(--dim); }
.passo-ent .pv { margin-left: auto; font-weight: 700; color: var(--muted); font-size: 13px; text-align: right; }
.esquema .e-cab { gap: 8px; }
.esquema .e-cab b, .esquema .e-cab span { white-space: nowrap; }
/* modo demonstração: ninguém mexe */
body.demo .phone { pointer-events: none; }
body.demo .tela { scroll-behavior: smooth; }
.heroi .mic, .mic-gigante { transition: transform .18s ease; }
.heroi .mic.tocado { transform: translateY(-62%) scale(.86); }
.mic-gigante.tocado { transform: scale(.88); }

/* =========================================================
   App de verdade (entregável) — 19-10-2026
   ========================================================= */
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("fonts/poppins-800.woff2") format("woff2"); }
.grow { flex: 1; }
.avatar { overflow: hidden; }
.avatar img, .av-xg img { width: 100%; height: 100%; object-fit: contain; }
.av-xg { overflow: hidden; }
.limpeza { color: inherit; }

/* entrar */
.entrar { padding-top: 34px; }
.entrar .campo input { font-size: 16px; }
.erro { min-height: 20px; margin: 12px 4px 0 !important; color: var(--rosa) !important; font-weight: 700 !important; font-size: 13.5px !important; text-align: left; line-height: 1.45; max-width: none !important; }

/* campos de texto longos */
.campo-area { align-items: flex-start; }
.campo input, .campo textarea { font-size: 16px; }
.c-txt textarea { width: 100%; border: 0; outline: 0; background: none; font: 600 15px/1.45 "Poppins", sans-serif; color: var(--ink); padding: 2px 0 0; resize: vertical; min-height: 64px; }
.c-txt textarea::placeholder { color: var(--dim); }
.texto-fala.editavel textarea { width: 100%; border: 0; outline: 0; background: none; font: 600 16px/1.55 "Poppins", sans-serif; color: var(--ink); resize: vertical; padding: 0; }
.texto-fala.editavel textarea::placeholder { color: var(--dim); font-weight: 500; }
.nota-grav { margin: 14px var(--pad) 0; text-align: center; color: var(--muted); font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.alerta { display: flex; gap: 9px; align-items: flex-start; margin: 12px var(--pad) 0; padding: 12px 14px; border-radius: 18px; background: var(--rosa-l); color: #9b1f45; font-size: 13px; font-weight: 600; line-height: 1.45; }
.alerta i { font-size: 18px; flex: none; margin-top: 1px; }
.alerta.amarelo { background: var(--brand-l); color: #6b4700; }
.alerta b { font-weight: 800; }
.nota-bloco { margin: 8px 2px 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.45; }
.link-bloco { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--brand-txt); }
.link-bloco i { font-size: 15px !important; color: var(--brand-txt) !important; }
.link-mao.apagar { color: var(--rosa); margin-top: 26px; }
.dois-iguais { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.dois-iguais .botao { height: 48px; font-size: 15px; }
label.botao { cursor: pointer; }
.rodape-nota { margin: 16px var(--pad) 0; text-align: center; font-size: 12px; color: var(--dim); font-weight: 600; line-height: 1.45; }

/* status do orçamento */
.faixa-status { flex-wrap: wrap; }
.fs-acoes { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.fs-acoes a { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 11px; border-radius: 999px; background: var(--cl); color: var(--c); font-weight: 800; font-size: 12.5px; }
.fs-acoes a i { font-size: 15px; }

/* quantidade digitável */
.passo input.qtd-in { width: 62px; text-align: center; border: 0; outline: 0; background: none; font: 800 16px "Poppins", sans-serif; color: var(--c); padding: 0; }

/* logo */
.logo-linha { display: flex; align-items: center; gap: 12px; }
.logo-prev { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--card-2); border: 1.5px dashed var(--line-2); overflow: hidden; flex: none; color: var(--dim); font-size: 26px; }
.logo-prev img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.logo-txt b { display: block; font-size: 14.5px; font-weight: 800; }
.logo-txt span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* faixa de aviso amarela (preços, instalar) */
.faixa-amarela { display: flex; align-items: center; gap: 12px; margin: 14px var(--pad) 0; padding: 12px 14px; border-radius: 20px; background: var(--brand-l); border: 1px solid rgba(2, 132, 199, .45); color: var(--brand-ink); position: relative; }
.faixa-amarela.clara { background: var(--card); box-shadow: var(--sh); }
.faixa-amarela .tile { background: #fff; color: var(--brand-txt); }
.faixa-amarela.clara .tile { background: var(--brand-l); }
.faixa-amarela .txt { flex: 1; min-width: 0; }
.faixa-amarela b { display: block; font-size: 14.5px; font-weight: 800; }
.faixa-amarela .txt span { display: block; font-size: 12px; font-weight: 600; opacity: .8; }
.botao-mini { height: 34px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 12.5px; flex: none; }
.fecha-faixa { position: absolute; top: 4px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; color: var(--dim); font-size: 14px; }

/* gaveta */
.g-busca { margin: 0 0 12px; box-shadow: none; border: 1.5px solid var(--line); }
.g-busca input { font-size: 16px; }
.rot-seg { display: block; margin: 14px 2px -6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.gaveta .seg { background: var(--card-2); border: 1.5px solid var(--line); }
.passos-instalar { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.passos-instalar i { vertical-align: -2px; }
.seg { background: var(--card-2); }

/* PDF na tela igual ao PDF de verdade */
.pdf-fundo { background: #EEF0F3; padding-bottom: 20px; }
.pdf-tab tr[class^="cab-"] th { background: #F7F3EF; color: #0C243C; }
.pdf-tab td b { font-weight: 700; }
.pdf-marca img { width: 46px; height: 46px; object-fit: contain; }
.pdf-notas { display: grid; gap: 3px; margin-top: 12px; }
.pdf-aprova { margin-top: 12px; padding: 9px 12px; border-radius: 8px; background: #E0F2FE; text-align: center; font-weight: 700; font-size: 10.5px; color: #0C243C; }
.pdf-tab th.num, .pdf-tab td.num { white-space: nowrap; }
.campo input[type="tel"] { letter-spacing: .01em; }
