/**
 * ==================================================================================
 * STYLES PAGES SERVICES INDIVIDUELLES - VERSION OPTIMISÉE
 * ==================================================================================
 * 
 * Design moderne et professionnel pour les pages de services individuelles
 * Les composants globaux (FAQ, CTA, animations) sont dans styles.css
 * 
 * SECTIONS :
 * 1. Section Introduction
 * 2. Avantages du Service
 * 3. Processus Timeline (Comment ça marche)
 * 4. Contexte Nantes
 * 5. Sidebar
 * 6. Responsive
 * 
 * Date : Janvier 2025 - Version 3.0 Optimisée
 * ==================================================================================
 */

/* ==================================================================================
   1. SECTION INTRODUCTION
   ================================================================================== */

.section-service-intro {
    padding: 80px 20px;
    background: white;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .service-intro-grid {
        grid-template-columns: 2fr 1fr;
        gap: 60px;
    }
}

/* Contenu Principal */
.service-main-content {
    background: white;
}

.service-intro-header {
    margin-bottom: 40px;
}

.service-intro-header h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-description {
    font-size: 17px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ==================================================================================
   2. AVANTAGES DU SERVICE
   ================================================================================== */

.service-advantages-section {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
}

.advantages-header {
    text-align: center;
    margin-bottom: 35px;
}

.advantages-header h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.advantages-header p {
    font-size: 16px;
    color: #6c757d;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.advantage-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 24px;
    color: white;
}

.advantage-content p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* ==================================================================================
   3. PROCESSUS TIMELINE (COMMENT ÇA MARCHE)
   ================================================================================== */

.service-process-section {
    margin-top: 60px;
}

.process-header {
    text-align: center;
    margin-bottom: 50px;
}

.process-header h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.process-header p {
    font-size: 16px;
    color: #6c757d;
}

.process-timeline {
    position: relative;
    padding-left: 60px;
}

/* Ligne verticale */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.process-step-card {
    position: relative;
    margin-bottom: 40px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    transform: translateX(10px);
}

.process-step-card::before {
    content: '';
    position: absolute;
    left: -58px;
    top: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.step-number {
    position: absolute;
    left: -46px;
    top: 38px;
    font-size: 24px;
    font-weight: 900;
    color: white;
    z-index: 1;
}

.process-step-card h4 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.process-step-card p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

/* ==================================================================================
   4. CONTEXTE NANTES
   ================================================================================== */

.nantes-context-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 20px;
    border-left: 5px solid #ff9800;
}

.nantes-context-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.nantes-context-header i {
    font-size: 32px;
    color: #ff9800;
}

.nantes-context-header h3 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0;
}

.nantes-context-intro {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
}

.nantes-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .nantes-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nantes-feature-block h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.nantes-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nantes-feature-list li {
    padding: 10px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
}

.nantes-feature-list li i {
    color: #ff9800;
    font-size: 18px;
    margin-top: 2px;
}

.nantes-conclusion {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    font-size: 15px;
    color: #2c3e50;
    line-height: 1.7;
}

.nantes-conclusion strong {
    color: #ff9800;
}

/* ==================================================================================
   5. SIDEBAR
   ================================================================================== */

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Sticky sidebar sur desktop */
@media (min-width: 992px) {
    .service-sidebar {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

/* CTA Card */
.sidebar-cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 35px 30px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.sidebar-cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.sidebar-cta-icon i {
    font-size: 32px;
    color: white;
}

.sidebar-cta-card h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 12px;
}

.sidebar-cta-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-sidebar-cta {
    display: inline-block;
    padding: 14px 30px;
    background: white;
    color: #667eea;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-sidebar-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #764ba2;
}

/* Services Connexes */
.related-services-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 30px;
}

.related-services-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.related-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-services-list li {
    position: relative;
}

.related-services-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-services-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #667eea;
}

.related-services-list a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.related-services-list a:hover::before {
    color: white;
}

/* ==================================================================================
   6. RESPONSIVE
   ================================================================================== */

@media (max-width: 992px) {
    .service-intro-grid {
        grid-template-columns: 1fr;
    }
    
    /* Sidebar apparaît APRÈS le contenu sur mobile/tablette */
    .service-sidebar {
        order: 2;
    }
    
    .service-main-content {
        order: 1;
    }
    
    .process-timeline {
        padding-left: 0;
        padding-top: 0;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step-card::before,
    .step-number {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-service-intro {
        padding: 60px 15px;
    }
    
    .service-advantages-section,
    .nantes-context-section {
        padding: 30px 25px;
    }
    
    .advantages-grid,
    .nantes-features-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        flex-direction: column;
        text-align: center;
    }
    
    .sidebar-cta-card {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .service-intro-header h2 {
        font-size: 24px;
    }
    
    .advantages-header h3,
    .process-header h3 {
        font-size: 22px;
    }
    
    .process-step-card h4 {
        font-size: 18px;
    }
}
