/* Shared Legal Pages Stylesheet - LMG Esthétique */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6B4E3D;
    --secondary: #8B6F47;
    --background-light: #EDE5DC;
    --dark: #3D2E25;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--background-light);
    color: var(--dark);
    line-height: 1.8;
    padding: 2rem 5%;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 78, 61, 0.18);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(61, 46, 37, 0.15);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.back-link:hover {
    color: var(--secondary);
    gap: 0.75rem;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.date {
    opacity: 0.6;
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(107, 78, 61, 0.2);
}

h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

p, li {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 1rem;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    color: var(--primary);
    font-weight: 600;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.section {
    margin-bottom: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

table th,
table td {
    border: 1px solid rgba(107, 78, 61, 0.2);
    padding: 1rem;
    text-align: left;
}

table th {
    background: rgba(107, 78, 61, 0.08);
    font-weight: 600;
    color: var(--primary);
}

hr {
    border: none;
    border-top: 1px solid rgba(107, 78, 61, 0.2);
    margin: 2rem 0;
}

.footer-nav {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(107, 78, 61, 0.2);
    text-align: center;
    opacity: 0.7;
}

.copyright {
    margin-top: 2rem;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .container {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    ul, ol {
        margin-left: 1.5rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.75rem;
    }
}
