/*
 * Cadastro de empresa — página principal e página de campanha.
 * Tudo com prefixo .ce- para não brigar com o CSS legado do site.
 */

.ce-pagina {
    --ce-roxo: #8252a8;
    --ce-roxo-escuro: #6a3f8f;
    --ce-marinho: #02183d;
    --ce-laranja: #f7931e;
    --ce-texto: #1f2937;
    --ce-texto-suave: #5b6475;
    --ce-borda: #d6dae3;
    --ce-fundo: #f5f3fa;
    --ce-erro: #c62828;
    --ce-ok: #1f7a4d;
    --ce-whats: #1faa55;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ce-texto);
    background: var(--ce-fundo);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.ce-pagina *,
.ce-pagina *::before,
.ce-pagina *::after { box-sizing: border-box; }

/* ------------------------------------------------------------- hero */

.ce-hero {
    background: linear-gradient(135deg, var(--ce-marinho) 0%, #1d1a4f 55%, var(--ce-roxo-escuro) 100%);
    color: #fff;
    padding: 48px 16px 64px;
}

.ce-hero__grade {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 48px;
    align-items: start;
}

.ce-hero__selo {
    display: inline-block;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 16px;
}

.ce-hero__titulo {
    font-size: clamp(28px, 4.2vw, 44px);
    line-height: 1.12;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
}

.ce-hero__titulo em {
    font-style: normal;
    color: var(--ce-laranja);
}

.ce-hero__sub {
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
    margin: 0 0 28px;
    max-width: 520px;
}

.ce-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 14px;
}

.ce-lista li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 16px;
    color: rgba(255, 255, 255, .92);
}

.ce-lista__icone {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(247, 147, 30, .18);
    color: var(--ce-laranja);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

.ce-lista strong { color: #fff; }

/* ------------------------------------------------------------- cartão */

.ce-cartao {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(2, 24, 61, .25);
    padding: 28px 28px 22px;
    color: var(--ce-texto);
}

.ce-form__titulo {
    font-size: 22px;
    font-weight: 800;
    color: var(--ce-marinho);
    margin: 0 0 4px;
    line-height: 1.2;
}

.ce-form__sub {
    font-size: 14px;
    color: var(--ce-texto-suave);
    margin: 0 0 18px;
}

.ce-campo { margin-bottom: 14px; min-width: 0; }

.ce-campo label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ce-marinho);
    margin: 0 0 5px;
}

.ce-campo input,
.ce-campo select {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 12px;
    font-size: 16px; /* 16px evita o zoom automático do iPhone */
    color: var(--ce-texto);
    background: #fff;
    border: 1.5px solid var(--ce-borda);
    border-radius: 10px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}

.ce-campo select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235b6475' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
}

.ce-campo input::placeholder { color: #9aa1ae; }

.ce-campo input:focus,
.ce-campo select:focus {
    border-color: var(--ce-roxo);
    box-shadow: 0 0 0 3px rgba(130, 82, 168, .18);
}

.ce-campo select:disabled { background-color: #f3f4f7; color: #9aa1ae; }

.ce-campo--erro input,
.ce-campo--erro select { border-color: var(--ce-erro); }

.ce-erro {
    display: block;
    font-size: 13px;
    color: var(--ce-erro);
    margin-top: 4px;
}

.ce-ajuda {
    display: block;
    font-size: 13px;
    color: var(--ce-texto-suave);
    margin-top: 5px;
    min-height: 1em;
}

.ce-ajuda:empty { display: none; }
.ce-ajuda--ok { color: var(--ce-ok); font-weight: 600; }
.ce-ajuda--aviso { color: #9a5b00; }
.ce-ajuda--carregando { color: var(--ce-roxo); }

.ce-linha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ce-linha .ce-campo--uf { min-width: 0; }

.ce-qtd {
    display: flex;
    align-items: stretch;
    width: 170px;
}

.ce-qtd input {
    text-align: center;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    -moz-appearance: textfield;
}

.ce-qtd input::-webkit-outer-spin-button,
.ce-qtd input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ce-qtd__btn {
    flex: 0 0 46px;
    height: 46px;
    border: 1.5px solid var(--ce-borda);
    background: #f7f5fb;
    color: var(--ce-roxo);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.ce-qtd__btn:first-child { border-radius: 10px 0 0 10px; }
.ce-qtd__btn:last-child { border-radius: 0 10px 10px 0; }
.ce-qtd__btn:hover { background: #efe8f7; }

.ce-isca {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ce-alerta {
    font-size: 14px;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 4px 0 14px;
    background: #fdecec;
    color: #8a1f1f;
}

.ce-alerta--info { background: #eef4ff; color: #1b3a73; }
.ce-alerta a { color: inherit; font-weight: 700; text-decoration: underline; }

.ce-botao {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--ce-roxo);
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s, transform .05s;
    margin-top: 6px;
}

.ce-botao:hover { background: var(--ce-roxo-escuro); }
.ce-botao:active { transform: translateY(1px); }
.ce-botao:disabled { opacity: .75; cursor: progress; }

.ce-botao__carregando {
    display: none;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 3px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ce-girar .8s linear infinite;
}

.ce-botao--carregando .ce-botao__carregando { display: inline-block; }

@keyframes ce-girar { to { transform: rotate(360deg); } }

.ce-botao--whats { background: var(--ce-whats); }
.ce-botao--whats:hover { background: #178c45; }

.ce-lgpd {
    font-size: 12px;
    color: var(--ce-texto-suave);
    text-align: center;
    margin: 12px 0 0;
}

.ce-lgpd a { color: var(--ce-roxo); }

.ce-sucesso { text-align: center; padding: 18px 4px 8px; outline: none; }

.ce-sucesso__icone {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e6f5ec;
    color: var(--ce-ok);
    font-size: 34px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ce-sucesso__texto { color: var(--ce-texto-suave); margin: 8px 0 18px; }

.ce-sucesso__link {
    display: inline-block;
    margin-top: 14px;
    color: var(--ce-roxo);
    font-weight: 600;
    font-size: 14px;
}

/* ------------------------------------------------------------- seções */

.ce-secao {
    max-width: 1140px;
    margin: 0 auto;
    padding: 56px 16px;
}

.ce-secao__titulo {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: var(--ce-marinho);
    text-align: center;
    margin: 0 0 32px;
}

.ce-passos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: passo;
}

.ce-passo {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(2, 24, 61, .06);
}

.ce-passo::before {
    counter-increment: passo;
    content: counter(passo);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ce-roxo);
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
}

.ce-passo h3 { font-size: 17px; font-weight: 700; color: var(--ce-marinho); margin: 0 0 6px; }
.ce-passo p { font-size: 15px; color: var(--ce-texto-suave); margin: 0; }

/* ------------------------------------------------------------- campanha: topo e rodapé mínimos */

.ce-topo {
    background: #fff;
    border-bottom: 1px solid #ece8f3;
    box-shadow: 0 2px 12px rgba(2, 24, 61, .06);
    padding: 10px 16px;
}

.ce-topo__grade {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/*
 * Logo-SE.png (843x596) tem muita margem branca em volta do desenho, por isso aparecia
 * minúsculo. A caixa mostra só o desenho (recorte em em: muda o tamanho só pelo font-size).
 * Desenho no arquivo: x 105-740, y 160-432 (635x272).
 */
.ce-topo__logo {
    display: block;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    font-size: 50px; /* altura do logo */
    width: 2.335em;
    height: 1em;
}

.ce-topo .ce-topo__logo img {
    position: absolute;
    max-width: none;
    width: auto;
    height: 2.191em;
    left: -.386em;
    top: -.588em;
}

.ce-topo__link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--ce-roxo);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .15s;
}

.ce-topo__link:hover { background: var(--ce-roxo-escuro); }

.ce-rodape {
    background: var(--ce-marinho);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    text-align: center;
    padding: 24px 16px;
}

.ce-rodape a { color: #fff; }

/* ------------------------------------------------------------- celular */

@media (max-width: 900px) {
    .ce-hero { padding: 28px 16px 40px; }
    .ce-hero__grade { grid-template-columns: 1fr; gap: 24px; }
    .ce-hero__sub { font-size: 16px; margin-bottom: 0; }
    /* No celular o formulário sobe logo depois do título; benefícios vão para baixo. */
    .ce-hero__texto { display: contents; }
    .ce-hero__cabeca { order: 1; }
    .ce-cartao { order: 2; }
    .ce-hero__extra { order: 3; }
    .ce-passos { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .ce-topo { padding: 8px 16px; }
    .ce-topo__logo { font-size: 38px; }
    .ce-topo__link { min-height: 38px; padding: 0 14px; font-size: 14px; }
    .ce-cartao { padding: 22px 16px 18px; border-radius: 14px; }
    .ce-linha { grid-template-columns: 1fr; gap: 0; }
    .ce-hero__selo { font-size: 12px; }
}
