/* =====================================================================
   Ipromove — Acesso
   Tela dividida: a esquerda em preto, com o logo branco e o sorriso
   amarelo da marca enorme saindo pelo canto; a direita, o formulario.
   No celular o preto vira uma faixa no topo.
   ===================================================================== */

body.ipm-acesso {
    min-height: 100svh;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(360px, .9fr) 1fr;
    background: var(--ipm-superficie);
}

.ipm-acesso-marca {
    position: relative;
    background: var(--ipm-tinta);
    color: #fff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.ipm-acesso-marca > * { position: relative; z-index: 1; }

.ipm-acesso-logo-branco { width: 170px; height: auto; }

.ipm-acesso-slogan {
    font-family: var(--ipm-font-marca);
    font-weight: 800;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.035em;
    margin: 0 0 16px;
    max-width: 12ch;
}
.ipm-acesso-slogan span { color: var(--ipm-laranja); }

.ipm-acesso-rodape {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    margin: 0;
    max-width: 34ch;
}

/* o sorriso da marca, grande, cortado pela borda */
.ipm-acesso-sorriso.ipm-acesso-sorriso {
    position: absolute;
    z-index: 0;
    right: -18%;
    bottom: 22%;
    width: 78%;
    opacity: .95;
    pointer-events: none;
}

.ipm-acesso-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 40px 24px;
    background: var(--ipm-superficie);
}

.ipm-acesso-logo { display: none; width: 170px; }

.ipm-acesso-form > div { width: 100%; max-width: 400px; }

.ipm-acesso-form .card {
    border: 0;
    background: transparent;
    box-shadow: none;
}
.ipm-acesso-form .card-body { padding: 0; }

.ipm-acesso-form h3 { font-size: 28px; }

.btn-gradient {
    width: 100%;
    background: var(--ipm-laranja);
    color: var(--ipm-tinta);
    border: 0;
    border-radius: 999px;
    padding: .78rem 1.2rem;
    font-weight: 700;
    font-size: 15px;
}
.btn-gradient:hover { background: #F2A912; color: var(--ipm-tinta); }

.ipm-version { font-size: 12px; color: var(--ipm-neutra-clara); }

@media (max-width: 860px) {
    body.ipm-acesso { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .ipm-acesso-marca { padding: 28px 24px 34px; min-height: 0; gap: 22px; }
    .ipm-acesso-slogan { font-size: 30px; max-width: none; }
    .ipm-acesso-sorriso.ipm-acesso-sorriso { width: 46%; right: -8%; bottom: -10%; opacity: .5; }
    .ipm-acesso-form { justify-content: flex-start; padding-top: 32px; }
}
