.devis {
    padding: 150px 80px 80px 80px;
    background-color: #f8f9fa;
    text-align: center;
}

.devis h2 {
    font-size: 32px; /* Aligné sur la taille du h2 de technologie */
    font-weight: 700;
    margin-bottom: 20px; /* Ajusté pour correspondre à technologie */
    color: #081548;
    position: relative;
    display: inline-block;
}

.devis h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #cf9903;
}

.devis p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
}

.progress-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #081548;
    transition: width 0.3s;
    z-index: 0;
}

.progress-step {
    width: 30px;
    height: 30px;
    border: 2px solid #081548;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #081548;
    transition: background-color 0.3s;
    z-index: 1;
}

.progress-step.active {
    background-color: #081548;
    color: white;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

button.btn {
    background-color: #081548;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s, padding-right 0.3s, width 0.3s;
}

button.btn:hover {
    padding-right: 30px;
    width: auto;
}

button.btn:hover::after {
    content: ' >';
    position: absolute;
    right: 10px;
}

input.invalid, select.invalid, textarea.invalid {
    border-color: red;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

.success-message {
    color: green;
    font-size: 14px;
    margin-bottom: 10px;
}

.tarifaire {
    padding: 60px 80px; 
    text-align: left;
}

.tarifaire h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #081548;
    position: relative;
    display: inline-block;
}

.tarifaire h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #cf9903;
}

.tarifaire h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #081548;
}

.tarifaire p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #444;
}

/* Responsive styles */
@media (max-width: 768px) {
    .devis {
        padding: 80px 40px;
    }

    .devis h2, .tarifaire h2 {
        font-size: 28px;
    }
    
    .devis p, .tarifaire p {
        font-size: 15px;
    }

    .tarifaire {
        padding: 40px 20px;
    }
    
    .tarifaire h3 {
        font-size: 20px;
    }
}