/* Styles pour les pages légales (mentions légales, politique de confidentialité) */

.legal-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 0;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.legal-header-info {
    margin-bottom: 2rem;
}

.last-updated {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.last-updated i {
    font-size: 1rem;
}

.legal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 i {
    color: #667eea;
    font-size: 1.25rem;
}

.legal-section h3 {
    color: #4a5568;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.legal-section h4 {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section h4 i {
    color: #667eea;
    font-size: 1rem;
}

.info-box {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.info-box strong {
    color: #2d3748;
    font-weight: 600;
}

.legal-section p {
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #4a5568;
}

.legal-section li strong {
    color: #2d3748;
    font-weight: 600;
}

.legal-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.legal-section table th {
    background: #667eea;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.legal-section table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.legal-section table tr:last-child td {
    border-bottom: none;
}

.legal-section table tr:nth-child(even) {
    background: #f8f9fa;
}

.legal-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.legal-section strong {
    color: #2d3748;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-container {
        padding: 0 0.5rem;
    }

    .legal-content {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

    .info-box {
        padding: 1rem;
    }

    .legal-section table {
        font-size: 0.9rem;
    }

    .legal-section table th,
    .legal-section table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 1rem 0;
    }

    .legal-content {
        padding: 1rem;
    }

    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .legal-section table {
        font-size: 0.8rem;
    }

    .legal-section table th,
    .legal-section table td {
        padding: 0.5rem;
    }
}