/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pages */
.page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page d'accueil - Header supprimé */

.services-section h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.service-options {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: #4CAF50;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 15px;
}

.feature {
    background: #f0f8ff;
    color: #4CAF50;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-cta {
    margin-top: 15px;
}

.cta-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Formulaire */
.form-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.form-header h2 {
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 16.66%;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-content {
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.step-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

input, textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

input.error, textarea.error {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

input.success, textarea.success {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.error-message {
    color: #f44336;
    font-size: 0.9rem;
    margin-top: -15px;
    margin-bottom: 15px;
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.step-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

button {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.next-btn, .submit-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.next-btn:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.prev-btn {
    background: #f5f5f5;
    color: #666;
}

.prev-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.submit-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.submit-btn:hover {
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Résumé */
.summary {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-item strong {
    color: #333;
    font-weight: 600;
}

.summary-item span {
    color: #666;
    text-align: right;
    max-width: 60%;
    word-wrap: break-word;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        min-height: 100vh;
        justify-content: center;
    }
    
    .services-section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .feature {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .step-buttons {
        flex-direction: column;
    }
    
    .summary-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .summary-item span {
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .services-section h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .feature {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .cta-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

