/* ═══ Oposição à Contribuição Negocial — Caixa 2026 ═══
   Layout baseado no portal Ação BB — Dias Parados */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; font-family: 'Inter', Arial, sans-serif; }
body { display: grid; grid-template-columns: 400px 1fr; min-height: 100vh; background: #eef5f7; color: #1a2e31; }

/* ── PAINEL ESQUERDO ─────────────────────────────────────── */
.brand {
  background: linear-gradient(155deg, #033d45 0%, #066a75 55%, #2e8fa0 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 52px 40px; position: relative; overflow: hidden;
  position: sticky; top: 0; height: 100vh;
}
.brand::before {
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 55px solid rgba(255,255,255,.055); top: -110px; right: -110px; pointer-events: none;
}
.brand::after {
  content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  border: 45px solid rgba(255,255,255,.055); bottom: -80px; left: -80px; pointer-events: none;
}
.brand-inner { position: relative; z-index: 1; text-align: center; width: 100%; }
.brand-logo-wrap {
  background: #fff; border-radius: 18px; padding: 18px 28px;
  margin-bottom: 36px; box-shadow: 0 6px 28px rgba(0,0,0,.18); display: inline-block;
}
.brand-logo { width: 100%; max-width: 180px; height: auto; display: block; }
.brand-title { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 14px; }
.brand-divider { width: 44px; height: 3px; background: rgba(255,255,255,.45); border-radius: 2px; margin: 0 auto 18px; }
.brand-sub { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 32px; }
.brand-pill {
  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px; padding: 7px 20px; font-size: .72rem; font-weight: 700;
  color: rgba(255,255,255,.88); letter-spacing: .07em; text-transform: uppercase;
}

/* ── PAINEL DIREITO ──────────────────────────────────────── */
.form-side {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px 28px;
}
.form-card {
  background: #fff; border-radius: 18px; box-shadow: 0 8px 48px rgba(6,106,117,.11);
  padding: 46px 42px 52px; width: 100%; max-width: 440px;
}
.form-card.largo { max-width: 620px; }
.form-card.centro { text-align: center; }

.form-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3d9db3; margin-bottom: 8px; }
.form-title { font-size: 1.3rem; font-weight: 700; color: #1a2e31; margin-bottom: 6px; line-height: 1.3; }
.form-desc { font-size: .84rem; color: #7a9a9e; line-height: 1.65; margin-bottom: 28px; }
.form-divider { width: 44px; height: 3px; background: #c2d9de; border-radius: 2px; margin: 0 auto 24px; }

/* ── ETAPAS ──────────────────────────────────────────────── */
.steps { display: flex; gap: 6px; margin-bottom: 28px; }
.step { flex: 1; text-align: center; }
.step-bar { height: 4px; border-radius: 2px; background: #e2edf0; margin-bottom: 7px; }
.step-txt { font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #a9c3c7; }
.step.feito .step-bar  { background: #3d9db3; }
.step.feito .step-txt  { color: #3d9db3; }
.step.atual .step-bar  { background: linear-gradient(90deg, #066a75, #3d9db3); }
.step.atual .step-txt  { color: #066a75; }

/* ── SEÇÕES / CAMPOS ─────────────────────────────────────── */
.section-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #9ab8bc; margin: 24px 0 14px; display: flex; align-items: center; gap: 8px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: #e8f0f2; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #3a5a60; margin-bottom: 7px;
}
.field-label span { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .68rem; color: #9ab8bc; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=password] {
  display: block; width: 100%; padding: 13px 16px; font-size: .95rem;
  font-family: 'Inter', sans-serif; color: #1a2e31; background: #f4fafb;
  border: 1.5px solid #c2d9de; border-radius: 10px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus { border-color: #3d9db3; box-shadow: 0 0 0 3.5px rgba(61,157,179,.16); background: #fff; }
.field input::placeholder { color: #aac8cc; font-style: italic; font-size: .85rem; }
.field input[readonly] { color: #4a7a82; background: #f0f5f6; border-color: #daeaed; cursor: default; box-shadow: none; }
.field-erro input { border-color: #d32f2f; background: #fff8f8; }
.field-msg { font-size: .74rem; color: #c62828; margin-top: 5px; }

/* ── AVISOS ──────────────────────────────────────────────── */
.alerta { border-radius: 10px; padding: 13px 16px; margin-bottom: 22px; font-size: .86rem; line-height: 1.6; text-align: left; }
.alerta-erro { background: #fdecea; border-left: 4px solid #d32f2f; color: #7a1c1c; }
.alerta-ok   { background: #e8f5e9; border-left: 4px solid #388e3c; color: #1a5e20; }
.alerta-info { background: #f0f9fb; border-left: 4px solid #3d9db3; color: #2f5960; }
.alerta-aviso{ background: #fff8e1; border-left: 4px solid #f9a825; color: #5a4000; }
.alerta b { font-weight: 700; }

.msg-block { background: #f0f9fb; border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; font-size: .88rem; color: #3a5a60; line-height: 1.75; text-align: left; }
.msg-block b { color: #044f5a; }

.icone-status {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 1.8rem;
}
.icone-status.ok    { background: #e8f5e9; border: 2px solid #66bb6a; color: #2e7d32; }
.icone-status.aviso { background: #fff8e1; border: 2px solid #f9a825; color: #b07800; }
.icone-status.info  { background: #e6f4f7; border: 2px solid #3d9db3; color: #066a75; }

.protocolo-box {
  background: #f0f9fb; border: 1.5px dashed #3d9db3; border-radius: 12px;
  padding: 14px 18px; margin-bottom: 18px;
}
.protocolo-box small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6a9199; margin-bottom: 4px; }
.protocolo-box strong { font-size: 1.15rem; color: #066a75; letter-spacing: .03em; font-variant-numeric: tabular-nums; }

/* ── TERMO (TELA 3) ──────────────────────────────────────── */
.termo {
  border: 1px solid #d5e7eb; border-radius: 12px; background: #fcfefe;
  padding: 26px 26px 22px; font-size: .86rem; line-height: 1.8; color: #2c4a50; text-align: justify;
  max-height: 460px; overflow-y: auto;
}
.termo h3 { font-size: .86rem; font-weight: 800; text-align: center; color: #066a75; letter-spacing: .03em; margin-bottom: 16px; line-height: 1.5; }
.termo p { margin-bottom: 12px; }
.termo ol { margin: 0 0 12px 20px; }
.termo li { margin-bottom: 8px; padding-left: 4px; }
.termo .local-data { text-align: right; font-weight: 600; margin-top: 18px; }
.termo mark { background: #e3f3f6; color: #044f5a; font-weight: 700; padding: 0 3px; border-radius: 3px; }

.resumo { background: #f0f9fb; border: 1px solid #c8e8ee; border-radius: 12px; padding: 4px 18px; margin-bottom: 8px; }
.resumo-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #daeef2; font-size: .84rem; }
.resumo-row:last-child { border-bottom: none; }
.resumo-row span { color: #6a9199; }
.resumo-row strong { color: #1a2e31; text-align: right; word-break: break-word; }

.check-aceite {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px;
  border: 1.5px solid #c2d9de; border-radius: 10px; background: #f4fafb; cursor: pointer;
  font-size: .86rem; line-height: 1.55; color: #2c4a50; transition: border-color .2s, background .2s;
}
.check-aceite input { width: 20px; height: 20px; flex-shrink: 0; accent-color: #066a75; margin-top: 1px; cursor: pointer; }
.check-aceite:has(input:checked) { border-color: #066a75; background: #e8f6f8; }

/* ── UPLOAD (TELA 4) ─────────────────────────────────────── */
.dropzone {
  display: block; position: relative; border: 2px dashed #a9cfd6; border-radius: 14px; background: #f4fafb;
  padding: 34px 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.arrastando { border-color: #066a75; background: #e8f6f8; }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone-icone { font-size: 2rem; margin-bottom: 8px; color: #3d9db3; }
.dropzone-titulo { font-size: .95rem; font-weight: 700; color: #066a75; margin-bottom: 4px; }
.dropzone-sub { font-size: .76rem; color: #7a9a9e; }
.dropzone.com-arquivo { border-style: solid; border-color: #388e3c; background: #f1f9f2; }
.dropzone.com-arquivo .dropzone-titulo { color: #2e7d32; }
.preview { margin-top: 14px; display: none; }
.preview img { max-width: 100%; max-height: 220px; border-radius: 10px; border: 1px solid #d5e7eb; }

.dica-lista { list-style: none; margin: 16px 0 0; font-size: .78rem; color: #6a9199; line-height: 1.6; }
.dica-lista li { padding-left: 18px; position: relative; margin-bottom: 4px; }
.dica-lista li::before { content: '✓'; position: absolute; left: 0; color: #3d9db3; font-weight: 700; }

/* ── INSTRUÇÕES DE ASSINATURA (TELA 5) ───────────────────── */
.instrucoes { background: #fff8e1; border-left: 4px solid #f9a825; border-radius: 0 12px 12px 0; padding: 16px 18px; margin-bottom: 22px; font-size: .82rem; color: #5a4000; line-height: 1.6; text-align: left; }
.instrucoes-titulo { font-weight: 800; font-size: .88rem; color: #7a5a00; margin-bottom: 10px; }
.instrucoes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.instrucoes b { color: #7a5a00; }
.instrucoes ol { margin: 6px 0 0 18px; }
.instrucoes li { margin-bottom: 4px; }
.instrucoes a { color: #066a75; font-weight: 700; }
.instrucoes-obs { margin-top: 10px; font-weight: 600; }
.passo-box { background: #fff8e1; border-left: 4px solid #f9a825; border-radius: 0 12px 12px 0; padding: 14px 16px; margin-bottom: 14px; font-size: .86rem; color: #5a4000; line-height: 1.65; text-align: left; }
.passo-box b { color: #7a5a00; }

/* ── BOTÕES ──────────────────────────────────────────────── */
.btn-submit {
  display: block; width: 100%; padding: 14px 20px; font-size: 1rem; font-weight: 700;
  font-family: 'Inter', sans-serif; color: #fff; text-align: center; text-decoration: none;
  background: linear-gradient(135deg, #3d9db3 0%, #066a75 100%);
  border: none; border-radius: 10px; cursor: pointer; margin-top: 20px;
  letter-spacing: .025em; transition: opacity .2s, transform .12s;
  -webkit-appearance: none; appearance: none;
}
.btn-submit:hover  { opacity: .88; }
.btn-submit:active { transform: scale(.985); }
.btn-submit:disabled { opacity: .55; cursor: not-allowed; }
.btn-submit.vermelho { background: linear-gradient(135deg, #c0392b 0%, #8e1f14 100%); }

.btn-voltar {
  display: block; text-align: center; margin-top: 14px; font-size: .84rem; font-weight: 600;
  color: #6a9199; text-decoration: none;
}
.btn-voltar:hover { color: #066a75; }
.btn-secundario {
  display: block; width: 100%; padding: 12px 20px; font-size: .92rem; font-weight: 700;
  font-family: 'Inter', sans-serif; color: #066a75; text-align: center; text-decoration: none;
  background: #fff; border: 1.5px solid #3d9db3; border-radius: 10px; cursor: pointer; margin-top: 12px;
}
.btn-secundario:hover { background: #f0f9fb; }

/* ── RODAPÉ LGPD ─────────────────────────────────────────── */
.lgpd {
  max-width: 620px; width: 100%; margin-top: 22px; display: flex; gap: 9px; align-items: flex-start;
  font-size: .72rem; color: #7f9fa3; line-height: 1.6;
}
.lgpd svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .55; margin-top: 2px; }
.lgpd b { color: #5a7f85; }

/* ── WHATSAPP ────────────────────────────────────────────── */
.wpp-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; text-decoration: none; font-size: .88rem; font-weight: 700;
  padding: 13px 20px 13px 16px; border-radius: 99px; box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: transform .18s, box-shadow .18s;
}
.wpp-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(37,211,102,.55); }
.wpp-btn svg { width: 26px; height: 26px; flex-shrink: 0; }

/* ── RESPONSIVO ──────────────────────────────────────────── */
@media (max-width: 880px) {
  body { grid-template-columns: 1fr; }
  .brand { padding: 32px 28px 36px; min-height: auto; height: auto; position: relative; }
  .brand::before { width: 200px; height: 200px; top: -60px; right: -60px; border-width: 35px; }
  .brand::after  { width: 150px; height: 150px; bottom: -50px; left: -50px; border-width: 28px; }
  .brand-logo-wrap { padding: 12px 20px; margin-bottom: 16px; }
  .brand-logo { max-width: 130px; }
  .brand-title { font-size: 1.3rem; margin-bottom: 10px; }
  .brand-divider { margin-bottom: 12px; }
  .brand-sub { font-size: .82rem; margin-bottom: 18px; }
  .form-side { padding: 32px 16px 90px; }
  .form-card { padding: 34px 26px 40px; }
}
@media (max-width: 600px) {
  .wpp-btn span { display: none; }
  .wpp-btn { padding: 14px; border-radius: 50%; }
}
@media (max-width: 480px) {
  .brand { padding: 24px 20px 30px; }
  .brand-logo-wrap { padding: 10px 16px; margin-bottom: 12px; border-radius: 14px; }
  .brand-logo { max-width: 100px; }
  .brand-title { font-size: 1.1rem; margin-bottom: 8px; }
  .brand-sub { display: none; }
  .brand-pill { font-size: .66rem; padding: 6px 14px; }
  .form-card { padding: 28px 18px 32px; border-radius: 14px; }
  .form-title { font-size: 1.1rem; }
  .field-row { grid-template-columns: 1fr; }
  .termo { padding: 18px 16px; max-height: none; }
  .instrucoes-grid { grid-template-columns: 1fr; }
  .step-txt { font-size: .56rem; }
}
