@font-face {
    font-family: Roboto;
    src: url("../fonts/roboto/Roboto-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Roboto;
    src: url("../fonts/roboto/Roboto-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

.acolhe-login {
    --acolhe-ink: #173b30;
    --acolhe-muted: #4d655b;
    --acolhe-border: #d5dfd5;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: radial-gradient(ellipse at 18% 17%, #e6eee4 0%, transparent 58%), #f6f5ee;
    color: var(--acolhe-ink);
    font: 400 1rem/1.5 Roboto, "Segoe UI", Arial, sans-serif;
}

.acolhe-login *,
.acolhe-login *::before,
.acolhe-login *::after { box-sizing: border-box; }

.acolhe-login a { color: inherit; text-decoration: none; }

.acolhe-login :is(a, button, input):focus-visible {
    outline: 3px solid #52784f;
    outline-offset: 3px;
}

.acolhe-login-header,
.acolhe-login-shell { width: min(69rem, calc(100% - 48px)); }

.acolhe-login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    padding: 22px 0;
    border-bottom: 1px solid var(--acolhe-border);
}

.acolhe-login-header strong,
.acolhe-login-header div span { display: block; }
.acolhe-login-header div span { color: var(--acolhe-muted); font-size: .875rem; }
.acolhe-login-header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #bdcdbf;
    border-radius: 8px;
    background: #ffffff70;
    font-size: .875rem;
    font-weight: 700;
}
.acolhe-login-header a:hover { background: #fff; border-color: #698b76; }

.acolhe-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    margin: auto;
    margin-block: clamp(32px, 8vh, 92px);
    align-self: center;
    overflow: hidden;
    border: 1px solid var(--acolhe-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 52px #173b3014;
}

.acolhe-login-brand {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 27px;
    min-height: 488px;
    padding: 42px 30px;
    background:
        repeating-radial-gradient(circle at 50% 45%, transparent 0 46px, #e7f3dc15 47px 48px),
        radial-gradient(ellipse at 50% 42%, #356550, #163c30 80%);
    color: #fff;
    text-align: center;
}

.acolhe-login-brand img {
    display: block;
    width: clamp(156px, 20vw, 230px);
    height: auto;
    border-radius: 50%;
    background: #f4f7eb;
    box-shadow: 0 0 0 10px #e6f0dc20, 0 12px 32px #102c2599;
}
.acolhe-login-program {
    margin: 0 0 6px;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.2;
}
.acolhe-login-description {
    max-width: 28ch;
    margin: 0 auto;
    color: #e0eadb;
    font-size: .95rem;
}

.acolhe-login-panel {
    display: grid;
    align-items: center;
    justify-items: center;
    min-width: 0;
    padding: clamp(28px, 5vw, 72px);
}
.acolhe-login-content { width: min(100%, 25rem); }
.acolhe-login-eyebrow {
    margin: 0 0 10px;
    color: #466e56;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.acolhe-login-panel h1 {
    margin: 0;
    font-size: clamp(1.95rem, 3.7vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.045em;
}
.acolhe-login-intro {
    margin: 14px 0 26px;
    color: var(--acolhe-muted);
}
.acolhe-login-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid #245241;
    border-radius: 9px;
    background: #245241;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.acolhe-login-action:hover { background: #153d30; }
.acolhe-login a.acolhe-login-google {
    border-color: #91a998;
    background: #f9fbf7;
    color: var(--acolhe-ink);
}
.acolhe-login a.acolhe-login-google:hover { border-color: #52784f; background: #edf4eb; }

.acolhe-login-help {
    margin: 22px 0 0;
    padding-top: 17px;
    border-top: 1px solid var(--acolhe-border);
    color: var(--acolhe-muted);
    font-size: .875rem;
}
.acolhe-login-error {
    margin: 0 0 18px;
    padding: 11px 14px;
    border: 1px solid #ecc9ca;
    border-radius: 8px;
    background: #fff3f3;
    color: #842835;
    overflow-wrap: anywhere;
}
.acolhe-login-panel label { display: block; margin: 14px 0 5px; font-weight: 700; font-size: .875rem; }
.acolhe-login-panel input:not([type="hidden"]) {
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid #91a998;
    border-radius: 8px;
    color: var(--acolhe-ink);
    font: inherit;
}
.acolhe-login-panel form button { margin-top: 20px; }

@media (max-width: 720px) {
    .acolhe-login-header,
    .acolhe-login-shell { width: calc(100% - 32px); }
    .acolhe-login-header { flex-wrap: wrap; padding: 14px 0; }
    .acolhe-login-shell {
        grid-template-columns: minmax(0, 1fr);
        align-self: start;
        margin-block: 20px 32px;
        border-radius: 18px;
    }
    .acolhe-login-brand {
        grid-template-columns: auto minmax(0, 1fr);
        justify-content: start;
        justify-items: start;
        align-items: center;
        gap: 16px;
        min-height: 0;
        padding: 21px 22px;
        text-align: left;
    }
    .acolhe-login-brand img { width: clamp(62px, 17vw, 82px); box-shadow: 0 0 0 4px #e6f0dc28; }
    .acolhe-login-description { margin: 0; font-size: .875rem; }
    .acolhe-login-panel { padding: 26px 22px; }
}
