/* =========================================================
   RÈGLEMENT — xdirecttchat
   ========================================================= */

.reglement-page {
    max-width: 950px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.reglement-page .page-header {
    margin-bottom: 25px;
    text-align: center;
}

.reglement-page .page-header h1 {
    margin: 0 0 10px;
    font-size: 30px;
    color: #222;
}

.reglement-page .page-header p {
    margin: 0 auto;
    max-width: 700px;
    color: #666;
    line-height: 1.6;
}

.reglement-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.reglement-card h2 {
    margin: 0 0 14px;
    font-size: 20px;
    color: #222;
}

.reglement-card p {
    margin: 0 0 12px;
    color: #555;
    line-height: 1.7;
}

.reglement-card p:last-child {
    margin-bottom: 0;
}

.reglement-card ul {
    margin: 10px 0 0;
    padding-left: 22px;
    color: #555;
    line-height: 1.8;
}

.reglement-important {
    border-left: 4px solid #6c63ff;
    background: #f8f7ff;
}

.reglement-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.reglement-footer .xd-button {
    text-decoration: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .reglement-page {
        padding: 20px 12px 40px;
    }

    .reglement-page .page-header h1 {
        font-size: 25px;
    }

    .reglement-card {
        padding: 18px;
        border-radius: 12px;
    }

    .reglement-card h2 {
        font-size: 18px;
    }

    .reglement-card p,
    .reglement-card ul {
        font-size: 14px;
    }

    .reglement-footer {
        flex-direction: column;
    }

    .reglement-footer .xd-button {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}