body {
    background-image: url('images/privacy-policy/privacy.jpg');
    background-color: #ffffff;
    color: #374151;
    font-family: 'Mulish', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #6b7078;
    font-weight: 500;
    line-height: 1.7;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #111827;
        color: #f3f4f6;
    }
}

/* === SECTION BANNER / PAGE TITLE === */
.page-title-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* effet de profondeur */
    height: 70vh;
    /* hauteur visible de la bannière */
    display: flex;
    align-items: flex-end;
    /* place le contenu en bas */
}

/* Gestion de l'image via data-background */
.page-title-section[data-background] {
    background-image: url('../images/privacy-policy/confident.png');
}

/* Overlay sombre pour lisibilité */
.page-title-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

/* Conteneur du texte */
.page-title-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Titre en bas à gauche */
.page-title {
    position: absolute;
    bottom: 3rem;
    right: 0rem;
    max-width: 600px;
}

.page-title h1 {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* === BULLES === */
.page-title-section .bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

/* Couleurs et positions */
.bubble-primary {
    background-color: #2563eb;
    width: 60px;
    height: 60px;
    top: 35%;
    right: 20%;
}

.bubble-secondary {
    background-color: #06b6d4;
    width: 40px;
    height: 40px;
    top: 25%;
    left: 10%;
}

.bubble-white {
    background-color: #fff;
    width: 50px;
    height: 50px;
    bottom: 5%;
    left: 10%;
}

/* Animation douce */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* === Responsive === */
@media (max-width: 768px) {
    .page-title {
        bottom: 2rem;
        left: 1.5rem;
    }

    .page-title h1 {
        font-size: 1.4rem;
    }
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-content {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.section-title {
    font-weight: 600;
    font-size: 1.50rem;
    color: #2563eb;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
}

.dark .section-title {
    color: #06b6d4;
    border-left-color: #06b6d4;
}

.section-text {
    color: #4b5563;
    margin-bottom: 1rem;
}

.dark .section-text {
    color: #d1d5db;
}

.section-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.section-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.dark .section-list li {
    color: #d1d5db;
}

.section-list li::before {
    content: "•";
    color: #06b6d4;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-info {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    padding: 2rem;
    font-size: 1.25rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.security-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.version-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.dark .version-info {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

.table-of-contents {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dark .table-of-contents {
    background: #1e293b;
    border-color: #334155;
}

.toc-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.dark .toc-title {
    color: #f9fafb;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.toc-link:hover {
    color: #06b6d4;
    text-decoration: underline;
}

.dark .toc-link {
    color: #06b6d4;
}

.dark .toc-link:hover {
    color: #67e8f9;
}
