/* ==================== PAGES SECONDAIRES - BASE COMMUNE ==================== */
/* Utilisé par : privacy.html, overwrite.html, et autres pages de contenu */

/* ==================== 1. BASE ==================== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: transparent !important;
}

body {
    background: radial-gradient(circle at center, #0a1226 0%, #02040a 100%) !important;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
    pointer-events: none;
}

/* ==================== 2. HEADER ==================== */
header {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-gray);
}

.back-link {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}
.back-link:hover { color: var(--white); }

/* ==================== 3. MAIN CONTENT ==================== */
main {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 3rem 5rem;
}

/* ==================== 4. TYPOGRAPHY ==================== */
.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
}

.page-subtitle {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--gray);
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.page-intro {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 2;
    color: var(--gray);
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--dark-gray);
}

/* ==================== 5. CONTENT SECTIONS ==================== */
.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-family: var(--font-second-display);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.content-section p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 2;
    color: var(--gray);
    margin-bottom: 1rem;
}

.content-section ul {
    list-style: none;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 2;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-section li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--dark-gray);
}

/* ==================== 6. FOOTER ==================== */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--dark-gray);
    padding: 3rem;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ==================== 7. LINKS ==================== */
.text-link {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--dark-gray);
    transition: border-color 0.3s ease;
}
.text-link:hover { border-color: var(--white); }

/* ==================== 8. RESPONSIVE ==================== */
@media (max-width: 768px) {
    main {
        padding: 6rem 1.5rem 4rem;
    }
    .page-title {
        letter-spacing: 0.15em;
    }
}
