/* Variables de couleurs */
:root {
    --primary-blue: #006b99;
    --accent-orange: #e86733;
    --accent-brown: #8d4b40;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-gray: #333333;
    
    /* Couleurs des profils */
    --profile-securitaire: #4A90E2;
    --profile-equilibre: #50C878;
    --profile-dynamique: #e86733;
    --profile-offensif: #8d4b40;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-blue);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    position: relative;
}

/* Écrans */
.screen {
    display: none;
    min-height: 100vh;
    padding: 2rem;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

/* Cercles décoratifs */
.decorative-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.circle-top {
    width: 350px;
    height: 350px;
    background-color: var(--accent-orange);
    top: -100px;
    right: -100px;
}

.circle-bottom {
    width: 300px;
    height: 300px;
    background-color: var(--accent-brown);
    bottom: -80px;
    left: -80px;
}

/* Page d'accueil */
.content-center {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.icon-question {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 2rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Boutons */
.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 1rem;
    opacity: 0.8;
}

/* Quiz */
.quiz-header {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--white);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.question-counter {
    text-align: right;
    font-size: 1.1rem;
    opacity: 0.9;
}

.quiz-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.question-container {
    background-color: var(--white);
    color: var(--text-gray);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    flex: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.question-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.question-type {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--accent-orange);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Input texte */
.input-text {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.input-text:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Options de choix multiple */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.option:hover {
    border-color: var(--primary-blue);
    background-color: #f8f9fa;
}

.option.selected {
    border-color: var(--primary-blue);
    background-color: #e3f2fd;
    font-weight: 600;
}

.option-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option.selected .option-radio {
    border-color: var(--primary-blue);
}

.option.selected .option-radio::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

/* Navigation du quiz */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Écran de résultat */
.result-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.result-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.profile-card {
    background-color: var(--white);
    color: var(--text-gray);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.profile-icon {
    font-size: 4rem;
}

.profile-title-group h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-score {
    font-size: 1.2rem;
    opacity: 0.7;
}

.profile-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.profile-characteristics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.characteristic {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.characteristic strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.participant-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.participant-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-row {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-row strong {
    display: inline-block;
    min-width: 100px;
}

.btn-download {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .question-container {
        padding: 2rem;
    }
    
    .question-title {
        font-size: 1.4rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .result-content h2 {
        font-size: 2rem;
    }
}
