/* =====================================================================
   FgTech — Acesso
   Tela dividida: a esquerda e o lado laranja da esfera, com o selo da
   marca e o slogan em tinta; ele termina na curva em S do simbolo, com o
   fio azul correndo no vao. A direita, o formulario no branco.
   No celular a curva vira horizontal e o laranja fica no topo.
   ===================================================================== */

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

/* ---------- O lado laranja ---------- */
.fgtech-acesso-marca {
    position: relative;
    background: var(--fgtech-laranja);
    color: var(--fgtech-tinta);
    padding: 48px 120px 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.fgtech-acesso-marca > p,
.fgtech-acesso-marca > div { position: relative; z-index: 1; }

/* o simbolo colorido num disco branco: sobre o laranja, a metade laranja
   da esfera precisa do branco em volta */
.fgtech-acesso-selo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 28px -8px rgba(23, 24, 46, .35);
}
.fgtech-acesso-selo img { width: 46px; height: auto; }

.fgtech-acesso-slogan {
    font-family: var(--fgtech-font-marca);
    font-stretch: 125%;
    font-weight: 800;
    font-size: clamp(38px, 4.6vw, 68px);
    line-height: .98;
    letter-spacing: -.05em;
    color: var(--fgtech-tinta);
    margin: 0;
}

.fgtech-acesso-rodape {
    font-size: 14px;
    color: rgba(23, 24, 46, .78);
    margin: 0;
    max-width: 30ch;
}

.fgtech-acesso-curva { position: absolute; pointer-events: none; }
.fgtech-acesso-curva .branco { fill: var(--fgtech-superficie); }
.fgtech-acesso-curva .fio { fill: none; stroke: var(--fgtech-aco); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.fgtech-acesso-curva-lado { top: 0; right: -1px; width: 96px; height: 100%; }
.fgtech-acesso-curva-base { display: none; }

/* ---------- Formulario ---------- */
.fgtech-acesso-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 40px 24px;
    background: var(--fgtech-superficie);
}

.fgtech-acesso-logo { height: 34px; width: auto; }

/* o formulario de cada tela entra dentro de um wrapper ng-controller */
.fgtech-acesso-form > * { width: 100%; max-width: 380px; }
.fgtech-acesso-form > .fgtech-acesso-logo { width: auto; }

.fgtech-acesso-form .card {
    width: 100%;
    max-width: 380px;
    min-width: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none !important;
}
.fgtech-acesso-form .card-body { padding: 0 !important; }

.fgtech-acesso-form h3 {
    font-family: var(--fgtech-font-marca);
    font-stretch: 125%;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -.04em;
    color: var(--fgtech-tinta);
}

.fgtech-acesso-form .form-control { height: 48px; }

/* botao de acao: a brasa, o laranja que segura texto branco */
.btn-gradient {
    display: block;
    width: 100%;
    color: #fff;
    font-family: var(--fgtech-font-marca);
    font-stretch: 118%;
    font-weight: 700;
    font-size: 15px;
    background: var(--fgtech-laranja-600);
    border: 0;
    border-radius: 999px;
    padding: .82rem 1rem;
    transition: background-color .2s ease, transform .08s ease;
}
.btn-gradient:hover { color: #fff; background: var(--fgtech-laranja-700); }
.btn-gradient:active { transform: translateY(1px); }
.btn-gradient:focus-visible { outline: 2px solid var(--fgtech-laranja); outline-offset: 3px; }

.fgtech-acesso-form a.link-secondary {
    color: var(--fgtech-tinta);
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline !important;
    text-decoration-color: var(--fgtech-laranja) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px;
}
.fgtech-acesso-form a.link-secondary:hover { color: var(--fgtech-laranja-800); }

.fgtech-version {
    font-family: var(--fgtech-font-mono);
    font-stretch: 87.5%;
    font-size: 11px;
    color: var(--fgtech-neutra-clara);
    letter-spacing: -.01em;
}

.py-3_5 { padding: .72rem 1rem; }

@media (max-width: 860px) {
    body.fgtech-acesso { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .fgtech-acesso-marca {
        padding: 28px 24px 76px;
        gap: 20px;
        justify-content: flex-start;
    }
    .fgtech-acesso-selo { width: 60px; height: 60px; }
    .fgtech-acesso-selo img { width: 36px; }
    .fgtech-acesso-slogan { font-size: 38px; }
    .fgtech-acesso-rodape { display: none; }
    .fgtech-acesso-curva-lado { display: none; }
    .fgtech-acesso-curva-base { display: block; left: 0; bottom: -1px; width: 100%; height: 56px; }
    .fgtech-acesso-form { justify-content: flex-start; padding-top: 12px; gap: 28px; }
    .fgtech-acesso-logo { display: none; }
}
