/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; }
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
}

/* ===== PAGE WRAPPER – 2 COLUMNS ===== */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 40px rgba(0,0,0,.08);
}

/* ===== LEFT COLUMN ===== */
.left-col {
    width: 50%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Header bar */
.left-header {
    display: flex;
    align-items: center;
    padding: 18px 28px;
    gap: 24px;
    border-bottom: 1px solid #eee;
}
.logo img {
    height: 90px;
    width: auto;
}
.header-features {
    display: flex;
    gap: 28px;
    margin-left: auto;
}
.header-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: .72rem;
    color: #555;
    gap: 4px;
    line-height: 1.3;
}

/* Photo */
.left-photo {
    width: 100%;
    overflow: hidden;
    max-height: 320px;
}
.left-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: opacity .6s ease;
}

/* Text content */
.left-content {
    padding: 24px 28px 16px;
    flex: 1;
}
.tag-line {
    color: #c41e23;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.left-content h1 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 10px;
}
.desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 20px;
}

/* Features grid */
.features-grid {
    display: flex;
    gap: 24px;
}
.left-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.red-circle {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #c41e23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-item strong {
    font-size: 1.1rem;
    color: #1a1a1a;
}
.feature-item span {
    font-size: 1rem;
    color: #888;
    line-height: 1.4;
}

/* Right features (pourquoi choisir) */
.right-features {
    flex: 1;
    background: #fafafa;
    border-radius: 10px;
    padding: 16px 18px;
}
.right-features h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #444;
}

/* Bottom bar */
.left-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 28px;
    background: #f8f8f8;
    border-top: 1px solid #eee;
    font-size: 1.3rem;
    color: #555;
    text-align: center;
}
.left-bottom strong {
    color: #c41e23;
    font-size: 1.3rem;
}
.bottom-icon {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    background: #fff;
    border: 2px solid #c41e23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== RIGHT COLUMN ===== */
.right-col {
    width: 50%;
    padding: 36px 40px 28px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid #eee;
}

.quiz-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    line-height: 1.25;
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    margin-bottom: 28px;
    overflow: hidden;
}
.progress {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #c41e23, #e53935);
    border-radius: 4px;
    transition: width .5s ease;
}

/* Quiz container */
#quiz-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Question */
.question-number {
    color: #c41e23;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.question-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.35;
}
.question-subtitle {
    font-size: .82rem;
    color: #888;
    font-style: italic;
    margin-top: -14px;
    margin-bottom: 18px;
}

/* Answer options */
#answer-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}
.option-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    transition: all .25s ease;
    background: #fff;
    user-select: none;
}
.option-card:hover {
    border-color: #c41e23;
    box-shadow: 0 3px 12px rgba(196,30,35,.1);
}
.option-card.selected {
    border-color: #c41e23;
    background: rgba(196,30,35,.04);
    box-shadow: 0 3px 12px rgba(196,30,35,.12);
}

/* Radio circle */
.radio-circle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}
.option-card.selected .radio-circle {
    border-color: #c41e23;
}
.radio-circle::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #c41e23;
    border-radius: 50%;
    transform: scale(0);
    transition: transform .2s ease;
}
.option-card.selected .radio-circle::after {
    transform: scale(1);
}

/* Option icon */
.option-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.option-icon svg {
    width: 65px;
   
}

/* Option label */
.option-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

/* Budget hint (Q2 only) */
.budget-hint {
    display: none;
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    color: #000;
    margin-top: 12px;
}
.budget-hint.visible {
    display: block !important;
}

/* Quiz footer */
.quiz-footer {
    margin-top: 18px;
    padding-top: 20px;
}
.footer-badges {
    display: flex;
    gap: 24px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    font-weight: 600;
    color: #444;
}
.btn-continue {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    display: block;
    padding: 16px 32px;
    background: #c41e23;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .25s ease;
}
.btn-continue:hover {
    background: #a31a1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,30,35,.3);
}
.btn-continue:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== CONTACT FORM (step 5) ===== */
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.contact-form h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: .75rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: .9rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color .2s ease;
    color: #333;
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c41e23;
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .72rem;
    color: #888;
    margin: 12px 0 16px;
    line-height: 1.4;
}
.consent-label input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #c41e23;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn .6s ease;
}
.success-message .success-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.success-message h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.success-message p {
    font-size: .9rem;
    color: #666;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
.animate-in {
    animation: slideInRight .4s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .page-wrapper {
        flex-direction: column;
    }
    .left-col, .right-col {
        width: 100%;
    }
    .right-col {
        border-left: none;
        border-top: 1px solid #eee;
    }
    .features-grid {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    html { font-size: 13px; }
    .left-header {
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-features {
        margin-left: 0;
        gap: 16px;
    }
    .left-content { padding: 18px 16px 12px; }
    .right-col { padding: 24px 18px 20px; }
    .quiz-title { font-size: 1.3rem; }
    .footer-badges { gap: 10px; }
    .btn-continue { max-width: 100%; }
    .form-row { flex-direction: column; gap: 0; }
}
