/* RESET BASIQUE */
.price-calculator-container * {
    margin: 0;
    padding: 0 10px 0 0;
    box-sizing: border-box;
}

.price-calculator-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    max-width: 100%;
}

/* EN-TÊTE */
.calculator-header h1 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2em;
}

.calculator-header .subtitle {
    color: #999;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* PROGRESS BAR */
.progress {
    height: 6px;
    background: #333;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #dc2626;
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

/* ÉTAPES */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.question {
    color: #ffffff;
    font-size: 1.4em;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

/* OPTIONS */
.options {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.option {
    background: #252525;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option:hover {
    border-color: #dc2626;
    transform: translateY(-2px);
}

.option.selected {
    border-color: #dc2626;
    background: #2a1a1a;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.2);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.option-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.3em;
    flex: 1;
}

.option-price {
    background: #dc2626;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
}

.option-features div {
    color: #cccccc;
    margin-bottom: 8px;
    font-size: 0.95em;
}

/* BOUTONS */
.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

button {
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.btn-next {
    background: #dc2626;
    color: white;
    flex: 1;
}

.btn-next:hover:not(:disabled) {
    background: #b91c1c;
    transform: translateY(-2px);
}

.btn-next:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

.btn-prev {
    background: #333;
    color: white;
}

.btn-prev:hover {
    background: #444;
}

/* OPTIONS PERSONNALISÉES */
.custom-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.custom-option {
    background: #252525;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.custom-option:hover {
    border-color: #dc2626;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #dc2626;
}

.custom-label {
    flex: 1;
}

.custom-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.custom-price {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1em;
}

/* RÉSULTAT */
.result, .success-message {
    display: none;
    text-align: center;
}

.result.active, .success-message.active {
    display: block;
}

.price-summary {
    background: #252525;
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    border: 2px solid #333;
}

.total-label {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.total-amount {
    font-size: 3em;
    font-weight: 700;
    color: #dc2626;
}

/* FORMULAIRE */
.contact-cta {
    background: #252525;
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    border: 2px solid #333;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #dc2626;
    background: #2a1a1a;
}

.btn-submit {
    background: #dc2626;
    color: white;
    width: 100%;
    padding: 18px;
    font-size: 1.1em;
    font-weight: 700;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* SUCCÈS */
.success-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.success-title {
    color: #ffffff;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-text {
    color: #999;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.btn-restart {
    background: #333;
    color: white;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
}

.btn-restart:hover {
    background: #444;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .price-calculator-container {
        padding: 20px 15px;
        margin: 10px 0;
    }
    
    .calculator-header h1 {
        font-size: 1.6em;
    }
    
    .option-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    .total-amount {
        font-size: 2.5em;
    }
}