/* Pop-up de qualificação da Cambioparts (formulário de etapas) */
.cpf-lock { overflow: hidden; }
.cpf-dialog {
  --cpf-teal: #00A9C1;
  --cpf-teal-escuro: #0090a5;
  --cpf-escuro: #424241;
  --cpf-borda: #e5e5e6;
  --cpf-fundo: #ffffff;
  --cpf-suave: #f5f7f8;
  --cpf-erro: #c0392b;
  width: min(560px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--cpf-fundo);
  color: var(--cpf-escuro);
  font-family: Inter, system-ui, sans-serif;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  overflow: hidden;
}
.cpf-dialog::backdrop { background: rgba(20, 24, 26, .6); }
.cpf-dialog[open] { display: flex; flex-direction: column; }
.cpf-topo {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px 12px; border-bottom: 1px solid var(--cpf-borda);
}
.cpf-voltar, .cpf-fechar {
  appearance: none; border: 0; background: transparent; color: var(--cpf-escuro);
  font: inherit; cursor: pointer; border-radius: 999px;
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.cpf-voltar[hidden] { display: none !important; }
.cpf-voltar { font-size: 15px; padding: 0 8px; gap: 4px; }
.cpf-fechar { font-size: 26px; line-height: 1; margin-left: auto; }
.cpf-progresso { flex: 1; height: 6px; background: var(--cpf-borda); border-radius: 999px; overflow: hidden; }
.cpf-progresso span { display: block; height: 100%; width: 0; background: var(--cpf-teal); transition: width .25s ease; }
.cpf-corpo { padding: 20px 20px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
.cpf-etapa[hidden] { display: none !important; }
.cpf-titulo {
  font-family: Oswald, system-ui, sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 24px; line-height: 1.15; margin: 0 0 6px; color: var(--cpf-escuro);
}
.cpf-sub { margin: 0 0 18px; font-size: 15px; line-height: 1.45; color: #5d5d5c; }
.cpf-opcoes { display: grid; gap: 10px; }
.cpf-opcao {
  appearance: none; width: 100%; text-align: left; cursor: pointer;
  border: 2px solid var(--cpf-borda); background: #fff; color: var(--cpf-escuro);
  border-radius: 14px; padding: 14px 16px; font: 500 16px/1.35 Inter, system-ui, sans-serif;
  display: flex; align-items: center; gap: 12px; min-height: 56px;
}
.cpf-opcao::before {
  content: ""; flex: 0 0 18px; height: 18px; border-radius: 999px; border: 2px solid #b9bcbe; background: #fff;
}
.cpf-opcao.cpf-marcada { border-color: var(--cpf-teal); background: #e9f8fa; }
.cpf-opcao.cpf-marcada::before { border-color: var(--cpf-teal); background: radial-gradient(var(--cpf-teal) 45%, #fff 50%); }
@media (hover: hover) {
  .cpf-opcao:hover { border-color: var(--cpf-teal); }
  .cpf-btn:hover { background: var(--cpf-teal-escuro); }
  .cpf-link:hover { text-decoration: underline; }
}
.cpf-opcao:focus-visible, .cpf-btn:focus-visible, .cpf-campo input:focus-visible, .cpf-link:focus-visible {
  outline: 3px solid rgba(0, 169, 193, .45); outline-offset: 2px;
}
.cpf-campo { display: grid; gap: 6px; margin-bottom: 14px; }
.cpf-campo[hidden] { display: none !important; }
.cpf-campo label { font-size: 14px; font-weight: 600; }
.cpf-campo input {
  width: 100%; box-sizing: border-box; border: 2px solid var(--cpf-borda); border-radius: 12px;
  padding: 13px 14px; font: 400 16px/1.3 Inter, system-ui, sans-serif; color: var(--cpf-escuro); background: #fff;
}
.cpf-campo input:focus { border-color: var(--cpf-teal); outline: none; }
.cpf-campo.cpf-com-erro input { border-color: var(--cpf-erro); }
.cpf-tel { display: flex; align-items: stretch; }
.cpf-tel span {
  display: inline-flex; align-items: center; padding: 0 12px; border: 2px solid var(--cpf-borda); border-right: 0;
  border-radius: 12px 0 0 12px; background: var(--cpf-suave); font-weight: 600; font-size: 16px;
}
.cpf-tel input { border-radius: 0 12px 12px 0; }
.cpf-erro { color: var(--cpf-erro); font-size: 14px; margin: 0; min-height: 0; }
.cpf-erro:empty { display: none; }
.cpf-dica { font-size: 14px; color: #6b6b6a; margin: 0 0 16px; line-height: 1.4; }
.cpf-btn {
  appearance: none; border: 0; width: 100%; cursor: pointer; border-radius: 999px;
  background: var(--cpf-teal); color: #fff; font: 600 17px/1.2 Inter, system-ui, sans-serif;
  padding: 16px 20px; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; box-sizing: border-box;
}
.cpf-btn[disabled] { opacity: .6; cursor: wait; }
.cpf-acoes { position: sticky; bottom: -24px; background: #fff; padding: 12px 0 0; }
.cpf-link {
  appearance: none; border: 0; background: transparent; color: var(--cpf-teal-escuro); font: 600 15px Inter, system-ui, sans-serif;
  cursor: pointer; padding: 10px 0; margin: -6px 0 8px; text-align: left;
}
.cpf-consentimento { font-size: 12.5px; color: #7a7a79; margin: 12px 0 0; line-height: 1.4; }
.cpf-fim { text-align: center; padding: 8px 0; }
.cpf-fim .cpf-titulo { margin-top: 8px; }
.cpf-check {
  width: 56px; height: 56px; border-radius: 999px; background: #e9f8fa; color: var(--cpf-teal);
  display: inline-flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700;
}
@media (max-width: 640px) {
  .cpf-dialog {
    width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh;
    border-radius: 0; margin: 0;
  }
  .cpf-titulo { font-size: 22px; }
}

/* Linha legal no fim da página (CNPJ e Política de Privacidade) */
.cpf-legal { background: #424241; color: rgba(255, 255, 255, .55); font-family: Inter, system-ui, sans-serif; font-size: 12px; line-height: 1.5; text-align: center; padding: 0 16px 20px; margin: 0; }
.cpf-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cpf-legal a:hover { color: rgba(255, 255, 255, .85); }
.cpf-consentimento a { color: inherit; text-decoration: underline; }
