/* Styles pour les pages de contenu (CGU, Privacy, Cookies, Mentions légales) */

.content-page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 140px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.content-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-mesh);
    opacity: 0.2;
    z-index: 0;
}

.content-page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.content-page-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: white;
}

.content-page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.7;
}

.content-page-last-update {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.content-section {
    background: white;
    padding: 80px 0;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.content-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    position: relative;
    padding-left: 20px;
}

.content-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.content-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 32px 0 16px;
}

.content-card p {
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.content-card ul,
.content-card ol {
    color: var(--gray-600);
    line-height: 1.9;
    margin: 20px 0;
    padding-left: 24px;
}

.content-card li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.content-card li strong {
    color: var(--dark);
    font-weight: 600;
}

.content-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.content-card a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.content-highlight {
    background: linear-gradient(135deg, rgba(204, 51, 112, 0.05), rgba(123, 60, 148, 0.05));
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
}

.content-highlight p:last-child {
    margin-bottom: 0;
}

.table-of-contents {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 40px;
}

.table-of-contents h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 12px;
}

.table-of-contents a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-of-contents a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.table-of-contents a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.875rem;
    color: var(--primary);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 12px;
}

/* Responsive pour pages de contenu */
@media (max-width: 768px) {
    .content-page-hero {
        padding: 120px 0 60px;
    }

    .content-card {
        padding: 32px 24px;
    }

    .content-card h2 {
        font-size: 1.5rem;
    }

    .content-card h3 {
        font-size: 1.25rem;
    }

    .table-of-contents {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .content-page-title {
        font-size: 2rem;
    }

    .content-page-subtitle {
        font-size: 1rem;
    }

    .content-card {
        padding: 24px 20px;
    }

    .content-card h2 {
        font-size: 1.375rem;
        padding-left: 16px;
    }

    .content-card p,
    .content-card li {
        font-size: 1rem;
    }
}
