:root {
    --primary-color: #ff7f00;
    --secondary-color: #222;
    --tertiary-color: #333;
    --light-color: #f4f4f4;
    --dark-color: #111;
    --text-color: #fff;
    --text-dark: #000;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--dark-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-color);
    padding: 20px 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 70px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* Menu hamburger pour mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Divider */
.divider {
    height: 2px;
    background: var(--secondary-color);
    margin: 40px 0;
}

/* Footer */
footer {
    background: var(--light-color);
    color: var(--text-dark);
    padding: 40px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--tertiary-color);
    color: var(--text-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.legal-links {
    text-align: center;
    margin-top: 10px;
}

.legal-links a {
    margin: 0 10px;
    color: var(--text-dark);
    transition: color 0.3s ease;
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Focus styles pour accessibilité */
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    nav ul.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .footer-column {
        min-width: 100%;
    }
}