        :root {
            --font-display: 'DM Serif Display', serif;
            --font-body:    'DM Sans', sans-serif;
        }
 
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
        html, body {
            height: 100%;
            font-family: var(--font-body);
            background: var(--bg-light);
            color: var(--text-dark);
        }
 
        /* ══════════════════════════════════════
           LAYOUT DEUX COLONNES
        ══════════════════════════════════════ */
        .auth-page {
            min-height: 100vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
 
        /* ── Panneau gauche ── */
        .auth-left {
            background: var(--purple);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 3rem;
            position: relative;
            overflow: hidden;
        }
        .auth-left::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 60% 50% at 15% 85%, rgba(255,255,255,.10) 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 85% 15%, rgba(255,255,255,.07) 0%, transparent 70%);
            pointer-events: none;
        }
 
        .auth-brand {
            font-family: var(--font-display);
            font-size: 1.15rem;
            color: rgba(255,255,255,.85);
            letter-spacing: .04em;
        }
        .auth-brand span { color: var(--light-pink); }
 
        .auth-tagline { position: relative; }
        .auth-tagline::before {
            content: '';
            position: absolute;
            top: -2rem; left: -1rem;
            width: 2px; height: 7rem;
            background: linear-gradient(to bottom, transparent, var(--light-pink), transparent);
            opacity: .5;
        }
        .auth-tagline h1 {
            font-family: var(--font-display);
            font-size: clamp(2.2rem, 3.5vw, 3.4rem);
            color: #fff;
            line-height: 1.13;
            margin-bottom: 1.1rem;
        }
        .auth-tagline h1 em {
            font-style: italic;
            color: var(--light-pink);
        }
        .auth-tagline p {
            color: rgb(255 255 255 / 87%);
            font-size: .95rem;
            font-weight: 300;
            max-width: 26ch;
            line-height: 1.65;
        }
 
        .auth-footer {
            color: rgba(255,255,255,.75);
            font-size: .75rem;
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: wrap;
        }

        .auth-footer-link {
            color: rgba(255,255,255,.75);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .auth-footer-link:hover {
            color: #fff;
            text-decoration: underline;
        }
 
        /* ── Panneau droit ── */
        .auth-right {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3rem 2rem;
            background: #fff;
            overflow-y: auto;
        }
 
        /* ══════════════════════════════════════
           CARTE FORMULAIRE
        ══════════════════════════════════════ */
        .auth-card {
            width: 100%;
            max-width: 400px;
        }
 
        .auth-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 2rem;
        }
        .auth-logo img { height: 40px; }
 
        /* ── Titre / sous-titre ── */
        .auth-heading {
            font-family: var(--font-display);
            font-size: 1.9rem;
            color: var(--text-dark);
            margin-bottom: .35rem;
        }
        .auth-subhead {
            color: var(--text-mid);
            font-size: .88rem;
            margin-bottom: 2rem;
        }
 
        /* ── Champs ── */
        .auth-field { margin-bottom: 1.15rem; }
        .auth-field label {
            display: block;
            font-size: .78rem;
            font-weight: 600;
            letter-spacing: .05em;
            text-transform: uppercase;
            color: var(--text-mid);
            margin-bottom: .4rem;
        }
        .auth-field input {
            width: 100%;
            padding: .78rem 1.1rem;
            border: 1.5px solid var(--border-grey);
            border-radius: var(--radius-pill);
            background: var(--white);
            font-family: var(--font-body);
            font-size: .95rem;
            color: var(--text-dark);
            transition: var(--transition);
            outline: none;
        }
        .auth-field input:focus {
            border-color: var(--purple);
            box-shadow: 0 0 0 3px rgba(129,46,128,.12);
        }
        .auth-field input::placeholder { color: #bbb; }
 
        /* Grille 2 colonnes prénom/nom */
        .auth-field-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: .75rem;
            margin-bottom: 1.15rem;
        }
        .auth-field-row .auth-field { margin-bottom: 0; }
 
        /* ── Bouton principal ── */
        .auth-btn {
            width: 100%;
            padding: .85rem 1rem;
            background: var(--dark-pink);
            color: #fff;
            border: none;
            border-radius: var(--radius-pill);
            font-family: var(--font-body);
            font-size: .95rem;
            font-weight: 600;
            cursor: pointer;
            letter-spacing: .02em;
            transition: var(--transition);
            margin-top: .4rem;
        }
        .auth-btn:hover {
            background: var(--purple);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        .auth-btn:active  { transform: scale(.99); }
        .auth-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
 
        /* ── Séparateur ── */
        .auth-divider {
            text-align: center;
            color: var(--border-grey);
            font-size: .78rem;
            margin: 1.4rem 0 1.1rem;
            position: relative;
        }
        .auth-divider::before, .auth-divider::after {
            content: '';
            position: absolute;
            top: 50%; width: 40%;
            height: 1px;
            background: var(--border-grey);
        }
        .auth-divider::before { left: 0; }
        .auth-divider::after  { right: 0; }
 
        /* ── Liens secondaires ── */
        .auth-links {
            text-align: center;
            font-size: .87rem;
            color: var(--text-mid);
            line-height: 2;
        }
        .auth-links button {
            background: none;
            border: none;
            color: var(--dark-pink);
            font-family: var(--font-body);
            font-size: .87rem;
            font-weight: 500;
            cursor: pointer;
            text-decoration: underline;
            text-underline-offset: 3px;
            padding: 0;
            transition: var(--transition);
        }
        .auth-links button:hover { color: var(--purple); }
 
        .msg {
            font-size: .84rem;
            padding: .6rem .9rem;
            border-radius: 10px;
            margin-top: .9rem;
            display: none;
        }
        .msg.error   { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; display: block; }
        .msg.success { background: #edf7ed; color: #2e7d32; border: 1px solid #a5d6a7; display: block; }
 
        /* ══════════════════════════════════════
           TRANSITIONS DE VUE
        ══════════════════════════════════════ */
        .auth-view {
            display: none;
            animation: fadeSlideIn .28s ease;
        }
        .auth-view.active { display: block; }
 
        @keyframes fadeSlideIn {
            from { opacity: 0; transform: translateY(10px); }
            to   { opacity: 1; transform: translateY(0); }
        }
 
        /* ── Section label (inscription) ── */
        .auth-section-label {
            font-size: .72rem;
            font-weight: 600;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--border-grey);
            margin: 1.3rem 0 .8rem;
        }
 
        /* ══════════════════════════════════════
           RESPONSIVE
        ══════════════════════════════════════ */
        @media (max-width: 700px) {
            .auth-page { grid-template-columns: 1fr; }
            .auth-left  { display: none; }
            .auth-right { padding: 2rem 1.2rem; background: var(--bg-light); }
        }