:root {
    /* Adaptation des variables aux couleurs du thème Namari */
    --accent: #3B6362;
    --accent-dim: rgba(59, 99, 98, 0.1);
    --text-primary: #111;
    --text-secondary: #444;
    --text-muted: #9c9c9c;
    --bg-secondary: #f5f5f5;
    --bg-card: #fff;
    --border: #e1e1e1;
    --radius-sm: 3px;
    --radius-md: 5px;
    --space-sm: 15px;
    --space-md: 25px;
    --space-lg: 40px;
    --space-xl: 60px;
    --space-2xl: 80px;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background: #fff;
    color: var(--text-primary);
}

/* --- Header / Nav Correction --- */
#header.nav-solid {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 71px;
}

.nav-content {
    max-width: 1245px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

#nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

#nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-container img {
    max-height: 35px;
}

.logo-container span {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
}

.logo-container .accent {
    color: var(--accent);
}

/* --- Policy Content Styling --- */
.policy-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.policy-hero .row {
    max-width: 1245px;
    margin: 0 auto;
    padding: 0;
}

.policy-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.policy-hero p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
    font-size: 13px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.policy-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.policy-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-highlight {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.policy-highlight p {
    margin-bottom: 0;
    font-weight: 600;
    font-style: italic;
}

.toc {
    background: #fff;
    border: 1px solid var(--border);
    padding: 30px;
    margin-bottom: 60px;
    border-radius: var(--radius-md);
}

.toc h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--accent-dim);
    display: inline-block;
    padding-bottom: 5px;
}

.toc ol {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px 30px;
}

.toc li a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s;
}

.toc li a:hover {
    color: var(--accent);
}

.policy-contact-card {
    background: var(--bg-secondary);
    padding: 40px;
    text-align: center;
    border-radius: var(--radius-md);
    margin-top: 60px;
}

.policy-contact-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

#site-footer {
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

#site-footer a {
    color: var(--accent);
}

@media (max-width: 768px) {
    .policy-hero h1 {
        font-size: 32px;
    }

    .toc ol {
        grid-template-columns: 1fr;
    }
}
