* { box-sizing: border-box; }
body.fond {
    margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: #f0f4f3; font-family: "Segoe UI", system-ui, sans-serif; color: #3a4a47; overflow: hidden; position: relative;
}
.forme { position: fixed; z-index: 0; }
.forme-rouge { top: -80px; right: -60px; width: 340px; height: 300px; background: #e85d6c; clip-path: polygon(40% 0, 100% 0, 100% 75%); }
.forme-jaune { bottom: -170px; left: -120px; width: 400px; height: 400px; border-radius: 50%; background: #ffd24a; }

.carte {
    position: relative; z-index: 1; display: flex; width: min(940px, 94vw); min-height: 560px;
    background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px rgba(30, 60, 55, .15);
}
.gauche {
    position: relative; flex: 0 0 40%; color: #fff; padding: 22px 28px; overflow: hidden;
    background: linear-gradient(160deg, #3cbf9b 0%, #33ad97 55%, #2fa593 100%);
    display: flex; flex-direction: column;
}
.marque { font-size: 13px; letter-spacing: .3px; display: flex; align-items: center; gap: 8px; }
.logo { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid #fff; font-size: 10px; font-weight: 700; }
.bienvenue { margin: auto 0; text-align: center; position: relative; z-index: 1; }
.bienvenue h2 { font-size: 32px; margin: 0 0 18px; }
.bienvenue p { font-size: 14px; line-height: 1.6; margin: 0 0 30px; }
.btn-contour {
    display: inline-block; padding: 12px 44px; border: 1.5px solid #fff; border-radius: 30px;
    color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 1px;
}
.btn-contour:hover { background: rgba(255,255,255,.15); }
.losange { position: absolute; width: 34px; height: 34px; background: rgba(255,255,255,.14); transform: rotate(45deg); }
.l1 { top: 38px; right: 60px; } .l2 { bottom: 70px; right: 90px; width: 22px; height: 22px; }
.triangle { position: absolute; right: -30px; top: 48%; border-left: 70px solid transparent; border-bottom: 80px solid rgba(255,255,255,.10); }

.droite { flex: 1; padding: 56px 60px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.droite h1 { color: #34b09a; font-size: 34px; margin: 0 0 10px; }
.aide { font-size: 12px; color: #8a9a97; margin: 0 0 26px; }
.erreur { background: #fdecee; color: #b3303f; border-radius: 4px; padding: 10px 12px; font-size: 13px; margin: 0 auto 14px; width: 100%; max-width: 330px; text-align: left; }
form { width: 100%; max-width: 330px; margin: 0 auto; }
.champ {
    display: flex; align-items: center; gap: 10px; background: #f3f6f5; height: 44px; padding: 0 14px;
    margin-bottom: 10px; border-radius: 2px;
}
.champ svg { width: 16px; height: 16px; fill: none; stroke: #8a9a97; stroke-width: 1.6; flex: none; }
.champ input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; color: #3a4a47; }
.champ .oeil { flex: none; border: 0; background: transparent; padding: 0; cursor: pointer; display: flex; }
.champ .oeil svg { width: 18px; height: 18px; }
.champ .oeil:hover svg { stroke: #34b09a; }
.oeil .oeil-barre { display: none; }
.oeil.actif .oeil-barre { display: block; }
.oeil.actif .oeil-ouvert { display: none; }
.champ:focus-within { box-shadow: inset 0 0 0 1.5px #34b09a; }
.souvenir { display: block; text-align: left; font-size: 12px; color: #6b7b78; margin: 4px 0 22px; }
.btn-plein {
    border: 0; cursor: pointer; padding: 13px 54px; border-radius: 30px; font-size: 12px; font-weight: 600; letter-spacing: 1px;
    color: #fff; background: #3cb09f; box-shadow: 0 6px 14px rgba(52,176,154,.35);
}
.btn-plein:hover { background: #33a08f; }

@media (max-width: 720px) {
    .carte { flex-direction: column; }
    .gauche { flex: none; padding-bottom: 30px; }
    .droite { padding: 32px 24px; }
}
