:root{--navy:#082f4d;--navy-2:#0c456c;--blue:#0f6fa9;--blue-soft:#eaf4fb;--yellow:#f6be20;--yellow-soft:#fff7d9;--green:#17814e;--green-soft:#e7f6ed;--orange:#d86c16;--orange-soft:#fff0df;--red:#bd3d34;--red-soft:#fdebea;--ink:#102a43;--muted:#6d8294;--line:#dfe7ef;--panel:#fff;--bg:#f4f7fa;--shadow:0 14px 36px rgba(8,47,77,.08)}

/* Global polish */
body{background:linear-gradient(180deg,#f7fafc 0,#f3f7fa 100%)}
button{transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(15,111,169,.22);outline-offset:2px}
.primary:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(214,158,0,.22)}
.secondary:hover{background:#dfeaf2}
.sidebar{background:linear-gradient(180deg,#06283f 0%,#082f4d 55%,#0a3858 100%);border-right:1px solid rgba(255,255,255,.06)}
.side-footer{box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.side-footer strong{font-size:13px}
.topbar{box-shadow:0 5px 24px rgba(16,42,67,.035)}
.topbar-new-sor{border:1px solid #ecd58c;background:#fff9df;color:#6f5100;border-radius:12px;padding:10px 13px;font-weight:850;display:flex;align-items:center;gap:7px;cursor:pointer;min-height:44px}
.topbar-new-sor:hover{background:#fff4c2;border-color:#e8c75b}
.manage-btn{min-height:44px}
.view{padding-top:32px}
.elevated-panel{box-shadow:var(--shadow);border-color:#e3ebf2}

/* Hero */
.hero-v2{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 12%,rgba(87,177,228,.22),transparent 26%),linear-gradient(135deg,#062b46 0%,#0b456d 55%,#0f638f 100%);padding:44px;box-shadow:0 24px 52px rgba(8,47,77,.2)}
.hero-v2:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-86px;bottom:-120px;box-shadow:0 0 0 38px rgba(255,255,255,.03),0 0 0 76px rgba(255,255,255,.02);pointer-events:none}
.hero-content,.hero-side{position:relative;z-index:1}
.hero-label{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);border-radius:999px;font-size:11px;font-weight:850;letter-spacing:.08em;color:#dceef8;margin-bottom:14px}
.hero-pulse{width:8px;height:8px;border-radius:50%;background:#44c77a;box-shadow:0 0 0 5px rgba(68,199,122,.12)}
.hero-v2 h1{font-size:clamp(40px,5vw,60px);max-width:760px;margin-top:9px}
.hero-v2 .hero-lead{font-size:19px;max-width:740px;margin-bottom:18px}
.hero-trust{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 26px}
.hero-trust span{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:#dceaf2;padding:8px 10px;border-radius:999px;font-size:12px;font-weight:700}
.hero-trust b{display:grid;place-items:center;width:18px;height:18px;background:#def5e8;color:#167a49;border-radius:50%;font-size:11px}
.hero-action{width:min(100%,420px)}
.hero-cta{display:flex;align-items:center;gap:10px;justify-content:flex-start;width:100%;min-width:0;padding:16px 18px;font-size:18px;border-radius:15px;box-shadow:0 14px 30px rgba(246,190,32,.18)}
.cta-plus{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:rgba(16,42,67,.09);font-size:22px;line-height:1}
.cta-arrow{margin-left:auto;font-size:21px}
.hero-microcopy{color:#bcd4e3;font-size:12px;line-height:1.4;margin-left:2px}
.hero-side{display:grid;gap:12px;align-self:end}
.danger-card{display:flex;align-items:flex-start;gap:12px;border-left:0;border:1px solid #ffd7b9;box-shadow:0 10px 24px rgba(22,56,80,.12);padding:18px 18px 18px 16px}
.danger-card>div:last-child{display:grid;gap:5px}
.danger-icon{width:34px;height:34px;border-radius:11px;background:#f1872d;color:white;display:grid;place-items:center;font-size:21px;font-weight:950;flex:0 0 auto}
.hero-side-note{display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px 16px;color:#edf7fc}
.side-note-icon{width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.12);display:grid;place-items:center;font-size:19px;flex:0 0 auto}
.hero-side-note div{display:grid;gap:2px}.hero-side-note small{color:#bed8e7;line-height:1.35}

/* Journey */
.section-intro{display:flex;justify-content:space-between;gap:24px;align-items:end;margin:30px 2px 15px}
.section-intro h2{margin:5px 0 0;font-size:27px;letter-spacing:-.02em}.section-intro p{max-width:500px;margin:0;color:var(--muted);line-height:1.55;font-size:14px}
.journey-v2{gap:18px}
.journey-v2 .journey-card{position:relative;min-height:192px;padding:22px;border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.journey-v2 .journey-card:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(16,42,67,.1)}
.journey-v2 .start-card{background:linear-gradient(145deg,#fffdf5,#fff8dd);border:1px solid #efd373}
.journey-v2 .start-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--yellow)}
.step-number{position:absolute;right:18px;top:15px;color:#d7e1e8;font-size:30px;font-weight:950;letter-spacing:-.06em}
.value-icon{width:46px;height:46px;border-radius:14px;background:var(--blue-soft);color:var(--blue)}
.value-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.start-card .value-icon{background:var(--yellow);color:#17324a}
.step-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.14em;color:#6f879a;margin-bottom:3px}
.journey-v2 .journey-card strong{font-size:17px}.journey-v2 .journey-card p{font-size:13.5px;line-height:1.55}
.journey-link{font-size:13px}.journey-link b{font-size:16px}

/* Empty states */
.empty-state-v2{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:220px;padding:34px 18px;color:var(--muted);background:linear-gradient(180deg,#fbfdfe,#f7fafc);border:1px dashed #d7e2ea;border-radius:16px}
.empty-state-v2 strong{font-size:17px;color:#28475e}.empty-state-v2 span{font-size:13px;max-width:520px;line-height:1.5}.empty-state-v2 .primary{margin-top:10px;min-height:44px;padding:11px 15px;font-size:13px}.empty-icon{width:50px;height:50px;border-radius:16px;background:#eaf4fb;color:#0f6fa9;display:grid;place-items:center;font-size:25px;margin-bottom:4px}

/* Form */
.page-title-v2{position:relative}.page-title-v2 h1{margin-bottom:9px}.page-title-v2 p{max-width:700px}
.form-card-v2{box-shadow:var(--shadow);border-color:#e3ebf2;padding:27px}
.form-card-v2 label{font-weight:800}.form-card-v2 input,.form-card-v2 select,.form-card-v2 textarea{background:#fbfdfe;border-color:#cbd9e4;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.form-card-v2 input:hover,.form-card-v2 select:hover,.form-card-v2 textarea:hover{border-color:#aac1d1;background:#fff}
.company-strip{background:linear-gradient(90deg,#eef7fc,#f8fbfd);padding:12px 14px}.form-chip{margin-left:auto;background:#fff;border:1px solid #d8e5ed;border-radius:999px;padding:5px 9px;color:#607d90;font-size:11px;font-weight:800}
.photo-field-v2{border:1px dashed #abc6d7;background:linear-gradient(180deg,#fbfdff,#f6fafc)}
.photo-arrow{margin-left:auto;color:#62839a;font-size:20px}
.identity-details{background:#fbfdfe;border:1px solid #e3eaf0;border-radius:14px;padding:14px 15px}.identity-details[open]{padding-bottom:16px}.consent-note{border:1px solid #e8edf2}
.submit-primary{display:inline-flex;align-items:center;justify-content:center;gap:9px}.submit-primary span{font-size:18px}

/* Management */
.management-header{display:flex;align-items:flex-end;justify-content:space-between;gap:22px}.management-header .page-title{margin-bottom:0}.management-live{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dfe8ee;border-radius:14px;padding:11px 14px;box-shadow:0 7px 20px rgba(16,42,67,.04);min-width:150px}.management-live div{display:grid;gap:1px}.management-live strong{font-size:12px}.management-live small{font-size:11px;color:var(--muted)}
.metrics-v2{gap:18px}.metrics-v2 article{display:flex;align-items:center;gap:16px;padding:21px 22px;box-shadow:var(--shadow);border-color:#e3ebf2;position:relative;overflow:hidden}.metrics-v2 article:after{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#0f6fa9}.metrics-v2 .metric-open:after{background:#e09324}.metrics-v2 .metric-closed:after{background:#27a365}.metric-icon{width:48px;height:48px;border-radius:15px;background:#eaf4fb;color:#0f6fa9;display:grid;place-items:center;font-size:22px;font-weight:900;flex:0 0 auto}.metric-open .metric-icon{background:#fff1df;color:#c56a17}.metric-closed .metric-icon{background:#e9f7ef;color:#208353}.metrics-v2 article>div:last-child{display:grid}.metrics-v2 article strong{font-size:36px;line-height:1;margin:5px 0 4px}.metrics-v2 article span{font-size:13px;font-weight:800;color:#4d6678}.metrics-v2 article small{font-size:11px}
.toolbar-v2{display:flex;justify-content:space-between;align-items:end;padding:17px 18px;box-shadow:var(--shadow)}.toolbar-v2 label{min-width:min(340px,100%)}.toolbar-v2 label>span{font-size:12px;color:#60798c}.toolbar-actions{display:flex;gap:10px}.toolbar-v2 .secondary{min-height:46px}
.admin-card{border-color:#dfe8ee;box-shadow:var(--shadow);position:relative;overflow:hidden}.admin-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#cddce6}.admin-card-head small{color:#7c91a0}.admin-card-head h3{font-size:19px}.observation{background:#f8fbfd;border:1px solid #e8eef3;border-radius:13px;padding:13px 14px}.record-meta{background:#fbfdfe;padding:9px 11px;border-radius:10px}.admin-form{background:#fbfdfe;border:1px solid #e8eef2;border-radius:15px;padding:16px;margin-top:16px}.admin-actions .primary{min-width:180px}
.badge{border:1px solid transparent}.badge.status-recebida{background:#e7f0f7;color:#34617d;border-color:#d4e3ee}.badge.status-analise{background:#e8f1ff;color:#2e66a4;border-color:#d4e4fa}.badge.status-correcao{background:#fff0df;color:#aa5a11;border-color:#f6d6b1}.badge.status-verificacao{background:#fff7d8;color:#8b6a08;border-color:#eadb95}.badge.status-imediata{background:#fde9e7;color:#b83830;border-color:#f4cbc7}.badge.status-reconhecida{background:#e8f6ee;color:#1b7e4f;border-color:#cce9d8}.badge.status-encerrada{background:#e2f4e9;color:#146f43;border-color:#c3e2d0}
.admin-empty{margin-top:18px}.insight-v2{display:flex;align-items:center;gap:15px;border-left:0;background:linear-gradient(90deg,#fff9df,#fff);border-color:#eadfae}.insight-mark{width:52px;height:52px;border-radius:16px;background:#f6be20;display:grid;place-items:center;color:#17324a;font-size:15px;font-weight:950;flex:0 0 auto}.insight-v2 div{display:grid;gap:3px}.insight-v2 div span{color:#647b8d;font-size:13px;line-height:1.45}

/* Login */
.modal{backdrop-filter:blur(8px);background:rgba(5,23,38,.7)}
.login-card-v2{text-align:left;border:1px solid rgba(255,255,255,.2);padding:32px;box-shadow:0 30px 90px rgba(0,0,0,.3)}
.login-shield{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#e9f4fb,#dcecf7);color:#0b5f94;display:grid;place-items:center;font-size:24px;margin-bottom:16px}
.login-card-v2 h2{font-size:27px;letter-spacing:-.02em}.login-card-v2 p{margin-top:5px;margin-bottom:19px}.password-wrap{position:relative}.password-wrap input{padding-right:54px!important;background:#fbfdfe!important}.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:42px;height:40px;border:0;background:transparent;border-radius:10px;color:#527086;display:grid;place-items:center;cursor:pointer}.password-toggle:hover{background:#edf4f8}.password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.password-toggle .eye-closed{display:none}.password-toggle[aria-pressed="true"] .eye-open{display:none}.password-toggle[aria-pressed="true"] .eye-closed{display:block}.password-help{margin-top:-7px;color:#7a8f9f;font-size:11px}.login-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:9px}.login-submit span{font-size:18px}

/* Toast */
.toast{border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 46px rgba(0,0,0,.22)}

@media(max-width:1000px){.topbar-new-sor{display:none}.hero-v2{grid-template-columns:1fr;padding:34px}.hero-side{grid-template-columns:1fr 1fr}.section-intro{align-items:flex-start}.journey-v2 .journey-card{min-height:178px}.management-header{align-items:flex-start}.management-live{margin-top:2px}}
@media(max-width:900px){.view{padding-top:20px}.hero-v2{padding:28px 24px}.hero-v2 h1{font-size:44px}.section-intro{margin-top:24px}.journey-v2 .journey-card{min-height:0}.metrics-v2 article{min-height:116px}.management-header{flex-direction:column;gap:12px}.management-live{width:100%;justify-content:flex-start}.toolbar-v2{align-items:stretch}.toolbar-actions{margin-left:auto}.form-chip{margin-left:auto}}
@media(max-width:700px){.hero-side{grid-template-columns:1fr}.section-intro{display:grid;gap:8px}.section-intro h2{font-size:23px}.section-intro p{font-size:13px}.toolbar-v2{flex-direction:column}.toolbar-actions{width:100%;margin-left:0}.toolbar-actions button{flex:1}.metrics-v2 article{min-height:0}.form-card-v2{padding:20px}.photo-arrow{display:none}}
@media(max-width:600px){.topbar{box-shadow:0 4px 16px rgba(16,42,67,.05)}.topbar-brand strong{font-size:16px}.topbar-brand small{display:none}.manage-btn span:last-child{display:inline}.hero-v2{padding:25px 19px;border-radius:21px;gap:20px}.hero-v2 h1{font-size:38px;line-height:1.02;margin:8px 0 12px}.hero-v2 .hero-lead{font-size:16px;line-height:1.5}.hero-trust{gap:7px;margin-bottom:21px}.hero-trust span{font-size:11px;padding:7px 8px}.hero-action{width:100%}.hero-cta{font-size:16px;padding:15px 15px}.hero-microcopy{font-size:11px}.danger-card{padding:15px}.hero-side-note{padding:13px}.section-intro{margin-left:2px;margin-right:2px}.journey-v2{gap:12px}.journey-v2 .journey-card{padding:18px}.step-number{font-size:26px}.recent-panel{padding:18px}.empty-state-v2{min-height:205px}.page-title-v2 h1{font-size:34px}.form-card-v2{padding:16px}.company-strip{gap:7px}.form-chip{width:100%;margin-left:0;text-align:center}.metrics-v2{gap:11px}.metrics-v2 article{padding:17px 18px}.metric-icon{width:44px;height:44px}.metrics-v2 article strong{font-size:32px}.toolbar-v2{padding:15px}.toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.admin-card{padding:18px}.admin-form{padding:13px}.insight-v2{align-items:flex-start}.login-card-v2{padding:27px 20px}.quick-sor{box-shadow:0 12px 30px rgba(8,47,77,.28)}}
@media(max-width:390px){.topbar-brand{display:none}.topbar-actions{margin-left:auto}.manage-btn{padding:8px 11px}.hero-label{font-size:10px}.hero-v2 h1{font-size:35px}.hero-trust{display:grid;grid-template-columns:1fr}.toolbar-actions{grid-template-columns:1fr}.journey-v2 .journey-card{gap:12px}.value-icon{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){button{transition:none}.journey-v2 .journey-card:hover,.primary:hover{transform:none}}
