/* ============================================================ */
/* FORMULÁRIO CHOPP ASMG 2026                                    */
/* ============================================================ */

:root {
    --chopp-blue: #002b80;
    --chopp-dark-blue: #001a4d;
    --chopp-light-gray: #f8f9fa;
    --chopp-border-color: #dee2e6;
    --chopp-success-green: #28a745;
    --chopp-warning-orange: #d97706;
}

body {
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Força o text-primary do Bootstrap a usar o Azul Escuro Institucional */
.text-primary {
    color: var(--chopp-blue) !important;
}

/* ============================================================ */
/* BOTÃO VOLTAR                                                  */
/* ============================================================ */
.btn-back-to-event {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--chopp-blue); font-weight: 600; text-decoration: none;
    border: 2px solid var(--chopp-blue); padding: 8px 20px; border-radius: 50px;
    transition: all 0.3s ease; background: #fff;
}
.btn-back-to-event:hover { background: var(--chopp-blue); color: #fff; transform: translateX(-5px); }

/* ============================================================ */
/* SEÇÕES E TÍTULOS                                              */
/* ============================================================ */
.section-padding { padding: 50px 0; }
.section-title-form {
    font-weight: 800; color: var(--chopp-blue); text-align: center;
    margin-bottom: 30px; position: relative; padding-bottom: 15px;
}
.section-title-form::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 4px; background: var(--chopp-blue); border-radius: 4px;
}

/* ============================================================ */
/* TERMOS                                                        */
/* ============================================================ */
.termos-box {
    background: #fff; padding: 30px; border-radius: 16px;
    border: 1px solid var(--chopp-border-color); box-shadow: 0 4px 15px rgba(0, 43, 128, 0.06);
}
.termos-box ul { padding-left: 20px; color: #4a4a4a; line-height: 1.8; }
.termos-box ul li { margin-bottom: 8px; }

/* ============================================================ */
/* CARDS DE CATEGORIA (PERFIL)                                   */
/* ============================================================ */
.categoria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 20px; }
.categoria-card {
    position: relative; background: #fff; border: 2px solid var(--chopp-border-color);
    border-radius: 18px; padding: 26px 18px 20px; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1); text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    min-height: 220px; user-select: none;
}
.categoria-card:hover { border-color: var(--chopp-blue); transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0, 43, 128, 0.15); }
.categoria-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.categoria-card .cat-check {
    position: absolute; top: 12px; right: 12px; width: 26px; height: 26px;
    border-radius: 50%; background: var(--chopp-blue); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
    opacity: 0; transform: scale(0.4); transition: all 0.25s ease;
}
.categoria-card.selected { border-color: var(--chopp-blue); background: linear-gradient(160deg, #f4f8ff 0%, #e8f0fe 100%); box-shadow: 0 12px 32px rgba(0, 43, 128, 0.18); transform: translateY(-3px); }
.categoria-card.selected .cat-check { opacity: 1; transform: scale(1); }
.categoria-card .cat-icon { font-size: 2.8rem; line-height: 1; margin-bottom: 12px; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08)); }
.categoria-card .cat-title { font-weight: 800; color: var(--chopp-blue); font-size: 1rem; margin: 0 0 6px; line-height: 1.2; }
.categoria-card .cat-desc { font-size: 0.83rem; color: #6c757d; line-height: 1.35; margin: 0 0 auto; padding-bottom: 14px; }
.categoria-card .cat-price { display: inline-block; padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.5px; margin-top: auto; }
.cat-price.pago { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }

/* ============================================================ */
/* ANEXOS                                                        */
/* ============================================================ */
#anexosPlaceholder { border-radius: 12px; font-size: 0.95rem; }
.anexo-box { background: #fafbfc; border: 2px dashed var(--chopp-border-color); border-radius: 14px; padding: 16px; height: 100%; transition: all 0.25s ease; }
.anexo-box:hover { border-color: var(--chopp-blue); background: #fff; box-shadow: 0 6px 18px rgba(0, 43, 128, 0.06); }
.anexo-box .form-label { color: var(--chopp-blue); font-weight: 700; font-size: 0.9rem; }
.doc-example { background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 12px; border: 1px solid #eef1f5; text-align: center; }
.doc-img-example { max-width: 100%; max-height: 140px; display: block; margin: 0 auto; object-fit: contain; border-radius: 6px; }

/* ============================================================ */
/* PIX                                                           */
/* ============================================================ */
.pix-card {
    max-width: 600px; margin: 0 auto; background: #fff; padding: 40px;
    border-radius: 20px; border: 1px solid var(--chopp-border-color);
    box-shadow: 0 8px 30px rgba(0, 43, 128, 0.08); text-align: center;
}
.pix-header { font-size: 1.5rem; font-weight: 700; color: var(--chopp-blue); margin-bottom: 20px; }
.pix-icon { color: #32BCAD; margin-right: 10px; }
.pix-value-box { background: var(--chopp-light-gray); padding: 20px; border-radius: 12px; margin-bottom: 25px; border: 1px solid var(--chopp-border-color); }
.pix-value-box span { display: block; color: #666; font-size: 0.9rem; font-weight: 500; }

/* Cores diferentes para chamar atenção nos valores */
.pix-value-socio { color: var(--chopp-blue); font-weight: 900; font-size: 2.5rem; }
.pix-value-geral { color: var(--chopp-warning-orange); font-weight: 900; font-size: 2.5rem; }

.pix-key-container { background: #f1f5f9; border-radius: 12px; padding: 15px; border: 1px solid #e2e8f0; }
.pix-key-label { font-size: 0.8rem; color: #64748b; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.pix-key-row { display: flex; align-items: center; gap: 10px; }
.pix-code { background: #fff; padding: 10px 15px; border-radius: 8px; flex: 1; text-align: center; font-size: 1rem; font-weight: 600; color: var(--chopp-blue); border: 1px solid var(--chopp-border-color); word-break: break-all; }
.btn-copy-pix { background: var(--chopp-blue); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; transition: all 0.2s ease; cursor: pointer; white-space: nowrap; }
.btn-copy-pix:hover { background: var(--chopp-dark-blue); transform: scale(1.02); }
.pix-instructions { margin-top: 20px; font-size: 0.9rem; color: #64748b; background: var(--chopp-light-gray); padding: 12px; border-radius: 50px; }

/* ============================================================ */
/* FORMULÁRIO                                                    */
/* ============================================================ */
.form-control, .form-select { border: 1px solid var(--chopp-border-color); border-radius: 10px; padding: 12px 15px; font-size: 0.95rem; transition: border-color 0.3s; }
.form-control:focus, .form-select:focus { border-color: var(--chopp-blue); box-shadow: 0 0 0 3px rgba(0, 43, 128, 0.1); }
.btn-submit { background: var(--chopp-blue); color: #fff; padding: 14px 40px; font-weight: 700; border-radius: 50px; border: none; transition: all 0.3s ease; width: 100%; max-width: 300px; display: block; margin: 0 auto; }
.btn-submit:hover { background: var(--chopp-dark-blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 43, 128, 0.3); }