.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: linear-gradient(135deg, rgba(6, 0, 40, 0.95), rgba(3, 0, 20, 0.98));
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 204, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 255, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    background: rgba(255, 50, 50, 0.2);
    border-color: rgba(255, 50, 50, 0.5);
    transform: scale(1.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-content {
    padding: 40px 30px 30px 30px;
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Header du modal */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
    animation: modalSlideDown 0.6s ease-out 0.2s both;
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, rgba(0, 255, 204, 0.2), rgba(0, 119, 255, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.modal-icon svg {
    width: 35px;
    height: 35px;
}

.modal-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.modal-subtitle {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: var(--text-light);
    line-height: 1.5;
}

/* Conteneur vidéo */
.modal-video-container {
    margin: 30px auto;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.6s ease-out 0.4s both;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.modal-video {
    width: auto;
    height: auto;
    aspect-ratio: 16/9;
    background: #000;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Liste des fonctionnalités */
.modal-features {
    margin: 30px 0;
    animation: modalSlideUp 0.6s ease-out 0.6s both;
}

.modal-features h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--text-light);
    line-height: 1.5;
}

.feature-icon {
    margin-right: 15px;
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

/* Boutons CTA */
.modal-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: modalSlideUp 0.6s ease-out 0.8s both;
}

.btn-modal-primary,
.btn-modal-secondary {
    padding: 15px 30px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-modal-primary {
    background: var(--gradient-primary);
    color: #060013;
    box-shadow: 0 8px 25px rgba(0, 255, 204, 0.4);
}

.btn-modal-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 255, 204, 0.6);
}

.btn-modal-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-modal-secondary:hover {
    background: rgba(0, 255, 204, 0.1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes modalSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN POUR MODALS ===== */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-container {
        border-radius: 15px;
        margin: 0;
    }
    
    .modal-content {
        padding: 30px 20px 20px 20px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    .modal-close svg {
        width: 16px;
        height: 16px;
    }
    
    .modal-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-modal-primary,
    .btn-modal-secondary {
        width: 100%;
        min-width: auto;
    }
    
    .modal-features li {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        margin-right: 10px;
        width: 25px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 15px 15px 15px;
    }
    
    .modal-header {
        margin-bottom: 20px;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .modal-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .modal-video-container {
        margin: 20px 0;
    }
    
    .modal-features {
        margin: 20px 0;
    }
}


.dev-section {
    background: linear-gradient(135deg, rgba(3, 0, 20, 0.95), rgba(6, 0, 40, 0.9));
    position: relative;
    overflow: hidden;
}

.dev-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 204, 0.05), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 119, 255, 0.05), transparent 50%);
    z-index: 0;
}

/* ===== STATS CHOQUANTES ===== */
.shock-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
    z-index: 1;
    position: relative;
}

.stat-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before , .cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before , .cta-box:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 204, 0.5);
    box-shadow: 0 20px 40px rgba(0, 255, 204, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-light);
    font-weight: 500;
}

/* ===== SERVICES GRID ===== */
.dev-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 80px 0;
}

.dev-service-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
}

.dev-service-card.premium {
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.dev-service-card.ai-card {
    border: 2px solid rgba(138, 43, 226, 0.5);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
}

.dev-service-card.automation-card {
    border: 2px solid rgba(255, 69, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.2);
}

.dev-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 255, 204, 0.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 255, 204, 0.2);
}

/* Badges */
.premium-badge, .ai-badge, .automation-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 1px;
}

.premium-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
}

.ai-badge {
    background: linear-gradient(45deg, #8A2BE2, #9370DB);
    color: #fff;
}

.automation-badge {
    background: linear-gradient(45deg, #FF4500, #FF6347);
    color: #fff;
}

/* Card Header */
.card-header {
    padding: 30px 30px 20px;
    text-align: center;
}

.service-tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 255, 204, 0.3);
    transition: all 0.3s ease;
}

.service-tech-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.dev-service-card:hover .service-tech-icon {
    background: rgba(0, 255, 204, 0.2);
    border-color: rgba(0, 255, 204, 0.6);
    transform: scale(1.1) rotate(5deg);
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.tech-badge {
    background: rgba(0, 119, 255, 0.2);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    border: 1px solid rgba(0, 119, 255, 0.3);
}

/* Service Preview */
.service-preview {
    padding: 20px 30px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Browser Mockup */
.browser-mockup {
    width: 100%;
    max-width: 280px;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.browser-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #28ca42;
}

.browser-content {
    padding: 15px;
    height: 120px;
}

.content-blocks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.content-block {
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.2), rgba(0, 255, 204, 0.05));
    border-radius: 4px;
    animation: contentLoad 2s ease-in-out infinite;
}

.hero-block {
    height: 40%;
}

.text-block {
    height: 25%;
}

.image-block {
    height: 35%;
}

@keyframes contentLoad {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* E-commerce Mockup */
.ecommerce-mockup {
    width: 100%;
    max-width: 280px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.product-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 8px;
    border: 1px solid rgba(0, 255, 204, 0.2);
}

.product-image {
    height: 40px;
    background: linear-gradient(45deg, rgba(0, 255, 204, 0.2), rgba(0, 119, 255, 0.2));
    border-radius: 4px;
    margin-bottom: 5px;
}

.product-info {
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.ai-recommendation {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.ai-badge {
    background: #8A2BE2;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.7rem;
}

/* WebApp Mockup */
.webapp-mockup {
    width: 100%;
    max-width: 280px;
    display: flex;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
}

.app-sidebar {
    width: 60px;
    background: #2d2d2d;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-item.active {
    background: var(--primary);
}

.app-content {
    flex: 1;
    padding: 15px;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 100%;
}

.widget {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    padding: 10px;
}

.chart-line {
    width: 100%;
    height: 30px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.chart-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: chartPulse 2s ease-in-out infinite;
}

@keyframes chartPulse {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile Mockup */
.mobile-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 140px;
    height: 250px;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 20px 10px;
    border: 3px solid #333;
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b0626, #1a0942);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-header {
    padding: 8px;
}

.status-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.mobile-content {
    flex: 1;
    padding: 10px;
}

.screen-elements {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.screen-elements > div {
    background: rgba(0, 255, 204, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 204, 0.3);
}

.element-1 { height: 40%; }
.element-2 { height: 30%; }
.element-3 { height: 30%; }

.mobile-navbar {
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.nav-dot.active {
    background: var(--primary);
}

/* AI Mockup */
.ai-mockup {
    width: 100%;
    max-width: 280px;
}

.neural-network {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    height: 100px;
    align-items: center;
}

.neural-layer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.neuron {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    animation: neuronPulse 2s ease-in-out infinite;
}

.hidden-layer .neuron:nth-child(even) {
    animation-delay: 0.5s;
}

.output-layer .neuron {
    animation-delay: 1s;
}

@keyframes neuronPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.8);
    }
}

.ai-output {
    text-align: center;
}

.prediction-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.prediction-fill {
    height: 100%;
    width: 97%;
    background: linear-gradient(90deg, var(--primary), #00ff88);
    border-radius: 4px;
    animation: predictionLoad 3s ease-in-out infinite;
}

@keyframes predictionLoad {
    0% { width: 0%; }
    100% { width: 97%; }
}

.confidence {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* Automation Mockup */
.automation-mockup {
    width: 100%;
    max-width: 280px;
}

.workflow-chain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.workflow-step {
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 255, 204, 0.2);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 1.2rem;
    animation: stepPulse 3s ease-in-out infinite;
}

.workflow-step.process .step-icon {
    animation-delay: 1s;
}

.workflow-step.action .step-icon {
    animation-delay: 2s;
}

@keyframes stepPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    }
    33% { 
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.6);
    }
}

.workflow-step span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.workflow-arrow {
    width: 20px;
    height: 2px;
    background: var(--primary);
    position: relative;
    margin: 0 5px;
}

.workflow-arrow::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.efficiency-meter {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 10px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    text-align: center;
}

.meter-fill {
    height: 6px;
    background: linear-gradient(90deg, #FF4500, #FF6347);
    border-radius: 3px;
    width: 84%;
    margin-bottom: 5px;
    animation: meterFill 2s ease-in-out infinite;
}

@keyframes meterFill {
    0% { width: 0%; }
    100% { width: 84%; }
}

/* Service Features */
.service-features {
    padding: 0 30px 20px;
}

.feature-highlight {
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    padding: 10px 15px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 8px;
}


.price-from {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Tech Stack */
.tech-stack {
    margin-top: 60px;
    text-align: center;
}

.tech-stack h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
}

.tech-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 80px;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 204, 0.5);
    box-shadow: 0 10px 25px rgba(0, 255, 204, 0.2);
}

.tech-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 0.8rem;
}

.tech-item span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .shock-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .dev-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-icons {
        gap: 15px;
    }
    
    .dev-service-card {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .shock-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .card-header, .service-features {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.cta-box {
  display: flex;
  background: rgba(10, 10, 30, 0.7);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 204, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin: 4rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-content {
  padding: 3rem;
  flex: 2;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.3;
}

.cta-accent {
  color: var(--primary);
  position: relative;
}

.cta-accent::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.cta-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

.cta-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  background: var(--primary);
  color: rgba(0, 0, 20, 0.9);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.6);
}

.cta-guarantee {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
}

.cta-guarantee::before {
  content: "✓";
  display: inline-block;
  margin-right: 5px;
  color: var(--primary);
}

.cta-visual {
  flex: 1;
  background: linear-gradient(135deg, rgba(0, 255, 204, 0.1) 0%, rgba(0, 119, 255, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.cta-icon-container {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon {
  font-size: 3rem;
  color: var(--primary);
  z-index: 1;
}

.cta-icon-glow {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.2;
  filter: blur(20px);
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.2;
  }
  to {
    transform: scale(1.5);
    opacity: 0.4;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
  }
  
  .cta-content {
    padding: 2rem;
  }
  
  .cta-visual {
    min-height: 150px;
  }
  
  .cta-title {
    font-size: 1.7rem;
  }
}


/* Variables */
:root {
  --mp-primary: var(--primary, #00ffcc);
  --mp-dark: var(--dark-bg, #030014);
  --mp-text: #ffffff;
  --mp-text-light: rgba(255, 255, 255, 0.7);
  --mp-glass: rgba(10, 10, 25, 0.7);
  --mp-border: rgba(0, 255, 204, 0.2);
  --mp-glow: 0 0 20px rgba(0, 255, 204, 0.5);
  --mp-radius: 16px;
  --mp-spacing: clamp(2rem, 5vw, 4rem);
}

/* Base de la section */
.mp-section {
  position: relative;
  padding: var(--mp-spacing) 0;
  background-color: var(--mp-dark);
  color: var(--mp-text);
  overflow: hidden;
}

.mp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* En-tête */
.mp-header {
  text-align: center;
  margin-bottom: var(--mp-spacing);
}

.mp-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.mp-title-accent {
  font-weight: 700;
  color: var(--mp-primary);
}

.mp-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--mp-text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Conteneur de la timeline */
.mp-timeline-container {
  position: relative;
  width: 100%;
  height: 500px; /* Hauteur pendant l'épinglage */
  overflow-x: hidden;
}

/* Piste de la timeline */
.mp-timeline-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
}

.mp-timeline-progress {
  width: 0%; /* Animé par GSAP */
  height: 100%;
  background-color: var(--mp-primary);
  box-shadow: var(--mp-glow);
}

/* Conteneur des étapes (défile horizontalement) */
.mp-timeline-steps {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5vw;
  padding: 0 10vw; /* Espace au début et à la fin */
  will-change: transform; /* Optimisation pour GSAP */
}

/* Chaque étape */
.mp-step {
  width: clamp(300px, 30vw, 400px);
  flex-shrink: 0;
  position: relative;
}

.mp-step-content {
  padding: 2rem;
  background: var(--mp-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  transition: all 0.4s ease;
  text-align: center;
}

.mp-step:hover .mp-step-content {
  transform: translateY(-10px);
  border-color: var(--mp-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mp-step-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  transition: color 0.4s ease;
}

.mp-step:hover .mp-step-number {
  color: rgba(0, 255, 204, 0.1);
}

.mp-step-icon {
  font-size: 2.5rem;
  color: var(--mp-primary);
  margin-bottom: 1.5rem;
}

.mp-step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.mp-step-desc {
  color: var(--mp-text-light);
  line-height: 1.6;
}

/* CTA après la timeline */
.mp-cta {
  text-align: center;
  padding-top: var(--mp-spacing);
}

.mp-cta-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.mp-cta-btn {
  background: var(--mp-primary);
  color: var(--mp-dark);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.mp-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* La timeline devient verticale sur mobile */
  .mp-timeline-container {
    height: auto; /* La hauteur n'est plus fixe */
    overflow-x: visible;
  }
  
  .mp-timeline-track {
    top: 0;
    left: 1.5rem;
    width: 2px;
    height: 100%;
    transform: none;
  }
  
  .mp-timeline-progress {
    width: 100%;
    height: 0%; /* Animé par GSAP */
  }
  
  .mp-timeline-steps {
    position: relative;
    flex-direction: column;
    padding: 0;
    gap: 2rem;
    align-items: stretch;
  }
  
  .mp-step {
    width: 100%;
    padding-left: 3rem; /* Espace pour la ligne verticale */
  }
}


/* Variables optimisées avec vos couleurs principales */
:root {
  --mms-primary: var(--primary, #00ffcc);
  --mms-secondary: var(--secondary, #ff6b6b);
  --mms-accent: var(--accent, #0099ff);
  --mms-dark: var(--dark-bg, #030014);
  --mms-light: #f8fafc;
  --mms-gray: #64748b;
  --mms-border: rgba(0, 255, 204, 0.2);
  --mms-shadow: 0 10px 25px rgba(0, 255, 204, 0.1);
  --mms-glow: 0 0 20px rgba(0, 255, 204, 0.3);
  --mms-radius: 16px;
  --mms-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base de la section */
.mms-slider-section {
  background: linear-gradient(135deg, var(--mms-dark) 0%, #0a0a2e 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;border-radius: 40px;
}

/* Effet de particules en arrière-plan AMÉLIORÉ */
.mms-slider-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(4px 4px at 40px 60px, rgba(0, 255, 204, 0.4), transparent),
    radial-gradient(4px 4px at 80px 140px, rgba(255, 107, 107, 0.3), transparent),
    radial-gradient(3px 3px at 180px 80px, rgba(0, 153, 255, 0.4), transparent),
    radial-gradient(5px 5px at 300px 200px, rgba(0, 255, 204, 0.2), transparent),
    radial-gradient(2px 2px at 450px 150px, rgba(255, 107, 107, 0.4), transparent),
    radial-gradient(3px 3px at 600px 300px, rgba(0, 153, 255, 0.3), transparent);
  background-repeat: repeat;
  background-size: 400px 400px;
  animation: rotate-background 60s linear infinite;
  z-index: 1;
  opacity: 0.7;
}

/* Animation du background plus grande et plus lente */
@keyframes rotate-background {
  0% { 
    transform: rotate(0deg) scale(1);
    opacity: 0.5;
  }
  25% { 
    transform: rotate(90deg) scale(1.1);
    opacity: 0.7;
  }
  50% { 
    transform: rotate(180deg) scale(1);
    opacity: 0.6;
  }
  75% { 
    transform: rotate(270deg) scale(1.1);
    opacity: 0.8;
  }
  100% { 
    transform: rotate(360deg) scale(1);
    opacity: 0.5;
  }
}

/* Effet secondaire pour plus de profondeur */
.mms-slider-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at top left, rgba(0, 255, 204, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(255, 107, 107, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at center, rgba(0, 153, 255, 0.05) 0%, transparent 50%);
  animation: pulse-overlay 15s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse-overlay {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.mms-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* En-tête optimisé */
.mms-header {
  text-align: center;
  margin-bottom: 4rem;
}

.mms-main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--mms-primary);
  margin-bottom: 1rem;
  text-shadow: var(--mms-glow);
  position: relative;
}

.mms-main-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--mms-primary), transparent);
  animation: pulse-line 3s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { 
    opacity: 0.5;
    width: 80px;
  }
  50% { 
    opacity: 1;
    width: 120px;
  }
}

.mms-main-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Wrapper du slider optimisé */
.mms-slider-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--mms-border);
  border-radius: var(--mms-radius);
  box-shadow: var(--mms-shadow);
  overflow: hidden;
}

/* Navigation avec dots améliorée */
.mms-navigation {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--mms-border);
}

.mms-dots {
  display: flex;
  gap: 1rem;
}

.mms-dot {
  background: transparent;
  border: 2px solid rgba(0, 255, 204, 0.3);
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--mms-transition);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.mms-dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.2), transparent);
  transition: left 0.5s ease;
}

.mms-dot:hover::before,
.mms-dot.active::before {
  left: 100%;
}

.mms-dot.active,
.mms-dot:hover {
  border-color: var(--mms-primary);
  color: var(--mms-primary);
  background: rgba(0, 255, 204, 0.1);
  box-shadow: var(--mms-glow);
  transform: translateY(-2px);
}

.mms-progress-bar {
  width: 200px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.mms-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mms-primary), var(--mms-accent));
  width: 25%;
  transition: var(--mms-transition);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--mms-primary);
}

/* Container des slides */
.mms-slides-container {
  position: relative;
  min-height: 600px !important;
  
}

/* Slides individuels */
.mms-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: var(--mms-transition);
}

.mms-slide.active {
  opacity: 1;
  visibility: visible;
}

.mms-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--mms-dark) 0%, #0a0a2e 100%);
}




@keyframes rotate-gradient {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Contenu des slides optimisé */
.mms-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 1rem;
  align-items: center;justify-content: center;
}

.mms-content-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mms-service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--mms-primary), var(--mms-accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--mms-glow);
  position: relative;
  overflow: hidden;
}

.mms-service-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.mms-service-icon i {
  font-size: 2rem;
  color: white;
  z-index: 1;
}

.mms-service-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);text-align: center;
}

.mms-service-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0;
}

.mms-service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.mms-service-features li {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  position: relative;
  padding-left: 1.5rem;
  transition: var(--mms-transition);
}

.mms-service-features li:hover {
  color: var(--mms-primary);
  transform: translateX(5px);
}

.mms-service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--mms-primary);
  font-weight: bold;
}

.mms-cta-button {
  background: linear-gradient(135deg, var(--mms-primary), var(--mms-accent));
  color: var(--mms-dark);
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--mms-transition);
  box-shadow: var(--mms-glow);
  align-self: center;
  position: relative;
  overflow: hidden;
}

.mms-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.mms-cta-button:hover::before {
  left: 100%;
}

.mms-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 255, 204, 0.4);
}

/* Carte des statistiques optimisée */
.mms-stats-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: var(--mms-radius);
  padding: 2rem;
  box-shadow: var(--mms-shadow);
  border: 1px solid var(--mms-border);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mms-stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid rgba(0, 255, 204, 0.2);
  transition: var(--mms-transition);
}

.mms-stat-item:hover {
  background: rgba(0, 255, 204, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--mms-glow);
}

.mms-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--mms-primary);
  margin-bottom: 0.5rem;
  text-shadow: var(--mms-glow);
}

.mms-stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Flèches de navigation optimisées */
.mms-arrows {
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 -1rem;
  pointer-events: none;
  z-index: 10;
}

.mms-arrow {
  background: rgba(0, 255, 204, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid var(--mms-primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mms-glow);
  transition: var(--mms-transition);
  pointer-events: auto;
  color: var(--mms-dark);
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
}

/* Suppression des icônes FontAwesome et ajout de flèches CSS */
.mms-arrow i {
  display: none;
}

/* Flèche précédente (gauche) */
.mms-prev::before {
  content: '‹';
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

/* Flèche suivante (droite) */
.mms-next::before {
  content: '›';
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

.mms-prev {
  transform: translateX(-30px);
}

.mms-next {
  transform: translateX(30px);
}

.mms-arrow:hover {
  background: var(--mms-primary);
  color: var(--mms-dark);
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--mms-primary);
}

.mms-prev:hover {
  transform: scale(1.1) translateX(-35px);
}

.mms-next:hover {
  transform: scale(1.1) translateX(35px);
}

/* Animations supplémentaires */
@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-left {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* État de chargement */
.mms-slide.loading {
  animation: slide-in-right 0.6s ease-out;
}

.mms-slide.loading.prev {
  animation: slide-in-left 0.6s ease-out;
}

/* Responsive optimisé */
@media (max-width: 1024px) {
  .mms-arrows {
    padding: 0 1rem;
  }
  
  .mms-prev {
    transform: translateX(-15px);
  }
  
  .mms-next {
    transform: translateX(15px);
  }
}

@media (max-width: 768px) {
  .mms-slide-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .mms-navigation {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .mms-dots {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .mms-dot {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .mms-progress-bar {
    width: 100%;
    margin-top: 1rem;
  }
  
  .mms-service-features {
    grid-template-columns: 1fr;
  }
  
  .mms-slides-container {
    height: auto;
    min-height: 600px;overflow-x: hidden;
  }
  
  /* Navigation mobile optimisée */
  .mms-arrows {
    position: fixed;
    top: auto;
    bottom: 2rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 140px;
    justify-content: space-between;
    padding: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 35px;
    padding: 5px;
  }
  
  .mms-arrow {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .mms-prev::before {
    font-size: 1.5rem;
  }
  
  .mms-next::before {
    font-size: 1.5rem;
  }
  
  .mms-prev,
  .mms-next {
    transform: none;
  }
  
  .mms-arrow:hover {
    transform: scale(1.05);
  }
  
  .mms-service-title {
    font-size: 2rem;
  }
  
  .mms-main-title {
    font-size: 2rem;
  }

  .mms-stats-card {
    padding: 5rem 1rem;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .mms-container {
    padding: 0 1rem;
  }
  
  .mms-slide-content {
    padding: 1.5rem;
  }
  
  .mms-service-icon {
    width: 60px;
    height: 60px;
  }
  
  .mms-service-icon i {
    font-size: 1.5rem;
  }
  
  .mms-service-title {
    font-size: 1.8rem;
  }
  
  .mms-dots {
    gap: 0.3rem;
  }
  
  .mms-dot {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;width: 45%;
  }
  
  .mms-arrows {
    bottom: 1rem;
    width: 120px;
  }
  
  .mms-arrow {
    width: 45px;
    height: 45px;
  }
  
  .mms-prev::before,
  .mms-next::before {
    font-size: 1.3rem;
  }
}





/* Styles corrigés pour la section modélisation 3D */
.mod3d-section {
    position: relative;
    height: auto;
    width: 90%;
    max-width: 1500px;
    margin: 0 auto 50px;
    overflow: hidden;
    
}

.mod3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mod3d-container {
    display: flex;
    height: 100%;
    width: 500%; /* 5 panels × 100% */
    will-change: transform;
}

/* Panels individuels */
.mod3d-panel {
    width: 20%; /* 100% / 5 panels */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Désactiver l'animation du bouton dans le dernier panel */
.mod3d-panel:last-child .cta-main-btn {
    animation: none;
}

.panel-content {
    width: 80%;
    max-width: 500px;
    background: var(--glass-bg, rgba(10, 10, 25, 0.7));
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-radius: 15px;
    padding: 25px;
    color: var(--text-light, #ffffff);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 80%;
    position: relative;
    overflow: visible; /* Changé de hidden à visible */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.panel-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary, linear-gradient(to right, #00ffcc, #0077ff));
}

.mod3d-panel h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary, linear-gradient(to right, #00ffcc, #0077ff));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mod3d-panel h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--primary, #00ffcc);
    margin-bottom: 15px;
}

.panel-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 20px;
    max-width: 400px;
    line-height: 1.6;
}

.panel-icon {
    color: var(--primary, #00ffcc);
    margin-top: auto;
    animation: float 3s ease-in-out infinite;
}

/* Badge styles */
.panel-badge, .cta-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary, linear-gradient(to right, #00ffcc, #0077ff));
    color: var(--dark-bg, #1a1a2e);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 255, 204, 0.3);
    z-index: 2;
}

/* Tech badges */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 15px 0 20px 0;
}

.tech-badges span {
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.2);
    color: var(--primary, #00ffcc);
    border-radius: 15px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
}


.separator .line {
    height: 1px;
    flex-grow: 1;
    background: rgba(0, 255, 204, 0.3);
}

.separator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary, #00ffcc);
    margin: 0 10px;
    box-shadow: 0 0 10px var(--primary, #00ffcc);
}

/* Panel services */
.services-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding-right: 5px;
    margin-top: 10px;
}

.services-list {
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0;
}

.services-container::-webkit-scrollbar {
    width: 4px;
}

.services-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.services-container::-webkit-scrollbar-thumb {
    background-color: var(--primary, #00ffcc);
    border-radius: 4px;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    background: rgba(0, 255, 204, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.services-list li:hover {
    transform: translateY(-3px);
    background: rgba(0, 255, 204, 0.1);
    border-left-color: var(--primary, #00ffcc);
}

.service-icon {
    flex: 0 0 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary, linear-gradient(to right, #00ffcc, #0077ff));
    border-radius: 8px;
    margin-right: 15px;
    color: var(--dark-bg, #1a1a2e);
}

.service-details {
    flex: 1;
}

.service-details h4 {
    color: var(--primary, #00ffcc);
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.service-details p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    opacity: 1;
    line-height: 1.5;
}

.service-tag {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.7rem;
    margin-right: 5px;
    color: var(--primary, #00ffcc);
}

/* Panel model viewer */
.model-container {
    width: 100%;
    height: 200px;
    margin: 0 auto 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

model-viewer {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: transparent;
    --poster-color: transparent;
}

.model-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.control-btn {
    background: var(--gradient-primary, linear-gradient(to right, #00ffcc, #0077ff));
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg, #1a1a2e);
    cursor: pointer;
    transition: all 0.3s;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}

/* Video panel */
.video-container {
    position: relative;
    width: 100%;
    height: 240px;
    margin: 0 auto 15px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.mod3d-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.play-btn {
    background: var(--primary, #00ffcc);
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg, #1a1a2e);
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
}

.video-info {
    margin-top: 10px;
    text-align: center;
}

/* CTA Panel */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item svg {
    color: var(--primary, #00ffcc);
    flex-shrink: 0;
}

.cta-buttons {
    margin-top: 20px;
}

.cta-main-btn {
    background: var(--gradient-primary, linear-gradient(to right, #00ffcc, #0077ff));
    color: var(--dark-bg, #1a1a2e);
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    animation: pulse 2s infinite;
}

.cta-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 204, 0.4);
}

/* Progress dots */
.mod3d-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 255, 204, 0.2);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.progress-dot.active {
    background-color: var(--primary, #00ffcc);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary, #00ffcc);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0); }
}

/* Responsive styles */
@media (max-width: 768px) {
    .mod3d-section {
        height: 450px;
    }
    
    .panel-content {
        width: 85%;
        padding: 20px 15px;
        height: 75%;
    }
    
    .service-icon {
        flex: 0 0 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    .model-container, .video-container {
        height: 180px;
    }
    
    .panel-badge, .cta-badge {
        top: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
    }
    
    .services-container {
        height: 100%;
    }
}

@media (max-width: 480px) {
    .mod3d-section {
        height: 600px;
        width: 95%;
    }
    
    .panel-content {
        padding: 15px 10px;
        width: 90%;
        height: 90%;
    }
    
    .mod3d-panel h2 {
        font-size: 1.5rem;
    }
    
    .mod3d-panel h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .model-container, .video-container {
        height: 500px;
    }
    
    .progress-dot {
        width: 8px;
        height: 8px;
    }
    
    .service-details h4 {
        font-size: 1.2rem;
    }
    
    .service-details p {
        font-size: 1rem;
    }
    
    .model-controls {
        gap: 8px;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
    }
    
    .tech-badges {
        gap: 6px;
        margin: 10px 0 15px 0;
    }
    
    .tech-badges span {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
}


/* Section Nos Bureaux */
.bureaux-section {
    padding: 80px 0;
   
}

.bureaux-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.bureau-card {
    width: 100%;
    max-width: 500px;
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 204, 0.15);
    transition: all 0.3s ease;
}

.bureau-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.2);
}

.bureau-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.bureau-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.bureau-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.bureau-card:hover .bureau-image img {
    transform: scale(1.1);
}

.bureau-info {
    padding: 30px;
    position: relative;
}

.bureau-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.bureau-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.bureau-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-light);
}

.detail-item svg {
    color: var(--primary);
    margin-right: 15px;
    
}

.bureau-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bureau-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
}



.map-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.world-globe-container {
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 40px;
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    
}

#interactive-globe {
    width: 100%;
    height: 100%;
    position: relative;display: flex;justify-content: center;align-items: center;
}

#interactive-globe canvas {
    border-radius: 50px;
}

/* Responsive design */
@media (max-width: 992px) {
    .bureaux-container {
        gap: 30px;
    }
    
    .bureau-card {
        max-width: 450px;
    }
    
    .bureau-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .bureaux-section {
        padding: 60px 0;
    }
    
    .bureaux-container {
        gap: 40px;
    }
    
    .bureau-card {
        max-width: 100%;
    }
    
    .bureau-info h3 {
        font-size: 1.6rem;
    }
    
    .map-container {
        height: 200px;
    }

   
}

@media (max-width: 480px) {
    .bureau-image {
        height: 180px;
    }
    
    .bureau-info {
        padding: 20px;
    }
    
    .bureau-info h3 {
        font-size: 1.4rem;
    }
    
    .detail-item {
        font-size: 0.9rem;
    }
    
    .bureau-btn {
        width: 100%;
        text-align: center;
    }
    
    .map-container {
        height: 150px;
    }
}




/* Styles pour les conteneurs de model-viewer */
.resto-model-container,
.ecom-model-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    height: 280px;
}

/* Styles communs pour tous les model-viewers */
.resto-model-1,
.resto-model-2,
.ecom-model-1,
.ecom-model-2 {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.1);
    transition: var(--transition-normal);
}

/* Effets de survol */
.resto-model-1:hover,
.resto-model-2:hover,
.ecom-model-1:hover,
.ecom-model-2:hover {
    box-shadow: 0 6px 25px rgba(0, 255, 204, 0.3);
    transform: translateY(-2px);
}

/* Styles spécifiques pour chaque type */

/* Responsive */
@media (max-width: 768px) {
    .resto-model-container,
    .ecom-model-container {
        flex-direction: column;
        height: auto;
    }

    .resto-model-1,
    .resto-model-2,
    .ecom-model-1,
    .ecom-model-2 {
        width: 100%;
        height: 150px;
    }
}


 /* ===== BOUTON RETOUR EN HAUT ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: rgba(0, 255, 204, 0.1);
    border: 2px solid var(--primary, #00ffcc);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top svg {
    color: var(--primary, #00ffcc);
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    background: rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}

.back-to-top:hover svg {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ===== SECTION DEVIS ===== */
.devis-section {
    background: linear-gradient(to bottom, rgba(3,0,20,0.8), rgba(3,0,20,0.95));
    padding: 120px 0;
    position: relative;
}

.devis-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 50px;
}

/* Formulaire */
.devis-form {
    background: rgba(6,0,40,0.5);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0,255,204,0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.form-progress {
    margin-bottom: 40px;
}

.progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    width: 33.33%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary);
    color: var(--dark-bg);
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,204,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 15px rgba(0,255,204,0.2);
}

/* Service Selection */
.service-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-option {
    position: relative;
}

.service-option input[type="radio"] {
    display: none;
}

.service-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,204,0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-option input[type="radio"]:checked + label {
    background: rgba(0,255,204,0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0,255,204,0.2);
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: var(--primary);
}

/* File Upload */
.file-upload {
    position: relative;
    padding: 20px;
    border: 2px dashed rgba(0,255,204,0.3);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary);
}

.file-upload input[type="file"] {
    display: none;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.file-label svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: var(--primary);
}

.file-list {
    margin-top: 15px;
    text-align: left;
}

/* Checkbox personnalisé */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,255,204,0.3);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Navigation formulaire */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Sidebar */
.devis-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card,
.contact-card {
    background: rgba(6,0,40,0.5);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0,255,204,0.1);
    backdrop-filter: blur(10px);
}

.benefits-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(0,255,204,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.benefit-content h4 {
    margin: 0 0 5px 0;
    color: #fff;
}

.benefit-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-card {
    text-align: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,255,204,0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .devis-container {
        grid-template-columns: 1fr;
    }
    
    .devis-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .service-selection {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 480px) {
    .devis-form {
        padding: 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-navigation button {
        width: 100%;
    }
}


/* ===== FAQ SECTION ===== */
.faq-section {
    background: linear-gradient(to bottom, rgba(3,0,20,0.8), rgba(3,0,20,0.95));
    padding: 120px 0;
    position: relative;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Catégories */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 25px;
    border: 1px solid rgba(0,255,204,0.3);
    background: rgba(0,255,204,0.05);
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,255,204,0.3);
}

/* Grid Questions */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Question Item */
.faq-item {
    background: rgba(6,0,40,0.5);
    border: 1px solid rgba(0,255,204,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0,255,204,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.faq-question {
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    position: relative;
}

.question-icon {
    background: rgba(0,255,204,0.1);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    padding-right: 40px;
    flex-grow: 1;
    line-height: 1.4;
}

.toggle-btn {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.toggle-btn .line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.toggle-btn .line:first-child {
    transform: rotate(90deg);
}

.faq-item.active .toggle-btn .line:first-child {
    transform: rotate(0);
}

/* Réponse */
.faq-answer {
    padding: 0 25px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    height: auto;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-light);
    margin: 0 0 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-answer ul,
.faq-answer ol {
    margin: 0;
    padding-left: 20px;
}

.faq-answer li {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Contact Card */
.faq-contact {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.faq-contact .contact-card {
    background: rgba(6,0,40,0.5);
    border: 1px solid rgba(0,255,204,0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.faq-contact h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.faq-contact p {
    color: var(--text-light);
    margin: 0 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 80px 0;
    }

    .faq-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        white-space: nowrap;
        padding: 10px 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 60px 0;
    }

    .question-icon {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer p,
    .faq-answer li {
        font-size: 0.9rem;
    }
}



/* Styles pour l'animation des headers */
.section-header h2 {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 0% 100%;
    transition: color 0.3s ease;
    will-change: transform, opacity, background-size;
}

.section-header .separator {
    will-change: transform, opacity;
}

.section-header .section-subtitle {
    will-change: transform, opacity;
}

/* Effet de clignotement pour le curseur de typing */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.section-header h2::after {
    content: '|';
    animation: blink 1s infinite;
    opacity: 0;
}

/* Optimisation des performances */
.section-header {
    backface-visibility: hidden;
    transform: translateZ(0);
    perspective: 1000px;
}


/* Section Contact */
.contact-section {
    
    padding: 0 0 100px;
    background: linear-gradient(to bottom, rgba(3,0,20,0.8), rgba(3,0,20,0.95));
    overflow: hidden;
}

/* Bannière défilante */
.scroll-banner {
    width: 100%;
    background: var(--primary);
    color: var(--dark-bg);
    overflow: hidden;
    padding: 20px 0;
    margin-bottom: 80px;
}

.banner-wrapper {
    position: relative;
    white-space: nowrap;
}

.banner-text {
    display: inline-block;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 2px;
    padding-right: 50px;
}

/* Layout Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: rgba(6,0,40,0.5);
    border-radius: 20px;
    border: 1px solid rgba(0,255,204,0.1);
    backdrop-filter: blur(10px);
}

.contact-info h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-lead {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Méthodes de contact */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(0,255,204,0.1);
    transform: translateX(10px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(0,255,204,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.method-value {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Réseaux sociaux */
.social-links {
    margin-top: 40px;
}

.social-links h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.social-item {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-item:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-5px);
}

/* Carte */
.contact-map {
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,255,204,0.1);
}

.map-container {
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        padding: 30px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}