/* Variables SNCF */
:root {
    --sncf-purple: #88256F;
    --sncf-light-purple: #A15189;
    --sncf-dark-purple: #6B1F5A;
    --sncf-grey: #53565A;
    --sncf-light-grey: #E4E5E6;
    --sncf-white: #FFFFFF;
    --sncf-black: #1D1D1B;
    --sncf-new-blue: #0c131f;
    --sncf-new-light-blue: rgb(141, 232, 254);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    color: var(--sncf-black);
    background: var(--sncf-white);
    line-height: 1.6;
}

/* Header */
header {
    background: var(--sncf-new-blue);
    color: var(--sncf-white);
    padding: 60px 20px;
    text-align: center;
}

.header-content h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.header-content p {
    font-size: 1.3em;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Filters Navigation */
.filters {
    background: var(--sncf-new-blue);
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--sncf-new-blue);
    border: 2px solid var(--sncf-new-light-blue);
    color: var(--sncf-new-light-blue);
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    color: var(--sncf-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(136, 37, 111, 0.3);
}

.filter-btn.active {
    background: var(--sncf-new-blue);
    color: var(--sncf-new-light-blue);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Stats Section */
.stats {
    background: var(--sncf-new-blue);
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    border-radius: 15px;
}

.stat-card {
    background: var(--sncf-new-blue);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--sncf-new-light-blue);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1em;
    color: var(--sncf-white);
    font-weight: 500;
}

/* Map Section */
.map-section {
    background: var(--sncf-new-blue);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.map-section h2 {
    color: var(--sncf-white);
    font-size: 2.2em;
    margin-bottom: 25px;
    font-weight: 700;
}

#map {
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--sncf-white);
}

/* Footer */
footer {
    width: 100%;
    background: var(--sncf-new-blue);
    color: var(--sncf-white);
    padding: 50px 20px;
    text-align: center;
    margin-top: 80px;
    box-sizing: border-box;
}

.footer-content p {
    margin: 10px 0;
    font-size: 1em;
}

.footer-team {
    margin-top: 20px;
    opacity: 0.8;
}

footer a {
    color: var(--sncf-new-light-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--sncf-new-light-blue);
    text-decoration: underline;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2em;
    }

    .header-content p {
        font-size: 1.1em;
    }

    .filters {
        flex-direction: column;
        padding: 20px;
    }

    .filter-btn {
        width: 100%;
        padding: 15px 20px;
    }

    #map {
        height: 400px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.5em;
    }

    .map-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.6em;
    }

    .map-section h2 {
        font-size: 1.8em;
    }
}
