/* Styles spécifiques pour les landing pages services */

/* Hero sections spécialisées */
.hero-telephonie {
    background: linear-gradient(135deg, #660033, #800040), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="phone-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2L16 6V14L10 18L4 14V6Z" fill="rgba(255,255,255,0.05)" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23phone-pattern)"/></svg>');
}

.hero-ia {
    background: linear-gradient(135deg, #660033, #800040), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ai-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="3" fill="rgba(255,255,255,0.05)" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23ai-pattern)"/></svg>');
}

.hero-crm {
    background: linear-gradient(135deg, #660033, #800040), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="crm-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect x="5" y="5" width="10" height="10" fill="rgba(255,255,255,0.05)" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23crm-pattern)"/></svg>');
}

.hero-securite {
    background: linear-gradient(135deg, #660033, #800040), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="security-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2L16 6V14L10 18L4 14V6Z" fill="rgba(255,255,255,0.05)" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23security-pattern)"/></svg>');
}

.hero-mobilite {
    background: linear-gradient(135deg, #660033, #800040), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mobile-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect x="8" y="3" width="4" height="14" rx="2" fill="rgba(255,255,255,0.05)" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23mobile-pattern)"/></svg>');
}

/* Section Qualification (Priorité) */
.qualification-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.qualification-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.qualification-text h2 {
    font-size: 2.5rem;
    color: #660033;
    margin-bottom: 20px;
}

.qualification-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.qualification-benefits {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.benefit-item i {
    color: #28a745;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Formulaire de qualification */
.qualification-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: #660033;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #660033;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #660033, #800040);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #800040, #99004c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 0, 51, 0.3);
}

.form-disclaimer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.form-disclaimer i {
    color: #28a745;
    margin-right: 5px;
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 5px;
}

/* Sections spécialisées */
.use-cases-section {
    padding: 80px 0;
    background-color: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.use-case-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.use-case-card h3 {
    font-size: 1.5rem;
    color: #660033;
    margin-bottom: 20px;
}

.use-case-card ul {
    list-style: none;
    text-align: left;
}

.use-case-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.use-case-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Section intégrations */
.integrations-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.integration-item i {
    font-size: 2.5rem;
    color: #660033;
    margin-bottom: 15px;
}

.integration-item span {
    font-weight: 600;
    color: #333;
}

/* Section statistiques */
.stats-section {
    padding: 80px 0;
    background-color: #660033;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section solutions par secteur */
.sector-solutions-section {
    padding: 80px 0;
    background-color: white;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.sector-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.sector-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.sector-card h3 {
    font-size: 1.5rem;
    color: #660033;
    margin-bottom: 20px;
}

.sector-card ul {
    list-style: none;
    text-align: left;
}

.sector-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.sector-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Formulaire Multi-Étapes */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #660033;
    color: white;
}

.progress-step.completed .step-number {
    background: #28a745;
    color: white;
}

.progress-step.completed .step-number:after {
    content: "✓";
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.progress-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    right: -60px;
    height: 2px;
    background: #e9ecef;
    z-index: -1;
}

.progress-step.completed:not(:last-child):after {
    background: #28a745;
}

/* Étapes du formulaire */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Récapitulatif */
.validation-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.validation-summary h4 {
    color: #660033;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.summary-content p {
    margin-bottom: 8px;
    color: #333;
}

.summary-content strong {
    color: #660033;
}

/* Modal de remerciement */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 25px 0;
    text-align: center;
}

.modal-header h3 {
    color: #28a745;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.modal-header i {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.8rem;
}

.modal-body {
    padding: 25px;
}

.next-steps {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.next-steps h4 {
    color: #660033;
    margin-bottom: 15px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-steps i {
    color: #28a745;
    width: 20px;
}

.contact-info {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.modal-footer {
    padding: 0 25px 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Messages d'erreur */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message i {
    color: #dc3545;
}

/* Indicateur de chargement */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .qualification-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .qualification-form {
        position: static;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .qualification-text h2 {
        font-size: 2rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-progress {
        padding: 0 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .qualification-form {
        padding: 20px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .form-progress {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-step:not(:last-child):after {
        display: none;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

