/* ── Página 3 Enquetes — Estilos Públicos ────────────────────────── */
.p3-enquete {
    font-family: 'Lato', system-ui, sans-serif;
    max-width: 620px;
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 2px 24px rgba(0,0,0,.09);
    overflow: hidden;
    background: #fff;
}

/* Header */
.p3-header {
    background: #1a1a2e;
    padding: 28px 32px;
    border-bottom: 4px solid #c0392b;
}
.p3-tag {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c0392b;
    margin-bottom: 12px;
}
.p3-question {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}

/* Form body */
.p3-form {
    padding: 28px 32px;
}

/* Fields */
.p3-field {
    margin-bottom: 20px;
}
.p3-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}
.p3-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0dbd0;
    border-radius: 3px;
    font-size: 15px;
    color: #1a1a2e;
    background: #fafafa;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s;
}
.p3-input:focus {
    border-color: #1a1a2e;
}
.p3-input.p3-input-error {
    border-color: #c0392b;
}
.p3-error {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
    min-height: 0;
}

/* SIM / NÃO buttons */
.p3-vote-row {
    display: flex;
    gap: 14px;
    margin-bottom: 4px;
}
.p3-vote-btn {
    flex: 1;
    padding: 18px 0;
    border-radius: 3px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all .15s;
    background: transparent;
}
.p3-sim {
    border: 2.5px solid #1a6b3c;
    color: #1a6b3c;
}
.p3-sim.p3-selected, .p3-sim:hover {
    background: #1a6b3c;
    color: #fff;
}
.p3-nao {
    border: 2.5px solid #c0392b;
    color: #c0392b;
}
.p3-nao.p3-selected, .p3-nao:hover {
    background: #c0392b;
    color: #fff;
}

/* Notice */
.p3-notice {
    background: #f0f4f8;
    border: 1px solid #c5d8ec;
    border-radius: 3px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #2c3e50;
    line-height: 1.6;
}

/* LGPD checkbox */
.p3-check-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}
.p3-lgpd-check {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1a1a2e;
    flex-shrink: 0;
}
.p3-check-row label {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    cursor: pointer;
}

/* Submit */
.p3-submit-error {
    background: #fde8e8;
    border: 1px solid #c0392b;
    border-radius: 3px;
    padding: 12px 16px;
    margin-bottom: 14px;
    color: #9b1c1c;
    font-size: 13px;
    line-height: 1.5;
}
.p3-submit-btn {
    width: 100%;
    padding: 16px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}
.p3-submit-btn:hover:not(:disabled) { background: #2a2a4e; }
.p3-submit-btn:disabled { background: #9ca3af; cursor: not-allowed; }

/* Success state */
.p3-success {
    text-align: center;
    padding: 0;
}
.p3-success-icon {
    font-size: 56px;
    padding: 28px 0 16px;
    background: #1a6b3c;
}
.p3-success-title {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1a6b3c !important;
    margin: 20px 0 10px !important;
    padding: 0 32px !important;
    border: none !important;
}
.p3-success-msg {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    padding: 0 32px;
}
.p3-lgpd-note {
    font-size: 12px;
    color: #aaa;
    padding: 16px 32px 28px;
    margin: 0;
}

/* Aviso enquete encerrada */
.p3-aviso {
    padding: 16px 24px;
    border-radius: 3px;
    font-size: 14px;
}
.p3-aviso-encerrada {
    background: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #c0392b;
    margin: 20px 32px;
}

/* Mobile */
@media (max-width: 480px) {
    .p3-header, .p3-form { padding: 20px 18px; }
    .p3-question { font-size: 18px !important; }
    .p3-vote-btn { font-size: 22px; padding: 14px 0; }
}
