/* ===== LEGAL PAGES CSS - VERSION LIGHT MODERNE ===== */

/* Variables CSS personnalisées - Light Mode */
:root {
    --legal-primary: #3b82f6;
    --legal-secondary: #60a5fa;
    --legal-accent: #93c5fd;
    --legal-bg-light: #ffffff;
    --legal-bg-hover: #f8fafc;
    --legal-bg-intro: #eff6ff;
    --legal-text-dark: #1e293b;
    --legal-text-muted: #64748b;
    --legal-border: #e2e8f0;
    --legal-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --legal-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Introduction avec design moderne */
.legal-intro {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    border-left: 6px solid var(--legal-primary);
    position: relative;
    overflow: hidden;
    box-shadow: var(--legal-shadow);
}

.legal-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff" opacity="0.2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.3;
}

.legal-intro p {
    color: var(--legal-text-dark);
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Articles légaux avec design moderne */
.legal-article {
    margin-bottom: 2.5rem;
    padding: 2rem;
    border-radius: 16px;
    background: var(--legal-bg-light);
    border: 1px solid var(--legal-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--legal-shadow);
}

.legal-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--legal-primary), var(--legal-secondary));
    transition: all 0.3s ease;
}

.legal-article:hover {
    background: var(--legal-bg-hover);
    transform: translateY(-4px) translateX(8px);
    box-shadow: var(--legal-shadow-hover);
    border-color: var(--legal-accent);
}

.legal-article:hover::before {
    width: 6px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.legal-article:last-child {
    margin-bottom: 0;
}

/* Titres des articles sans émojis */
.legal-article h3 {
    color: var(--legal-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
}

/* Contenu des articles */
.article-content {
    color: var(--legal-text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
}

.article-content p {
    margin-bottom: 1rem;
    color: var(--legal-text-dark);
}

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

.article-content strong {
    color: var(--legal-primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--legal-primary), var(--legal-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.article-content li {
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--legal-text-dark);
}

.article-content li::before {
    display: none;
}

.article-content em {
    color: var(--legal-text-muted);
    font-style: italic;
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-article {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

/* Responsive design amélioré */
@media (max-width: 768px) {
    .legal-content h2 {
        font-size: 2.2rem;
    }
    
    .legal-intro {
        padding: 2rem;
        border-radius: 12px;
    }
    
    .legal-intro p {
        font-size: 1.05rem;
    }
    
    .legal-article {
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 2rem;
    }
    
    .legal-article h3 {
        font-size: 1.3rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .legal-article:hover {
        transform: translateY(-2px) translateX(4px);
    }
}

@media (max-width: 576px) {
    .legal-content h2 {
        font-size: 1.8rem;
    }
    
    .legal-intro {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .legal-article {
        padding: 1.2rem;
        border-radius: 10px;
        margin-bottom: 1.5rem;
    }
    
    .legal-article h3 {
        font-size: 1.2rem;
    }
    
    .article-content {
        font-size: 0.95rem;
    }
    
    .legal-article:hover {
        transform: none;
    }
} 