/* assets/css/style.css - inspiré de votre index.html */

:root {
    --dark: #0f0f0f;
    --dark-light: #1a1a1a;
    --gold: #c5a059;
    --gold-bright: #e7c58e;
    --text-white: #ffffff;
    --text-gray: #e0e0e0;
    --text-dark-gray: #8a8a8a;
    --border-subtle: #333;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    color: var(--text-white);
    line-height: 1.6;
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 40px;
}

h1 {
    color: var(--gold-bright);
    font-size: 2.2rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: var(--text-dark-gray);
    margin-bottom: 40px;
}

/* Barre de progression */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--dark-light);
    border-radius: 4px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
}

/* Sections de questions */
.dimension-section {
    margin-bottom: 50px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.dimension-section h2 {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.question {
    margin-bottom: 30px;
}

.question-text {
    margin-bottom: 15px;
    font-weight: normal;
}

/* Échelles de réponses */
.echelle, .binaire, .choix {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.echelle-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.echelle-label input {
    margin-bottom: 5px;
}

.echelle-label span {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
}

.echelle-label input:checked + span {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold-bright);
}

/* Boutons */
.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--gold-bright);
}

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

/* Rapport */
.scores-visualisation {
    margin: 40px 0;
}

.score-item {
    margin-bottom: 20px;
}

.score-item p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.score-bar {
    width: 100%;
    height: 20px;
    background: var(--dark-light);
    border-radius: 10px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.synthese {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    color: var(--gold-bright);
    margin: 40px 0;
    padding: 20px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.points-forts, .axes-progression {
    margin: 40px 0;
}

.points-forts h2, .axes-progression h2 {
    color: var(--gold);
    margin-bottom: 20px;
}

/* Popup email */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background: var(--dark-light);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 40px;
    max-width: 400px;
    text-align: center;
}

.popup-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: var(--dark);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-white);
}

/* Confirmation */
.confirmation-container {
    text-align: center;
}

.confirmation-container .icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.next-steps {
    margin-top: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step-card {
    background: var(--dark-light);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: var(--text-white);
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.step-card h3 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.small {
    font-size: 0.85rem;
    color: var(--text-dark-gray);
    margin-top: 20px;
}