/* Brezee — Tela de Login (seção 4a do claude-design) */
/* Fontes: Space Grotesk (display) + Manrope (corpo/UI) */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

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

body {
    margin: 0;
}

.login-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    background: oklch(0.985 0.006 180);
    font-family: "Manrope", sans-serif;
}

/* ── Painel esquerdo — branding (44%) ───────────────────────── */
.login-panel--brand {
    flex: 1 1 44%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 56px;
    min-height: 760px;
    overflow: hidden;
    background-color: #dc9696;
}

.login-panel--brand::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 36px;
    top: -90px;
    right: -110px;
    transform: rotate(22deg);
    opacity: 0.85;
    background-color: #fbfbfb;
    pointer-events: none;
}

.login-panel--brand::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 28px;
    border: 6px solid oklch(0.62 0.12 30 / 0.6);
    bottom: 60px;
    right: -60px;
    transform: rotate(-14deg);
    pointer-events: none;
}

.login-logo {
    position: absolute;
    top: 32px;
    left: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    width: fit-content;
}

.login-logo img {
    height: 116px;
    width: auto;
    display: block;
}

.login-brand-text {
    position: relative;
    z-index: 1;
    max-width: 440px;
    text-align: left;
}

.login-brand-headline {
    font-family: "Space Grotesk", sans-serif;
    font-size: 52px;
    line-height: 1.05;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.login-brand-subtext {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #2a2e33;
    font-weight: 500;
}

/* ── Painel direito — ação de login (56%) ───────────────────── */
.login-panel--action {
    flex: 1 1 56%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 760px;
    background: oklch(0.985 0.006 180);
}

.login-action {
    width: 100%;
    max-width: 400px;
}

.login-action__title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: oklch(0.28 0.01 240);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.login-action__subtitle {
    font-size: 14px;
    color: oklch(0.45 0.015 240);
    margin: 0 0 32px;
    line-height: 1.5;
    font-weight: 500;
}

/* Botão "Continuar com Google" */
.login-google-form {
    margin: 0;
    padding: 0;
}

.login-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 16px;
    border-radius: 12px;
    border: 2px solid oklch(0.32 0.045 180);
    background: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: oklch(0.28 0.01 240);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
}

.login-google-btn:hover,
.login-google-btn:focus-visible {
    background: oklch(0.96 0.01 180);
}

.login-google-btn svg {
    flex: none;
}

/* Texto legal */
.login-legal {
    text-align: center;
    font-size: 12.5px;
    color: oklch(0.5 0.015 240);
    font-weight: 500;
    margin-top: 24px;
    line-height: 1.5;
}

.login-legal a {
    color: oklch(0.45 0.015 240);
    text-decoration: underline;
}

/* ── Responsivo ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
    }

    .login-panel--brand {
        flex: none;
        min-height: auto;
        padding: 32px 24px 40px;
    }

    .login-panel--brand::before,
    .login-panel--brand::after {
        display: none;
    }

    .login-logo {
        position: static;
        margin-bottom: 24px;
    }

    .login-logo img {
        height: 72px;
    }

    .login-brand-headline {
        font-size: 34px;
    }

    .login-brand-subtext {
        font-size: 14px;
    }

    .login-panel--action {
        flex: none;
        min-height: auto;
        padding: 32px 24px;
    }
}
