body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b0c10;
    color: #c5c6c7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #1f2833;
    border-bottom: 2px solid #66fcf1;
    position: relative;
    z-index: 100;
}

.logo {
    font-weight: bold;
    font-size: 24px;
    color: white;
}

.badge {
    font-size: 10px;
    background: #66fcf1;
    color: #0b0c10;
    padding: 2px 5px;
    border-radius: 3px;
    vertical-align: middle;
}

/* --- Navigation PC --- */
.pc-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.pc-nav a, .pc-nav span.active {
    color: #c5c6c7;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.pc-nav span.active {
    color: #66fcf1;
    border-bottom: 2px solid #66fcf1;
    padding-bottom: 4px;
}

.pc-nav a:hover {
    color: #66fcf1;
}

/* --- Bouton Menu Burger (Caché sur PC) --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #66fcf1;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Vraie Sidebar Mobile (Cachée par défaut) --- */
.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background-color: #1f2833;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 90px;
    padding-left: 30px;
    gap: 20px;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.sidebar.active {
    right: 0;
}

.sidebar a, .sidebar span.active {
    color: #c5c6c7;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.sidebar span.active {
    color: #66fcf1;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 998;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Contenu Principal --- */
.page-content {
    padding: 50px 20px;
    text-align: center;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.page-content h1, .page-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #ffffff;
}

.page-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.btn {
    background: #66fcf1;
    color: #0b0c10;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    margin-top: 15px;
}

.btn:hover {
    background: #45a29e;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.box {
    background: #1f2833;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #66fcf1;
    text-align: left;
    box-sizing: border-box;
}

.dl-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.dl-card {
    background: #1f2833;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #66fcf1;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
    box-sizing: border-box;
}

.legal-text h2 {
    color: #ffffff;
    margin-top: 40px;
    font-size: 1.4rem;
}

.legal-text h3 {
    color: #66fcf1;
    margin-top: 25px;
    font-size: 1.1rem;
}

.legal-text p, .legal-text ul {
    color: #c5c6c7;
    margin: 10px 0;
    line-height: 1.6;
    word-break: break-word;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #0b0c10;
    color: #45a29e;
    border-top: 1px solid #1f2833;
    font-size: 0.9rem;
}

/* --- Basculement Affichage PC / Mobile --- */
@media (max-width: 768px) {
    .pc-nav {
        display: none; /* Cache le menu PC sur mobile */
    }

    .menu-toggle {
        display: flex; /* Affiche le bouton burger sur mobile */
    }
}