@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');
 


 
/* ─── Page ───────────────────────────────────────────────── */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--paper);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
 
/* Dégradés de fond */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(192, 57, 43, .06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(26, 23, 20, .04) 0%, transparent 60%);
    pointer-events: none;
}
 
/* Lignes de papier */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 39px,
        rgba(200, 192, 178, .18) 39px,
        rgba(200, 192, 178, .18) 40px
    );
    pointer-events: none;
}
 
/* ─── Mise en page deux colonnes ─────────────────────────── */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 860px;
    width: 100%;
    background: white;
    box-shadow: 0 4px 60px var(--shadow), 0 1px 4px rgba(26, 23, 20, .08);
    position: relative;
    z-index: 1;
    animation: fadeUp .7s cubic-bezier(.22, 1, .36, 1) both;
}
 
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
 
/* ─── Panneau gauche décoratif ───────────────────────────── */
.side-deco {
    background-color: var(--ink);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
 
/* Grand cercle en haut à droite */
.side-deco::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 60px solid rgba(192, 57, 43, .18);
}
 
/* Petit cercle en bas à gauche */
.side-deco::after {
    content: '';
    position: absolute;
    bottom: 40px; left: -30px;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .06);
}
 
.side-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: .6rem;
}
 
.side-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--accent);
}
 
.side-headline {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    position: relative;
    z-index: 1;
}
 
.side-headline em {
    font-style: italic;
    color: var(--accent);
}
 
.side-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .45);
    position: relative;
    z-index: 1;
    border-left: 2px solid var(--accent);
    padding-left: 1rem;
}
 
/* ─── Panneau formulaire ─────────────────────────────────── */
.form-panel {
    padding: 3rem 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--paper);
}
 
.form-eyebrow {
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}
 
.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: .4rem;
    line-height: 1.2;
}
 
.form-subtitle {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 2.2rem;
    font-weight: 300;
}
 
/* ─── Alertes ────────────────────────────────────────────── */
.alert {
    background: #fdf0ee;
    border-left: 3px solid var(--accent);
    color: var(--accent);
    font-size: .82rem;
    padding: .75rem 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
 
.user-notice {
    background: var(--cream);
    border-left: 3px solid var(--border);
    font-size: .82rem;
    padding: .75rem 1rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
}
 
.user-notice a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
 
/* ─── Champs du formulaire ───────────────────────────────── */
.field-group {
    margin-bottom: 1.4rem;
    position: relative;
    animation: fadeUp .5s cubic-bezier(.22, 1, .36, 1) both;
}
 
.field-group:nth-child(1) { animation-delay: .10s; }
.field-group:nth-child(2) { animation-delay: .18s; }
 
.field-label {
    display: block;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}
 
.field-input {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    background: white;
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    border-radius: 0;
}
 
.field-input::placeholder {
    color: #c4bdb0;
}
 
.field-input:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(26, 23, 20, .06);
}
 
/* ─── Séparateur ─────────────────────────────────────────── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 1.8rem 0;
}
 
/* ─── Bouton de connexion ────────────────────────────────── */
.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--ink);
    color: white;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .15s;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
 
/* Slide rouge au survol */
.btn-login::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    z-index: 0;
}
 
.btn-login:hover::after {
    transform: translateX(0);
}
 
.btn-login span {
    position: relative;
    z-index: 1;
}
 
.btn-login:active {
    transform: scale(.98);
}
 
/* ─── Pied de formulaire ─────────────────────────────────── */
.form-footer {
    margin-top: 1.5rem;
    font-size: .8rem;
    color: var(--muted);
    text-align: center;
}
 
.form-footer a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}
 
/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
 
    .side-deco {
        display: none;
    }
 
    .form-panel {
        padding: 2.5rem 1.8rem;
    }
}