/* =========================================================
   TIPOGRAFIA V2 - FGA VISITAS
   Helvetica + escala revisada para leitura confortável
   Regra: evitar microtextos de 6px–10px em conteúdo funcional
========================================================= */

:root {
    --green: #39dd8f;
    --green-dark: #15985e;
    --dark: #081016;
    --dark-soft: #101a22;
    --text: #f4f7f8;
    --muted: #93a0aa;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}

body {
    overflow: hidden;
}


/* ==========================================================
   SCENE
========================================================== */

.login-scene {
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    background: #081016;
}


.login-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: linear-gradient( 90deg, rgba(5, 12, 17, .96) 0%, rgba(5, 12, 17, .82) 32%, rgba(5, 12, 17, .30) 62%, rgba(5, 12, 17, .58) 100% ), url('/images/TelaLogin2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


    /* detalhe luminoso central */

    .login-background::before {
        content: "";
        position: absolute;
        width: 800px;
        height: 800px;
        left: 42%;
        top: -180px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(45, 214, 135, .08), transparent 68% );
        pointer-events: none;
    }



/* ==========================================================
   ORBITAS
========================================================== */

.green-orbit {
    position: absolute;
    border: 1px solid rgba(44, 226, 139, .34);
    pointer-events: none;
}

.orbit-1 {
    width: 700px;
    height: 1050px;
    left: 30%;
    top: -310px;
    border-radius: 48%;
    transform: rotate(-32deg);
}

.orbit-2 {
    width: 920px;
    height: 600px;
    left: 12%;
    bottom: -450px;
    border-radius: 50%;
    transform: rotate(12deg);
}


/* ==========================================================
   BRAND SIDE
========================================================== */

.brand-side {
    position: absolute;
    left: 5.4%;
    top: 50%;
    transform: translateY(-50%);
    width: min(54%, 750px);
    color: white;
    z-index: 5;
}


.login-brand {
    display: inline-block;
}

.fga-logo {
    font-size: 54px;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: .9;
}

    .fga-logo span {
        color: var(--green);
    }

.fga-subtitle {
    margin-top: 12px;
    font-size: 15px;
    letter-spacing: 12px;
    font-weight: 500;
}

.brand-line {
    width: 52px;
    height: 3px;
    margin-top: 28px;
    border-radius: 5px;
    background: var(--green);
}


/* HERO */

.hero-copy {
    margin-top: 40px;
}

    .hero-copy h1 {
        margin: 0;
        font-size: clamp(38px, 3.8vw, 65px);
        line-height: 1.04;
        letter-spacing: -2.6px;
        font-weight: 300;
    }

        .hero-copy h1 strong {
            font-weight: 750;
        }

        .hero-copy h1 em {
            display: block;
            color: var(--green);
            font-style: normal;
            font-weight: 750;
        }

    .hero-copy p {
        max-width: 510px;
        margin-top: 24px;
        font-size: 18px;
        line-height: 1.55;
        color: #a9b4bc;
    }


/* FEATURES */

.feature-strip {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 650px;
    gap: 24px;
}

.feature {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 13px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.025);
    color: var(--green);
    font-size: 19px;
    backdrop-filter: blur(10px);
}

.feature strong {
    font-size: 13px;
}

.feature span {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.4;
    color: #8997a2;
}


/* FOOTER DA MARCA */

.brand-footer {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.footer-line {
    width: 38px;
    height: 2px;
    margin-bottom: 12px;
    background: var(--green);
}

.brand-footer span {
    color: #a5b0b8;
}

.brand-footer strong {
    margin-top: 2px;
    color: var(--green);
}


/* ==========================================================
   LOGIN AREA
========================================================== */

.login-area {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    z-index: 10;
}


.login-card {
    position: relative;
    padding: 38px;
    border-radius: 28px;
    background: rgba(251, 253, 254, .97);
    color: #121820;
    border: 1px solid rgba(255,255,255,.85);
    box-shadow: 0 35px 90px rgba(0,0,0,.35);
    backdrop-filter: blur(25px);
}


/* pequena marca */

.login-card-brand {
    position: absolute;
    right: 36px;
    top: 31px;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #162028;
}

    .login-card-brand > span {
        color: #27ad6d;
    }

    .login-card-brand small {
        display: block;
        margin-top: -1px;
        font-size: 12px;
        letter-spacing: .8px;
        text-align: center;
        color: #68757e;
    }


/* HEADING */

.login-heading {
    padding-top: 10px;
    margin-bottom: 30px;
}

.welcome-small {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .8px;
    color: #24a96a;
}

.login-heading h2 {
    margin: 0;
    max-width: 270px;
    font-size: 29px;
    letter-spacing: -1.3px;
    line-height: 1.1;
}

.login-heading p {
    margin: 8px 0 0;
    color: #7e8993;
    font-size: 13px;
}


/* ERROR */

.login-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #fff0f0;
    color: #bd4141;
    font-size: 13px;
}

    .login-error span {
        width: 20px;
        height: 20px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #e85d5d;
        color: white;
        font-weight: bold;
    }


/* ==========================================================
   FORM
========================================================== */

.field {
    margin-bottom: 17px;
}

    .field label {
        display: block;
        margin-bottom: 7px;
        font-size: 12px;
        font-weight: 750;
        color: #56616b;
    }

.input-shell {
    height: 53px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid #dce2e6;
    background: #fff;
    transition: .2s;
}

    .input-shell:focus-within {
        border-color: rgba(41, 184, 114, .65);
        box-shadow: 0 0 0 4px rgba(47, 211, 134, .08);
    }

.input-icon {
    width: 25px;
    color: #99a3ac;
    font-size: 16px;
}

.input-shell input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    color: #172028;
}

    .input-shell input::placeholder {
        color: #aab2b8;
    }

.password-toggle {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    color: #9aa3ac;
}


/* OPTIONS */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0 21px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 12px;
    color: #68737c;
}

    .remember input {
        display: none;
    }

    .remember span {
        width: 17px;
        height: 17px;
        border-radius: 5px;
        border: 1px solid #ccd4da;
        background: white;
        position: relative;
    }

    .remember input:checked + span {
        background: #26ba74;
        border-color: #26ba74;
    }

        .remember input:checked + span::after {
            content: "✓";
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            color: white;
            font-size: 12px;
        }

.forgot {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #59656e;
    font-size: 12px;
}


/* BUTTON */

.login-button {
    width: 100%;
    height: 55px;
    border: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    background: linear-gradient( 110deg, #209f64, #29bd76 );
    color: white;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 13px 28px rgba(36, 178, 111, .23);
    transition: transform .18s, box-shadow .18s;
}

    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 17px 35px rgba(36, 178, 111, .30);
    }

    .login-button strong {
        font-size: 21px;
        font-weight: 300;
    }


/* CARD FOOTER */

.login-footer {
    display: flex;
    align-items: center;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #e8ecef;
    color: #8a949c;
    font-size: 12px;
}

    .login-footer strong {
        margin-left: auto;
        color: #3a454e;
    }

.live-dot {
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #34ce84;
    box-shadow: 0 0 0 4px rgba(52,206,132,.10);
}


/* ==========================================================
   SCENE FOOTER
========================================================== */

.scene-footer {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    color: rgba(255,255,255,.34);
    letter-spacing: .8px;
    font-size: 12px;
    z-index: 5;
}

    .scene-footer span {
        color: rgba(57,221,143,.6);
    }


/* ==========================================================
   RESPONSIVO
========================================================== */

@media(max-width: 1200px) {

    .brand-side {
        width: 47%;
    }

    .feature-strip {
        grid-template-columns: repeat(2,1fr);
    }

    .feature:nth-child(n+3) {
        display: none;
    }

    .hero-copy h1 {
        font-size: 43px;
    }
}


@media(max-width: 850px) {

    body {
        overflow: auto;
    }

    .login-scene {
        min-height: 100vh;
        height: auto;
    }

    .login-background {
        min-height: 100vh;
    }

    .brand-side {
        display: none;
    }

    .login-area {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        min-height: 100vh;
        padding: 25px;
        display: grid;
        place-items: center;
    }

    .login-card {
        width: min( 420px, 100% );
    }

    .scene-footer {
        display: none;
    }
}
