/* ===================================================
   SERVICES PAGE - CLEAN WHITE/BLUE DESIGN
   =================================================== */

   
/* Hero Section Styling */
#subheader h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    max-width: 900px;
}

#subheader .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    opacity: 0.9;
}

/* Main Section - White Background */
.services-main-section {
    background: #ffffff;
    padding: 80px 0;
}

/* Intro Text */
.services-main-title {
    font-size: 2.5rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.services-main-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

/* Sidebar Navigation */
/* Sidebar Navigation - Défile avec le contenu */
.services-sidebar {
    background: #f8fafc;
    border-radius: 16px;
    padding: 10px;
    position: relative;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: transparent;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.sidebar-link:last-child {
    margin-bottom: 0;
}

.sidebar-link:hover {
    background: #e0e7ff;
    color: #6366F1;
    transform: translateX(5px);
}

.sidebar-link.active {
    background: linear-gradient(135deg, #6366F1 0%, #818CF8 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.sidebar-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.sidebar-link.active i,
.sidebar-link:hover i {
    transform: translateX(5px);
}

/* Service Content Section */
.service-content-section {
    scroll-margin-top: 120px;
}

/* Service Image */
/* ===== VERSION EXTRA SMALL - IMAGES TRÈS COMPACTES ===== */

.service-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 380px; /* Encore plus petit */
    margin: 0 auto;
}

.service-image {
    width: 100%;
    height: auto;
    max-height: 280px; /* Hauteur réduite à 280px */
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Badge simplifié et plus compact */
.service-image-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(91, 124, 230, 0.3);
}

.service-image-badge p {
    color: #ffffff;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}
/* Service Header */
.service-header {
    padding-left: 20px;
}

.service-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #e0e7ff;
    color: #6366F1;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.service-header h2 {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-header p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-header .text-muted {
    color: #94a3b8 !important;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.3;
}

/* Process Section */
.process-section {
    background: transparent;
    padding: 50px 0;
    border-radius: 0;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-card {
    background: #4a81d3;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.35);
}

.process-card:hover::before {
    opacity: 1;
}

.process-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.process-icon-wrapper i {
    font-size: 2.5rem;
    color: #ffffff;
}

.process-card h4 {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
}

/* Analysis Cards */
/* Analysis Section */
.analysis-section {
    padding: 40px 0;
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #5b7ce6;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 700;
    margin-top: 10px;
}

/* Suppression du scroll container */
.analysis-scroll-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Grid Layout - 2 lignes */
.analysis-scroll-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Analysis Cards */
.analysis-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.analysis-card:hover {
    border-color: #5b7ce6;
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(91, 124, 230, 0.2);
}

.analysis-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(91, 124, 230, 0.3);
    transition: all 0.4s ease;
}

.analysis-card:hover .analysis-icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(91, 124, 230, 0.4);
}

.analysis-icon-box svg {
    color: white;
}

.analysis-card h5 {
    font-size: 1.15rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
}

.analysis-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Suppression des dots de navigation */
.scroll-dots {
    display: none;
}

/* Animation d'apparition progressive des cartes */
.analysis-card {
    opacity: 0;
    animation: slideInCard 0.6s ease forwards;
}

.analysis-card:nth-child(1) { animation-delay: 0.1s; }
.analysis-card:nth-child(2) { animation-delay: 0.2s; }
.analysis-card:nth-child(3) { animation-delay: 0.3s; }
.analysis-card:nth-child(4) { animation-delay: 0.4s; }
.analysis-card:nth-child(5) { animation-delay: 0.5s; }

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

/* Responsive */
@media (max-width: 992px) {
    .analysis-scroll-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .analysis-scroll-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .analysis-card {
        padding: 25px;
    }
    
    .analysis-icon-box {
        width: 70px;
        height: 70px;
    }
    
    .analysis-icon-box svg {
        width: 28px;
        height: 28px;
    }
}

/* Method Box */
.method-section {
    padding: 60px 0;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5b7ce6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.process-flow-zigzag {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 100px 20px;
    margin: 40px 0;
}

/* Ligne horizontale centrale animée */
.flow-line-horizontal {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, #5b7ce6 0%, #4c6fd9 50%, #5b7ce6 100%);
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0;
    animation: drawLineZigzag 2s ease forwards;
}

.flow-line-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
    animation: shimmer 2s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes drawLineZigzag {
    from {
        opacity: 0;
        transform: translateY(-50%) scaleX(0);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scaleX(1);
    }
}

@keyframes shimmer {
    0% {
        left: 0;
        width: 0;
    }
    50% {
        left: 0;
        width: 100%;
    }
    100% {
        left: 100%;
        width: 0;
    }
}

.flow-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    opacity: 0;
    margin-top: 26px;
}



/* Étapes du haut */
.flow-step.top {
    transform: translateY(-40px);
    animation: stepAppearTop 0.8s ease forwards;
}

.flow-step.top:nth-child(2) { animation-delay: 0.3s; }
.flow-step.top:nth-child(4) { animation-delay: 0.9s; }

@keyframes stepAppearTop {
    0% {
        opacity: 0;
        transform: translateY(-80px) scale(0.8);
    }
    60% {
        transform: translateY(-35px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(-40px) scale(1);
    }
}

/* Étapes du bas */
.flow-step.bottom {
    transform: translateY(40px);
    animation: stepAppearBottom 0.8s ease forwards;
}

.flow-step.bottom:nth-child(3) { animation-delay: 0.6s; }
.flow-step.bottom:nth-child(5) { animation-delay: 1.2s; }

@keyframes stepAppearBottom {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8);
    }
    60% {
        transform: translateY(35px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(40px) scale(1);
    }
}

.step-circle {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(91, 124, 230, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 20px;
}

.flow-step.bottom .step-circle {
    margin-bottom: 0;
    margin-top: 20px;
    order: 2;
}

.flow-step.bottom .step-title {
    order: 3;
    margin-top: 20px;
}

.flow-step.bottom .step-desc {
    order: 4;
}

.step-circle::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b7ce6, #7c93ed);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.flow-step:hover .step-circle {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 32px rgba(91, 124, 230, 0.5);
}

.flow-step:hover .step-circle::before {
    opacity: 0.3;
    animation: pulseZigzag 1.5s ease infinite;
}

@keyframes pulseZigzag {
    0%, 100% {
        transform: scale(1) rotate(-5deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2) rotate(-5deg);
        opacity: 0;
    }
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: white;
    color: #5b7ce6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: numberBounce 0.6s ease forwards;
    transform: scale(0);
}

.flow-step:nth-child(2) .step-number { animation-delay: 0.4s; }
.flow-step:nth-child(3) .step-number { animation-delay: 0.7s; }
.flow-step:nth-child(4) .step-number { animation-delay: 1s; }
.flow-step:nth-child(5) .step-number { animation-delay: 1.3s; }

@keyframes numberBounce {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    text-align: center;
}

.step-desc {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    max-width: 150px;
    line-height: 1.5;
    margin: 0;
}

.process-note {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .process-flow-zigzag {
        grid-template-columns: repeat(2, 1fr);
        padding: 80px 20px;
    }
    
    .flow-line-horizontal {
        display: none;
    }
    
    .flow-step.top,
    .flow-step.bottom {
        transform: translateY(0) !important;
    }
}

@media (max-width: 576px) {
    .process-flow-zigzag {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 20px;
    }
    
    .step-circle {
        width: 90px;
        height: 90px;
    }
    
    .step-circle svg {
        width: 36px;
        height: 36px;
    }
}

/* Results & Difference Boxes */
.results-box,
.difference-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    height: 100%;
}

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

.check-list li {
    padding: 12px 0;
    padding-left: 35px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6366F1;
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Clean Section */
.cta-clean-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 80px 0;
}

.cta-clean-box {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
}

.cta-clean-box h3 {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-clean-box p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.btn-clean-cta {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #6366F1 0%, #818CF8 100%);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-clean-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .services-sidebar {
        margin-bottom: 40px;
    }

    .service-header {
        padding-left: 0;
        margin-top: 30px;
    }

    .process-flow {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-main-title {
        font-size: 2rem;
    }

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

    .process-section {
        padding: 30px 20px;
    }

    .cta-clean-box {
        padding: 35px 25px;
        text-align: center;
    }

    .cta-clean-box h3 {
        font-size: 1.6rem;
    }

    .btn-clean-cta {
        margin-top: 20px;
        display: block;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services-main-title {
        font-size: 1.6rem;
    }

    .sidebar-link {
        font-size: 0.9rem;
        padding: 15px;
    }

    .analysis-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Service Navigation */
/* Service Navigation - Correction des couleurs */
.service-nav-link {
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.service-nav-link:not(.active) {
    background: #f8f9fa !important;
}

.service-nav-link:not(.active) h5 {
    color: #1e293b !important;
}

.service-nav-link:not(.active) i {
    color: #1e293b !important;
}

.service-nav-link:not(.active):hover {
    background: #e2e8f0 !important;
    transform: translateX(5px);
}

.service-nav-link.active {
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%) !important;
}

.service-nav-link.active h5 {
    color: #ffffff !important;
}

.service-nav-link.active i {
    color: #ffffff !important;
}

/* Service Content */
.service-content {
    animation: fadeInContent 0.5s ease;
}

.service-content.active {
    display: block !important;
}

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

/* Surveillance Specific Styles */
.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.monitoring-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.monitoring-card:hover {
    border-color: #5b7ce6;
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(91, 124, 230, 0.2);
}

.monitoring-card-alert {
    border-color: #ef4444;
}

.monitoring-card-alert:hover {
    border-color: #dc2626;
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.25);
}

.monitoring-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(91, 124, 230, 0.3);
    transition: all 0.4s ease;
}

.monitoring-card-alert .monitoring-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.monitoring-card:hover .monitoring-icon {
    transform: scale(1.1) rotate(5deg);
}

.monitoring-icon svg {
    color: white;
}

.alert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

/* Process Timeline */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(180deg, #5b7ce6 0%, #7c93ed 100%);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(91, 124, 230, 0.3);
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 25px 30px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    flex: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: #5b7ce6;
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(91, 124, 230, 0.15);
}

/* Scenario Timeline */
.scenario-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.scenario-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.scenario-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(91, 124, 230, 0.3);
}

.scenario-icon svg {
    color: white;
}

.scenario-content {
    flex: 1;
    padding-top: 8px;
}

.scenario-connector {
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg, #5b7ce6, transparent);
    margin-left: 33px;
}

/* Responsive */
@media (max-width: 992px) {
    .monitoring-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .monitoring-grid {
        grid-template-columns: 1fr;
    }
    
    .service-nav-link {
        margin-bottom: 10px;
    }
}

/* ===== SUPPORT SERVICE STYLES ===== */

/* Chips */
.support-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(91, 124, 230, 0.3);
    transition: all 0.3s ease;
}

.chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 124, 230, 0.4);
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    border-color: #5b7ce6;
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(91, 124, 230, 0.2);
}

.benefit-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(91, 124, 230, 0.3);
    z-index: 2;
}

.benefit-content {
    padding-left: 0;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.benefit-content h4 {
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.benefit-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.1;
    z-index: 1;
}

.benefit-icon svg {
    color: #5b7ce6;
}

.benefit-card:hover .benefit-icon {
    opacity: 0.15;
    transform: scale(1.1) rotate(5deg);
    transition: all 0.4s ease;
}

/* Included Cards */
.included-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.included-card:hover {
    border-color: #5b7ce6;
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(91, 124, 230, 0.2);
}

.included-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 16px rgba(91, 124, 230, 0.3);
    transition: all 0.4s ease;
}

.included-card:hover .included-icon {
    transform: scale(1.1) rotate(-5deg);
}

.included-icon svg {
    color: white;
}

.included-card h5 {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
}

.included-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Support CTA */
.support-cta {
    margin-top: 60px;
}

.cta-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 1.8rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 30px;
}

.btn-main {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(91, 124, 230, 0.3);
    transition: all 0.3s ease;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(91, 124, 230, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .support-chips {
        flex-direction: column;
    }
    
    .chip {
        text-align: center;
        justify-content: center;
    }
    
    .benefit-card {
        padding: 30px 25px;
    }
    
    .benefit-content {
        margin-top: 50px;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
    }
    
    .cta-box {
        padding: 40px 30px;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
}

/* Support Features - Version avec icônes en ligne */
.support-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #5b7ce6;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(91, 124, 230, 0.15);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(91, 124, 230, 0.3);
}

.feature-icon svg {
    color: white;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

/* ===== FORMATION SERVICE STYLES ===== */

/* Quiz Container */
.formation-quiz-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.quiz-step {
    display: none;
    animation: fadeInQuiz 0.5s ease;
}

.quiz-step.active {
    display: block;
}

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

/* Quiz Header */
.quiz-header {
    margin-bottom: 40px;
}

.quiz-step-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.quiz-title {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 700;
    margin: 0;
}

/* Quiz Options */
.quiz-options {
    display: grid;
    gap: 20px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    border-color: #5b7ce6;
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(91, 124, 230, 0.15);
}

.quiz-option.selected {
    border-color: #5b7ce6;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.08) 0%, rgba(124, 147, 237, 0.08) 100%);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(91, 124, 230, 0.3);
    transition: all 0.3s ease;
}

.quiz-option:hover .option-icon {
    transform: scale(1.1) rotate(-5deg);
}

.option-icon svg {
    color: white;
}

.quiz-option span {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

/* Quiz Navigation */
.quiz-navigation {
    margin-top: 30px;
    text-align: center;
}

.btn-quiz-back {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quiz-back:hover {
    border-color: #5b7ce6;
    color: #5b7ce6;
    transform: translateX(-5px);
}

/* Results Section */
.quiz-results {
    animation: fadeInQuiz 0.6s ease;
}

.results-header {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 20px;
}

.results-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(91, 124, 230, 0.3);
}

.results-icon svg {
    color: white;
}

.results-header h3 {
    font-size: 1.8rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 15px;
}

.results-header p {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Recap Chips */
.results-recap {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
}

.results-recap h4 {
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 20px;
}

.recap-chips {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recap-chip {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.08) 0%, rgba(124, 147, 237, 0.08) 100%);
    border-left: 4px solid #5b7ce6;
    border-radius: 8px;
    font-size: 0.95rem;
}

.recap-chip strong {
    color: #5b7ce6;
    margin-right: 8px;
}

.recap-chip span {
    color: #1e293b;
    font-weight: 600;
}

/* Accordion */
.formation-accordion {
    margin-top: 40px;
}

.formation-accordion h4 {
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

.accordion-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #5b7ce6;
}

.accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion-header h5 {
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.accordion-icon {
    width: 35px;
    height: 35px;
    background: #5b7ce6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: #4c6fd9;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 0 25px 25px 25px;
}

.accordion-content p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 15px;
}

.accordion-content ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.accordion-content li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    color: #475569;
    line-height: 1.6;
}

.accordion-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5b7ce6;
    font-weight: 700;
}

.result-highlight {
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.08) 0%, rgba(124, 147, 237, 0.08) 100%);
    padding: 15px 20px;
    border-left: 4px solid #5b7ce6;
    border-radius: 8px;
    margin-top: 15px;
}

.result-highlight strong {
    color: #5b7ce6;
}

/* Quiz CTA */
.quiz-cta {
    margin-top: 50px;
}

.btn-restart {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-restart:hover {
    border-color: #5b7ce6;
    color: #5b7ce6;
}

/* Responsive */
@media (max-width: 768px) {
    .quiz-title {
        font-size: 1.6rem;
    }
    
    .quiz-option {
        padding: 20px;
        gap: 15px;
    }
    
    .option-icon {
        width: 50px;
        height: 50px;
    }
    
    .option-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .results-header {
        padding: 30px 20px;
    }
    
    .results-header h3 {
        font-size: 1.5rem;
    }
    
    .accordion-header h5 {
        font-size: 0.95rem;
    }
}

/* ===== NAVIGATION HORIZONTALE EN HAUT ===== */

/* Container de navigation horizontale */
.services-nav-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
}

/* Onglets de navigation */
.service-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px 20px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Animation de fond au hover */
.service-nav-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.05) 0%, rgba(124, 147, 237, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-nav-tab:hover::before {
    opacity: 1;
}

.service-nav-tab:hover {
    border-color: #e2e8f0;
    transform: translateY(-3px);
}

/* État actif */
.service-nav-tab.active {
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-color: #5b7ce6;
    box-shadow: 0 8px 24px rgba(91, 124, 230, 0.3);
}

.service-nav-tab.active::before {
    opacity: 0;
}

/* Icône de l'onglet */
.tab-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.1) 0%, rgba(124, 147, 237, 0.1) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-nav-tab:hover .tab-icon {
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.15) 0%, rgba(124, 147, 237, 0.15) 100%);
    transform: scale(1.1);
}

.service-nav-tab.active .tab-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.tab-icon svg {
    color: #5b7ce6;
    transition: all 0.3s ease;
}

.service-nav-tab.active .tab-icon svg {
    color: white;
}

/* Texte de l'onglet */
.tab-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    transition: all 0.3s ease;
}

.service-nav-tab.active .tab-text {
    color: white;
}

/* Contenu des services - Pleine largeur */
.service-content {
    animation: fadeInContent 0.5s ease;
}

.service-content.active {
    display: block !important;
}

/* Responsive - Navigation mobile */
@media (max-width: 992px) {
    .services-nav-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .service-nav-tab {
        padding: 20px 15px;
    }
    
    .tab-icon {
        width: 45px;
        height: 45px;
    }
    
    .tab-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .tab-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .services-nav-horizontal {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
    
    .service-nav-tab {
        flex-direction: row;
        justify-content: flex-start;
        padding: 18px 20px;
        gap: 15px;
    }
    
    .tab-icon {
        width: 45px;
        height: 45px;
    }
    
    .tab-text {
        text-align: left;
    }
}

/* Alternative: Navigation avec indicateur en bas */
.services-nav-horizontal.style-underline {
    background: transparent;
    border: none;
    box-shadow: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 0;
}

.services-nav-horizontal.style-underline .service-nav-tab {
    border-radius: 0;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 20px 30px;
    background: transparent;
}

.services-nav-horizontal.style-underline .service-nav-tab.active {
    background: transparent;
    border-bottom-color: #5b7ce6;
    box-shadow: none;
}

.services-nav-horizontal.style-underline .service-nav-tab.active .tab-icon {
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
}

.services-nav-horizontal.style-underline .service-nav-tab.active .tab-icon svg {
    color: white;
}

.services-nav-horizontal.style-underline .service-nav-tab.active .tab-text {
    color: #5b7ce6;
}

.services-nav-horizontal.style-underline .service-nav-tab:hover {
    transform: none;
    background: rgba(91, 124, 230, 0.03);
}

/* ===== NAVIGATION HORIZONTALE AMÉLIORÉE - VERSION PILLS ===== */

.services-nav-horizontal {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 12px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.services-nav-horizontal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.02) 0%, rgba(124, 147, 237, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-nav-horizontal:hover::before {
    opacity: 1;
}

.service-nav-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    background: white;
    border: 2px solid transparent;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Effet de gradient animé au hover */
.service-nav-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.08) 0%, rgba(124, 147, 237, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-nav-tab:hover::before {
    opacity: 1;
}

.service-nav-tab:hover {
    border-color: #e2e8f0;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 124, 230, 0.12);
}

/* État actif avec animation de scale */
.service-nav-tab.active {
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-color: #5b7ce6;
    box-shadow: 0 12px 32px rgba(91, 124, 230, 0.35);
    transform: translateY(-4px) scale(1.02);
}

.service-nav-tab.active::before {
    opacity: 0;
}

/* Badge numérique */
.tab-badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.15) 0%, rgba(124, 147, 237, 0.15) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #5b7ce6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.service-nav-tab:hover .tab-badge {
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.2) 0%, rgba(124, 147, 237, 0.2) 100%);
    transform: scale(1.1) rotate(-5deg);
}

.service-nav-tab.active .tab-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    transform: scale(1.15);
}

/* Icône de l'onglet */
.tab-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.1) 0%, rgba(124, 147, 237, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.service-nav-tab:hover .tab-icon {
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.15) 0%, rgba(124, 147, 237, 0.15) 100%);
    transform: scale(1.15) rotate(5deg);
}

.service-nav-tab.active .tab-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transform: scale(1.1);
}

.tab-icon svg {
    color: #5b7ce6;
    transition: all 0.3s ease;
    width: 22px;
    height: 22px;
}

.service-nav-tab.active .tab-icon svg {
    color: white;
}

/* Texte de l'onglet */
.tab-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-nav-tab.active .tab-text {
    color: white;
    font-weight: 700;
}

/* Animation de pulse sur l'onglet actif */
@keyframes pulseActive {
    0%, 100% {
        box-shadow: 0 12px 32px rgba(91, 124, 230, 0.35);
    }
    50% {
        box-shadow: 0 12px 40px rgba(91, 124, 230, 0.45);
    }
}

.service-nav-tab.active {
    animation: pulseActive 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .services-nav-horizontal {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-nav-tab {
        padding: 16px 20px;
    }
}

@media (max-width: 576px) {
    .services-nav-horizontal {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-nav-tab {
        justify-content: flex-start;
        padding: 16px 20px;
    }
    
    .tab-text {
        font-size: 0.95rem;
    }
}

/* ===== TAILLES OPTIMALES RECOMMANDÉES ===== */

/* Desktop */
.service-image-wrapper {
    max-width: 420px;
}

.service-image {
    max-height: 320px;
}

/* Tablet */
@media (max-width: 992px) {
    .service-image-wrapper {
        max-width: 380px;
    }
    
    .service-image {
        max-height: 280px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .service-image {
        max-height: 240px;
    }
}

/* ===== IMAGES SERVICES - TAILLE OPTIMALE ===== */

/* Container de l'image */
.service-content .col-lg-6 .relative,
.service-content .relative {
    max-width: 520px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Images des services */
.service-content img.img-fluid,
.service-content .relative img,
#accompagnement-content img,
#surveillance-content img,
#support-content img,
#formation-content img {
    max-width: 520px !important;
    max-height: 380px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Badge repositionné */
.service-content .bg-color.absolute,
.service-content .absolute.start-10 {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    margin-top: 0 !important;
    top: auto !important;
}

/* Padding du badge */
.service-content .bg-color.text-light.p-4 {
    padding: 18px 22px !important;
}

.service-content .bg-color.text-light p {
    font-size: 0.92rem !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Responsive */
@media (max-width: 992px) {
    .service-content .col-lg-6 .relative,
    .service-content .relative {
        max-width: 100% !important;
    }
    
    .service-content img.img-fluid,
    .service-content .relative img,
    #accompagnement-content img,
    #surveillance-content img,
    #support-content img,
    #formation-content img {
        max-width: 100% !important;
        max-height: 340px !important;
    }
}

@media (max-width: 768px) {
    .service-content img.img-fluid,
    .service-content .relative img {
        max-height: 300px !important;
    }
    
    /* Badge en dessous sur mobile */
    .service-content .bg-color.absolute,
    .service-content .absolute.start-10 {
        position: static !important;
        margin-top: 20px !important;
    }
}

@media (max-width: 576px) {
    .service-content img.img-fluid,
    .service-content .relative img {
        max-height: 260px !important;
    }
}