/* ============================================================
 * EPCE Canal de Denúncias — estilo coerente com epce-pre-inscricao
 * Cores: #1A2A3A (texto), #C4D600 (CTA), #00A9B5 (secundária), #E0F4F5 (badge)
 * ============================================================ */

.epce-d-page {
    max-width: 980px;
    margin: 40px auto;
    padding: 0 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1A2A3A;
    line-height: 1.55;
}

.epce-d-header {
    text-align: center;
    padding: 24px 0 40px;
    border-bottom: 1px solid #eef0f2;
    margin-bottom: 40px;
}

.epce-d-eyebrow {
    display: inline-block;
    background: #E0F4F5;
    color: #00838f;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.epce-d-title {
    color: #1A2A3A;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.epce-d-subtitle {
    color: #5a6570;
    font-size: 1.05rem;
    margin: 0 auto 22px;
    max-width: 640px;
}

.epce-d-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.epce-d-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f6f7f8;
    color: #1A2A3A;
    border-radius: 22px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid #ecedef;
}

.epce-d-badge svg {
    color: #00A9B5;
}

/* ===== sections ===== */
.epce-d-section {
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.epce-d-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1A2A3A;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.epce-d-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #C4D600, #b8ca00);
    color: #1A2A3A;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
}

.epce-d-section-desc {
    color: #5a6570;
    font-size: 0.95rem;
    margin: 0 0 24px;
}

/* ===== cards (escolha canal) ===== */
.epce-d-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 12px;
}

@media (max-width: 720px) {
    .epce-d-cards { grid-template-columns: 1fr; }
}

.epce-d-card {
    background: #fff;
    border: 2px solid #ecedef;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    color: inherit;
    width: 100%;
}

.epce-d-card:hover {
    border-color: #C4D600;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(196, 214, 0, 0.18);
}

.epce-d-card-alt:hover {
    border-color: #00A9B5;
    box-shadow: 0 12px 30px rgba(0, 169, 181, 0.18);
}

.epce-d-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E0F4F5, #f6fdfd);
    color: #00838f;
    border-radius: 16px;
    margin-bottom: 16px;
}

.epce-d-card-icon-primary {
    background: linear-gradient(135deg, #C4D600, #b8ca00);
    color: #1A2A3A;
}

.epce-d-card-title {
    color: #1A2A3A;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.epce-d-card-desc {
    color: #5a6570;
    font-size: 0.93rem;
    margin: 0 0 16px;
    line-height: 1.5;
}

.epce-d-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    color: #1A2A3A;
    font-size: 0.88rem;
}

.epce-d-card-list li {
    padding: 4px 0 4px 22px;
    position: relative;
}

.epce-d-card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00A9B5;
    font-weight: 800;
}

.epce-d-card-cta {
    color: #00838f;
    font-size: 0.95rem;
    font-weight: 700;
}

.epce-d-card-alt .epce-d-card-cta {
    color: #1A2A3A;
}

/* ===== form ===== */
.epce-d-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.epce-d-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 680px) {
    .epce-d-grid-2 { grid-template-columns: 1fr; }
    .epce-d-form-row { flex-direction: column; align-items: stretch; }
}

.epce-d-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.epce-d-field-full { width: 100%; flex-basis: 100%; }

.epce-d-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1A2A3A;
}

.epce-d-counter {
    font-weight: 500;
    color: #9aa0a6;
    font-size: 0.82rem;
    margin-left: 6px;
}

.epce-d-field input[type=text],
.epce-d-field input[type=email],
.epce-d-field select,
.epce-d-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e3e6e9;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: #1A2A3A;
    background: #fafbfc;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.epce-d-field input:focus,
.epce-d-field select:focus,
.epce-d-field textarea:focus {
    outline: 0;
    border-color: #00A9B5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 169, 181, 0.12);
}

.epce-d-field textarea {
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
}

.epce-d-code-input {
    letter-spacing: 12px;
    font-size: 1.6rem !important;
    font-weight: 700;
    text-align: center;
    font-family: monospace !important;
}

/* ===== buttons ===== */
.epce-d-btn-primary {
    background: linear-gradient(135deg, #C4D600, #b8ca00);
    color: #1A2A3A;
    border: 0;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    box-shadow: 0 4px 18px rgba(196, 214, 0, 0.35);
}

.epce-d-btn-primary:hover {
    background: linear-gradient(135deg, #d4e600, #C4D600);
    box-shadow: 0 6px 26px rgba(196, 214, 0, 0.5);
    transform: translateY(-1px);
}

.epce-d-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.epce-d-btn-back {
    background: none;
    color: #5a6570;
    border: 0;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 18px;
    font-family: inherit;
}

.epce-d-btn-back:hover { color: #1A2A3A; }

.epce-d-btn-link {
    background: none;
    color: #00838f;
    border: 0;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.epce-d-btn-link:hover { color: #006770; }

.epce-d-btn-submit {
    padding: 16px 34px;
    font-size: 1.05rem;
}

/* ===== consent checkboxes ===== */
.epce-d-consent {
    background: #fafbfc;
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 18px;
    border: 1px solid #ecedef;
}

.epce-d-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 0;
    font-size: 0.92rem;
    color: #1A2A3A;
    cursor: pointer;
}

.epce-d-check input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #00A9B5;
}

.epce-d-check a {
    color: #00838f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== success ===== */
.epce-d-success {
    text-align: center;
    padding: 20px 0;
}

.epce-d-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #C4D600, #b8ca00);
    color: #1A2A3A;
    border-radius: 50%;
    margin-bottom: 22px;
}

.epce-d-success-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1A2A3A;
    margin: 0 0 10px;
}

.epce-d-success-text {
    color: #5a6570;
    font-size: 1rem;
    margin: 0 auto 28px;
    max-width: 480px;
}

.epce-d-ref-box {
    background: linear-gradient(135deg, #fafbfc, #fff);
    border: 2px dashed #C4D600;
    border-radius: 18px;
    padding: 22px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.epce-d-ref-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #5a6570;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.epce-d-ref-code {
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1A2A3A;
    letter-spacing: 2px;
}

/* ===== hint + footer ===== */
.epce-d-hint {
    color: #5a6570;
    font-size: 0.88rem;
    margin: 12px 0 0;
}

.epce-d-footer-note {
    background: #fafbfc;
    border-left: 3px solid #00A9B5;
    border-radius: 10px;
    padding: 16px 18px;
    color: #5a6570;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-top: 18px;
}

/* ===== status page result ===== */
.epce-d-status-card {
    background: linear-gradient(135deg, #fafbfc, #fff);
    border: 1px solid #ecedef;
    border-radius: 18px;
    padding: 26px;
    margin-top: 18px;
}

.epce-d-status-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E0F4F5;
    color: #00838f;
    border-radius: 22px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.epce-d-status-state.concluida { background: linear-gradient(135deg, #C4D600, #b8ca00); color: #1A2A3A; }
.epce-d-status-state.recebida  { background: #E0F4F5; color: #00838f; }
.epce-d-status-state.em_analise { background: #fff4e0; color: #b56b00; }

.epce-d-status-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
    color: #5a6570;
    font-size: 0.92rem;
}

@media (max-width: 540px) {
    .epce-d-status-meta { grid-template-columns: 1fr; }
}

.epce-d-status-meta strong {
    display: block;
    color: #1A2A3A;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.epce-d-error {
    background: #fff5f5;
    border-left: 3px solid #e53935;
    color: #b71c1c;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 16px;
    font-size: 0.95rem;
}
