:root{
    --line:#e5e7eb;
    --muted:#6b7280;
    --btn:#2563eb;
    --bg:#f3f4f6;
    --text:#111827;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:18px;
    font-family:Arial, sans-serif;
    color:var(--text);
    background:var(--bg);
}

.wrap{
    max-width:920px;
    margin:0 auto;
}

.card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:18px;
    box-shadow:0 12px 28px rgba(0,0,0,.08);
}

.grid{
    display:grid;
    gap:14px;
    grid-template-columns:repeat(2,minmax(0,1fr));
}

label{
    display:block;
    margin:0 0 6px;
    font-size:13px;
    color:var(--muted);
}

input,
textarea{
    width:100%;
    padding:12px;
    border-radius:12px;
    border:1px solid #d1d5db;
    font-family:Arial, sans-serif;
    font-size:14px;
}

input:focus,
textarea:focus{
    outline:none;
    border-color:var(--btn);
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

textarea{
    min-height:140px;
    resize:vertical;
}

.campo,
.campo-anexo{
    margin-top:14px;
}

.campo-anexo input[type="file"]{
    width:100%;
    padding:10px;
    border:1px solid #d1d5db;
    border-radius:12px;
    background:#fff;
}

.actions{
    display:flex;
    justify-content:flex-end;
    margin-top:14px;
}

button{
    border:0;
    border-radius:12px;
    padding:12px 18px;
    background:var(--btn);
    color:#fff;
    font-weight:700;
    cursor:pointer;
    min-width:170px;
}

button:hover{
    opacity:.92;
}

button[disabled]{
    opacity:.65;
    cursor:not-allowed;
}

.msg{
    padding:12px 14px;
    border-radius:12px;
    border:1px solid var(--line);
    background:#f9fafb;
    margin-bottom:14px;
}

.msg.err{
    border-color:rgba(239,68,68,.35);
    background:#fef2f2;
}

.msg.ok{
    border-color:rgba(34,197,94,.35);
    background:#f0fdf4;
}

.msg ul{
    margin:8px 0 0 18px;
    color:#6b7280;
}

.help{
    font-size:12px;
    color:var(--muted);
    margin-top:6px;
}

/* Cabeçalho / marca */
.brand{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:10px;
}

.brand-logo{
    width:86px;
    height:86px;
    object-fit:contain;
}

.brand-title{
    font-weight:800;
    font-size:18px;
    line-height:1.1;
    margin-bottom:2px;
}

.brand-subtitle{
    color:var(--muted);
    font-size:13px;
}

/* Título */
h1{
    margin:10px 0 6px;
    font-size:18px;
    font-weight:700;
    color:#1f2937;
}

p.desc{
    margin:0 0 14px;
    color:var(--muted);
    line-height:1.35;
}

/* LGPD */
.lgpd{
    margin-top:14px;
    font-size:12px;
    color:var(--muted);
    line-height:1.45;
}

/* Página de confirmação */
.obrigado-wrap{
    max-width:720px;
}

.obrigado-card{
    text-align:left;
}

.protocolo{
    display:inline-block;
    margin-top:4px;
    padding:10px 14px;
    border-radius:10px;
    background:#111827;
    color:#fff;
    font-weight:700;
    letter-spacing:.5px;
}

.voltar{
    margin-top:18px;
}

.voltar a{
    color:var(--btn);
    text-decoration:none;
    font-weight:700;
}

.voltar a:hover{
    text-decoration:underline;
}

@media (max-width:720px){
    body{
        padding:12px;
    }

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

    .card{
        padding:16px;
    }

    .brand-logo{
        width:64px;
        height:64px;
    }

    .actions{
        display:block;
    }

    button{
        width:100%;
    }
}
