/* A página do cadastro self-service (comecar.redinha.app.br).
   Segue o estudo aprovado em 05/10/2026 (claude.ai/artifact/Npv6rBhwUVH2disH5CKXVM). */

.comecar { max-width: 430px; margin: 0 auto; padding: 24px 24px 40px; }
.comecar__passo { display: flex; flex-direction: column; min-height: 100dvh; box-sizing: border-box; }
.comecar__topo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.comecar__logo { width: 40px; height: 40px; border-radius: 12px; }
/* a trilha de etapas no topo: bolinhas que se acendem conforme a pessoa avança */
.comecar__trilha { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0 0 0 auto; padding: 8px 14px; background: var(--surface-soft); border-radius: 999px; }
.trilha__passo { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--ink-mute); white-space: nowrap; }
.trilha__passo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex-shrink: 0; }
.trilha__passo--atual { color: var(--pink); }
.trilha__passo--atual::before { background: var(--pink); }
.trilha__passo--feito { color: #1E8A5A; }
.trilha__passo--feito::before { background: #1E8A5A; }
/* no celular, só a etapa atual mostra o nome; as outras ficam de bolinha */
.trilha__passo span { display: none; }
.trilha__passo--atual span { display: inline; }
@media (min-width: 560px) { .trilha__passo span { display: inline; } }
.comecar__voltar { width: 40px; height: 40px; border: none; border-radius: 999px; background: var(--surface-soft); cursor: pointer; position: relative; }
.comecar__voltar::before { content: ""; position: absolute; left: 16px; top: 13px; width: 10px; height: 10px; border-left: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transform: rotate(45deg); }
.comecar__texto { margin: 8px 0 18px; font-size: 15px; line-height: 21px; color: var(--ink-soft); }
.comecar__link { border: none; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--pink); cursor: pointer; text-decoration: underline; }

.comecar__cartoes { display: flex; flex-direction: column; gap: 12px; }
.comecar__cartao { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 20px; }

.comecar__aceite { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 16px; cursor: pointer; font-size: 14px; line-height: 20px; }
.comecar__aceite input { width: 22px; height: 22px; accent-color: var(--pink); margin: 0; flex-shrink: 0; }

/* o botão que enche de verde ao avançar */
.comecar__avancar { position: relative; overflow: hidden; margin-top: auto; flex-shrink: 0; }
.comecar__avancar:disabled { opacity: .45; }
.comecar__verde { position: absolute; inset: 0 auto 0 0; width: 0; background: #1E9E63; transition: width .85s ease; }
.comecar__rotulo { position: relative; }
@media (prefers-reduced-motion: reduce) { .comecar__verde { transition: none; } }

/* o endereço com o .redinha.app.br colado */
.comecar__endereco { display: flex; align-items: center; background: var(--surface-soft); border-radius: 14px; height: 52px; padding: 0 16px; overflow: hidden; }
.comecar__slug { border: none; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); padding: 0; min-width: 0; flex-shrink: 1; outline: none; }
.comecar__slug::placeholder { color: var(--ink-mute); font-weight: 600; opacity: .55; }
.comecar__sufixo { font-size: 16px; font-weight: 700; color: #C94F17; white-space: nowrap; flex-shrink: 0; }
.comecar__dica { margin: 6px 0 0; font-size: 12px; font-weight: 700; min-height: 17px; }
.comecar__dica--livre { color: #1E8A5A; }
.comecar__dica--ocupado { color: #C22F52; }
.comecar__dica--neutra { color: var(--ink-mute); font-weight: 500; }
.comecar__dica--centro { text-align: center; margin-top: 12px; }

/* o estilo dos campos (o painel.css não entra nesta página) */
.comecar .campo { width: 100%; box-sizing: border-box; min-height: 52px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); padding: 0 14px; font: inherit; font-size: 16px; font-weight: 600; }
.comecar .campo:focus { outline: none; border-color: var(--pink); }

.comecar__dupla { display: flex; gap: 12px; }
.comecar__dupla > div { flex: 1 1 0; min-width: 0; }
.comecar__dupla .campo { width: 100%; box-sizing: border-box; }
.comecar__dupla-menor { flex: 0 0 150px; }

.comecar__senha { position: relative; }
.comecar__senha .campo { width: 100%; box-sizing: border-box; padding-right: 44px; }
.comecar__olho { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: none; background: none; cursor: pointer; }
.comecar__olho::before { content: ""; position: absolute; inset: 9px 8px; border: 2px solid var(--ink-soft); border-radius: 70% 15%; transform: rotate(45deg); }
.comecar__olho::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ink-soft); }
.comecar__olho[aria-pressed="true"]::before { border-color: var(--pink); }
.comecar__olho[aria-pressed="true"]::after { background: var(--pink); }
.comecar__confere { position: absolute; right: 14px; top: 50%; width: 14px; height: 8px; border-left: 2.6px solid #1E8A5A; border-bottom: 2.6px solid #1E8A5A; transform: translateY(-70%) rotate(-45deg); }

.comecar__direcao { margin: 16px 0 24px; font-size: 13px; }
#form { display: flex; flex-direction: column; flex-grow: 1; }
#form .folha__rotulo { margin-top: 12px; }
#form .folha__rotulo:first-child { margin-top: 0; }

/* o contrato num popup, como todo cadastro de app */
.contrato-veu { position: fixed; inset: 0; background: rgba(43, 34, 51, .55); border: none; padding: 0; width: 100%; cursor: pointer; z-index: 40; }
.contrato-folha { position: fixed; inset: auto 0 0 0; max-height: 82dvh; background: var(--surface); border-radius: 28px 28px 0 0; z-index: 41; display: flex; flex-direction: column; padding: 14px 24px 24px; max-width: 430px; margin: 0 auto; }
.contrato-folha__texto { overflow-y: auto; font-size: 14px; line-height: 21px; color: var(--ink); }
.contrato-folha__rascunho { background: var(--surface-soft); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin: 0 0 12px; }
.contrato-folha .comecar__avancar { margin-top: 8px; }
.comecar__email { margin: 0 0 18px; font-size: 16px; overflow-wrap: anywhere; }
.comecar__corrigir { margin-top: 10px; }
