/* =============================================
   Live Perguntas — Formulário Público
   ============================================= */

.lp-formulario-wrap {
    max-width: 620px;
    margin: 2rem auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 2.2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.lp-cabecalho {
    margin-bottom: 1.6rem;
}
.lp-cabecalho h2 {
    margin: 0 0 .4rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a3a5c;
}
.lp-cabecalho p {
    margin: 0;
    color: #64748b;
    font-size: .95rem;
}

.lp-campo {
    margin-bottom: 1.2rem;
    position: relative;
}
.lp-campo label {
    display: block;
    font-weight: 600;
    margin-bottom: .35rem;
    color: #334155;
    font-size: .9rem;
}
.lp-obrigatorio { color: #e53e3e; margin-left: 2px; }
.lp-opcional    { font-weight: 400; color: #94a3b8; font-size: .8rem; }

.lp-campo input,
.lp-campo textarea {
    width: 100%;
    padding: .65rem .85rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: .95rem;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.lp-campo input:focus,
.lp-campo textarea:focus {
    outline: none;
    border-color: #1a3a5c;
    box-shadow: 0 0 0 3px rgba(26,58,92,.12);
    background: #fff;
}
.lp-campo textarea { resize: vertical; min-height: 110px; }

.lp-contador {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: .75rem;
    color: #94a3b8;
    pointer-events: none;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #1a3a5c;
    color: #fff;
    border: none;
    padding: .75rem 1.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
    margin-top: .4rem;
}
.lp-btn:hover   { background: #122b47; }
.lp-btn:active  { transform: scale(.98); }
.lp-btn:disabled { opacity: .7; cursor: not-allowed; }

/* Mensagens */
.lp-mensagem {
    padding: .85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 500;
}
.lp-mensagem--erro  { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }
.lp-mensagem--ok    { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }

/* Sucesso */
.lp-sucesso-box {
    text-align: center;
    padding: 2rem 1rem;
}
.lp-sucesso-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.lp-sucesso-box p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #15803d;
    margin: 0;
}

/* Campo de assunto (select) */
.lp-campo select {
    width: 100%;
    padding: .75rem .95rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1.05rem;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    cursor: pointer;
}
.lp-campo select:focus {
    outline: none;
    border-color: #1a3a5c;
    box-shadow: 0 0 0 3px rgba(26,58,92,.12);
    background-color: #fff;
}

.lp-assunto-aviso {
    display: block;
    margin-top: .45rem;
    font-size: .88rem;
    color: #92680a;
    background: #fef9ec;
    border: 1px solid #f5d060;
    border-radius: 6px;
    padding: .45rem .75rem;
    line-height: 1.4;
}
