/* =========================================================
   LOGIN - COMPLEXO ESCOLAR PRIVADO 1-2-3
   ========================================================= */

:root {
    --verde: #075318;
    --verde-escuro: #033b10;
    --verde-claro: #0b6b20;
    --verde-suave: #eaf5ec;
    --amarelo: #f4c400;
    --branco: #ffffff;
    --fundo: #f5f7f6;
    --texto: #172019;
    --texto-suave: #6c756f;
    --borda: #dfe6e1;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--texto);
    background: var(--fundo);
}

.login-page {
    min-height: calc(100vh - 62px);
    display: grid;
    grid-template-columns: minmax(420px, 0.92fr) minmax(480px, 1.08fr);
}

/* PAINEL DE LOGIN */

.login-panel {
    background: var(--branco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px clamp(35px, 7vw, 100px);
    position: relative;
    z-index: 2;
}

/* LOGOTIPO CENTRALIZADO */

.brand {
    width: 100%;
    text-align: center;
    margin-bottom: 36px;
}

.logo {
    display: block;
    width: 126px;
    height: 126px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.brand-name {
    color: var(--verde);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.5;
}

.brand-location {
    margin-top: 4px;
    color: #7b847e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

/* BOAS-VINDAS */

.welcome {
    margin-bottom: 32px;
}

.welcome h1 {
    margin: 0 0 8px;
    color: var(--verde-escuro);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.welcome p {
    margin: 0;
    max-width: 490px;
    color: var(--texto-suave);
    font-size: 14px;
    line-height: 1.7;
}

/* FORMULÁRIO */

.login-form {
    max-width: 490px;
}

.form-group {
    margin-bottom: 21px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #26322a;
    font-size: 13px;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--verde);
    font-size: 13px;
    font-weight: 800;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    height: 53px;
    border: 1px solid var(--borda);
    border-radius: 11px;
    background: #fbfcfb;
    color: var(--texto);
    padding: 0 49px;
    outline: none;
    font: inherit;
    font-size: 14px;
    transition: .2s ease;
}

.input-wrapper input::placeholder {
    color: #9aa39d;
}

.input-wrapper input:hover {
    border-color: #bdc9c0;
}

.input-wrapper input:focus {
    border-color: var(--verde);
    background: var(--branco);
    box-shadow: 0 0 0 4px rgba(7, 83, 24, .08);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #7c8780;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.password-toggle:hover {
    color: var(--verde);
    background: var(--verde-suave);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 4px 0 25px;
    font-size: 12px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--texto-suave);
    cursor: pointer;
}

.remember input {
    accent-color: var(--verde);
}

.forgot-link {
    color: var(--verde);
    font-weight: 700;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* BOTÃO */

.login-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 11px;
    background: var(--verde);
    color: var(--branco);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 9px 20px rgba(7, 83, 24, .18);
    transition: .2s ease;
}

.login-button .arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
}

.login-button:hover {
    background: var(--verde-escuro);
    transform: translateY(-1px);
}

.login-button:hover .arrow {
    transform: translateX(4px);
}

/* NOTA */

.security-note {
    max-width: 490px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #89928c;
    font-size: 11px;
}

.lock-icon {
    color: var(--verde);
    font-size: 12px;
}

/* PAINEL DIREITO */

.presentation-panel {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(244, 196, 0, .15), transparent 25%),
        linear-gradient(145deg, #064a16 0%, #075d1d 55%, #043b10 100%);
    color: var(--branco);
    padding: 70px clamp(45px, 8vw, 115px);
}

.presentation-content {
    position: relative;
    z-index: 3;
    max-width: 550px;
}

.small-label {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 50px;
    color: #e6f3e8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, .05);
}

.presentation-panel h2 {
    margin: 0;
    font-size: clamp(43px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 600;
}

.presentation-panel h2 strong {
    color: var(--amarelo);
    font-weight: 800;
}

.presentation-panel p {
    max-width: 470px;
    margin: 27px 0 35px;
    color: rgba(255, 255, 255, .77);
    font-size: 14px;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    gap: 13px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 13px;
}

.feature > span {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(244, 196, 0, .14);
    color: var(--amarelo);
    font-size: 13px;
    font-weight: 900;
}

.feature strong,
.feature small {
    display: block;
}

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

.feature small {
    color: rgba(255, 255, 255, .57);
    font-size: 11px;
}

/* DECORAÇÃO */

.decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decor-one {
    width: 460px;
    height: 460px;
    right: -180px;
    top: -120px;
    border: 1px solid rgba(255, 255, 255, .09);
}

.decor-two {
    width: 290px;
    height: 290px;
    right: -90px;
    top: -35px;
    border: 1px solid rgba(244, 196, 0, .15);
}

.decor-three {
    width: 190px;
    height: 190px;
    left: -80px;
    bottom: -90px;
    background: rgba(255, 255, 255, .025);
}

/* RODAPÉ */

.site-footer {
    min-height: 62px;
    padding: 15px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    background: #ffffff;
    border-top: 1px solid #e5eae6;
    color: #7d867f;
    font-size: 11px;
}

.site-footer a {
    color: var(--verde);
    font-weight: 800;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--verde-escuro);
    text-decoration: underline;
}

.footer-separator {
    color: #bdc5bf;
}

/* RESPONSIVO */

@media (max-width: 980px) {

    .login-page {
        grid-template-columns: 1fr;
    }

    .presentation-panel {
        display: none;
    }

    .login-panel {
        min-height: calc(100vh - 62px);
        padding: 45px 25px;
    }

    .login-form,
    .security-note {
        max-width: 100%;
    }

    .brand {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {

    .login-panel {
        padding: 35px 20px;
    }

    .logo {
        width: 105px;
        height: 105px;
    }

    .brand-name {
        font-size: 11px;
    }

    .welcome h1 {
        font-size: 29px;
    }

    .form-options {
        align-items: flex-start;
    }

    .site-footer {
        text-align: center;
    }
}
