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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: #000000; transition: opacity 0.3s ease; }
a:hover { opacity: 0.7; }
ul { list-style: none; }

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    height: 100vh;
    background-color: #000000;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    z-index: 100;
}

.logo-container {
    margin-bottom: 50px;
    text-align: center;
}

.logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.nav-groups { flex: 1; overflow-y: auto; }
.nav-group { margin-bottom: 30px; }

.group-title {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #777777;
    margin-bottom: 15px;
    font-weight: 600;
}

.nav-group ul li { margin-bottom: 12px; }

.nav-link {
    font-size: 14px;
    color: #FFFFFF;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link.active { font-weight: 600; }
.nav-link.active::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #333333;
}

.back-link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    font-weight: 600;
}

/* Main Content */
.content-area { margin-left: 280px; min-height: 100vh; background-color: #FFFFFF; position: relative; }

.mobile-header {
    display: none;
    padding: 20px;
    border-bottom: 1px solid #F5F5F5;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 90;
}

.logo-mobile { max-width: 120px; height: auto; }

.mobile-menu-btn {
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; gap: 5px;
}
.mobile-menu-btn span {
    display: block; width: 25px; height: 2px;
    background-color: #000000;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: #FFFFFF;
    z-index: 95;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 40px 20px;
    overflow-y: auto;
}
.mobile-nav-overlay.open { transform: translateX(0); }

.mobile-nav-content h2 {
    font-size: 18px; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 30px; text-align: center;
}

.mobile-nav-link {
    display: block; padding: 15px 0;
    border-bottom: 1px solid #F5F5F5;
    font-size: 16px; color: #000000;
}

.mobile-back-link {
    display: block; margin-top: 40px; text-align: center;
    font-size: 14px; text-transform: uppercase;
    font-weight: 600; padding: 15px; border: 1px solid #000000;
}

/* Content Sections */
.content-wrapper { max-width: 800px; margin: 0 auto; padding: 80px 40px; }

.content-section { display: none; animation: fadeIn 0.4s ease; }
.content-section.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section h1 {
    font-size: 32px; font-weight: 700;
    margin-bottom: 10px; text-transform: uppercase;
    letter-spacing: 1px;
}

.last-update {
    font-size: 13px; color: #777777;
    margin-bottom: 30px; font-style: italic;
}

.content-section hr {
    border: 0; border-top: 1px solid #F5F5F5;
    margin-bottom: 40px;
}

.text-content h2 {
    font-size: 18px; font-weight: 600;
    margin-top: 30px; margin-bottom: 15px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.text-content p {
    font-size: 16px; color: #333333;
    margin-bottom: 20px; text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar { display: none; }
    .content-area { margin-left: 0; }
    .mobile-header { display: flex; }
    .content-wrapper { padding: 40px 20px; }
    .content-section h1 { font-size: 24px; }
}
/* --- Styles pour la FAQ Accordéon --- */

.faq-container {
    margin-top: 20px;
}

.faq-item {
    border-bottom: 1px solid #F5F5F5;
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #555;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-transform: none; /* On enlève le uppercase pour plus de lisibilité */
    letter-spacing: 0.5px;
    color: #000;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #000;
    transition: transform 0.3s ease;
    line-height: 1;
}

/* État actif (quand c'est ouvert) */
.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Le + devient une croix */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 20px;
}

.faq-item.active .faq-answer {
    /* La hauteur sera définie par le JS, mais on assure la visibilité ici */
    padding-bottom: 20px;
}

.faq-answer p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}