/* Legal Pages Styles - Mentions Légales & Politique de Confidentialité */

/* Main content styling for legal pages */
.legal-header {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-brown) 100%);
    padding: 120px 0 3rem;
    color: var(--neutral-white);
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
    margin-top: 90px;
}

.legal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: linear-gradient(to bottom right, transparent 49.5%, var(--neutral-white) 50%);
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.legal-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.legal-content {
    padding: 2rem 0 5rem;
}

.legal-intro {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--neutral-medium-gray);
}

.legal-section {
    margin-bottom: 3rem;
    position: relative;
    background: var(--neutral-white);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--accent-gold);
}

.legal-section:last-child {
    margin-bottom: 1rem;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--neutral-black);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.legal-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--neutral-medium-gray);
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--neutral-medium-gray);
}

.legal-section a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.legal-section a:hover {
    color: var(--primary-brown);
    text-decoration: underline;
}

.legal-update {
    text-align: right;
    font-size: 0.9rem;
    color: var(--neutral-light-gray);
    font-style: italic;
    margin-top: 2rem;
}

/* Footer overrides for legal pages */
.footer-legal .legal-link.active {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Important: Remove any footer styling that might conflict with main.css */
/* DO NOT add any general footer styles here - they should come from main.css */

/* Responsive styles */
@media (max-width: 1024px) {
    .legal-header {
        padding: 100px 0 2.5rem;
        margin-top: 80px;
    }
    
    .legal-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: 100px 0 2.5rem;
    }
    
    .legal-header h1 {
        font-size: 2.2rem;
    }
    
    .legal-subtitle {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .legal-header {
        padding: 90px 0 2rem;
        margin-top: 70px;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-subtitle {
        font-size: 0.9rem;
    }
    
    .legal-section {
        padding: 1.25rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
}

.legal-intro {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text, #333);
}

.legal-section {
    margin-bottom: 3rem;
    position: relative;
    background: var(--color-white, #fff);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-primary, #c9a961);
}

.legal-section:last-child {
    margin-bottom: 1rem;
}

.legal-section h2 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark, #222);
    font-weight: 600;
}

.legal-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--color-primary, #c9a961);
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.legal-section a {
    color: var(--color-primary, #c9a961);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.legal-section a:hover {
    color: var(--color-secondary, #4a3223);
    text-decoration: underline;
}

.legal-update {
    text-align: right;
    font-size: 0.9rem;
    color: var(--color-text-light, #666);
    font-style: italic;
    margin-top: 2rem;
}



/* Responsive styles */
@media (max-width: 1024px) {
    .legal-header {
        padding: 7rem 0 2.5rem;
    }
    
    .legal-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height, 80px);
        left: 0;
        right: 0;
        background-color: var(--color-white, #fff);
        height: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.1));
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        height: auto;
    }
    
    .nav-links li {
        width: 100%;
        height: auto;
    }
    
    .nav-links a {
        width: 100%;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--color-border, #e2e8f0);
        justify-content: center;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .legal-header {
        padding: 6rem 0 2.5rem;
    }
    
    .legal-header h1 {
        font-size: 2.2rem;
    }
    
    .legal-subtitle {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: space-between;
    }
    
    .footer-column {
        flex: 0 0 45%;
    }
}

@media (max-width: 480px) {
    .legal-header {
        padding: 5.5rem 0 2rem;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-subtitle {
        font-size: 0.9rem;
    }
    
    .legal-section {
        padding: 1.25rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
}

/* JavaScript enabled classes */
.menu-open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-open .bar:nth-child(2) {
    opacity: 0;
}

.menu-open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
