.cc-sim{max-width:720px;margin:0 auto; text-align: center;}
.cc-sim h3{font-size: 24px;}
.cc-step{display:none;background:#fff;border-radius:16px;padding:24px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.cc-step-1{display:block}
.cc-field{margin:14px 0}
.cc-field label{font-weight:600;display:block;margin-bottom:6px}
.cc-field input[type=range]{width:100%}
.cc-out{display:block;margin-top:6px;opacity:.85}
.cc-sub{opacity:.8;margin-top:-6px}
.cc-actions{display:flex;gap:10px;justify-content:center;margin-top:16px}
#calc-enviar, .cc-actions .cc-next,.cc-actions .cc-prev,.cc-actions .cc-to-thanks,.cc-actions .cc-reset{padding:12px 20px !important;border-radius:999px !important;border:0;background:#0081ff !important;color:#fff !important;cursor:pointer !important}
.cc-error{color:#b4000f;font-size:.9rem;margin-top:4px;min-height:1em; text-align: left;}
.cc-resumo{margin-top:10px;opacity:.9}
#calc-enviar{border-radius: 999px;}


/* ===== Radios como botões (pill) ===== */

.group-button{
  display: flex;
  justify-content: space-between;
}
.cc-sim { --cc-accent: #0081ff; }

/* Esconde o radio, mas mantém acessível */
.cc-field label > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Apenas os labels que CONTÊM radios viram botões */
.cc-field label:has(> input[type="radio"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;          /* ajuste se quiser menor/maior */
  padding: 10px 18px;
  margin: 6px 8px 0 0;       /* espaçamento entre opções */
  border-radius: 999px;
  background: #eef3f9;       /* cinza do “off” */
  color: #1f2a37;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  user-select: none;
  line-height: 1.1;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  width: 50%;

}

/* Hover/focus visível */
.cc-field label:has(> input[type="radio"]):hover {
  border-color: #cfd8e3;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.cc-field label:has(> input[type="radio"]):focus-within {
  outline: 2px solid var(--cc-accent);
  outline-offset: 2px;
}

/* Estado ATIVO (checked) */
.cc-field label:has(> input[type="radio"]:checked) {
  background: var(--cc-accent);
  color: #fff;
  border-color: var(--cc-accent);
  box-shadow: 0 6px 18px rgba(0,129,255,.25);
}

/* Opcional: compactar o texto da legenda acima do grupo */
.cc-field label:not(:has(> input[type="radio"])) {
  margin-bottom: 6px;
  display: block;
}


/* ===== Prévia de valor (parcela/crédito) ===== */
.cc-preview{
  margin: 14px 0 6px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.cc-preview-label{
  font-weight: 700;
  letter-spacing: .2px;
  opacity: .9;
  margin-bottom: 4px;
  text-transform: none;
}
.cc-preview-value{
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: #0d3b66;
}
.cc-preview-note{
  font-size: .85rem;
  opacity: .7;
}