/* =============================================
   POLITIQUE DE CONFIDENTIALITÉ — SODA
   ============================================= */

/* --- VARIABLES & RESET --- */
:root {
    --primary: #449836;
    --primary-light: rgba(68, 152, 54, 0.1);
    --brand-blue: #05669D;
    --brand-yellow: #e9c728;
    --dark: #0f172a;
    --gray: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --font-head: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- SUB-NAV (Tabs style) --- */
.sub-nav {
    margin-top: 110px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 10;
}

.sub-nav ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.sub-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s;
}

.sub-nav a:hover {
    color: var(--primary);
}

.sub-nav a.active {
    color: var(--primary);
}

.sub-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
    background: linear-gradient(to bottom, var(--white), var(--bg));
    border-bottom: 1px solid var(--border);
    margin-bottom: 4rem;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero p {
    color: var(--gray);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* --- MAIN LAYOUT (GRID) --- */
.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    padding-bottom: 5rem;
    position: relative;
    align-items: start;
}

/* Sidebar Navigation (Sticky) */
.sidebar {
    position: sticky;
    top: 140px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    padding: 0.8rem 1.5rem;
    color: var(--gray);
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-link i {
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: color 0.3s;
}

.sidebar-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.sidebar-link:hover i {
    color: var(--primary);
}

.sidebar-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: var(--primary-light);
}

.sidebar-link.active i {
    color: var(--primary);
}

/* Content Cards */
.content-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.content-section:hover {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.content-section h2 i {
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px;
    border-radius: 10px;
    font-size: 1.6rem;
}

.content-section p,
.content-section li {
    color: #475569;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-section ul li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(68, 152, 54, 0.05), rgba(68, 152, 54, 0.15));
    border: 1px solid rgba(68, 152, 54, 0.2);
    padding: 1.8rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    color: #166534;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.highlight-box i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: -3px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .policy-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .sub-nav {
        margin-top: 90px;
    }

    .sub-nav ul {
        gap: 1rem;
        font-size: 0.85rem;
        padding: 0 1rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .sub-nav ul::-webkit-scrollbar {
        display: none;
    }

    .sub-nav a {
        white-space: nowrap;
    }
}