:root {
    --bg-color: #0A0A0A;
    --text-color: #E0E0E0;
    --primary-color: #00FFFF;
    --container-width: 1100px;
    --font-main: 'Roboto Mono', monospace;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 300;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    animation: blink-cursor 1s infinite;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.btn {
    text-decoration: none;
    padding: 12px 25px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 400;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    margin-top: 20px;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.hero {
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.hero .subtitle {
    font-size: 1.2em;
    margin-top: 20px;
    color: #A0A0A0;
}

.features {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.features h2 {
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #FFFFFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}

.feature-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.main-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    font-size: 0.9em;
    color: #A0A0A0;
}

.main-footer p {
    margin-bottom: 10px;
}

.main-footer strong {
    color: var(--text-color);
    font-weight: 400;
}

.page-hero {
    padding: 100px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-hero h1 {
    font-size: 3em;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-hero .subtitle {
    font-size: 1.1em;
    margin-top: 15px;
    color: #A0A0A0;
}

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.content-section h3 {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-top: 40px;
    margin-bottom: 15px;
}

.content-section p {
    margin-bottom: 20px;
    font-size: 1em;
    color: var(--text-color);
    text-align: justify;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.content-section ul li {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: var(--text-color);
}

.content-section ul li strong {
    color: var(--primary-color);
}

.highlight-bordeaux {
    color: #8D1C1C;
    font-weight: 400;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav--visible .hamburger {
    transform: rotate(45deg);
}

.nav--visible .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}

.nav--visible .hamburger::after {
    top: 0;
    transform: rotate(90deg);
    opacity: 0;
}

@media (max-width: 800px) {
    .desktop-only {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100vh; /* LIGNE AJOUTÉE ICI */
        background: var(--bg-color);
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.3s ease-out;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        overflow-y: auto;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    .main-nav li {
        margin: 0;
        padding: 20px 0;
        width: 100%;
    }
    .main-nav a {
        font-size: 1.5em;
        display: block;
        padding: 10px 0;
    }
    .main-nav.nav--visible {
        transform: translateY(0);
    }
    .hero h1, .page-hero h1 {
        font-size: 2.5em;
    }
    .features h2 {
        font-size: 2em;
    }
}
