:root{--navy:#181818;--navy-dark:#101010;--navy-mid:#1f1f1f;--gold:#c9a24d;--gold-light:#dcc07a;--gold-dark:#8a6d2f;--cream:#fbf8f1;--border:#e3dbc7;--text-mid:#4a4a5a}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Plus Jakarta Sans',sans-serif;color:#181818;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:'DM Serif Display',serif;font-weight:400}
a{color:inherit;text-decoration:none}
/* login */
.login{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--navy)}
.login-side{position:relative;overflow:hidden;padding:3rem 4rem;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 80% 0%,rgba(201,162,77,.16),transparent 55%),linear-gradient(160deg,#1f1f1f,#101010)}
.login-side::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.brand{font-family:'DM Serif Display',serif;font-size:1.4rem;color:#fff}.brand em{color:var(--gold);font-style:italic}
.side-copy h1{color:#fff;font-size:clamp(2.1rem,3.6vw,3.2rem);line-height:1.12;margin-bottom:1.2rem}
.side-copy h1 em{color:var(--gold);font-style:italic}
.side-copy p{color:rgba(255,255,255,.68);font-size:1.02rem;line-height:1.7;max-width:30rem}
.feats{display:grid;gap:.9rem;margin-top:2.2rem}
.feat{display:flex;gap:.9rem;align-items:center;color:rgba(255,255,255,.82);font-size:.93rem}
.feat i{flex:none;width:38px;height:38px;border-radius:10px;border:1px solid rgba(201,162,77,.4);display:grid;place-items:center;background:rgba(201,162,77,.08);color:var(--gold)}
.feat svg,.ico svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.side-foot{color:rgba(255,255,255,.4);font-size:.78rem}
.login-main{background:var(--cream);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem}
.card{width:100%;max-width:420px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:2.4rem 2.2rem;box-shadow:0 30px 60px -30px rgba(24,24,24,.35)}
.lock{width:52px;height:52px;border-radius:14px;background:var(--navy);color:var(--gold);display:grid;place-items:center;margin-bottom:1.3rem}
.lock svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.card h2{font-size:1.75rem;margin-bottom:.4rem}
.card .sub{color:var(--text-mid);font-size:.92rem;line-height:1.55;margin-bottom:1.6rem}
label{display:block;font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--gold-dark);margin:0 0 .45rem}
.field{position:relative;margin-bottom:1.15rem}
.field input{width:100%;padding:.95rem 1rem;border:1.5px solid var(--border);border-radius:11px;font:inherit;font-size:1rem;background:var(--cream);color:#181818;transition:border-color .2s,box-shadow .2s}
.field input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 4px rgba(201,162,77,.18);background:#fff}
.field input.err{border-color:#b3402f}
.eye{position:absolute;right:6px;bottom:6px;width:40px;height:40px;border:0;background:transparent;color:#7a7a8a;cursor:pointer;border-radius:8px}
.eye:hover{color:var(--gold-dark)}
.eye svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8}
.row{display:flex;justify-content:flex-end;margin:-.4rem 0 1.4rem;font-size:.84rem}
.row a{color:var(--gold-dark);font-weight:600}.row a:hover{text-decoration:underline}
.btn{width:100%;padding:1rem;border:0;border-radius:11px;background:var(--navy);color:#fff;font:inherit;font-weight:700;font-size:.98rem;cursor:pointer;transition:transform .15s,background .2s;display:flex;justify-content:center;gap:.5rem;align-items:center}
.btn:hover{background:#000;transform:translateY(-1px)}
.btn.gold{background:var(--gold);color:var(--navy)}.btn.gold:hover{background:var(--gold-light)}
.msg{display:none;margin-top:1.1rem;padding:.95rem 1rem;border-radius:11px;font-size:.88rem;line-height:1.55;background:#fbf4e0;border:1px solid #ecd9a0;color:#5b4a1b}
.msg.show{display:block}
.msg.bad{background:#fbeceb;border-color:#efc3be;color:#7a2a20}
.msg a{font-weight:700;text-decoration:underline}
.alt{margin-top:1.4rem;padding-top:1.3rem;border-top:1px solid var(--border);text-align:center;font-size:.86rem;color:var(--text-mid);line-height:1.7}
.alt a{color:var(--gold-dark);font-weight:600}.alt a:hover{text-decoration:underline}
.back{display:inline-block;margin-top:1.4rem;font-size:.84rem;color:#7a7a8a}.back:hover{color:var(--gold-dark)}
.safe{display:flex;gap:.5rem;align-items:center;justify-content:center;margin-top:1.1rem;font-size:.76rem;color:#8a8a98}
@media(max-width:900px){.login{grid-template-columns:1fr}.login-side{padding:2rem 1.6rem 2.4rem}.side-foot,.feats{display:none}.side-copy h1{font-size:2rem}.login-main{padding:1.6rem 1.1rem 3rem;margin-top:-1.4rem}}
/* painel */
.app{display:grid;grid-template-columns:250px 1fr;min-height:100vh;background:var(--cream)}
.sb{background:var(--navy);color:#fff;padding:1.6rem 1.1rem;display:flex;flex-direction:column;gap:.3rem;position:sticky;top:0;height:100vh}
.sb .brand{font-size:1.15rem;padding:0 .6rem 1.4rem;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:1rem}
.sb a.it{display:flex;align-items:center;gap:.75rem;padding:.7rem .8rem;border-radius:10px;color:rgba(255,255,255,.65);font-size:.9rem;font-weight:500;transition:background .2s,color .2s}
.sb a.it svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sb a.it:hover{background:rgba(255,255,255,.06);color:#fff}
.sb a.it.on{background:rgba(201,162,77,.14);color:var(--gold-light)}
.sb .out{margin-top:auto}
.main{padding:2rem 2.6rem 3rem;max-width:1100px;width:100%}
.demo{display:flex;gap:.7rem;align-items:center;background:#fbf4e0;border:1px solid #ecd9a0;color:#5b4a1b;border-radius:12px;padding:.8rem 1rem;font-size:.84rem;margin-bottom:1.6rem}
.top{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-bottom:1.8rem}
.top h1{font-size:2rem}.top p{color:var(--text-mid);font-size:.94rem;margin-top:.2rem}
.avatar{width:46px;height:46px;border-radius:50%;background:var(--navy);color:var(--gold);display:grid;place-items:center;font-family:'DM Serif Display',serif;font-size:1.2rem}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.4rem}
.stat{background:#fff;border:1px solid var(--border);border-radius:16px;padding:1.3rem 1.3rem}
.stat .ico{width:40px;height:40px;border-radius:11px;background:var(--navy);color:var(--gold);display:grid;place-items:center;margin-bottom:.9rem}
.stat b{display:block;font-family:'DM Serif Display',serif;font-size:2rem;font-weight:400;line-height:1}
.stat span{font-size:.82rem;color:var(--text-mid)}
.cols{display:grid;grid-template-columns:1.4fr 1fr;gap:1.1rem}
.panel{background:#fff;border:1px solid var(--border);border-radius:16px;padding:1.5rem}
.panel h3{font-size:1.25rem;margin-bottom:1rem}
.proc{padding:1rem 0;border-top:1px solid var(--border)}
.proc:first-of-type{border-top:0;padding-top:0}
.proc .n{font-size:.76rem;color:#7a7a8a;letter-spacing:.03em}
.proc .t{font-weight:600;margin:.15rem 0 .6rem;font-size:.95rem}
.bar{height:7px;background:#efe8d6;border-radius:99px;overflow:hidden}
.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--gold-dark),var(--gold));border-radius:99px}
.proc .s{display:flex;justify-content:space-between;font-size:.78rem;color:var(--text-mid);margin-top:.45rem}
.tag{display:inline-block;padding:.18rem .6rem;border-radius:99px;font-size:.72rem;font-weight:600;background:#efe8d6;color:var(--gold-dark)}
.tag.ok{background:#e3f1e5;color:#2d6a3a}
.li{display:flex;gap:.8rem;align-items:center;padding:.85rem 0;border-top:1px solid var(--border);font-size:.9rem}
.li:first-of-type{border-top:0;padding-top:0}
.li .ico{flex:none;width:36px;height:36px;border-radius:10px;background:#f3efe7;color:var(--gold-dark);display:grid;place-items:center}
.li .ico svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.li small{display:block;color:#7a7a8a;font-size:.76rem}
.li .grow{flex:1}
.wa{margin-top:1.1rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;background:var(--navy);color:#fff;border-radius:16px;padding:1.3rem 1.5rem}
.wa p{font-size:.95rem;color:rgba(255,255,255,.8);max-width:34rem}.wa p b{color:#fff;font-weight:600}
.wa a{background:var(--gold);color:var(--navy);padding:.8rem 1.3rem;border-radius:10px;font-weight:700;font-size:.88rem}
@media(max-width:900px){.app{grid-template-columns:1fr}.sb{position:static;height:auto;flex-direction:row;flex-wrap:wrap;padding:1rem}.sb .brand{width:100%;border:0;padding-bottom:.4rem;margin:0}.sb .out{margin-top:0}.main{padding:1.4rem 1.1rem 3rem}.grid,.cols{grid-template-columns:1fr}}

/* ---- área real: componentes extras ---- */
.bdg{margin-left:auto;background:var(--gold);color:var(--navy);font-size:.7rem;font-weight:700;border-radius:99px;min-width:20px;height:20px;padding:0 6px;display:inline-grid;place-items:center}
.aviso{padding:.85rem 1.1rem;border-radius:12px;margin-bottom:1.3rem;font-size:.9rem;line-height:1.6;background:#fbf4e0;border:1px solid #ecd9a0;color:#5b4a1b}
.aviso.okk{background:#e8f3ea;border-color:#bcdcc3;color:#255a31}
.aviso.bad{background:#fbeceb;border-color:#efc3be;color:#7a2a20}
.aviso a{font-weight:700;text-decoration:underline}
a.stat{display:block;transition:transform .2s,box-shadow .2s}a.stat:hover{transform:translateY(-2px);box-shadow:0 14px 28px -18px rgba(24,24,24,.5)}
.vazio{color:#7a7a8a;font-size:.9rem;line-height:1.6}
.mais{margin-top:.9rem;font-size:.86rem}.mais a{color:var(--gold-dark);font-weight:600}
.sub-t{font-family:'Plus Jakarta Sans',sans-serif;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-dark);margin:1.4rem 0 .7rem}
.tag.bad{background:#fbeceb;color:#8a2a20}
.peq{display:inline-block;padding:.45rem .85rem;border-radius:8px;background:var(--navy);color:#fff;border:0;font:inherit;font-size:.78rem;font-weight:600;cursor:pointer;white-space:nowrap}
.peq:hover{background:#000}.peq.cinza{background:#ece6d6;color:#5b4a1b}.peq.cinza:hover{background:#e2d9bf}
.peqb{width:auto;padding:.7rem 1.3rem;font-size:.9rem}
.linha{list-style:none;border-left:2px solid var(--border);margin-left:.4rem;padding-left:1.2rem}
.linha li{position:relative;padding-bottom:1.1rem}
.linha li::before{content:'';position:absolute;left:calc(-1.2rem - 6px);top:.35rem;width:10px;height:10px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 3px var(--cream)}
.linha time{font-size:.76rem;color:#7a7a8a;font-weight:600}.linha p{font-size:.93rem;line-height:1.6;margin-top:.15rem}
.envio{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin-top:1rem}
.envio input[type=file]{flex:1;min-width:200px;font-size:.85rem}
.nota{font-size:.76rem;color:#8a8a98;margin-top:.5rem}
.ev{display:flex;gap:1rem;align-items:center;padding:.9rem 0;border-top:1px solid var(--border)}.ev:first-of-type{border-top:0;padding-top:0}
.ev .grow{flex:1}
.dt{flex:none;width:56px;height:60px;border-radius:12px;background:var(--navy);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.dt b{font-family:'DM Serif Display',serif;font-size:1.5rem;font-weight:400;line-height:1}.dt span{font-size:.7rem;text-transform:uppercase;color:var(--gold-light);letter-spacing:.06em}
.ev strong{font-weight:600;font-size:.96rem}.ev small{display:block;color:#7a7a8a;font-size:.8rem;margin-top:.15rem}
.chat{max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:.7rem;padding:.2rem .1rem 1rem}
.bal{max-width:80%;padding:.7rem 1rem;border-radius:14px;font-size:.92rem;line-height:1.55}
.bal small{display:block;margin-top:.3rem;font-size:.7rem;opacity:.7}
.bal.eu{align-self:flex-end;background:var(--navy);color:#fff;border-bottom-right-radius:4px}
.bal.esc{align-self:flex-start;background:#f3efe7;border-bottom-left-radius:4px}
.envio-msg{display:flex;gap:.8rem;align-items:flex-end;border-top:1px solid var(--border);padding-top:1rem}
.envio-msg textarea,.field textarea,.field select{width:100%;padding:.8rem .95rem;border:1.5px solid var(--border);border-radius:11px;font:inherit;font-size:.95rem;background:var(--cream);color:#181818}
.envio-msg textarea:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 4px rgba(201,162,77,.18)}
.li a.peq{margin-left:.3rem}
.stat span{display:block}
.adm{min-height:100vh;background:var(--cream)}
.adm-top{background:var(--navy);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.adm-top nav{display:flex;gap:1.4rem}.adm-top nav a{color:rgba(255,255,255,.75);font-size:.88rem}.adm-top nav a:hover{color:var(--gold-light)}
.adm-main{max-width:1100px;margin:0 auto;padding:1.8rem 1.4rem 4rem}
.adm-h{font-size:1.9rem;margin-bottom:1.3rem}.adm-h small{font-family:'Plus Jakarta Sans',sans-serif;font-size:.85rem;color:#7a7a8a;margin-left:.6rem}
.abas{position:sticky;top:0;z-index:5;display:flex;gap:.5rem;flex-wrap:wrap;background:var(--cream);padding:.6rem 0 1rem}
.abas a{padding:.45rem .95rem;border:1px solid var(--border);border-radius:99px;font-size:.82rem;font-weight:600;background:#fff;color:var(--gold-dark)}.abas a:hover{background:var(--navy);color:#fff}
.sec{margin-bottom:1.3rem;scroll-margin-top:70px}
.lin2{display:flex;flex-wrap:wrap;gap:.8rem;align-items:flex-end}
.lin2 .field{flex:1 1 170px;margin-bottom:0}.lin2 .field.grande{flex:2 1 300px}
.lin2 .btn{width:auto;padding:.85rem 1.4rem}
.blk{border:1px solid var(--border);border-radius:14px;padding:1.1rem;margin-bottom:1.1rem;background:#fffdf8}
.inl{display:inline}.chk{display:flex!important;align-items:center;gap:.5rem;text-transform:none!important;letter-spacing:0!important;font-weight:500!important;color:#181818!important;padding:.8rem 0}
.chk input{width:auto}
.lin{color:inherit}.lin:hover{background:#faf6ea}
.peqli{font-size:.86rem}.peqli small{display:inline;margin-right:.5rem;font-weight:600}
.mono{font-family:ui-monospace,Menlo,monospace;background:#fff;padding:.1rem .4rem;border-radius:5px}
.field input[type=file]{padding:.7rem;background:#fff}
@media(max-width:900px){.adm-top{padding:1rem}.bal{max-width:92%}}
