/* ----------------------------------------
   PAGES LÉGALES – DESIGN CABINET LAWRENCE
-----------------------------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: #f5f7fb;
    color: #1b1b1b;
}

/* Wrapper générique */
.cl-legal-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px 64px;
}

/* Carte principale */
.cl-legal-container {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(13, 31, 52, 0.08);
    padding: 32px 32px 40px;
    animation: cl-legal-fade-in 0.5s ease-out;
}

/* Header */
.cl-legal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cl-legal-logo {
    width: 64px;
    height: auto;
}

.cl-legal-title-block {
    display: flex;
    flex-direction: column;
}

.cl-legal-title {
    font-size: 1.9rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.cl-legal-subtitle {
    font-size: 0.95rem;
    color: #666;
}

/* Contenu */
.cl-legal-content h2 {
    font-size: 1.4rem;
    margin: 24px 0 8px;
}

.cl-legal-content h3 {
    font-size: 1.1rem;
    margin: 18px 0 6px;
}

.cl-legal-content p {
    margin: 6px 0 10px;
    line-height: 1.6;
    font-size: 0.98rem;
}

.cl-legal-content ul {
    margin: 4px 0 14px 1.1rem;
    padding: 0;
    font-size: 0.96rem;
}

.cl-legal-content li {
    margin: 3px 0;
}

/* Badges / tags */
.cl-legal-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #f0f3ff;
    color: #1e3a8a;
    margin-bottom: 8px;
}

/* Liens */
.cl-legal-link {
    color: #c9a24d;
    text-decoration: none;
}

.cl-legal-link:hover {
    text-decoration: underline;
}

/* Footer */
.cl-legal-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #edf0f7;
    font-size: 0.85rem;
    color: #777;
}

/* Animation */
@keyframes cl-legal-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cl-legal-page {
        padding: 24px 10px 40px;
    }

    .cl-legal-container {
        border-radius: 16px;
        padding: 24px 18px 28px;
    }

    .cl-legal-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cl-legal-logo {
        width: 56px;
    }

    .cl-legal-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .cl-legal-title {
        font-size: 1.4rem;
    }

    .cl-legal-content {
        font-size: 0.95rem;
    }
}