:root{
  --bg1:#0e1525; --bg2:#0e1525;
  --card:rgba(255,255,255,.06); --glass:rgba(255,255,255,.1);
  --txt:#eaf3ff; --muted:#94a6c4;
  --brand:#1C63B8; --danger:#e24343; --pill:#14b869; --chip:#2c3444;
  --pro:#F7931A; --banner:#1C63B8;
  --shadow:0 10px 34px rgba(0,0,0,.35)
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;color:var(--txt);
  background:#0e1525;
  font:15px/1.5 Inter,system-ui,Segoe UI,Roboto,Arial
}
.hidden{display:none!important}

#app-shell{max-width:500px;margin:0 auto;min-height:100dvh;padding-bottom:calc(56px + env(safe-area-inset-bottom))}
.app-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.logo-ico{margin-right:8px}
.logo-txt{font-weight:800;letter-spacing:.2px}
.pro-chip{background:var(--pro);color:#fff;border:none;padding:8px 12px;border-radius:999px;font-weight:800;box-shadow:0 10px 24px rgba(247,147,26,.35);cursor:pointer;text-transform:uppercase}

.page-banner{margin:14px 16px 10px;padding:12px 16px;border-radius:12px;background:var(--banner);color:#fff;text-align:center;font-weight:900;letter-spacing:.3px}

.view{display:none;padding:12px 16px 4px}
.view.active{display:block}

.glass-card{background:var(--card);border-radius:16px;padding:22px;box-shadow:var(--shadow)}
.landing-title{font-size:30px;font-weight:900;margin-bottom:8px}
.landing-sub{opacity:.92}
.landing-list{margin:14px 0 20px 18px;padding:0}
.landing-list li{margin:6px 0}

.hero-card{min-height:74vh;display:flex;flex-direction:column;justify-content:center;gap:14px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:32px 22px;box-shadow:var(--shadow)}
.hero-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.hero-logo{font-weight:900;font-size:18px;letter-spacing:.2px}
.hero-title{font-size:28px;line-height:1.2;font-weight:900;margin:6px 0 2px}
.hero-text{color:#d8e6ff;opacity:.95}
.hero-list{list-style:none;padding:0;margin:6px 0 8px}
.hero-list li{display:flex;gap:10px;margin:6px 0;color:#eaf3ff}
.hero-impact{font-weight:900;margin:6px 0 8px;font-size:16px}
.role-options{display:flex;gap:8px}
.role-options .btn{flex:1}
.btn-hero{width:100%;padding:14px 18px;font-size:16px;border-radius:14px;margin-top:6px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:transform .08s ease, box-shadow .2s}
.btn:active{transform:scale(.98)}
.btn[disabled]{opacity:.5;cursor:not-allowed;filter:grayscale(.2)}
.btn-primary{background:var(--brand);border:none;color:#fff;font-weight:800;padding:12px 16px;border-radius:14px;box-shadow:0 10px 22px rgba(28,99,184,.35)}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,.2);color:#fff;padding:10px 14px;border-radius:12px}
.btn-danger{background:var(--danger);border:none;color:#fff;padding:10px 14px;border-radius:12px}
.btn-neon{background:#39ff14;color:#06270a;font-weight:900;border:none;border-radius:14px;padding:12px 16px;box-shadow:0 0 14px rgba(57,255,20,.8),0 8px 22px rgba(57,255,20,.35);text-transform:uppercase}

.label{margin:8px 0 4px 2px;color:var(--muted);font-size:14px}
.input, select.input{width:100%;padding:12px 12px;background:#0f1b2b;border:1px solid rgba(255,255,255,.08);border-radius:12px;color:var(--txt);font-size:15px;line-height:1.2}
.file-btn{display:inline-block;background:transparent;border:1px dashed rgba(255,255,255,.25);padding:10px 12px;border-radius:12px;margin-right:8px;cursor:pointer}
.preview{display:inline-block;vertical-align:middle}
.preview img{height:40px;width:40px;object-fit:cover;border-radius:8px;border:1px solid rgba(255,255,255,.15);margin-right:6px}

.card{background:var(--card);border:1px solid rgba(255,255,255,.12);padding:18px;border-radius:16px;box-shadow:var(--shadow);position:relative;margin:16px 0 14px;overflow:visible}
.card-title{font-weight:900;margin-right:115px;font-size:18px;margin-top:18px}
.card-sub{color:var(--muted);font-size:13px}
.price-pill{position:absolute;top:10px;right:12px;background:var(--pill);color:#fff;font-weight:800;padding:6px 10px;border-radius:999px;font-size:.9rem;box-shadow:0 8px 22px rgba(20,184,105,.3)}

.badge-accepted,
.badge-done{
  position:absolute;left:12px;top:-12px;z-index:9;border-radius:999px;padding:4px 10px;font-size:.82rem;font-weight:900;color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 22px rgba(0,0,0,.28);pointer-events:none
}
.badge-accepted{background:#14b869cc}
.badge-done{background:var(--pro)}

.card-footer{display:flex;gap:8px;margin-top:12px;align-items:center;justify-content:flex-start;flex-wrap:wrap}

.btn-chat{position:relative;overflow:visible;isolation:isolate}
.badge-unread{position:absolute;top:-8px;right:-8px;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ff3b30;color:#fff;font-size:.72rem;font-weight:900;box-shadow:0 8px 18px rgba(255,59,48,.45);z-index:99; pointer-events:none; transform:translate3d(0,0,0)}

.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.chip{background:var(--chip);border:1px solid rgba(255,255,255,.15);padding:6px 10px;border-radius:999px;display:inline-flex;gap:8px;align-items:center}
.chip img{height:20px;width:20px;border-radius:999px;object-fit:cover;border:1px solid rgba(255,255,255,.15)}
.chip.pro{border-color:var(--pro);box-shadow:0 0 0 2px rgba(247,147,26,.25) inset}
.pro-ring{box-shadow:0 0 0 2px var(--pro) inset;border-color:var(--pro)!important}

.detail-label{color:#fff;font-weight:800;font-size:14px;margin-bottom:4px}
.detail-inline-label{color:#fff;font-weight:800;font-size:14px;display:inline-block;margin-right:6px}

.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(9,15,26,.45);backdrop-filter: blur(8px);z-index:50}
.modal.show{display:flex}
.modal-box{width:min(92vw,520px);max-height:80vh;overflow:auto;background:rgba(20,26,40,.92);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:18px 16px 14px}
.modal-close{float:right;opacity:.8;cursor:pointer}
.modal-box{scrollbar-width:none}
.modal-box::-webkit-scrollbar{width:0;height:0}

.bottom{position:fixed;left:0;right:0;bottom:0;background:#0c1624;border-top:1px solid rgba(255,255,255,.08);z-index:40}
.bottom .tabs{max-width:500px;margin:0 auto;display:flex;align-items:center;justify-content:space-around;padding:8px 10px}
.tab{flex:1;text-align:center;padding:12px 10px;border-radius:14px;color:#fff;display:flex;gap:8px;align-items:center;justify-content:center;background:#111c2b;border:1px solid rgba(255,255,255,.14)}
.tab .ico{display:inline-flex;width:18px;height:18px}
.tab svg{width:18px;height:18px;display:block}
.tab.active{outline:2px solid rgba(255,255,255,.28)}

.card-sep{border:none;border-top:1px dashed rgba(255,255,255,.22);margin:10px 0}
.chat-header{display:flex;align-items:center;gap:10px;margin-bottom:10px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.10);border-radius:14px;padding:10px 12px}
.chat-h-back{background:transparent;border:1px solid rgba(255,255,255,.25);border-radius:10px;color:#fff;padding:8px 10px;cursor:pointer}
.chat-h-title{font-weight:900}
.chat-h-sub{font-size:12px;color:var(--muted)}
.chat-h-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.15)}

.chat-box{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:12px}
.chat-msgs{max-height:52vh;overflow:auto;padding:4px;scrollbar-width:none}
.chat-msgs::-webkit-scrollbar{width:0;height:0}
.chat-row{display:flex;align-items:flex-end;gap:8px;margin:6px 0}
.chat-row.self{justify-content:flex-end}
.chat-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.15)}
.chat-bubble{max-width:70%;padding:8px 10px;border-radius:12px}
.chat-bubble.self{background:#1c63b8;color:#fff;border-top-right-radius:4px}
.chat-bubble.other{background:#233145;color:#fff;border-top-left-radius:4px}

.seg-2col{display:flex;gap:8px;margin:8px 0 12px}
.seg-2col .btn{flex:1}

.seg-3col{display:flex;gap:8px;align-items:stretch}

.filters-bar{display:flex;gap:8px;align-items:center;margin:0 0 10px 0}
.filter-select{flex:1;min-width:0}
.filter-clear{flex:0 0 110px}

.profile-card{position:relative}
.profile-pro-chip{
  position:absolute;left:12px;top:-12px;z-index:9;border-radius:999px;padding:4px 10px;font-size:.82rem;font-weight:900;color:#fff;background:var(--pro);border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 22px rgba(0,0,0,.28);pointer-events:none
}

/* ajustes solicitados */
.profile-center{display:flex;flex-direction:column;align-items:center;margin:6px 0 10px}
.profile-avatar{width:100px;height:100px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.15);box-shadow:0 6px 16px rgba(0,0,0,.25)}
.profile-avatar.is-pro{box-shadow:0 0 0 3px rgba(247,147,26,.45),0 6px 16px rgba(0,0,0,.25);border-color:var(--pro)}
.profile-name{font-weight:900;margin-top:8px;text-align:center}
.profile-card{padding-bottom:90px}
.profile-actions{position:absolute;left:16px;right:16px;bottom:15px;display:flex;gap:8px}
.profile-actions .btn{flex:1}
.profile-center{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:10px}
.profile-avatar{width:128px;height:128px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.15)}
.profile-avatar.is-pro{border-color:var(--pro);box-shadow:0 0 0 3px rgba(247,147,26,.35)}
.profile-name{text-align:center;font-weight:800;margin-top:6px}
.profile-card .profile-center{display:flex;flex-direction:column;align-items:center;gap:12px;margin:8px 0 12px}
.profile-card .profile-avatar{width:150px!important;height:150px!important;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.15);display:block}
.profile-card .profile-avatar.is-pro{border-color:var(--pro);box-shadow:0 0 0 3px rgba(247,147,26,.35)}
.profile-card .profile-name{text-align:center;font-weight:800;margin-top:6px;font-size:16px}

/* Perfil: avatar centralizado + grande e ring PRO */
.profile-card{ position:relative; padding-bottom:80px }
.profile-center{ display:flex; flex-direction:column; align-items:center; gap:8px; margin:12px 0 }
.profile-avatar{
  width:120px; height:120px;
  border-radius:50%; object-fit:cover;
  border:1px solid rgba(255,255,255,.15); display:block
}
.profile-avatar.is-pro{
  box-shadow:0 0 0 3px var(--pro) inset, 0 0 0 2px rgba(247,147,26,.35);
  border-color:var(--pro)
}

/* Ações do perfil: deixa espaço e ancora o Excluir no canto inferior direito */
.profile-actions{ position:relative; min-height:44px }
.profile-actions .btn-danger{ position:absolute; right:18px; bottom:14px }

/* avatar menor e ring laranja quando PRO */
.profile-card .chip img{width:154px!important;height:154px!important;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.2)}
.profile-card:has(.profile-pro-chip) .chip img{border-color:var(--pro)!important;box-shadow:0 0 0 3px rgba(247,147,26,.65),0 8px 22px rgba(247,147,26,.25)}

/* reservar espaço e fixar Excluir conta no canto inferior direito */
.profile-card{position:relative;padding-bottom:90px}
.profile-card .btn-row:last-of-type .btn-danger{position:absolute;right:18px;bottom:15px}
.profile-card .chip{background:transparent;border:none;padding:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.profile-card .chip img{width:220px!important;height:220px!important;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.2)}
/* avatar menor e ring laranja quando PRO */
.profile-card .chip img{width:154px!important;height:154px!important;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.2)}
.profile-card:has(.profile-pro-chip) .chip img{border-color:var(--pro)!important;box-shadow:0 0 0 3px rgba(247,147,26,.65),0 8px 22px rgba(247,147,26,.25)}

/* reservar espaço e fixar Excluir conta no canto inferior direito */
.profile-card{position:relative;padding-bottom:90px}
.profile-card .btn-row:last-of-type .btn-danger{position:absolute;right:18px;bottom:15px}

/* Chat: botão Enviar 5px abaixo do input */
#viewChat .chat-box .btn-row{display:flex; gap:8px; align-items:flex-start}
#viewChat .chat-box #msg{flex:1}
#viewChat .chat-box #send{margin-top:5px}

/* === Patch: +respiro no Perfil (isolado) === */
#viewProfile{padding-top:24px;padding-bottom:54px}
#viewProfile .profile-card{padding:30px}
#viewProfile .profile-card .detail-label{margin-top:10px;margin-bottom:6px}
#viewProfile .profile-card .seg-3col{gap:12px;margin-top:8px;margin-bottom:12px}
#viewProfile .profile-card .btn-row{margin-top:12px}
#viewProfile .profile-card .card-sep{margin:16px 0}

/* ↑ logo "FazUmBico" +30% */
.hero-logo{font-size:23.4px}           /* de 18px para ~23.4px */
.logo-txt{font-size:calc(1.3 * 1em)}   /* +30% sobre o tamanho atual do header */
/* ==== PERFIL: avatar central + nome 2x e botões empilhados ===== */
.profile-header{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  margin:8px 0 12px 0
}
.profile-avatar{display:block;margin:0 auto;border-radius:50%;object-fit:cover}
.profile-name{font-weight:900;font-size:2em;line-height:1.1;margin:6px 0 0;text-align:center}

/* Botões do perfil: largura total e empilhados com 6px de espaçamento */
.profile-actions.full .btn{display:block;width:100%}
.profile-actions.full .btn + .btn{margin-top:6px}

/* Outline vermelho (sem fundo) para Sair/Excluir conta */
.btn-outline-danger{background:transparent;border:1px solid var(--danger);color:var(--danger)}

/* Remover sublinhado em botões de Legal e Suporte (se algum user-agent aplicar) */
.btn, .btn-outline{ text-decoration:none }

/* ===== Ajustes PERFIL (somente CSS, não mexe no JS) ===== */

/* Centro do avatar + nome 2x e centralizado */
.profile-center{ display:flex; flex-direction:column; align-items:center; }
.profile-name{ font-size:200%; font-weight:800; text-align:center; margin-top:8px; }

/* Botões do rodapé do perfil: coluna, largura total e espaçamento uniforme */
.profile-actions{
  display:flex; flex-direction:column; gap:6px;
  margin-top:12px;
}
.profile-actions .btn{ width:100%; justify-content:center; }

/* “Sair” e “Excluir conta” só com borda vermelha, fundo transparente */
.profile-actions .btn-danger{
  background:transparent !important;
  border:1px solid var(--danger) !important;
  color:var(--danger) !important;
  box-shadow:none !important;
}

/* Remover sublinhado dos links de Legal e Suporte dentro do card do perfil */
.profile-card a{ text-decoration:none; }

/* ===== PATCH: ring vivo, legal sem sublinhado, zoom overlay ===== */

/* ring laranja mais vivo quando PRO */
.profile-avatar.is-pro{
  border-color:#ff9f1a!important;
  box-shadow:0 0 0 3px rgba(255,159,26,.95), 0 0 28px rgba(255,159,26,.45)!important;
}

/* botões de Legal & Suporte sem sublinhado */
#viewProfile .card-footer .btn{ text-decoration:none!important }

/* overlay de zoom */
.zoom-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.75);
  display:flex; align-items:center; justify-content:center; z-index:9999;
}
.zoom-overlay .zoom-img{
  border-radius:12px; border:1px solid rgba(255,255,255,.15);
}


/* PWA / ajustes seguros */
html,body,#app-shell{overflow-x:hidden}
#btnInstallApp{margin-top:4px}
@media (display-mode: standalone){ body{overscroll-behavior:none} }

@media (display-mode: standalone) {
  #bottomBar{
    bottom: 14px !important;
    padding-bottom: 0 !important;
  }

  body{
    padding-bottom: 92px !important;
  }
}
