/* Abraça Resolve — estilo institucional ABRASSA */
:root{--azul:#0a2e5c;--azul2:#134a8e;--dourado:#ffd166;--verm:#c1272d;--cinza:#f4f6f9;--borda:#d7e0ea;--texto:#182535;--verde:#1c7c36}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;background:var(--cinza);color:var(--texto);line-height:1.55}
header{background:var(--azul);color:#fff;padding:12px 20px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;border-bottom:4px solid var(--dourado)}
header .logo{font-size:1.3rem;font-weight:800;letter-spacing:1.5px}
header .tagline{font-size:.72rem;opacity:.85;letter-spacing:.4px}
nav{display:flex;flex-wrap:wrap;gap:2px}
nav a{color:#fff;text-decoration:none;font-size:.9rem;padding:8px 12px;border-radius:8px;opacity:.85}
nav a:hover{opacity:1;background:rgba(255,255,255,.12)}
main{max-width:1020px;margin:26px auto;padding:0 16px;min-height:55vh}
footer{background:var(--azul);color:#e7eef7;margin-top:44px}
footer .fwrap{max-width:1020px;margin:0 auto;padding:20px 16px;font-size:.8rem;line-height:1.6}
footer a{color:var(--dourado)}
h1{font-size:1.6rem;color:var(--azul);margin:.2em 0 .4em}
h2{font-size:1.15rem;color:var(--azul);margin-top:26px}
.card{background:#fff;border:1px solid var(--borda);border-radius:12px;padding:18px 20px;margin:14px 0}
.card.narrow{max-width:460px}
.card h2:first-child{margin-top:0}
.hero{background:linear-gradient(135deg,var(--azul) 0%,var(--azul2) 100%);color:#fff;border-radius:14px;padding:34px 30px;margin-bottom:18px}
.hero h1{color:#fff;font-size:1.75rem;max-width:720px}
.hero .lead{font-size:1.02rem;max-width:760px}
.hero-stats{font-size:.95rem;opacity:.92}
.hero .hint{color:#cfd9e6}
.aviso{background:#fff8e6;border:1px solid #e6c96a;border-left:6px solid #d8a400;border-radius:10px;padding:12px 16px;margin:14px 0;font-size:.92rem}
.erro{background:#fdecea;border:1px solid #f5c2c0;color:#8f1d1d;border-radius:10px;padding:10px 14px;margin:12px 0}
.ok{background:#e6f6ea;border:1px solid #bfe5c6;color:#145c2a;border-radius:10px;padding:12px 16px;margin:12px 0}
.btn{display:inline-block;background:var(--verm);color:#fff;border:none;border-radius:9px;padding:11px 20px;font-size:1rem;cursor:pointer;text-decoration:none;font-weight:600}
.btn:hover{filter:brightness(1.12)}
.btn.sec{background:var(--azul2)}
.btn.mini{padding:6px 12px;font-size:.85rem;border-radius:7px}
label{display:block;margin:12px 0 4px;font-weight:600;font-size:.92rem}
input[type=text],input[type=email],input[type=password],input[type=date],input[type=number],select,textarea{width:100%;padding:9px 12px;border:1px solid var(--borda);border-radius:8px;font-size:1rem;font-family:inherit;background:#fbfcfe}
select.mini{width:auto;padding:4px 6px;font-size:.85rem}
select.mid{width:auto;min-width:220px}
textarea{min-height:120px;resize:vertical}
.hint{font-size:.8rem;color:#5b6b7a}
.meta{color:#5b6b7a;font-size:.85rem;margin-top:4px}
.badge{display:inline-block;background:#e8f0f8;color:var(--azul2);border-radius:999px;padding:2px 10px;font-size:.78rem;margin:0 2px;font-weight:600}
.b-gray{background:#e9edf1;color:#54606c}.b-slate{background:#e2e8ee;color:#3d4a58}
.b-blue{background:#e3edfb;color:#134a8e}.b-sky{background:#dff2fb;color:#0e6b96}
.b-amber{background:#fdf1d7;color:#8a6100}.b-green{background:#e3f5e8;color:#1c7c36}
.b-purple{background:#efe7f9;color:#6b30a8}.b-red{background:#fde8e8;color:#b02a2a}
.protocolo{font-size:1.35rem;font-weight:800;letter-spacing:1px;background:#fff8e6;border:2px dashed #d8a400;border-radius:9px;display:inline-block;padding:9px 18px;margin:6px 0;color:var(--azul)}
.emp{font-weight:700;color:var(--azul);font-size:1.04rem}
.titulo{font-weight:600;margin:2px 0 6px}
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--borda);border-radius:10px;overflow:hidden;margin:10px 0}
th,td{border-bottom:1px solid var(--borda);padding:9px 11px;text-align:left;font-size:.9rem;vertical-align:top}
th{background:#eef3f8;color:var(--azul);font-size:.85rem}
tr:last-child td{border-bottom:none}
.searchbar{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}
.searchbar input{flex:1;min-width:240px}
.stats3{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0}
.stat{text-align:center;padding:14px 8px}
.stat .num{font-size:1.7rem;font-weight:800;color:var(--azul)}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:760px){.cols2{grid-template-columns:1fr}table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.chip{background:#fff;border:1px solid var(--borda);border-radius:999px;padding:6px 14px;font-size:.85rem;text-decoration:none;color:var(--texto)}
.chip:hover{border-color:var(--azul2)}
.brow{display:grid;grid-template-columns:150px 1fr 40px;gap:10px;align-items:center;margin:7px 0;font-size:.88rem}
.bval{text-align:right;font-weight:700;color:var(--azul)}
.rank-bar{background:#e8f0f8;border-radius:5px;height:14px;min-width:60px}
.rank-fill{background:var(--verm);height:14px;border-radius:5px}
.timeline{list-style:none;padding:0;margin:14px 0}
.timeline li{display:flex;gap:12px;padding:9px 0;border-bottom:1px dashed var(--borda)}
.tl-dot{width:12px;height:12px;border-radius:50%;background:var(--azul2);margin-top:5px;flex:none}
.tl-dot.now{background:var(--verm);box-shadow:0 0 0 4px #f7d9da}
.chkgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:4px 14px;background:#fff;border:1px solid var(--borda);border-radius:10px;padding:12px 14px}
.chkgrid label{display:flex;gap:8px;align-items:flex-start;font-weight:400;font-size:.88rem;margin:3px 0}
.chkgrid input{margin-top:3px}
.steps li{margin:10px 0}
.inlineform{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.inlineform label{margin:0 0 4px}
.relato{white-space:pre-wrap;font-size:.98rem;background:#fbfcfe}
.inv-mini{display:block;text-decoration:none;color:inherit}
.inv-mini:hover{border-color:var(--azul2)}

/* --- ajustes da versão de lançamento --- */
.steps3{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:14px 0}
.stepnum{width:36px;height:36px;border-radius:50%;background:var(--azul);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:6px}
h3{font-size:1rem;color:var(--azul);margin:4px 0 6px}
.blab{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;color:#44525f}
.hero .hero-stats b{font-size:1.2rem;color:var(--dourado)}
.card table{margin:4px 0}
code{background:#eef3f8;border:1px solid var(--borda);border-radius:5px;padding:1px 5px;font-size:.85rem}

/* --- modo noturno (controlado pelo botão 🌙 do topo) --- */
.theme-btn{background:transparent;border:none;font-size:1.05rem;cursor:pointer;padding:8px 10px;border-radius:8px;opacity:.9;line-height:1;color:inherit}
.theme-btn:hover{background:rgba(255,255,255,.15);opacity:1}
html[data-theme="dark"]{--azul:#0d1f38;--azul2:#1b3a63;--dourado:#ffd166;--verm:#e05252;--cinza:#0f1520;--borda:#2a3646;--texto:#dbe4ee;--verde:#3fae5c}
html[data-theme="dark"] .card,html[data-theme="dark"] table{background:#141d2b}
html[data-theme="dark"] .hero{background:linear-gradient(135deg,#0d1f38 0%,#17325a 100%)}
html[data-theme="dark"] .hero .hint{color:#9fb2c9}
html[data-theme="dark"] header,html[data-theme="dark"] footer{background:#0d1f38}
html[data-theme="dark"] th{background:#1a2738;color:#a9c3e2}
html[data-theme="dark"] th,html[data-theme="dark"] td{border-color:#2a3646}
html[data-theme="dark"] .chip{background:#141d2b;border-color:#2a3646;color:var(--texto)}
html[data-theme="dark"] .chip:hover{border-color:#5b8bc9}
html[data-theme="dark"] .badge{background:#1a2738;color:#9cc0ea}
html[data-theme="dark"] .b-gray{background:#222c3a;color:#a7b4c4}
html[data-theme="dark"] .b-slate{background:#1f2a38;color:#b7c3d2}
html[data-theme="dark"] .b-blue{background:#16283f;color:#8fb8ec}
html[data-theme="dark"] .b-sky{background:#112b38;color:#7fd0f0}
html[data-theme="dark"] .b-amber{background:#332810;color:#f0c469}
html[data-theme="dark"] .b-green{background:#12301c;color:#7cd39a}
html[data-theme="dark"] .b-purple{background:#251a35;color:#c9a0ef}
html[data-theme="dark"] .b-red{background:#33181a;color:#f09a9a}
html[data-theme="dark"] .protocolo{background:#241f0e;border-color:#8a6d1a;color:#ffd166}
html[data-theme="dark"] .aviso{background:#2b250f;border-color:#6b5a1e;color:#e8dcb0}
html[data-theme="dark"] .erro{background:#2e1416;border-color:#5e2a2e;color:#f0a8a8}
html[data-theme="dark"] .ok{background:#12281a;border-color:#2c5238;color:#9adbb0}
html[data-theme="dark"] .hint,html[data-theme="dark"] .meta,html[data-theme="dark"] .blab{color:#93a3b4}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] .stat .num,html[data-theme="dark"] .emp,html[data-theme="dark"] .bval{color:#cfe0f2}
html[data-theme="dark"] input[type=text],html[data-theme="dark"] input[type=email],html[data-theme="dark"] input[type=password],html[data-theme="dark"] input[type=date],html[data-theme="dark"] input[type=number],html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#101827;color:var(--texto);border-color:#2a3646}
html[data-theme="dark"] select.mini,html[data-theme="dark"] select.mid{background:#101827;color:var(--texto)}
html[data-theme="dark"] code{background:#1a2738;border-color:#2a3646;color:#a9c3e2}
html[data-theme="dark"] .relato{background:#101827}
html[data-theme="dark"] .rank-bar{background:#1a2738}
html[data-theme="dark"] .chkgrid{background:#141d2b}
html[data-theme="dark"] .tl-dot.now{box-shadow:0 0 0 4px #3a2224}
html[data-theme="dark"] .theme-btn:hover{background:rgba(255,255,255,.08)}

/* --- quadros (situações em destaque) da área azul --- */
.hero-cards{margin-top:22px}
.hero-cards-title{color:#fff;font-size:1.05rem;margin:0 0 10px;opacity:.95}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.hero-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);border-radius:12px;padding:16px 15px;color:#fff;text-decoration:none;display:block;transition:background .15s}
.hero-card:hover{background:rgba(255,255,255,.16)}
.hc-emoji{font-size:1.5rem;margin-bottom:6px}
.wa-logo{display:inline-flex;width:32px;height:32px;vertical-align:middle}
.wa-logo svg{width:32px;height:32px;display:block}
.wa-logo circle{fill:#25d366}
.wa-logo path{fill:#fff}
.hc-title{font-weight:700;font-size:.98rem;line-height:1.35}
.hc-desc{font-size:.8rem;opacity:.85;margin-top:5px;line-height:1.45}
.hc-link{font-size:.8rem;color:var(--dourado);font-weight:700;margin-top:8px}
html[data-theme="dark"] .hero-card{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18)}
html[data-theme="dark"] .hero-card:hover{background:rgba(255,255,255,.13)}

.footer-wa{font-weight:700}
.footer-wa:hover{color:#fff}
.admin-footer{max-width:1020px;margin:0 auto;padding:0 16px 12px;text-align:right;font-size:.78rem}
.admin-footer a{color:#cfd9e6;text-decoration:none}
.admin-footer a:hover{color:#fff;text-decoration:underline}

/* Contato, identidade institucional e alertas preventivos */
.home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0 16px}
.home-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:86px;padding:12px 8px;text-align:center;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:rgba(255,255,255,.09)}
.home-stat strong{font-size:1.65rem;line-height:1.15;color:var(--dourado)}
.home-stat span{font-size:.78rem;line-height:1.35;color:#fff;margin-top:4px}
.contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.contact-cta{min-height:50px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;padding:12px 17px;text-align:center}
.contact-cta-wa{background:#087c45;box-shadow:0 3px 0 #075b34}
.contact-cta-email{background:var(--azul2);box-shadow:0 3px 0 #0a2e5c}
.footer-contact{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}
.contact-pill{display:inline-flex;align-items:center;min-height:40px;padding:8px 13px;border-radius:9px;color:#fff!important;font-weight:750;text-decoration:none;border:1px solid rgba(255,255,255,.32)}
.contact-whatsapp{background:#087c45}.contact-email{background:#174f8f}
.footer-policy{margin-left:4px}
.cnpj-footer{display:inline-block;margin-top:5px;padding:7px 11px;border:1px solid var(--dourado);border-radius:8px;color:#fff;font-weight:600;letter-spacing:.2px}
.cnpj-footer strong{color:var(--dourado);font-size:.97rem;letter-spacing:.55px}
.fraud-alerts{margin:22px 0;border:1px solid #d69a22;border-left:7px solid #b9292f;border-radius:13px;background:#fffaf0;padding:19px 20px}
.fraud-heading h2{margin:3px 0 5px;color:#852326}
.fraud-heading p{margin:0 0 12px}
.fraud-label{font-size:.73rem;font-weight:900;letter-spacing:1.2px;color:#a11f25}
.fraud-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.fraud-item{background:#fff;border:1px solid #ead8ad;border-radius:10px;padding:12px}
.fraud-item h3{color:#752024}
.fraud-item p{font-size:.88rem;margin:0}
html[data-theme="dark"] .fraud-alerts{background:#2c2113;border-color:#80672e}
html[data-theme="dark"] .fraud-heading h2,html[data-theme="dark"] .fraud-label,html[data-theme="dark"] .fraud-item h3{color:#ffd166}
html[data-theme="dark"] .fraud-item{background:#171f2a;border-color:#554826}
@media(max-width:700px){.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fraud-grid{grid-template-columns:1fr}.contact-actions{flex-direction:column}.contact-cta{width:100%}.footer-contact{align-items:stretch;flex-direction:column}.contact-pill{justify-content:center}}
