.login-scene {
    display: block;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #1f2d38;
}

.login-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 26.2vw 1fr;
    overflow: hidden;
    background: #fff;
}

.login-art {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.07), transparent 24%),
        linear-gradient(145deg, #c60000 0%, #ee0505 49%, #ff2525 100%);
    color: #fff;
}

.login-art::before,
.login-art::after {
    content: "";
    position: absolute;
    width: 67vw;
    height: 7.6rem;
    left: -33vw;
    background: linear-gradient(90deg, #510000 0%, #b30000 18%, #f10b0b 55%, #ff2a2a 100%);
    box-shadow: 0 20px 38px rgba(65,0,0,.58);
    transform: rotate(-45deg);
}

.login-art::before {
    top: 4.7vh;
}

.login-art::after {
    bottom: 30vh;
    transform: rotate(45deg);
}

.art-pill {
    position: absolute;
    z-index: 2;
    top: 27.8vh;
    right: -4px;
    width: 16.6vw;
    min-width: 190px;
    height: 6.8rem;
    display: grid;
    place-items: center;
    border-radius: 999px 0 0 999px;
    background: #fff;
    color: #22313d;
    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 900;
}

.art-pill::before,
.art-pill::after {
    content: "";
    position: absolute;
    right: 0;
    width: 5.1rem;
    height: 5.1rem;
}

.art-pill::before {
    top: -5.1rem;
    background: radial-gradient(circle at 0 0, transparent 70%, #fff 72%);
}

.art-pill::after {
    bottom: -5.1rem;
    background: radial-gradient(circle at 0 100%, transparent 70%, #fff 72%);
}

.login-art > strong {
    position: absolute;
    z-index: 2;
    top: 42.8vh;
    left: 58%;
    width: 13rem;
    transform: translateX(-50%);
    font-size: clamp(1.15rem, 1.55vw, 1.7rem);
    font-weight: 900;
    line-height: 1.16;
    text-transform: uppercase;
}

.art-footer {
    position: absolute;
    z-index: 2;
    left: 3.4rem;
    bottom: 2.9rem;
    text-transform: uppercase;
}

.art-footer span,
.art-footer p::after {
    display: block;
    width: 4rem;
    height: 4px;
    background: #fff;
    content: "";
}

.art-footer p {
    margin: 1.05rem 0 1.2rem;
    font-size: clamp(1rem, 1.3vw, 1.42rem);
    font-weight: 800;
    line-height: 1.18;
}

.art-footer p::after {
    margin-top: 1.2rem;
}

.art-footer small {
    display: block;
    font-size: clamp(.7rem, .85vw, .92rem);
    font-weight: 700;
    letter-spacing: .45em;
    white-space: nowrap;
}

.login-form-side {
    position: relative;
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(360px, 430px);
    grid-template-rows: 1fr auto auto;
    column-gap: clamp(2rem, 5vw, 5.4rem);
    align-items: center;
    padding: 5.8rem clamp(2rem, 3.1vw, 3.6rem) 3.2rem clamp(3rem, 4.9vw, 5.3rem);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.68) 37%, rgba(255,255,255,.95) 81%),
        url('../img/fundo.png') 33% center / cover no-repeat;
}

.login-form-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255,255,255,.05), rgba(255,255,255,.84) 80%),
        rgba(255,255,255,.42);
    pointer-events: none;
}

.login-form-side::after {
    content: "";
    position: absolute;
    right: -5vw;
    bottom: -12vh;
    width: 64vw;
    height: 32vh;
    opacity: .34;
    background: repeating-radial-gradient(ellipse at 58% 100%, transparent 0 15px, rgba(230,0,0,.3) 16px 18px, transparent 19px 31px);
    transform: rotate(-4deg);
    pointer-events: none;
}

.login-department {
    position: absolute;
    top: 2rem;
    left: clamp(3rem, 4.9vw, 5.3rem);
    right: 20rem;
    z-index: 2;
    margin: 0;
    color: #1f2d38;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.login-department strong {
    color: #d40000;
    font-weight: 800;
}

.top-signature {
    position: absolute;
    top: 1.55rem;
    right: 2.3rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.para-flag {
    width: 6.9rem;
    height: 4.1rem;
    display: block;
    background:
        radial-gradient(circle at 50% 50%, #7ca1d9 0 .28rem, transparent .3rem),
        linear-gradient(33deg, transparent 0 42%, #fff 43% 57%, transparent 58%),
        linear-gradient(90deg, #f59191, #ffb1b1);
    box-shadow: 0 10px 26px rgba(180,0,0,.1);
}

.top-signature strong {
    color: #7b8790;
    font-size: .95rem;
    line-height: 1.18;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.service-copy,
.login-card,
.card-motto,
.agency-brand {
    position: relative;
    z-index: 1;
}

.service-copy {
    grid-row: 1 / 4;
    align-self: center;
    max-width: 690px;
}

.service-copy h1 {
    margin: 0 0 1.45rem;
    color: #d40000;
    font-size: clamp(2.2rem, 3.3vw, 4.05rem);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: .98;
    text-transform: uppercase;
}

.service-copy h1 span {
    display: block;
    color: #1f2d38;
    font-size: .56em;
    font-weight: 500;
    letter-spacing: .09em;
}

.service-copy h1::after {
    content: "";
    display: block;
    width: 6.1rem;
    height: 3px;
    margin-top: 1.35rem;
    background: #df0000;
}

.service-copy p {
    width: min(100%, 610px);
    margin: 0 0 1.1rem;
    color: #1f2d38;
    font-size: clamp(1rem, 1.19vw, 1.28rem);
    font-weight: 700;
    line-height: 1.32;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.3rem, 3.3vw, 4rem);
    width: min(100%, 620px);
    margin-top: 1.45rem;
}

.benefits article {
    text-align: center;
    text-transform: uppercase;
}

.benefits i {
    width: 4.6rem;
    height: 4.6rem;
    display: grid;
    place-items: center;
    margin: 0 auto .65rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #f00000, #c70000);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 8px 16px rgba(190,0,0,.2);
}

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

.benefits strong {
    color: #1f2d38;
    font-size: .95rem;
    font-weight: 900;
}

.benefits small {
    margin-top: .4rem;
    color: #1f2d38;
    font-size: .72rem;
    line-height: 1.25;
}

.action-strip,
.card-motto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .72rem;
    color: #1f2d38;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.action-strip {
    width: min(100%, 620px);
    margin-top: 2.1rem;
    font-size: 1rem;
}

.action-strip span,
.card-motto span {
    width: 3.5rem;
    height: 2px;
    background: #df0000;
}

.action-strip b,
.card-motto b {
    width: .32rem;
    height: .32rem;
    border-radius: 50%;
    background: #df0000;
}

.login-card {
    grid-column: 2;
    align-self: center;
    width: 100%;
    padding: 2rem 2rem 2.2rem;
    border: 1.5px solid rgba(230,0,0,.62);
    border-radius: 28px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 48px rgba(53,70,82,.22);
    backdrop-filter: blur(5px);
}

.login-heading {
    margin: 0 0 1.55rem;
    text-align: center;
}

.login-heading img {
    display: block;
    width: min(100%, 250px);
    height: auto;
    margin: 0 auto .1rem;
}

.login-heading p {
    display: inline-block;
    margin: -.25rem 0 0;
    padding-bottom: .6rem;
    border-bottom: 3px solid #d90000;
    color: #182834;
    font-size: .95rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.login-card form {
    display: grid;
    gap: 1.05rem;
}

.input-line {
    display: grid;
    grid-template-columns: 2.45rem 1fr auto;
    align-items: center;
    min-height: 3.35rem;
    padding: 0 .7rem;
    border: 1.5px solid #aeb8c2;
    border-radius: 7px;
    background: rgba(255,255,255,.72);
    color: #1f2d38;
}

.input-line i {
    font-size: 1.55rem;
    line-height: 1;
}

.input-line input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1f2d38;
    font-size: 1.03rem;
}

.input-line input::placeholder {
    color: #1f2d38;
    opacity: .95;
}

.input-line:focus-within {
    border-color: #d90000;
    box-shadow: 0 0 0 3px rgba(217,0,0,.08);
}

.input-line button {
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #1f2d38;
}

.input-line button i {
    font-size: 1.3rem;
}

.forgot-link {
    width: max-content;
    color: #e00000;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.login-submit {
    min-height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    margin-top: .05rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #f00000, #c90000);
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: 0 8px 13px rgba(0,0,0,.22);
}

.login-submit i {
    font-size: 1.75rem;
}

.login-submit:hover {
    background: linear-gradient(180deg, #ff1515, #a90000);
}

.card-motto {
    grid-column: 2;
    align-self: start;
    margin-top: 1.45rem;
    font-size: .82rem;
    white-space: nowrap;
}

.card-motto span {
    width: 2.4rem;
}

.agency-brand {
    grid-column: 2;
    align-self: end;
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 1rem;
    margin-top: 1.55rem;
}

.agency-brand img {
    width: 4.3rem;
    height: 4.3rem;
    object-fit: contain;
    object-position: left;
}

.agency-brand strong,
.agency-brand small {
    display: block;
    text-transform: uppercase;
}

.agency-brand strong {
    color: #1f2d38;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.08;
}

.agency-brand small {
    margin-top: .35rem;
    color: #1f2d38;
    font-size: .72rem;
    letter-spacing: .3em;
}

.alert {
    margin: -1rem 0 1rem;
    font-size: .9rem;
}

@media (max-width: 1250px) {
    .login-department {
        left: 3rem;
        font-size: 1.05rem;
    }

    .login-form-side {
        grid-template-columns: 1fr minmax(350px, 420px);
        column-gap: 2rem;
        padding-left: 3rem;
    }

    .service-copy h1 {
        font-size: clamp(2rem, 3vw, 3rem);
    }

    .benefits {
        gap: 1.3rem;
    }
}

@media (max-width: 1000px) {
    .login-department {
        position: relative;
        inset: auto;
        grid-column: 1;
        max-width: 690px;
        margin-bottom: 1.5rem;
        text-align: center;
    }

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

    .login-art {
        min-height: 25vh;
    }

    .login-art::before,
    .login-art::after {
        width: 125vw;
        left: -34vw;
        height: 5.5rem;
    }

    .art-pill {
        top: 6vh;
        right: 0;
        width: 15rem;
        min-width: 0;
        height: 5.4rem;
    }

    .login-art > strong {
        top: 15vh;
        left: 52%;
        transform: translateX(-50%);
    }

    .art-footer,
    .top-signature {
        display: none;
    }

    .login-form-side {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 2rem 1.2rem;
    }

    .service-copy {
        grid-row: auto;
        text-align: center;
    }

    .service-copy h1::after {
        margin-left: auto;
        margin-right: auto;
    }

    .service-copy p,
    .benefits,
    .action-strip {
        margin-left: auto;
        margin-right: auto;
    }

    .login-card,
    .card-motto,
    .agency-brand {
        grid-column: 1;
    }

    .login-card {
        max-width: 430px;
        margin-top: 2rem;
    }
}

@media (max-width: 560px) {
    .login-art {
        min-height: 21vh;
    }

    .art-pill {
        width: 10rem;
        height: 4.4rem;
        font-size: 1.45rem;
    }

    .login-art > strong {
        top: 14vh;
        font-size: 1rem;
    }

    .service-copy h1 {
        font-size: 2rem;
    }

    .service-copy p {
        font-size: .95rem;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .action-strip,
    .card-motto {
        flex-wrap: wrap;
        font-size: .76rem;
        letter-spacing: .12em;
    }

    .login-card {
        width: min(100%, 390px);
        padding: 1.5rem 1rem 1.6rem;
        border-radius: 20px;
    }

    .login-heading img {
        width: 220px;
    }
}
