:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1d2b40;
    background: #eef3f9;
    font-synthesis: none;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 38px 20px;
    background: radial-gradient(ellipse at 50% 0%, #dceaff 0%, transparent 62%);
}
.connexion { width: 100%; max-width: 590px; }
.marque { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 27px; }
.marque-symbole {
    position: relative;
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    border-radius: 14px;
    color: #fff;
    background: #1a5ea8;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    box-shadow: 0 5px 14px #1a5ea820;
}
.marque-symbole span { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border: 3px solid #eef3f9; border-radius: 50%; background: #e69c36; }
.marque-nom { font-size: 19px; font-weight: 750; letter-spacing: -.35px; }
.marque-nom small { display: block; margin-top: 3px; color: #617188; font-size: 12px; font-weight: 400; letter-spacing: .1px; }
.carte { padding: 34px; background: #fff; border: 1px solid #dce4ef; border-radius: 22px; box-shadow: 0 18px 60px #1b385b0d, 0 3px 10px #1b385b05; }
.entete { margin-bottom: 26px; }
.surtitre { margin: 0 0 11px; color: #1a5ea8; font-size: 10px; font-weight: 750; letter-spacing: 1.8px; }
h1 { margin: 0; color: #17263d; font-size: clamp(25px, 5vw, 31px); font-weight: 750; letter-spacing: -1px; line-height: 1.2; }
.introduction { margin: 11px 0 0; color: #617188; font-size: 14px; line-height: 1.65; }
.compte { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid #dce8f7; border-radius: 12px; background: #f6f9fd; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: #e2edfb; color: #1a5ea8; font-size: 19px; font-weight: 700; }
.compte-identite { flex: 1; min-width: 0; }
.libelle { margin: 0 0 4px; color: #617188; font-size: 11px; line-height: 1.4; }
.compte-identite strong { display: block; font-size: 15px; overflow-wrap: anywhere; }
.pastille { flex-shrink: 0; padding: 5px 8px; border-radius: 6px; color: #276345; background: #e6f4ec; font-size: 10px; font-weight: 650; }
h2 { margin: 0; font-size: 13px; font-weight: 650; line-height: 1.5; }
.permissions { margin-top: 25px; }
.permissions ul { display: grid; gap: 13px; margin: 15px 0 18px; padding: 0; list-style: none; }
.permissions li { display: flex; align-items: center; gap: 12px; color: #46556a; font-size: 13px; }
.icone { width: 19px; height: 19px; flex-shrink: 0; }
.permissions .icone { color: #6384ae; }
.destination { margin: 0; padding-top: 14px; border-top: 1px solid #edf0f5; color: #6b778a; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.destination span { color: #46556a; }
.confidentialite { display: flex; align-items: flex-start; gap: 9px; margin: 19px 0; color: #416653; font-size: 12px; line-height: 1.6; }
.confidentialite .icone { width: 16px; height: 16px; margin-top: 2px; }
.ancien-compte { padding: 15px 16px; border: 1px solid #e6eaf1; border-radius: 10px; background: #fafbfd; }
.ancien-compte h2 { color: #46556a; font-size: 12px; }
.ancien-compte p { margin: 5px 0 0; color: #617188; font-size: 12px; line-height: 1.65; }
.actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 24px; }
.bouton { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 17px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.bouton-principal { color: #fff; background: #1a5ea8; box-shadow: 0 3px 7px #1a5ea81a; }
.bouton-principal:hover { background: #154e8c; box-shadow: 0 4px 10px #1a5ea82b; }
.bouton-secondaire { border-color: #dce3ed; background: #fff; color: #526177; }
.bouton-secondaire:hover { background: #f2f5f9; }
.bouton:focus-visible { outline: 3px solid #57a2f0; outline-offset: 3px; }
.bouton .icone { width: 17px; height: 17px; }
.pied { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px 0 0; color: #67768b; font-size: 11px; line-height: 1.6; text-align: center; }
.pied .icone { width: 13px; height: 13px; }
.etapes { display: grid; gap: 21px; margin: 0; padding: 0; list-style: none; }
.etapes li { display: flex; align-items: flex-start; gap: 13px; }
.numero { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px; border-radius: 50%; background: #eaf2fc; color: #1a5ea8; font-size: 12px; font-weight: 700; }
.etapes h2 { margin-top: 4px; }
.etapes p { margin: 5px 0 0; color: #617188; font-size: 13px; line-height: 1.65; }
.actions-verticales { grid-template-columns: 1fr; }
.aide { margin: -1px 0 8px; color: #617188; font-size: 11px; text-align: center; }

@media (max-width: 480px) {
    body { padding: 25px 14px; }
    .marque { margin-bottom: 22px; }
    .carte { padding: 25px 21px; border-radius: 17px; }
    .compte { flex-wrap: wrap; padding: 13px; gap: 10px; }
    .pastille { margin-left: auto; }
    .actions { grid-template-columns: 1fr; }
    .bouton { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .bouton { transition: none; }
}
