/* ===============================================
   POSITIONNEMENT PARCOURS - FULLSCREEN DESIGN
   =============================================== */

/* Container fullscreen avec fond bleu */
.rc-positionnement-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #55A1B4;
    z-index: 999999;
    overflow-y: auto;
    padding: 40px 20px;
}

.rc-positionnement-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Écrans */
.rc-positionnement-screen {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.rc-positionnement-screen.active {
    display: block;
}

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

/* Box blanche centrée */
.rc-positionnement-box {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 60px 80px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

@media (max-width: 768px) {
    .rc-positionnement-box {
        padding: 40px 30px;
    }
}

/* Pillule de compétence */
.rc-competence-pill {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #667eea;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Contenu */
.rc-positionnement-content {
    text-align: center;
}

.rc-positionnement-content.rc-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rc-positionnement-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.rc-positionnement-description {
    font-size: 18px;
    color: #4a5568;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.rc-positionnement-info {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
}

.rc-positionnement-info p {
    margin: 8px 0;
    color: #2d3748;
}

/* Numéro de question */
.rc-question-number {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.rc-question-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 40px 0;
    line-height: 1.4;
}

/* Grille de niveaux */
.rc-niveaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 0 0 30px 0;
}

@media (max-width: 768px) {
    .rc-niveaux-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Carte de niveau */
.rc-niveau-card {
    cursor: pointer;
    display: block;
    position: relative;
}

.rc-niveau-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rc-niveau-card-content {
    background: #f7fafc;
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.rc-niveau-card:hover .rc-niveau-card-content {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

.rc-niveau-card.selected .rc-niveau-card-content {
    background: #667eea;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.rc-niveau-number {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.rc-niveau-card.selected .rc-niveau-number {
    color: #FFFFFF;
}

.rc-niveau-name {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

.rc-niveau-card.selected .rc-niveau-name {
    color: #FFFFFF;
}

.rc-niveau-hint {
    font-size: 14px;
    color: #718096;
    font-style: italic;
    margin: 0;
}

/* Icône de succès */
.rc-success-icon {
    width: 100px;
    height: 100px;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #FFFFFF;
    margin: 0 auto 30px auto;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.rc-success-message {
    font-size: 18px;
    color: #4a5568;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

/* Navigation */
.rc-positionnement-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

/* Progress dots */
.rc-progress-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.rc-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.rc-progress-dot.active {
    width: 14px;
    height: 14px;
    background: #FFFFFF;
}

.rc-progress-dot.completed {
    background: rgba(255, 255, 255, 0.7);
}

/* Boutons */
.rc-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.rc-btn-primary {
    background: #667eea;
    color: #FFFFFF;
}

.rc-btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.rc-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.rc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.rc-btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .rc-positionnement-fullscreen {
        padding: 20px 10px;
    }
    
    .rc-positionnement-title {
        font-size: 32px;
    }
    
    .rc-question-title {
        font-size: 22px;
    }
    
    .rc-positionnement-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .rc-btn {
        width: 100%;
    }
}

