/* Styles pour les pages légales */
:root {
    --primary-color: #8dc6ff;
    --secondary-color: #776bff;
    --dark-bg: #181f35;
    --light-bg: #f4f4f9;
    --text-dark: #333;
    --text-light: #fff;
    --shadow: 0 4px 10px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --legal-accent: #e6eef8;
    --legal-border: #c3d5e8;
}

.legal-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: white;
    min-height: 60vh;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.legal-section {
    margin-bottom: 40px;
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.legal-section h2 {
    color: var(--dark-bg);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    font-family: 'IM Fell English', serif;
}

.legal-section p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Consolas', sans-serif;
}

.legal-section strong {
    color: var(--dark-bg);
    font-weight: 700;
}

.legal-section a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-notice {
    background-color: var(--legal-accent);
    border: 1px solid var(--legal-border);
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    font-size: 0.9em;
    line-height: 1.5;
}

.legal-notice p {
    font-size: 15px;
    font-style: italic;
    margin-bottom: 10px;
}

.legal-notice p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-section li {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-family: 'Consolas', sans-serif;
}

.update-date {
    text-align: center;
    font-size: 0.9rem;
    color: gray;
    margin: 30px 0;
    font-style: italic;
}

.back-button {
    text-align: center;
    margin: 40px 0;
}

.back-button a {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(119, 107, 255, 0.4);
}

.back-button a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(119, 107, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-content {
        padding: 40px 15px;
    }
    
    .legal-section {
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section p, .legal-section li {
        font-size: 14px;
    }
}

/* Styles pour l'en-tête adapté au style entreprise */
.full {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.25)), url(../images/bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
}

header {
    width: 100%;
    padding-top: 5%;
    padding-bottom: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header h1 {
    font-family: 'IM Fell English', serif;
    font-size: 3em;
    color: #8dc6ff;
    text-align: center;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
    animation: fadeIn 1s ease-in-out;
    transition: transform 0.3s ease, color 0.3s ease;
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header p {
    margin-top: 5px;
    width: 5%;
    border-bottom: 2px solid #8dc6ff;
}

/* Styles pour le footer légal */
.footer-legal {
    margin-bottom: 30px;
}

.footer-legal ul {
    list-style-type: none;
    padding: 0;
}

.footer-legal li {
    margin-bottom: 12px;
}

.footer-legal a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.rgpd-notice {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rgpd-notice a {
    color: var(--primary-color);
    text-decoration: none;
}

.rgpd-notice a:hover {
    text-decoration: underline;
}