/* Questionário do botão de WhatsApp do topo (assets/js/contato-rapido.js).
   Usa as cores da página (--cor-fundo, --cor-texto, --cor-linha), então
   acompanha o seletor dia/noite sem regra própria. */
.cr-fundo {
    position: fixed; inset: 0; z-index: 10000;
    display: none; align-items: center; justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.55);
}
.cr-fundo.aberto { display: flex; }

.cr-caixa {
    position: relative;
    width: 100%; max-width: 400px;
    max-height: 100%; overflow-y: auto;
    padding: 26px 24px 22px;
    background: var(--cor-fundo, #161618);
    color: var(--cor-texto, #f5f5f5);
    border: 1px solid var(--cor-linha, rgba(255, 255, 255, 0.12));
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    font-family: inherit;
}
.cr-fechar {
    position: absolute; top: 10px; right: 10px;
    width: 34px; height: 34px;
    border: 0; border-radius: 8px; background: transparent;
    color: inherit; opacity: 0.6; font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.cr-fechar:hover { opacity: 1; }

.cr-titulo { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; }
.cr-sub { margin: 0 0 18px; font-size: 0.9rem; opacity: 0.7; line-height: 1.5; }

.cr-campo { margin-bottom: 12px; }
.cr-campo label { display: block; margin-bottom: 5px; font-size: 0.82rem; font-weight: 600; }
.cr-campo label small { font-weight: 400; opacity: 0.65; }
.cr-campo input {
    width: 100%; box-sizing: border-box;
    padding: 11px 13px;
    background: transparent; color: inherit;
    border: 1px solid var(--cor-linha, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
    font: inherit; font-size: 1rem;
}
.cr-campo input:focus { outline: none; border-color: #25d366; }

.cr-aviso {
    margin: 0 0 14px; padding: 11px 13px;
    border-radius: 10px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.35);
    font-size: 0.9rem; line-height: 1.5;
}

.cr-perfis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 14px; }
.cr-perfil {
    padding: 11px 10px;
    background: transparent; color: inherit;
    border: 1px solid var(--cor-linha, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
    font: inherit; font-size: 0.92rem; cursor: pointer;
}
.cr-perfil:hover { border-color: #25d366; }
.cr-perfil.ativo { border-color: #25d366; background: rgba(37, 211, 102, 0.12); font-weight: 700; }

.cr-btn {
    width: 100%; margin-top: 4px; padding: 12px;
    border: 0; border-radius: 10px;
    background: #25d366; color: #062012;
    font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.cr-btn:disabled { opacity: 0.6; cursor: default; }
.cr-link {
    display: block; margin: 12px auto 0; padding: 4px;
    background: none; border: 0; color: inherit; opacity: 0.7;
    font: inherit; font-size: 0.85rem; text-decoration: underline; cursor: pointer;
}
.cr-msg { min-height: 1.2em; margin-top: 10px; font-size: 0.86rem; text-align: center; color: #ff6b5e; }
.cr-passo { display: none; }
.cr-passo.ativo { display: block; }
