@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:linear-gradient(135deg,#030712,#071426,#0b1f38);
    min-height:100vh;
    overflow-x:hidden;
    overflow-y:auto;
}

.login-page{
    display:flex;
    min-height:100vh;
}

.background-particles{
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at 15% 15%,rgba(212,175,55,.10),transparent 20%),
        radial-gradient(circle at 85% 20%,rgba(212,175,55,.08),transparent 18%),
        radial-gradient(circle at 75% 80%,rgba(212,175,55,.10),transparent 20%),
        radial-gradient(circle at 20% 75%,rgba(212,175,55,.08),transparent 20%);
    z-index:-1;
}

.left-panel{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:90px;
}

.brand{
    max-width:520px;
}

.logo{
    width:90px;
    height:90px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(212,175,55,.5);
    background:rgba(255,255,255,.05);
    margin-bottom:35px;
}

.logo span{
    color:#D4AF37;
    font-size:42px;
    font-weight:700;
}

.brand h1{
    color:#fff;
    font-size:64px;
    margin-bottom:20px;
}

.brand h2{
    color:#f0d67d;
    font-weight:400;
    margin-bottom:30px;
}

.gold-line{
    width:90px;
    height:3px;
    background:#D4AF37;
    margin-bottom:30px;
}

.brand p{
    color:#c9d2da;
    line-height:1.8;
    font-size:18px;
}

.right-panel{
    width:520px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.login-card{
    width:100%;
    padding:45px;
    background:rgba(255,255,255,.07);
    backdrop-filter:blur(20px);
    border-radius:24px;
    border:1px solid rgba(255,255,255,.10);
}

.login-card small{
    color:#D4AF37;
    letter-spacing:2px;
}

.login-card h3{
    color:#fff;
    font-size:42px;
    margin:18px 0;
}

.login-card p{
    color:#c9d2da;
    margin-bottom:35px;
}

label{
    display:block;
    color:#fff;
    margin-bottom:8px;
}

input{
    width:100%;
    height:56px;
    margin-bottom:22px;
    border:none;
    border-radius:12px;
    padding:0 18px;
    background:rgba(255,255,255,.08);
    color:#fff;
    outline:none;
}

input::placeholder{
    color:#b8c3cf;
}

button{
    width:100%;
    height:58px;
    border:none;
    border-radius:12px;
    background:#D4AF37;
    color:#111;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    transform:translateY(-2px);
}

@media(max-width:980px){

.left-panel{
display:none;
}

.right-panel{
width:100%;
}

}/* ===========================================================
   DASHBOARD
=========================================================== */

.dashboard{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:260px;
    background:rgba(6,16,32,.96);
    border-right:1px solid rgba(212,175,55,.18);
    padding:35px;
    display:flex;
    flex-direction:column;
}

.sidebar .logo{
    margin-bottom:25px;
}

.sidebar h2{
    color:#ffffff;
    margin-bottom:35px;
    font-size:28px;
}

.sidebar nav{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.sidebar nav a{
    text-decoration:none;
    color:#c9d2da;
    padding:14px 18px;
    border-radius:12px;
    transition:.25s;
    font-weight:500;
}

.sidebar nav a:hover{
    background:#D4AF37;
    color:#111;
}

.content{
    flex:1;
    padding:45px;
}

.content header{
    margin-bottom:45px;
}

.content h1{
    color:#fff;
    font-size:42px;
    margin-bottom:10px;
}

.content header p{
    color:#c9d2da;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border-radius:18px;
    padding:28px;
    transition:.25s;
}

.card:hover{
    transform:translateY(-4px);
    border-color:#D4AF37;
}

.card h3{
    color:#c9d2da;
    font-size:18px;
    margin-bottom:15px;
    font-weight:500;
}

.card h2{
    color:#D4AF37;
    font-size:42px;
}

@media(max-width:900px){

.dashboard{
    flex-direction:column;
}

.sidebar{
    width:100%;
}

.content{
    padding:25px;
}

.cards{
    grid-template-columns:1fr;
}

}/* ===========================================================
   USERS
=========================================================== */

.page-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.btn-primary{
    display:inline-block;
    padding:12px 20px;
    background:#D4AF37;
    color:#111;
    text-decoration:none;
    font-weight:600;
    border-radius:10px;
    transition:.25s;
}

.btn-primary:hover{
    transform:translateY(-2px);
}

.table{
    width:100%;
    border-collapse:collapse;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    overflow:hidden;
}

.table th{
    background:rgba(212,175,55,.15);
    color:#D4AF37;
    text-align:left;
    padding:18px;
    font-weight:600;
}

.table td{
    color:#ffffff;
    padding:18px;
    border-top:1px solid rgba(255,255,255,.05);
}

.table tr:hover{
    background:rgba(255,255,255,.03);
}select{
    width:100%;
    height:56px;
    margin-bottom:22px;
    border:none;
    border-radius:12px;
    padding:0 18px;
    background:rgba(255,255,255,.08);
    color:#fff;
    outline:none;
    font-size:16px;
}

select option{
    background:#162131;
    color:#fff;
}/* ===========================================================
   BOTÕES DE AÇÃO
=========================================================== */

.btn-action{
    display:inline-block;
    padding:8px 14px;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    margin-right:8px;
    transition:.25s;
}

.btn-action.edit{
    background:#D4AF37;
    color:#111;
}

.btn-action.edit:hover{
    transform:translateY(-2px);
}

.btn-action.delete{
    background:#c0392b;
    color:#fff;
}

.btn-action.delete:hover{
    background:#e74c3c;
    transform:translateY(-2px);
}/* ===========================================================
   DASHBOARD V2
=========================================================== */

.sidebar nav a.active{
    background:#D4AF37;
    color:#111;
}

.sidebar nav a.active:hover{
    color:#111;
}

.card ul{
    list-style:none;
    margin:15px 0 0;
    padding:0;
}

.card ul li{
    padding:10px 0;
    color:#d7dde4;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.card ul li:last-child{
    border-bottom:none;
}

.card strong{
    color:#D4AF37;
}

.content header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.cards .card{
    min-height:150px;
}

.cards .card h2{
    font-size:48px;
}

.card{
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}/* ===========================================================
   DASHBOARD EXECUTIVO
=========================================================== */

.exec-greeting{
    margin-bottom:35px;
}

.exec-greeting h1{
    color:#fff;
    font-size:38px;
    margin-bottom:10px;
}

.exec-greeting p{
    color:#c9d2da;
    font-size:16px;
}

.exec-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    border-left:6px solid #D4AF37;
    border-radius:18px;
    padding:32px 40px;
    margin-bottom:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

.exec-hero-label{
    display:block;
    color:#c9d2da;
    margin-bottom:8px;
}

.exec-hero-tier{
    color:#fff;
    font-size:36px;
}

.exec-hero-score{
    text-align:right;
    color:#c9d2da;
}

.exec-hero-score strong{
    display:block;
    font-size:52px;
    color:#D4AF37;
    line-height:1;
}

.exec-hero.tier-excelente{ border-left-color:#3fb950; }
.exec-hero.tier-excelente .exec-hero-tier{ color:#3fb950; }

.exec-hero.tier-saudavel{ border-left-color:#D4AF37; }
.exec-hero.tier-saudavel .exec-hero-tier{ color:#D4AF37; }

.exec-hero.tier-atencao{ border-left-color:#e8a33d; }
.exec-hero.tier-atencao .exec-hero-tier{ color:#e8a33d; }

.exec-hero.tier-critico{ border-left-color:#e74c3c; }
.exec-hero.tier-critico .exec-hero-tier{ color:#e74c3c; }

.exec-alerts, .exec-changes, .exec-priority, .exec-recommendation{
    margin-bottom:25px;
}

.alert-list{
    list-style:none;
    margin:15px 0 0;
    padding:0;
}

.alert-list li{
    padding:14px 18px;
    margin-bottom:10px;
    border-radius:12px;
    background:rgba(255,255,255,.04);
    border-left:4px solid #c9d2da;
    color:#fff;
}

.alert-list li.sev-critica{ border-left-color:#e74c3c; }
.alert-list li.sev-alta{ border-left-color:#e8a33d; }
.alert-list li.sev-media{ border-left-color:#D4AF37; }

.change-chips{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:15px;
}

.chip{
    display:inline-block;
    padding:10px 16px;
    border-radius:999px;
    background:rgba(212,175,55,.12);
    border:1px solid rgba(212,175,55,.3);
    color:#fff;
    font-weight:500;
}

.exec-priority{
    border-left:6px solid #D4AF37;
}

.exec-priority p{
    color:#fff;
    font-size:20px;
    font-weight:500;
    margin-top:10px;
}

.exec-priority.sev-critica{ border-left-color:#e74c3c; }
.exec-priority.sev-alta{ border-left-color:#e8a33d; }
.exec-priority.sev-media{ border-left-color:#D4AF37; }

.exec-recommendation h3{
    color:#D4AF37;
    margin-top:12px;
    font-size:22px;
}

.exec-recommendation p{
    color:#d7dde4;
    margin-top:8px;
    line-height:1.6;
}

/* ===========================================================
   ASSISTENTE EXECUTIVO
=========================================================== */

.assistant-message, .assistant-summary, .assistant-topics, .assistant-actions, .assistant-questions{
    margin-bottom:25px;
}

.assistant-message p{
    color:#fff;
    font-size:22px;
    font-weight:500;
    line-height:1.5;
}

.assistant-summary p{
    color:#d7dde4;
    line-height:1.7;
    margin-top:10px;
}

.assistant-summary p strong{
    color:#D4AF37;
}

.action-list{
    list-style:none;
    counter-reset:action;
    margin:15px 0 0;
    padding:0;
}

.action-list li{
    counter-increment:action;
    position:relative;
    padding:14px 18px 14px 46px;
    margin-bottom:10px;
    border-radius:12px;
    background:rgba(255,255,255,.04);
    border-left:4px solid #c9d2da;
    color:#fff;
}

.action-list li::before{
    content:counter(action);
    position:absolute;
    left:16px;
    top:14px;
    color:#D4AF37;
    font-weight:700;
}

.action-list li p{
    color:#d7dde4;
    margin-top:6px;
    line-height:1.5;
}

.action-list li.sev-critica{ border-left-color:#e74c3c; }
.action-list li.sev-alta{ border-left-color:#e8a33d; }
.action-list li.sev-media{ border-left-color:#D4AF37; }

.question-list{
    list-style:none;
    margin:15px 0 0;
    padding:0;
}

.question-list li{
    padding:14px 18px;
    margin-bottom:10px;
    border-radius:12px;
    background:rgba(212,175,55,.08);
    border-left:4px solid #D4AF37;
    color:#f1e9d2;
    font-style:italic;
}

/* ===========================================================
   BREADCRUMB
=========================================================== */

.breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
    font-size:14px;
}

.breadcrumb a{
    color:#c9d2da;
    text-decoration:none;
    transition:.25s;
}

.breadcrumb a:hover{
    color:#D4AF37;
}

.breadcrumb-sep{
    color:rgba(255,255,255,.25);
}

.breadcrumb-current{
    color:#D4AF37;
    font-weight:600;
}

/* ===========================================================
   ÁREA ADMINISTRATIVA
=========================================================== */

.admin-groups{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.admin-group h2{
    display:flex;
    align-items:center;
    gap:10px;
    color:#D4AF37;
    font-size:20px;
    margin-bottom:6px;
}

.admin-group p{
    color:#c9d2da;
    font-size:14px;
    margin-bottom:15px;
}

/* ===========================================================
   CENTRO DE INTELIGÊNCIA ORGANIZACIONAL
=========================================================== */

.intel-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.intel-eyebrow{
    color:#D4AF37;
    letter-spacing:1.5px;
    text-transform:uppercase;
    font-size:12px;
    font-weight:600;
    margin-bottom:8px;
}

.intel-header h1{
    color:#fff;
    font-size:34px;
}

.intel-meta{
    color:#c9d2da;
    margin-top:6px;
}

.intel-score-badge{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    padding:16px 26px;
    border-radius:16px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    border-left:6px solid #D4AF37;
}

.intel-score-badge strong{
    font-size:38px;
    line-height:1;
    color:#D4AF37;
}

.intel-score-badge span{
    color:#c9d2da;
    margin-top:6px;
}

.intel-score-badge.tier-excelente{ border-left-color:#3fb950; }
.intel-score-badge.tier-excelente strong{ color:#3fb950; }

.intel-score-badge.tier-saudavel{ border-left-color:#D4AF37; }
.intel-score-badge.tier-saudavel strong{ color:#D4AF37; }

.intel-score-badge.tier-atencao{ border-left-color:#e8a33d; }
.intel-score-badge.tier-atencao strong{ color:#e8a33d; }

.intel-score-badge.tier-critico{ border-left-color:#e74c3c; }
.intel-score-badge.tier-critico strong{ color:#e74c3c; }

.intel-subnav{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:25px;
    padding-bottom:15px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.intel-subnav a{
    text-decoration:none;
    color:#c9d2da;
    padding:10px 18px;
    border-radius:999px;
    font-weight:500;
    transition:.25s;
    border:1px solid rgba(255,255,255,.08);
}

.intel-subnav a:hover{
    border-color:#D4AF37;
    color:#fff;
}

.intel-subnav a.active{
    background:#D4AF37;
    color:#111;
    border-color:#D4AF37;
}

.intel-summary p{
    color:#d7dde4;
    font-size:18px;
    line-height:1.7;
    margin-top:10px;
}

.intel-company-card h2{
    font-size:26px;
}

.intel-link-card{
    text-decoration:none;
    display:block;
}

.change-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:15px;
}

.change-row{
    display:flex;
    align-items:center;
    gap:16px;
    padding:14px 18px;
    background:rgba(255,255,255,.04);
    border-radius:12px;
}

.change-arrow{
    font-size:22px;
    font-weight:700;
    width:28px;
    text-align:center;
}

.change-arrow.up{ color:#3fb950; }
.change-arrow.down{ color:#e74c3c; }

.change-label{
    flex:1;
    color:#fff;
    font-weight:500;
}

.change-intensity{
    color:#c9d2da;
    font-size:14px;
}

.alert-cards, .rec-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:20px;
}

.alert-card, .rec-card{
    border-left:6px solid #c9d2da;
}

.alert-card.sev-critica, .rec-card.sev-critica{ border-left-color:#e74c3c; }
.alert-card.sev-alta, .rec-card.sev-alta{ border-left-color:#e8a33d; }
.alert-card.sev-media, .rec-card.sev-media{ border-left-color:#D4AF37; }

.alert-card-head, .rec-card-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:14px;
}

.alert-card-head h2{
    color:#fff;
    font-size:20px;
}

.rec-rank{
    color:#D4AF37;
    font-weight:700;
    font-size:18px;
}

.badge-severity{
    display:inline-block;
    padding:5px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
    white-space:nowrap;
    background:rgba(201,210,218,.15);
    color:#c9d2da;
}

.badge-severity.sev-critica{ background:rgba(231,76,60,.18); color:#e74c3c; }
.badge-severity.sev-alta{ background:rgba(232,163,61,.18); color:#e8a33d; }
.badge-severity.sev-media{ background:rgba(212,175,55,.18); color:#D4AF37; }

.alert-card-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:14px;
}

.alert-card-meta dt{
    color:#c9d2da;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.5px;
    margin-bottom:4px;
}

.alert-card-meta dd{
    color:#fff;
    font-weight:500;
}

.alert-card-impact, .rec-reason, .rec-impact{
    color:#d7dde4;
    line-height:1.6;
    margin-top:8px;
}

.rec-card h2{
    color:#fff;
    font-size:22px;
    margin-bottom:6px;
}

.scope-filter{
    display:flex;
    gap:15px;
    align-items:flex-start;
    flex-wrap:wrap;
    margin-top:15px;
}

.scope-filter select{
    flex:1;
    min-width:260px;
    margin-bottom:0;
}

.scope-filter .btn-primary{
    height:56px;
    display:flex;
    align-items:center;
}

@media(max-width:900px){

.intel-header{
    flex-direction:column;
    align-items:flex-start;
}

.intel-score-badge{
    align-items:flex-start;
}

}