/* diagnostic/css/diagnostic.css - Style Premium pour le Diagnostic AEON */

:root {
    --diag-bg-dark: #122315;
    --diag-bg-cream: #F5F2EE;
    --diag-gold: #D4AF37;
    --diag-gold-light: #f5e4a7;
    --diag-sand: #C5A880;
    --diag-text-dark: #1A1A1A;
    --diag-text-muted: #666666;
    --diag-text-light: #FFFFFF;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html, body {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background-color: var(--diag-bg-dark);
    color: var(--diag-text-light);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header Fixe Minimaliste */
.diag-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(18, 35, 21, 0.95) 0%, rgba(18, 35, 21, 0.4) 70%, rgba(18, 35, 21, 0) 100%);
}

.diag-logo img {
    max-height: 85px;
    max-width: 340px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.95)) drop-shadow(0 0 18px rgba(0,0,0,0.85));
    transition: transform 0.3s ease;
}

.diag-logo img:hover {
    transform: scale(1.03);
}

.diag-text-logo {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.4);
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.diag-text-logo:hover {
    color: var(--diag-gold-light);
    transform: scale(1.03);
}

.diag-lang-switch {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.diag-lang-switch a {
    color: var(--diag-text-light);
    text-decoration: none;
    transition: opacity 0.3s;
}

.diag-lang-switch a.active {
    font-weight: 600;
    border-bottom: 1px solid var(--diag-gold);
}

/* Conteneur Split Desktop (50% / 50%) */
.diag-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.diag-left-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 8% 60px 8%;
    background-color: var(--diag-bg-dark);
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.diag-right-col {
    flex: 1;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: background-image 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.diag-right-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 35, 21, 0.7) 0%, rgba(18, 35, 21, 0.2) 60%, rgba(18, 35, 21, 0.4) 100%);
}

/* Page d'Introduction */
.diag-intro {
    max-width: 600px;
    animation: fadeIn 0.6s ease forwards;
}

.diag-badge-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    color: var(--diag-gold-light);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.diag-intro h1 {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #ffffff;
}

.diag-intro p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Boutons & CTAs Premium */
.diag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #f5e4a7 0%, #d4af37 100%);
    color: #0c0d10;
    border: none;
    border-radius: 40px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.diag-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #f5e4a7 100%);
}

/* Indicateur de Progression */
.diag-progress-bar-container {
    margin-bottom: 35px;
}

.diag-step-counter {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--diag-sand);
    margin-bottom: 10px;
}

.diag-progress-line-track {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.diag-progress-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--diag-sand) 0%, var(--diag-gold) 100%);
    width: 0%;
    transition: width 0.4s ease;
}

/* Question & Choix */
.diag-question-box {
    animation: slideUpFade 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.diag-question-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
}

.diag-question-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: 30px;
}

.diag-options-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.diag-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.diag-option-card:hover, .diag-option-card.selected {
    background: rgba(18, 35, 21, 0.85);
    border-color: var(--diag-gold);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.diag-option-card.selected {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(18, 35, 21, 0.9) 100%);
}

.diag-option-label {
    font-size: 0.95rem;
    font-weight: 400;
    color: #ffffff;
}

.diag-option-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
    font-weight: 300;
}

.diag-option-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.diag-option-card:hover .diag-option-radio, .diag-option-card.selected .diag-option-radio {
    border-color: var(--diag-gold);
    background: var(--diag-gold);
}

/* Page de Résultats & Modal Lead */
.diag-results-container {
    max-width: 900px;
    margin: 120px auto 60px auto;
    padding: 0 25px;
    animation: fadeIn 0.6s ease forwards;
}

.diag-result-card {
    background: rgba(18, 35, 21, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

.diag-result-header-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.diag-result-subtitle {
    font-size: 1.05rem;
    color: var(--diag-sand);
    margin-bottom: 25px;
    font-weight: 300;
}

/* Visualisation des Scores par Barres */
.diag-scores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.diag-score-item {
    background: rgba(0,0,0,0.2);
    padding: 16px 20px;
    border-radius: 6px;
    border-left: 3px solid var(--diag-gold);
}

.diag-score-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.diag-score-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.diag-score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37 0%, #f5e4a7 100%);
    width: 0%;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Formulaire Modal Lead */
.diag-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.diag-form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.diag-form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.diag-form-control:focus {
    outline: none;
    border-color: var(--diag-gold);
    background: rgba(255, 255, 255, 0.1);
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Media Queries */
@media (max-width: 900px) {
    .diag-header {
        padding: 15px 20px;
    }
    .diag-logo img {
        max-height: 55px;
        max-width: 220px;
    }
    .diag-text-logo {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    .diag-wrapper {
        flex-direction: column;
    }
    .diag-right-col {
        height: 350px;
        position: relative;
        order: -1;
    }
    .diag-left-col {
        padding: 40px 20px;
        min-height: auto;
    }
    .diag-intro h1 { font-size: 2.3rem; }
    .diag-question-title { font-size: 1.8rem; }
    .diag-scores-grid { grid-template-columns: 1fr; }
}

/* Badges Status Restitution 6 Dimensions */
.status-solide {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-consolider {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--diag-gold-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-prioritaire {
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: #fbbf24;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

