/* RUA A RUA v2 (06/12/2026, a Cabron 352d480c), por cima da v1 (rua-a-rua.css, que fica igual).
   O pedido: o Jr, pelo Molem, 06/12 02h3x: «O q vi sa dte esta sem alma e sem capricho precisa ser melhorado».
   O que entra: a cara da DTE (as cores, as letras, a logo e as fotos da prévia 12 do site dela), o ícone cheio (Phosphor,
   licença MIT; nunca de traço), o degradê, a sombra macia, os cantos de 16 a 24 px e o movimento (que para quando o aparelho
   pede menos movimento). A letra miúda sobe para 13 px no mínimo. */
:root {
  --ink: #0c2030; --ink2: #3b5368; --muted: #56708a; --line: #d6e4ef; --bg: #f3f8fc; --paper: #fff;
  --plate: #004974; --plate2: #07263b; --loener: #07263b; --accent: #16689e; --sky: #88bfda;
  --ok: #15803d; --warn: #8a5a00; --bad: #b42318;
  --navy: linear-gradient(135deg, #07263b 0%, #004974 58%, #16689e 100%);
  --hemel: linear-gradient(180deg, #e4f1fa 0%, #f3f9fd 56%, #ffffff 100%);
  --sch1: 0 1px 2px rgba(7, 38, 59, .06), 0 8px 24px rgba(7, 38, 59, .08);
  --sch2: 0 2px 4px rgba(7, 38, 59, .07), 0 18px 44px rgba(7, 38, 59, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
body { background: #e8f0f6; }
.pi { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.17em; }

/* ---------- a página para o Jr ---------- */
.held { position: relative; border-radius: 28px; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px 38px 32px; color: #fff; background: #07263b; box-shadow: var(--sch2); }
.held > img.foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transform: scale(1.04); animation: v2-zoom 14s ease-out both; }
.held::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 38, 59, .94) 0%, rgba(0, 73, 116, .78) 46%, rgba(0, 73, 116, .12) 100%); }
.held > :not(img.foto) { position: relative; }
.held .logo-dte { height: 46px; margin-bottom: auto; }
.held .marca { color: #bfe0f2; margin-top: 70px; }
.held h1 { color: #fff; margin: 8px 0 12px; }
.held .sub { color: #dcecf6; max-width: 640px; }
.held .met { margin-top: 16px; font-size: 14px; color: #dcecf6; opacity: 1; }
.topo .marca { color: #bfe0f2; }
.resumo { gap: 16px; margin-top: 22px; }
.cartao { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--sch1); padding: 18px 20px 16px; background: linear-gradient(180deg, #fff, #f7fbfe); }
.cartao h3 { display: flex; align-items: center; gap: 11px; font-size: 17px; margin-bottom: 10px; }
.cartao h3 .pi { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: 0 6px 14px rgba(0, 73, 116, .28); }
.cartao ul { font-size: 15px; }
.indice a { border: 0; box-shadow: var(--sch1); padding: 9px 15px; font-weight: 600; color: var(--plate); }
.indice a:hover { background: var(--navy); color: #fff; }
.secao > h2 { font-size: 30px; letter-spacing: -.3px; }
.legenda b { font-size: 19px; }
.legenda button { border: 0; box-shadow: var(--sch1); color: var(--plate); }
.moldura { background: linear-gradient(160deg, #0d2233, #07263b 60%, #0b3550); border-radius: 26px; padding: 10px; box-shadow: var(--sch2); }
.moldura .palco { border-radius: 17px; }
.aferir { font-size: 14.5px; }
.rodape { font-size: 14px; }

/* ---------- as telas ---------- */
.scr { background: var(--hemel); }
.fone { background: #fff; }
.appbar { background: var(--navy); position: relative; box-shadow: 0 8px 24px rgba(7, 38, 59, .28); z-index: 2; }
.appbar::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 150px at 90% -70%, rgba(136, 191, 218, .42), transparent 70%); }
.appbar > * { position: relative; z-index: 1; }
.logo-dte { height: 38px; width: auto; display: block; flex: none; }
.desk .logo-dte { height: 33px; }
.logo-loener { height: 34px; width: auto; display: block; }
.met { display: inline-flex; align-items: center; gap: 7px; opacity: .92; font-size: 13px; }
.met img { height: 21px; width: auto; }
.net { display: inline-flex; align-items: center; gap: 8px; }
.net.on { background: rgba(134, 239, 172, .14); color: #c8f7da; box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .35); }
.net.off { background: linear-gradient(180deg, #fde68a, #f6c445); color: #4a3200; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.lang .is { color: #07263b; }
.tabs span { display: inline-flex; align-items: center; gap: 8px; }
.tabs .pi { opacity: .9; }
.tabs .is { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.painel { border: 1px solid rgba(214, 228, 239, .95); border-radius: 20px; box-shadow: var(--sch1); }
.klein { font-size: max(.8em, 13px); }
.btn { border-radius: 16px; }
.btn.pri { background: var(--navy); border: 0; box-shadow: 0 10px 24px rgba(0, 73, 116, .32); }
.btn.ok { background: linear-gradient(135deg, #15803d, #22a35a); border: 0; box-shadow: 0 8px 18px rgba(21, 128, 61, .28); }
.btn.gh { background: #fff; border: 1.5px solid var(--line); color: var(--plate); }
.btn .pi { width: 1.25em; height: 1.25em; }
.plaat { background: linear-gradient(180deg, #0a5d91, #004974 55%, #07263b); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .92), 0 4px 10px rgba(7, 38, 59, .3); }
.nota { box-shadow: 0 6px 16px rgba(7, 38, 59, .16); }
.nota .pi { width: 1.3em; height: 1.3em; }
.nota i { display: inline-flex; }
.n-grijs { background: linear-gradient(135deg, #a3adba, #6f7a89); }
.n-geel { background: linear-gradient(135deg, #fcdc72, #e5a50a); color: #3a2800; }
.n-blauw { background: linear-gradient(135deg, #5b9bf0, #1d4fc4); }
.n-rood { background: linear-gradient(135deg, #ef8080, #b42318); }
.n-groen { background: linear-gradient(135deg, #36c47c, #15803d); }
.sti { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; color: #fff; flex: none; box-shadow: 0 3px 8px rgba(7, 38, 59, .2); vertical-align: middle; }
.sti .pi { width: 16px; height: 16px; }
.sti.s-grijs { background: linear-gradient(135deg, #a3adba, #6f7a89); }
.sti.s-geel { background: linear-gradient(135deg, #fcdc72, #e5a50a); color: #3a2800; }
.sti.s-blauw { background: linear-gradient(135deg, #5b9bf0, #1d4fc4); }
.sti.s-rood { background: linear-gradient(135deg, #ef8080, #b42318); }
.sti.s-groen { background: linear-gradient(135deg, #36c47c, #15803d); }
.sti.s-hier { background: linear-gradient(135deg, #3b8fd0, #16689e); }
.sti.s-klein { width: 20px; height: 20px; border-radius: 7px; }
.sti.s-klein .pi { width: 13px; height: 13px; }
.mk { border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85), 0 3px 8px rgba(7, 38, 59, .2); }
.rij .st { display: inline-flex; align-items: center; gap: 6px; }
.rij.nu { background: linear-gradient(90deg, #dcecf8, #f1f8fd); border-radius: 14px; margin: 2px 6px; }
.stap { gap: 7px; box-shadow: var(--sch1); border: 0; padding: 8px 13px; font-size: 15px; }
.stap .pi { width: 1.15em; height: 1.15em; }
.stap.nu { background: var(--navy); }
.agent-av { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; animation: v2-adem 2.4s ease-out infinite; flex: none; }
.agent-av .pi { width: 20px; height: 20px; }
.agent-b { background: linear-gradient(180deg, #eef6fc, #e2eff8); border-color: #cfe3f1; }
.agent-b .pi { color: var(--accent); }
.mens-b { background: var(--navy); box-shadow: 0 6px 14px rgba(0, 73, 116, .25); }
.chipf { gap: 7px; box-shadow: 0 2px 6px rgba(7, 38, 59, .06); }
.chipf .pi { color: var(--accent); }
.typing { display: inline-flex !important; align-items: center; gap: 6px; width: max-content; padding: 13px 16px !important; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #5a87a8; animation: v2-dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.lock { border: 0; border-radius: 14px; background: linear-gradient(180deg, #fff8e6, #fff2d1); box-shadow: inset 0 0 0 1px rgba(226, 184, 87, .45); color: #5c3d00; gap: 9px; }
.lock .pi { width: 1.3em; height: 1.3em; color: #b7791f; }
.lock.info { background: linear-gradient(180deg, #eef6fc, #e4f0f9); box-shadow: inset 0 0 0 1px #cfe3f1; color: var(--ink2); }
.lock.info .pi { color: var(--accent); }
.ql .n { width: 28px; height: 28px; }
.ql.klaar .n { background: linear-gradient(135deg, #36c47c, #15803d); color: #fff; }
.ql.klaar .n .pi { width: 16px; height: 16px; }
.ql.nu { background: linear-gradient(90deg, #dcecf8, #f4f9fd); border-radius: 14px; margin: 2px 8px; }
.ql.nu .n { background: var(--navy); }
.qb { box-shadow: var(--sch1); border-color: var(--line) !important; }
.frq { border-radius: 18px; box-shadow: var(--sch1); border-color: var(--line); }
.frq.gk { border: 0; background: var(--navy); color: #fff; box-shadow: 0 14px 30px rgba(0, 73, 116, .32); }
.frq.gk * { color: #fff !important; }
.frq.gk .r2 { color: #d4e8f5 !important; }
.tile { border: 0; border-radius: 20px; box-shadow: var(--sch1); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
.tile .sti { margin-bottom: 6px; }
.tile .k { font-size: 13.5px; }
.doc .ic { background: linear-gradient(135deg, #e4f0f9, #d3e7f5); color: var(--plate); border-radius: 11px; }
.doc .ic .pi { width: 19px; height: 19px; }
.doc.lk .ic { background: linear-gradient(135deg, #fff2d1, #ffe7ad); color: #b7791f; }
.vs .b { width: 26px; height: 26px; border-radius: 9px; margin-top: 0; display: grid; place-items: center; color: #fff; }
.vs .b .pi { width: 15px; height: 15px; }
.veld .in { border-radius: 10px; background: linear-gradient(180deg, #fff, #f4f8fb); }
.seg { border-radius: 11px; }
.seg .is { background: var(--navy); }
.inp { border-radius: 13px; }
.voorstel::after { font-size: 12.5px; }
h4 .pi, .kop-ic { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--navy); color: #fff; vertical-align: -8px; margin-right: 8px; }
table.t th { font-size: 13px; }
.balk { display: flex; height: 8px; border-radius: 99px; overflow: hidden; margin: 4px 0 2px; box-shadow: inset 0 0 0 1px rgba(7, 38, 59, .06); }
.balk span { height: 100%; animation: v2-fill 1.4s var(--ease) both; }
.leg { display: flex; align-items: center; gap: 9px; }
.leg b[id] { margin-left: auto; font-variant-numeric: tabular-nums; }

/* o celular do morador: a faixa de foto em cima */
.fone-held { position: relative; height: 168px; overflow: hidden; color: #fff; }
.fone-held img.foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fone-held::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 38, 59, .78) 0%, rgba(0, 73, 116, .3) 42%, rgba(7, 38, 59, .92) 100%); }
.fone-held > :not(img.foto) { position: relative; }
.fone-held .boven { display: flex; align-items: center; padding: 14px 16px 0; }
.fone-held .logo-dte { height: 30px; }
.fone-held .onder { position: absolute !important; left: 18px; right: 18px; bottom: 12px; }
.fone-held .onder .klein { color: #d7eaf6; font-size: 13px; }
.fone-held h3 { color: #fff; font-size: 26px; }
.vink { width: 24px; height: 24px; border-radius: 7px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 3px 8px rgba(0, 73, 116, .3); }
.vink .pi { width: 15px; height: 15px; }

/* o movimento */
.scan { position: absolute; left: 0; right: 0; top: 0; height: 36%; pointer-events: none; background: linear-gradient(180deg, rgba(136, 191, 218, 0), rgba(136, 191, 218, .22) 70%, rgba(255, 255, 255, .7) 97%, rgba(136, 191, 218, 0)); mix-blend-mode: screen; animation: v2-scan 3.8s cubic-bezier(.45, 0, .55, 1) infinite; }
.vak { animation: v2-pop .7s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.route-af { animation: v2-draw 2.6s var(--ease) both; }
.hier-ring { animation: v2-ring 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.voortgang { animation: v2-fill 1.6s var(--ease) both; }
@keyframes v2-scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(290%); } }
@keyframes v2-pop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes v2-draw { from { stroke-dashoffset: var(--len, 800); } to { stroke-dashoffset: 0; } }
@keyframes v2-ring { 0% { transform: scale(.6); opacity: .75; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes v2-dots { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes v2-adem { 0% { box-shadow: 0 0 0 0 rgba(22, 104, 158, .45); } 100% { box-shadow: 0 0 0 12px rgba(22, 104, 158, 0); } }
@keyframes v2-fill { from { width: 0; } }
@keyframes v2-zoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* os consertos da 1a foto da v2 (06/12 03h2x) */
.scr .rij .mk { border-radius: 10px; }
.met img { height: 24px; }
.rstat { display: flex; gap: 14px; margin-top: 6px; font-size: 14.5px; color: var(--ink2); }
.rstat span { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.fone-held .lang { background: rgba(7, 38, 59, .55); border-radius: 10px; padding: 3px; }
.fone-held .lang span { color: #fff; opacity: .8; }
.fone-held .lang .is { color: #07263b; opacity: 1; }
.frq { display: flex; flex-direction: column; }
.frq .fk { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; white-space: nowrap; flex-wrap: wrap; }
.frq .pb { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.frq .fr { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(12, 32, 48, .08); font-size: 14.5px; }
.frq.gk .fr { border-top-color: rgba(255, 255, 255, .2); }
.frq.gk .pb { color: #d4e8f5 !important; }
.gekozen { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.gekozen .pi { width: 14px; height: 14px; }
.frq .fr { font-size: 14px; }
.frq { padding: 13px 13px; }
/* a camada da foto por baixo do degradê (06/12 03h3x: a foto cobria o degradê, e a letra sumia no claro) */
.held > img.foto, .fone-held > img.foto { z-index: 0; }
.held::before, .fone-held::before { z-index: 1; }
.held > :not(img.foto), .fone-held > :not(img.foto) { z-index: 2; }
.frq { padding: 12px 11px; }
.frq .fr { font-size: 13.5px; }
.frq .fr span, .frq .fr b { white-space: nowrap; }
