/* --- CSS RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pneu-blue: #2B70FF;
    --pneu-dark: #1F2937;
    --pneu-muted: #6B7280;
    --border-gray: #E5E7EB;
}

body {
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif !important; /* Forces the geometric font */
    color: var(--pneu-dark);
    line-height: 1.6;
}

/* --- LAYOUT --- */
.legal-wrapper {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
}

.legal-header {
    margin-bottom: 60px;
    border-bottom: 2px solid var(--pneu-dark); /* Bold line like in your reference */
    padding-bottom: 20px;
}

.legal-header h1 {
    font-size: 48px;
    font-weight: 800;
}

.legal-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
}

/* --- SIDEBAR --- */
.legal-sidebar {
    position: sticky;
    top: 40px;
    height: fit-content;
}

.legal-sidebar ul {
    list-style: none;
    border-right: 1px solid var(--border-gray); /* The vertical divider line */
    padding-right: 20px;
}

.legal-sidebar li {
    margin-bottom: 12px;
}

.legal-sidebar a {
    text-decoration: none;
    color: var(--pneu-muted);
    font-size: 14px;
    font-weight: 500;
}

.legal-sidebar a.active, .legal-sidebar a:hover {
    color: var(--pneu-blue);
    font-weight: 600;
}

/* --- CONTENT --- */
.blue-title {
    color: var(--pneu-blue) !important; /* Forces the blue color */
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 40px 0 20px 0;
}

h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #1F2937; /* Darker gray for readability */
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
    /* 1. Remove the two-column grid and stack everything */
    .legal-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .blue-title {
        font-size: 20px;
    }

    /* 2. Hide the sidebar entirely as requested */
    .legal-sidebar {
        display: none;
    }

    /* 3. Make the text content fill the screen */
    .legal-body {
        max-width: 100%;
        padding: 0;
    }

    /* 4. Adjust the main header for smaller screens */
    .legal-header h1 {
        font-size: 28px; /* Smaller title for mobile */
    }

    .legal-wrapper {
        margin: 40px auto;
        padding: 0 24px; /* Slightly tighter padding for phones */
    }
}
