/* ===== AUTH : connexion / inscription ===== */
.auth {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    min-height: 100vh;
}

.auth__brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 56px 44px;
    background: var(--color-primary);
    color: #FFFFFF;
}

.auth__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.auth__pitch {
    max-width: 420px;
}

.auth__pitch h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    color: #FFFFFF;
}

.auth__pitch p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
}

.auth__points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 34px;
}

.auth__points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}

.auth__points .icon {
    flex-shrink: 0;
    color: #FBBF24;
}

.auth__foot {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.auth__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: var(--color-surface);
}

.auth__card {
    width: 100%;
    max-width: 440px;
}

.auth__card .h1 {
    margin-bottom: 6px;
}

.auth__form {
    margin-top: 28px;
}

.auth__form .form-group {
    margin-bottom: 22px;
}

.auth__form .form-label {
    margin-bottom: 8px;
    font-size: 14px;
}

.auth__form .form-input {
    min-height: 52px;
    padding: 14px 16px;
    font-size: 16px;
}

.auth__form .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    margin-top: 8px;
    font-size: 16px;
}

.auth__switch {
    margin-top: 22px;
    text-align: center;
    color: var(--color-text-muted);
}

.auth__switch a {
    color: var(--color-primary);
    font-weight: 600;
}

.auth__switch a:hover {
    text-decoration: underline;
}

.auth__mobile-logo {
    display: none;
}

@media (max-width: 899px) {
    .auth {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth__brand {
        display: none;
    }

    .auth__panel {
        align-items: flex-start;
        min-height: 100vh;
        padding: 40px 20px 32px;
    }

    .auth__mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 36px;
        font-family: var(--font-display);
        font-size: 18px;
        font-weight: 700;
        color: var(--color-primary);
    }
}
