/* ── Paramètres : header page ── */
.settings-header{padding:16px 20px 4px}
.settings-header h2{font-size:28px;font-weight:900;color:var(--text);letter-spacing:-.5px;line-height:1.1;margin:0}
.settings-header-sub{font-size:13px;color:var(--text3);font-weight:500;margin:2px 0 0;padding:0 20px 8px}

/* ── Paramètres : nav grille 2 colonnes ── */
.settings-nav{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:12px 16px 20px;
}

.settings-nav-item{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    min-height:130px;
    border-radius:16px;
    padding:16px 14px;
    gap:8px;
    text-decoration:none;
    color:var(--text2);
    background:var(--card);
    box-shadow:var(--sh);
    border:none;
    min-width:unset;
    transition:box-shadow var(--tr),transform var(--tr);
    overflow:hidden;
    cursor:pointer;
}

.settings-nav-item:active{transform:scale(.97);box-shadow:none}

.settings-nav-item.active{
    box-shadow:0 0 0 2px var(--accent),var(--sh);
    color:var(--text);
}

.settings-nav-icon{
    font-size:36px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
}

.settings-nav-text{
    font-size:14px;
    font-weight:700;
    color:var(--text);
    line-height:1.2;
    margin-top:auto;
}

.settings-nav-sub{
    font-size:11px;
    font-weight:500;
    color:var(--text3);
    line-height:1.35;
    margin-top:2px;
}

/* ── Footer : boutons côte à côte, pleine largeur ── */
.settings-footer{
    padding:12px 16px;
    display:flex;
    flex-direction:row;
    gap:10px;
    justify-content:stretch;
}

.settings-footer .btn-secondary,
.settings-footer .btn-primary{
    flex:1;
    min-height:52px;
    height:auto;
    border-radius:14px;
    font-size:13px;
    white-space:normal;
    line-height:1.2;
    text-align:center;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    padding:8px 10px;
}

.settings-footer .btn-primary{
    background:var(--accent);
    color:#fff;
    font-weight:800;
    border:none;
}

.settings-footer .btn-secondary{
    background:transparent;
    color:var(--text2);
    border:1.5px solid var(--b2);
    font-weight:600;
}
