*{
    box-sizing:border-box;
    font-family:"Segoe UI",Arial,sans-serif;
}

body{
    margin:0;
    background:#f4f6fb;
    color:#1f2937;
}

a{
    text-decoration:none;
    color:inherit;
}

/* SITE PÚBLICO */

.site-topo{
    background:linear-gradient(135deg,#263276,#5546c9);
    color:white;
    padding:28px;
    border-radius:0 0 28px 28px;
}

.site-topo .conteudo{
    max-width:1180px;
    margin:auto;
}

.site-topo h1{
    margin:0;
    font-size:34px;
}

.container{
    max-width:1180px;
    margin:24px auto;
    padding:0 18px;
}

/* CARDS */

.card{
    background:white;
    border-radius:22px;
    padding:24px;
    margin-bottom:20px;
    box-shadow:0 8px 24px rgba(15,23,42,.07);
    border:1px solid #edf0f6;
}

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

/* AVISOS */

.aviso{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-left:5px solid #263276;
    border-radius:18px;
    padding:18px;
    margin-bottom:14px;
}

..aviso h3{
    margin:0 0 10px 0;
    color:#263276;
    font-size:22px;
    font-weight:700;
}

.aviso p{
    margin:0;
    color:#4b5563;
    line-height:1.6;
    font-size:15px;
}

/* BOTÕES */

.btn{
    display:inline-block;
    border:none;
    padding:13px 22px;
    border-radius:999px;
    background:#263276;
    color:white;
    font-weight:700;
    cursor:pointer;
}

.btn:hover{
    opacity:.95;
}

.btn-sec{
    background:#e9ecf6;
    color:#263276;
}

.btn-alerta{
    background:#fff1cf;
    color:#8a5b00;
}

.btn-inscricao{
    background:#22c55e;
    color:white;
    font-size:18px;
    padding:16px 32px;
    font-weight:800;
    box-shadow:0 8px 20px rgba(34,197,94,.25);
}

.btn-inscricao:hover{
    opacity:1;
    transform:translateY(-1px);
}

/* FORMULÁRIOS */

input,
select,
textarea{
    width:100%;
    border:1px solid #dde3ee;
    background:#fbfcff;
    border-radius:14px;
    padding:12px 14px;
    font-size:15px;
    margin-top:6px;
}

label{
    font-weight:700;
    color:#263276;
    font-size:14px;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.full{
    grid-column:1/-1;
}

/* LOGIN */

.login-page{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:20px;
}

.login-card{
    width:100%;
    max-width:430px;
    background:white;
    border-radius:26px;
    padding:30px;
    box-shadow:0 18px 42px rgba(15,23,42,.16);
}

.login-card h1{
    margin-top:0;
    color:#263276;
}

/* SISTEMA */

.layout-sistema{
    display:grid;
    grid-template-columns:260px 1fr;
    min-height:100vh;
}

.menu-lateral{
    background:#263276;
    color:white;
    padding:22px;
}

.menu-logo{
    font-weight:800;
    font-size:20px;
    margin-bottom:24px;
}

.menu-lateral a{
    display:block;
    padding:13px 14px;
    border-radius:14px;
    margin-bottom:6px;
    background:rgba(255,255,255,.08);
}

.menu-lateral a:hover{
    background:rgba(255,255,255,.16);
}

.conteudo-sistema{
    padding:24px;
}

.topo-sistema{
    background:linear-gradient(135deg,#263276,#5546c9);
    color:white;
    border-radius:24px;
    padding:24px;
    margin-bottom:22px;
}

/* DASHBOARD */

.metric strong{
    display:block;
    font-size:34px;
    color:#263276;
}

.metric span{
    color:#667085;
    font-weight:700;
    text-transform:uppercase;
    font-size:13px;
}

/* MENSAGENS */

.erro{
    background:#fee2e2;
    color:#991b1b;
    padding:12px;
    border-radius:14px;
    margin-bottom:14px;
}

.sucesso{
    background:#dcfce7;
    color:#166534;
    padding:12px;
    border-radius:14px;
    margin-bottom:14px;
}

/* BADGES */

.badge-ok{
    display:inline-block;
    background:#dcfce7;
    color:#166534;
    padding:6px 12px;
    border-radius:999px;
    font-weight:800;
    font-size:13px;
}

.badge-off{
    display:inline-block;
    background:#fee2e2;
    color:#991b1b;
    padding:6px 12px;
    border-radius:999px;
    font-weight:800;
    font-size:13px;
}

/* RODAPÉ */

.rodape{
    text-align:center;
    color:#6b7280;
    padding:28px;
}

/* RESPONSIVO */

@media(max-width:900px){

    .grid{
        grid-template-columns:1fr;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .layout-sistema{
        grid-template-columns:1fr;
    }

    .menu-lateral{
        position:static;
    }
}