/* Reset et base Trajektoire */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f6f7fb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.quiz-main {
    max-width: 860px;
    padding: 20px;
}

/* Header Trajektoire */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #4582a0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2c5f7a;
}

.nav-link-cta {
    background: #4582a0;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.nav-link-cta:hover {
    background: #2c5f7a;
}

/* Style pour les éléments de menu mis en avant */
.nav-link-highlighted {
    background: transparent !important;
    color: #ff9800 !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.nav-link-highlighted:hover {
    color: #f57c00 !important;
    transform: translateY(-2px);
}

.nav-link-highlighted .highlight-icon {
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #4582a0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Footer Trajektoire */
.footer {
    background: #2c5f7a;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: #74b9ff;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #4582a0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

/* Responsive pour header/footer */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 1000;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        padding: 0.5rem 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .mobile-menu-toggle span {
        transition: all 0.3s ease;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.card { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.06); margin: 20px 0; }
.card h2 { margin-top: 0; }

.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; text-decoration: none; border: 1px solid #d1d5db; color: #111827; background: #fff; transition: all .2s ease; font-size: 16px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,0.06); }
.btn.primary { background: #4582a0; color: #fff; border-color: #4582a0; font-size: 16px; }
.btn.primary:hover { background: #2c5f7a; border-color: #2c5f7a; }
.btn.ghost { background: transparent; color: #4582a0; border-color: #4582a0; font-size: 16px; }
.btn.ghost:hover { background: #f8f9fa; color: #2c5f7a; border-color: #2c5f7a; }

.progress { width: 100%; height: 10px; background: #e5e7eb; border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress .bar { height: 100%; background: linear-gradient(90deg, #4582a0, #2c5f7a); }

.options { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
.option { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 10px; cursor: pointer; }
.option:hover { border-color: #4582a0; background: #f8fbfd; }
.option input[type="radio"] { width: 18px; height: 18px; }

.actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; }

.bullets { padding-left: 18px; }
.bullets li { margin: 6px 0; }

.alert { padding: 12px 14px; border-radius: 8px; margin: 10px 0; }
.alert.error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.muted { color: #6b7280; }
.small { font-size: 14px; }

.result { background: #f8fafc; border: 1px solid #e5e7eb; padding: 16px; border-radius: 10px; margin-bottom: 16px; }

/* Responsive tweaks */
@media (min-width: 600px) {
  .options { grid-template-columns: 1fr 1fr; }
}
