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

body {
    padding-top: 90px;
    font-family: Georgia, serif;
    background: #112633;
    color: #eee;
    margin: 0;
    line-height: 1.6;
}

/* === CORRECTION NAVIGATION POUR TEST.HTML === */
.header {
    background: #14334e;
    padding: 14px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    list-style: none;
}

.nav-link, .logo {
    color: #ffd36e;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.06em;
    transition: color 0.2s;
    padding: 8px 12px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.nav-link:hover {
    color: #fff;
    border-bottom: 2px solid #ffd36e;
}

.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-btn, .language-toggle {
    background: #ffd36e;
    color: #26374f;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9em;
}

.toggle-btn:hover, .language-toggle:hover {
    background: #ffaa00;
    transform: translateY(-2px);
}

/* === SECTIONS POUR TEST.HTML === */
.section {
    padding: 40px 0;
}

.test-header {
    text-align: center;
    margin-bottom: 40px;
}

.test-header h1 {
    color: #ffd36e;
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.test-subtitle {
    color: #93aad6;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.disclaimer {
    background: rgba(255, 211, 110, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ffd36e;
    margin: 40px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.disclaimer-icon {
    font-size: 1.5em;
    margin-top: 5px;
}

.disclaimer-content h3 {
    color: #ffd36e;
    margin-bottom: 10px;
}

.test-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #15304b;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #ffd36e44;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h3 {
    color: #ffd36e;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.section-subtitle {
    color: #93aad6;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: #eee;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input, .question-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ffd36e44;
    border-radius: 8px;
    background: #112633;
    color: #eee;
    font-size: 1em;
}

.questions-container {
    margin-top: 30px;
}

.question-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #112633;
    border-radius: 10px;
    border-left: 4px solid #ffd36e;
}

.question-label {
    display: block;
    color: #eee;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.checkbox-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
}

.checkbox-group label {
    color: #eee;
    line-height: 1.5;
}

.checkbox-group a {
    color: #ffd36e;
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.cta-jewel {
    background: linear-gradient(135deg, #ffd36e 0%, #ffaa00 100%);
    color: #26374f;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    margin: 20px auto;
    box-shadow: 0 8px 25px rgba(255, 211, 110, 0.3);
    transition: transform 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-jewel:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 211, 110, 0.4);
}

.cta-jewel.large {
    padding: 20px 40px;
    font-size: 1.3em;
}

.test-cta {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 211, 110, 0.1);
    border-radius: 15px;
}

/* === FOOTER === */
.footer {
    background: #0a1419;
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ffd36e;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #93aad6;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffd36e;
}

.footer-bottom {
    border-top: 1px solid #ffd36e33;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #93aad6;
    margin: 10px 0;
}

/* Navigation */
nav {
    background: #14334e;
    padding: 14px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav .nav-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: #ffd36e;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.06em;
    transition: color 0.2s;
    padding: 8px 12px;
}

nav a:hover {
    color: #fff;
    border-bottom: 2px solid #ffd36e;
}

/* Conteneur principal */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Hero */
.hero-section {
    background: linear-gradient(135deg, #15304b 0%, #112633 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    color: #ffd36e;
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: #93aad6;
    font-size: 1.2em;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 40px;
}

/* Boutons CTA */
.cta-button {
    background: linear-gradient(90deg, #ffd36e 72%, #14334e 100%);
    color: #26374f;
    padding: 20px 45px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3em;
    display: inline-block;
    transition: transform 0.2s;
    margin: 15px 10px;
    box-shadow: 0 4px 15px rgba(255, 211, 110, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 211, 110, 0.4);
}

.mega-cta {
    background: linear-gradient(135deg, #ffd36e 0%, #ffaa00 100%);
    color: #26374f;
    padding: 30px 60px;
    border-radius: 15px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    display: block;
    margin: 40px auto;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(255, 211, 110, 0.4);
    transition: transform 0.3s;
    text-decoration: none;
}

.mega-cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 211, 110, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }
    
    .accessibility-controls {
        gap: 10px;
    }
    
    .test-header h1 {
        font-size: 2.5em;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .test-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .test-header h1 {
        font-size: 2em;
    }
    
    .cta-jewel {
        font-size: 1.1em;
        padding: 16px 30px;
    }
    
    .mega-cta {
        font-size: 1.3em;
        padding: 20px 40px;
    }
}
