/* Styles pour les pages légales (CGU et Politique de confidentialité) */

.legal-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header des pages légales */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 16px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.back-button svg {
    transition: transform 0.2s ease;
}

.back-button:hover svg {
    transform: translateX(-2px);
}

.logo-small {
    width: auto;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

.legal-header h1 {
    font-size: 2.2em;
    font-weight: 300;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    color: #888;
    font-size: 0.9em;
    font-style: italic;
}

/* Contenu des pages légales */
.legal-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.4em;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h3 {
    font-size: 1.1em;
    font-weight: 400;
    color: #e0e0e0;
    margin: 20px 0 12px 0;
}

.legal-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 0.95em;
}

.legal-section ul {
    margin: 12px 0 12px 20px;
    padding: 0;
}

.legal-section li {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.legal-section li strong {
    color: #ffffff;
    font-weight: 500;
}

/* Footer avec liens */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-link {
    color: #888;
    text-decoration: none;
    font-size: 0.85em;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .legal-container {
        padding: 16px;
    }
    
    .legal-content {
        padding: 24px;
    }
    
    .legal-header h1 {
        font-size: 1.8em;
    }
    
    .back-button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .logo-small {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .legal-container {
        padding: 20px;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .legal-header h1 {
        font-size: 1.6em;
    }
    
    .legal-section h2 {
        font-size: 1.2em;
    }
}
