/* ===== HEADER PRO - STYLE MINIMALISTE ===== */
header {
    background-color: #ffffff;
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Photo de profil */
.profile-container {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.profile-container:hover {
    transform: scale(1.05);
    border-color: #CF8CD6;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Desktop */
.nav-main {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333333;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #CF8CD6;
    transition: width 0.3s ease;
}

.nav-links a:hover { color: #000; }
.nav-links a:hover::after { width: 100%; }

/* Bouton Qui suis-je */
.character-logo { display: flex; align-items: center; gap: 10px; }

.arrow-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #e1e4e8;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.arrow-button:hover {
    background-color: #CF8CD6;
    color: white;
    border-color: #CF8CD6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 140, 214, 0.3);
}

/* ===== MENU MOBILE (OFFCANVAS) ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    margin-left: 10px;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: -280px; /* Caché par défaut */
    width: 280px;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-sidebar.active { right: 0; }

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 2rem;
    color: #333;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li { margin-bottom: 1.5rem; }

.mobile-nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .btn-text { display: none; } /* On cache le texte du bouton sur mobile */
}