/* ===========================
   SERVICES.CSS - Pages services clients et partenaires
   Accompagnement, Intégration, Formation, Support
   =========================== */

.services-page {
    padding: 0;
}

/* Hero Section - Utilise le style global .hero */
.services-page .hero .hero-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-top: 1.5rem;
}

.services-page .hero .hero-image img {
    max-width: 400px;
    height: auto;
}

/* Service Sections */
.service-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.service-section:last-of-type {
    border-bottom: none;
}

.service-section.service-highlight {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

.service-section.service-highlight > .service-header,
.service-section.service-highlight > .service-content {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Header */
.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #4a90d9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-icon.service-icon-accent {
    background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
    box-shadow: 0 10px 30px rgba(230, 79, 67, 0.2);
}

.service-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.service-tagline {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Service Content */
.service-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Service Cards Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card h4 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Methodology Timeline (6AS) */
.methodology-timeline {
    margin: 3rem 0;
}

.methodology-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 2rem;
    margin-left: 1.5rem;
    position: relative;
}

.methodology-step::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 1.5rem;
    width: 13px;
    height: 13px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #4a90d9);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.step-duration {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    background: #e8f4fc;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* Methodology Benefits */
.methodology-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 2rem;
    background: #f8fbff;
    border-radius: 16px;
}

.methodology-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.methodology-benefits .benefit-item i {
    color: var(--success-color);
}

/* Training Profiles */
.training-profiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.training-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.training-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.training-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.training-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.training-card h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.training-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.training-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
}

.training-card ul li:last-child {
    border-bottom: none;
}

.training-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 0.8rem;
}

/* Training Formats */
.training-formats {
    margin-top: 3rem;
    text-align: center;
}

.training-formats h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.format-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.format-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: #f8fbff;
    border-radius: 12px;
}

.format-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.format-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Support Badges (simplified) */
.support-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.support-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    background: white;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    min-width: 120px;
}

.support-badge-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.badge-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.badge-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
}

.badge-tag.badge-popular {
    background: var(--secondary-color);
}

.support-badge-essential {
    border-color: #bdbdbd;
}

.support-badge-plus {
    border-color: #64b5f6;
}

.support-badge-pro {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, #f0f7ff 0%, white 100%);
}

.support-badge-premium {
    border-color: var(--secondary-color);
}

.support-badge-premium-plus {
    border-color: #9c27b0;
    background: linear-gradient(180deg, #faf5ff 0%, white 100%);
}

.support-cta-text {
    text-align: center;
    margin-top: 1.5rem;
}

.support-cta-text .link-arrow {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.support-cta-text .link-arrow:hover {
    text-decoration: underline;
}

.support-cta-text .link-arrow i {
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.support-cta-text .link-arrow:hover i {
    transform: translateX(4px);
}

/* Support Levels (detailed cards - kept for partners page) */
.support-levels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.support-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.support-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.support-header h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
}

.support-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.support-badge.support-badge-popular {
    background: var(--secondary-color);
}

.support-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-features li {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-features li i {
    color: var(--success-color);
    font-size: 0.75rem;
}

.support-features li.support-detail {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e0e0e0;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Support Card Variants */
.support-essential {
    border-color: #e0e0e0;
}

.support-plus {
    border-color: #90caf9;
}

.support-pro {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.support-premium {
    border-color: var(--secondary-color);
}

.support-premium-plus {
    border-color: #9c27b0;
    background: linear-gradient(180deg, #faf5ff 0%, white 100%);
}

/* Partner Types */
.partner-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.partner-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.partner-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.partner-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.partner-card > p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.partner-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-card ul li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.partner-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 0.75rem;
}

/* Partner Benefits Grid */
.partner-benefits {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fbff;
    border-radius: 16px;
}

.partner-benefits h4 {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.benefits-grid .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefits-grid .benefit-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.benefits-grid .benefit-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Whitelabel Features */
.whitelabel-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.whitelabel-block {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.whitelabel-block h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.whitelabel-block h4 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.whitelabel-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whitelabel-block ul li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.whitelabel-block ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 0.75rem;
}

.whitelabel-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff8e1;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.whitelabel-cta p {
    margin: 0;
    text-align: left;
    font-size: 1rem;
}

/* Training Program (Formation 6AS) */
.training-program {
    margin: 2rem 0;
}

.program-module {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.program-module:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.module-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #4a90d9);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.module-content {
    flex: 1;
}

.module-content h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.module-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.module-duration {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Certification Badge */
.certification-badge {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
    border-radius: 16px;
    border: 2px solid var(--primary-color);
}

.badge-visual {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #4a90d9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-visual i {
    font-size: 3rem;
    color: white;
}

.badge-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.badge-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Assistance Features */
.assistance-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.assistance-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.assistance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.assistance-card > i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.assistance-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.assistance-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Assistance Levels */
.assistance-levels {
    margin-top: 3rem;
}

.assistance-levels h4 {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.level-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.level-card.level-popular {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.level-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.level-card h5 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.level-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section */
.services-page .cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 80px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.services-page .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.services-page .cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.services-page .cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-page .cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.services-page .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.services-page .cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.services-page .cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Partenaires CTA Variant */
.cta-partenaires {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .support-levels {
        grid-template-columns: repeat(3, 1fr);
    }

    .support-levels .support-card:nth-child(4),
    .support-levels .support-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 992px) {
    .service-grid,
    .training-profiles,
    .partner-types,
    .whitelabel-features,
    .benefits-grid,
    .levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-levels {
        grid-template-columns: repeat(2, 1fr);
    }

    .assistance-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-page .hero .hero-image img {
        max-width: 250px;
    }

    .service-section {
        padding: 60px 20px;
    }

    .service-header h2 {
        font-size: 2rem;
    }

    .service-grid,
    .training-profiles,
    .partner-types,
    .whitelabel-features,
    .benefits-grid,
    .levels-grid,
    .support-levels,
    .assistance-features {
        grid-template-columns: 1fr;
    }

    .format-grid {
        flex-direction: column;
        align-items: center;
    }

    .format-item {
        width: 100%;
        max-width: 250px;
    }

    .certification-badge {
        flex-direction: column;
        text-align: center;
    }

    .methodology-step {
        margin-left: 0;
        padding-left: 1.5rem;
    }

    .program-module {
        flex-direction: column;
        text-align: center;
    }

    .services-page .cta-content h2 {
        font-size: 1.75rem;
    }

    .services-page .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
