
.vgc-shell{--gold:#d8be72;--card:#171d27;--muted:#b9c2cf;padding:60px 18px;color:#fff}.vgc-container{width:min(100%,760px);margin:auto}.vgc-card,.vgc-success-card,.vgc-privacy{background:linear-gradient(135deg,rgba(216,190,114,.07),transparent 45%),var(--card);border:1px solid rgba(216,190,114,.32);border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.vgc-card,.vgc-success-card{padding:clamp(26px,5vw,46px)}.vgc-kicker{color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.16em;margin-bottom:10px}.vgc-card h1,.vgc-success-card h2,.vgc-privacy h2{margin:0 0 12px;color:#fff}.vgc-card h1{font-size:clamp(34px,6vw,54px)}.vgc-subtitle,.vgc-privacy p,.vgc-success-card p{color:var(--muted);line-height:1.7}.vgc-form{display:grid;gap:10px;margin-top:26px}.vgc-form label{margin-top:8px;font-weight:700}.vgc-form input{width:100%;box-sizing:border-box;padding:15px 16px;border:1px solid #354052;border-radius:12px;background:#0d121a;color:#fff}.vgc-button{display:inline-flex;width:100%;min-height:50px;align-items:center;justify-content:center;box-sizing:border-box;margin-top:14px;padding:13px 20px;border:0;border-radius:12px;background:linear-gradient(135deg,#ead58c,var(--gold));color:#111!important;font-weight:900;text-decoration:none!important;cursor:pointer}.vgc-button-secondary{background:#263142;color:#fff!important;border:1px solid #40506a}.vgc-switch,.vgc-links{margin-top:22px;text-align:center;color:var(--muted)}.vgc-links{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.vgc-switch a,.vgc-links a{color:var(--gold);font-weight:700}.vgc-privacy{display:grid;grid-template-columns:auto 1fr;gap:18px;margin-top:24px;padding:26px}.vgc-shield{font-size:34px}.vgc-generated-id{margin:22px 0;padding:18px;border:1px dashed var(--gold);border-radius:14px;background:#090d13;color:var(--gold);font-family:Consolas,monospace;font-size:clamp(24px,6vw,42px);font-weight:900;letter-spacing:.08em;text-align:center;user-select:all}.vgc-notice{margin-bottom:18px;padding:14px 16px;border-radius:12px}.vgc-notice-error{background:rgba(145,35,35,.34);border:1px solid rgba(255,99,99,.38);color:#ffd6d6}.vgc-notice-success{background:rgba(27,112,68,.28);border:1px solid rgba(94,222,144,.32);color:#d8ffe8}.vgc-account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0}.vgc-account-grid div{padding:16px;border-radius:12px;background:#0d121a}.vgc-account-grid span{display:block;color:var(--muted);font-size:13px;margin-bottom:5px}@media(max-width:620px){.vgc-shell{padding:34px 12px}.vgc-card,.vgc-success-card{padding:24px 18px}.vgc-privacy{grid-template-columns:1fr}.vgc-account-grid{grid-template-columns:1fr}.vgc-links{flex-direction:column}}


/* === Menu utilisateur Vanguard pour l'en-tête === */
.vgc-user-menu{
    position:relative;
    display:inline-flex;
    z-index:9999;
    font-family:inherit;
}
.vgc-user-trigger{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:9px 14px;
    border:1px solid rgba(216,190,114,.45);
    border-radius:12px;
    background:rgba(10,13,20,.92);
    color:#f4e9c8;
    text-decoration:none;
    cursor:pointer;
    font:inherit;
    font-weight:700;
}
.vgc-user-trigger:hover,
.vgc-user-trigger:focus{
    border-color:#d8be72;
    color:#fff;
}
.vgc-user-dropdown{
    display:block;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    position:absolute;
    top:100%;
    margin-top:0;
    right:0;
    min-width:220px;
    padding:8px;
    border:1px solid rgba(216,190,114,.35);
    border-radius:14px;
    background:#111722;
    box-shadow:0 18px 50px rgba(0,0,0,.45);
}
.vgc-user-menu.vgc-open .vgc-user-dropdown{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
.vgc-user-dropdown a,
.vgc-user-dropdown button{
    display:block;
    width:100%;
    padding:11px 12px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#e9edf5;
    text-align:left;
    text-decoration:none;
    cursor:pointer;
    font:inherit;
}
.vgc-user-dropdown a:hover,
.vgc-user-dropdown button:hover{
    background:rgba(216,190,114,.12);
    color:#fff;
}
.vgc-user-dropdown form{
    margin:0;
}
.vgc-user-name{
    margin:2px 4px 7px;
    padding:8px;
    border-bottom:1px solid rgba(255,255,255,.1);
    color:#d8be72;
    font-weight:800;
}
.vgc-user-arrow{
    font-size:.8em;
}
.vgc-account-actions{
    margin:18px 0 10px;
}
@media (max-width:700px){
    .vgc-user-dropdown{
        right:auto;
        left:0;
    }
}


/* Vanguard Core 2.1.1 : affichage automatique, indépendant du header WordPress */
.vgc-automatic-user-menu{
    position:fixed;
    top:18px;
    right:24px;
    z-index:999999;
    line-height:1.2;
}
body.admin-bar .vgc-automatic-user-menu{
    top:50px;
}
@media (max-width:782px){
    body.admin-bar .vgc-automatic-user-menu{
        top:64px;
    }
}
@media (max-width:600px){
    .vgc-automatic-user-menu{
        top:12px;
        right:12px;
    }
    .vgc-user-trigger span:not(.vgc-user-icon):not(.vgc-user-arrow){
        max-width:120px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
}


/* === Vanguard Core 3.1.0 : accueil de la page de connexion === */
.vgc-login-intro{
    margin-top:70px;
    margin-bottom:34px;
}
.vgc-login-heading{
    margin-bottom:28px;
    text-align:center;
}
.vgc-login-heading h1{
    margin:0 0 12px;
    color:#fff;
    font-size:clamp(36px,6vw,58px);
    line-height:1.08;
}
.vgc-login-heading p{
    margin:0;
    color:var(--muted);
    font-size:17px;
    line-height:1.6;
}
.vgc-choice-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
    align-items:stretch;
    margin-bottom:0;
}
.vgc-choice-card{
    display:flex;
    flex-direction:column;
    height:100%;
    min-width:0;
    box-sizing:border-box;
    padding:30px;
    border:1px solid rgba(216,190,114,.34);
    border-radius:20px;
    background:
        linear-gradient(145deg,rgba(216,190,114,.065),transparent 48%),
        #171d27;
    box-shadow:0 22px 55px rgba(0,0,0,.22);
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.vgc-choice-card:hover{
    transform:translateY(-3px);
    border-color:rgba(216,190,114,.7);
    box-shadow:0 27px 62px rgba(0,0,0,.3);
}
.vgc-choice-card-featured{
    background:
        linear-gradient(145deg,rgba(216,190,114,.12),transparent 55%),
        #191f2a;
}
.vgc-choice-card h2{
    margin:0 0 16px;
    color:var(--gold);
    font-size:clamp(24px,3vw,30px);
    line-height:1.2;
}
.vgc-choice-card p{
    margin:0 0 14px;
    color:var(--muted);
    line-height:1.7;
}
.vgc-choice-card strong{
    color:#fff;
}
.vgc-choice-list{
    margin:2px 0 24px;
    padding-left:20px;
    color:#e2e7ee;
    line-height:1.75;
}
.vgc-choice-list li+li{
    margin-top:4px;
}
.vgc-choice-button{
    display:inline-flex;
    width:100%;
    min-height:50px;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    margin-top:auto;
    padding:13px 20px;
    border-radius:12px;
    font-weight:900;
    text-align:center;
    text-decoration:none!important;
    transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
.vgc-choice-button:hover{
    transform:translateY(-1px);
}
.vgc-choice-button-secondary{
    border:1px solid var(--gold);
    background:transparent;
    color:var(--gold)!important;
}
.vgc-choice-button-secondary:hover{
    background:rgba(216,190,114,.1);
    color:#fff!important;
}
.vgc-choice-button-primary{
    border:1px solid transparent;
    background:linear-gradient(135deg,#ead58c,var(--gold));
    color:#111!important;
}
.vgc-choice-button-primary:hover{
    background:linear-gradient(135deg,#f0dfa4,#dfc77d);
}
.vgc-choice-card-coming-soon{
    position:relative;
}
.vgc-coming-soon-badge{
    display:inline-flex;
    align-self:flex-start;
    margin-bottom:16px;
    padding:7px 11px;
    border:1px solid rgba(216,190,114,.42);
    border-radius:999px;
    background:rgba(216,190,114,.08);
    color:var(--gold);
    font-size:11px;
    font-weight:900;
    letter-spacing:.14em;
}
.vgc-choice-button-disabled{
    cursor:not-allowed;
    border:1px solid rgba(185,194,207,.24);
    background:rgba(255,255,255,.035);
    color:#8f99a8!important;
    opacity:.86;
    pointer-events:none;
}
.vgc-choice-button-disabled:hover{
    transform:none;
}
.vgc-living-project{
    display:block;
    clear:both;
    margin:30px 0 0;
    padding:16px 18px;
    border:1px solid rgba(216,190,114,.2);
    border-radius:13px;
    background:rgba(13,18,26,.72);
    color:var(--muted);
    line-height:1.65;
    text-align:center;
}
.vgc-living-project strong{
    color:#fff;
}
.vgc-login-card{
    max-width:620px;
    margin-right:auto;
    margin-left:auto;
}
.vgc-links-single{
    justify-content:center;
}
@media(max-width:760px){
    .vgc-login-intro{
        margin-top:40px;
    }
   .vgc-choice-grid{
        grid-template-columns:1fr;
    }
    .vgc-choice-card{
        height:auto;
        padding:25px 21px;
    }
}


/* Identifiant Vanguard : bouton de copie */
.vgc-generated-id-wrap{
    display:flex;
    align-items:stretch;
    gap:10px;
}
.vgc-generated-id-wrap .vgc-generated-id{
    flex:1 1 auto;
    min-width:0;
}
.vgc-copy-id-button{
    flex:0 0 auto;
    min-width:110px;
    padding:0 18px;
    border:1px solid var(--gold);
    border-radius:12px;
    background:rgba(216,190,114,.08);
    color:var(--gold);
    font:inherit;
    font-weight:800;
    cursor:pointer;
}
.vgc-copy-id-button:hover{
    background:var(--gold);
    color:#111;
}
.vgc-copy-id-button.is-copied{
    background:#2f8f57;
    border-color:#2f8f57;
    color:#fff;
}
@media(max-width:560px){
    .vgc-generated-id-wrap{flex-direction:column;}
    .vgc-copy-id-button{min-height:46px;width:100%;}
}


/* Vanguard Core 3.4.0 — suppression sécurisée du compte */
.vgc-danger-zone{
    max-width:760px;
    margin:28px auto 0;
    padding:26px;
    border:1px solid rgba(220,72,72,.55);
    border-radius:18px;
    background:linear-gradient(145deg,rgba(78,17,17,.58),rgba(22,12,14,.94));
    box-shadow:0 18px 45px rgba(0,0,0,.28);
    color:#f4f4f4;
}
.vgc-danger-zone h2{margin:8px 0 12px;color:#ffb0b0;font-size:clamp(24px,4vw,34px)}
.vgc-danger-zone p{margin:0 0 12px;color:#e7d6d6;line-height:1.65}
.vgc-delete-account-form{display:grid;gap:12px;margin-top:22px}
.vgc-delete-account-form label:not(.vgc-danger-check){font-weight:800;color:#fff}
.vgc-delete-account-form input[type="password"],
.vgc-delete-account-form input[type="text"]{
    width:100%;box-sizing:border-box;padding:13px 15px;border:1px solid rgba(255,255,255,.18);
    border-radius:10px;background:rgba(0,0,0,.38);color:#fff;outline:none
}
.vgc-delete-account-form input:focus{border-color:#ef6666;box-shadow:0 0 0 3px rgba(239,102,102,.16)}
.vgc-danger-check{display:flex;align-items:flex-start;gap:10px;margin:6px 0;color:#eadede;line-height:1.5;cursor:pointer}
.vgc-danger-check input{margin-top:4px;flex:0 0 auto}
.vgc-delete-account-button{
    justify-self:start;border:1px solid #f06a6a;border-radius:11px;padding:13px 18px;
    background:#9e2626;color:#fff;font-weight:900;cursor:pointer;transition:.2s ease
}
.vgc-delete-account-button:hover{background:#bd3030;transform:translateY(-1px)}
@media(max-width:600px){.vgc-danger-zone{padding:20px}.vgc-delete-account-button{width:100%}}
