/* ===================================
   CHRYSALIDE - VIDE MAISON STYLES
   =================================== */

/* ===================================
   1. PROCESS SECTION (PROCESSUS EN 5 ÉTAPES)
   =================================== */

.vide-maison-process {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.vide-maison-process .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.vide-maison-process h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 400;
}

.vide-maison-process .process-subtitle {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 80px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.vide-maison-process .process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Ligne de connexion centrale */
.vide-maison-process .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #2C3E50 0%, #34495e 100%);
    transform: translateX(-50%);
    opacity: 0.3;
}

.vide-maison-process .process-step {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.vide-maison-process .process-step:nth-child(1) { animation-delay: 0.1s; }
.vide-maison-process .process-step:nth-child(2) { animation-delay: 0.2s; }
.vide-maison-process .process-step:nth-child(3) { animation-delay: 0.3s; }
.vide-maison-process .process-step:nth-child(4) { animation-delay: 0.4s; }
.vide-maison-process .process-step:nth-child(5) { animation-delay: 0.5s; }

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

/* Alternance gauche/droite */
.vide-maison-process .process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.vide-maison-process .step-content {
    flex: 1;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin: 0 40px;
    position: relative;
    transition: all 0.3s ease;
}

.vide-maison-process .step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

/* Flèche pointant vers le numéro */
.vide-maison-process .process-step:nth-child(odd) .step-content::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.vide-maison-process .process-step:nth-child(even) .step-content::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 20px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.vide-maison-process .step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2C3E50 0%, #34495e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 2em;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.3);
    border: 2px solid #2C3E50;
    transition: all 0.3s ease;
}

.vide-maison-process .step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.4);
    border-color: #34495e;
}

/* Cercle de fond animé */
.vide-maison-process .step-number::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(44, 62, 80, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

.vide-maison-process .step-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 600;
}

.vide-maison-process .step-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1em;
}

/* Icônes décoratives */
.vide-maison-process .step-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.1) 0%, rgba(52, 73, 94, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}

/* ===================================
   2. SERVICES SECTION
   =================================== */

.vide-maison-services {
    background: #fff;
    padding: 60px 0;
}

.vide-maison-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vide-maison-services h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 50px;
    color: #2c3e50;
}

.vide-maison-services .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.vide-maison-services .service-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.vide-maison-services .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vide-maison-services .service-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 500;
}

.vide-maison-services .service-item p {
    color: #666;
    line-height: 1.6;
}

/* ===================================
   3. TESTIMONIALS SECTION
   =================================== */

.vide-maison-testimonials {
    background: #F8F9FA;
    padding: 80px 0;
}

.vide-maison-testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vide-maison-testimonials h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #2c3e50;
}

.vide-maison-testimonials .testimonials-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

.vide-maison-testimonials .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.vide-maison-testimonials .testimonial-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.vide-maison-testimonials .testimonial-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.vide-maison-testimonials .testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.vide-maison-testimonials .testimonial-author {
    font-weight: bold;
    color: #2c3e50;
}

/* ===================================
   4. RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    /* Process Section Mobile */
    .vide-maison-process h2 {
        font-size: 2.2em;
    }
    
    .vide-maison-process .timeline-line {
        display: none;
    }
    
    .vide-maison-process .process-step,
    .vide-maison-process .process-step:nth-child(even) {
        flex-direction: column;
        text-align: center;
        margin-bottom: 60px;
    }
    
    .vide-maison-process .step-content {
        margin: 20px 0 0 0;
        padding: 30px 25px;
    }
    
    .vide-maison-process .step-content::after {
        display: none;
    }
    
    .vide-maison-process .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8em;
    }
    
    .vide-maison-process .step-icon {
        display: none;
    }

    /* Services Section Mobile */
    .vide-maison-services .services-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vide-maison-services h2 {
        font-size: 24px;
    }

    /* Testimonials Section Mobile */
    .vide-maison-testimonials .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .vide-maison-testimonials h2 {
        font-size: 24px;
    }

    .vide-maison-testimonials .testimonials-subtitle {
        font-size: 1em;
        padding: 0 20px;
    }
}