/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="rgba(41,128,185,0.05)"/></svg>');
    opacity: 0.5;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #3498db20, #2980b920);
    color: #2980b9;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   SERVICES SECTION - Style moderne avec carousel courbé
   ============================================ */

.services-section {
    padding: 100px 50px;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-title {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    background: #2c3e50;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

/* Carousel Container Courbé */
.services-carousel-container {
    position: relative;
    padding: 0 80px;
    margin: 40px 0;
}

.services-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 60px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    perspective: 1000px;
}

.services-carousel::-webkit-scrollbar {
    display: none;
}

/* Cartes du Carousel */
.service-carousel-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
}

/* Effet courbé 3D */
.service-carousel-card:nth-child(1),
.service-carousel-card:nth-child(2),
.service-carousel-card:nth-child(7),
.service-carousel-card:nth-child(8) {
    transform: scale(0.85) rotateY(5deg);
    opacity: 0.7;
}

.service-carousel-card:nth-child(3),
.service-carousel-card:nth-child(6) {
    transform: scale(0.95) rotateY(2deg);
    opacity: 0.9;
}

.service-carousel-card:nth-child(4),
.service-carousel-card:nth-child(5) {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
    box-shadow: 0 25px 70px rgba(41, 128, 185, 0.3);
}

.service-carousel-card:hover {
    transform: scale(1.05) rotateY(0deg) !important;
    opacity: 1 !important;
    box-shadow: 0 30px 80px rgba(41, 128, 185, 0.4);
    z-index: 10;
}

.service-carousel-card.active {
    transform: scale(1.1) rotateY(0deg) !important;
    opacity: 1 !important;
    box-shadow: 0 35px 90px rgba(41, 128, 185, 0.5);
    border: 3px solid #2980b9;
    z-index: 20;
}

/* Éléments des cartes */
.carousel-service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-carousel-card:hover .carousel-service-image {
    transform: scale(1.1);
}

.carousel-service-content {
    padding: 25px;
    position: relative;
}

.carousel-service-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(4, 9, 99, 0.4);
    z-index: 5;
}

.carousel-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #2980b9, #3498db);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(41, 128, 185, 0.3);
}

/* Couleurs des icônes */
.service-carousel-card:nth-child(2) .carousel-service-icon {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.service-carousel-card:nth-child(3) .carousel-service-icon {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.service-carousel-card:nth-child(4) .carousel-service-icon {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.3);
}

.service-carousel-card:nth-child(5) .carousel-service-icon {
    background: linear-gradient(135deg, #e74c3c, #e67e22);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.service-carousel-card:nth-child(6) .carousel-service-icon {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    box-shadow: 0 8px 25px rgba(52, 73, 94, 0.3);
}

.service-carousel-card:nth-child(7) .carousel-service-icon {
    background: linear-gradient(135deg, #16a085, #1abc9c);
    box-shadow: 0 8px 25px rgba(22, 160, 133, 0.3);
}

.service-carousel-card:nth-child(8) .carousel-service-icon {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.3);
}

.carousel-service-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.carousel-service-description {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.carousel-service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2980b9;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.carousel-service-cta:hover {
    gap: 12px;
    color: #f39c12;
}

/* Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2980b9, #3498db);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(41, 128, 185, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(41, 128, 185, 0.6);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 16px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Extension des détails */
.service-detail-expansion {
    max-height: 0;
    overflow: hidden;
    background: white;
    border-radius: 0 0 30px 30px;
    margin-top: -20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.service-detail-expansion.active {
    max-height: 1000px;
    margin-top: 0;
}

.expansion-content {
    padding: 0 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.3s;
}

.service-detail-expansion.active .expansion-content {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-section {
        padding: 80px 30px;
    }
    
    .services-title {
        font-size: 36px;
    }
    
    .services-carousel-container {
        padding: 0 60px;
    }
    
    .service-carousel-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }
    
    .services-title {
        font-size: 32px;
    }
    
    .services-carousel-container {
        padding: 0 50px;
    }
    
    .services-carousel {
        padding: 40px 15px;
    }
    
    .service-carousel-card {
        flex: 0 0 250px;
    }
    
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 50px 15px;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    .services-carousel-container {
        padding: 0 40px;
    }
    
    .services-carousel {
        padding: 30px 10px;
        gap: 15px;
    }
    
    .service-carousel-card {
        flex: 0 0 220px;
    }
    
    .carousel-service-content {
        padding: 20px;
    }
}


/* Styles pour le contenu de l'expansion */
.expansion-header {
    padding: 40px 0 30px;
    border-bottom: 2px solid #f8f9fa;
}

.expansion-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.expansion-excerpt {
    font-size: 18px;
    color: #7f8c8d;
    line-height: 1.6;
    max-width: 800px;
}

.expansion-body {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.expansion-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-group {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #2980b9;
}

.detail-group h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-group p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 15px;
}

.expansion-features {
    background: linear-gradient(135deg, #2980b9, #3498db);
    padding: 30px;
    border-radius: 20px;
    color: white;
}

.features-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.feature-item i {
    color: #f39c12;
    font-size: 16px;
}

.feature-item span {
    color: white;
    font-weight: 500;
    font-size: 15px;
}

.expansion-actions {
    padding: 30px 0 40px;
    display: flex;
    gap: 20px;
    border-top: 2px solid #f8f9fa;
    flex-wrap: wrap;
}

.expansion-btn {
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

.expansion-btn-primary {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: white;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.3);
}

.expansion-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.4);
}

.expansion-btn-secondary {
    background: white;
    color: #2980b9;
    border: 2px solid #2980b9;
}

.expansion-btn-secondary:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-2px);
}

/* Responsive pour l'expansion */
@media (max-width: 768px) {
    .expansion-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expansion-actions {
        flex-direction: column;
    }
    
    .expansion-btn {
        width: 100%;
        justify-content: center;
    }
    
    .expansion-header {
        padding: 30px 0 20px;
    }
    
    .expansion-title {
        font-size: 28px;
    }
}

/* ============================================
   SERVICES SECTION - RESPONSIVE MOBILE & TABLETTE
   ============================================ */

/* Tablette (768px - 1024px) */
@media (max-width: 1024px) {
    .services-section {
        padding: 70px 30px;
    }
    
    .services-container {
        max-width: 100%;
    }
    
    .services-header {
        margin-bottom: 50px;
    }
    
    .services-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .services-subtitle {
        font-size: 16px;
        max-width: 500px;
    }
    
    /* Carousel Tablette */
    .services-carousel-container {
        padding: 0 50px;
        margin: 30px 0;
    }
    
    .services-carousel {
        padding: 40px 15px;
        gap: 15px;
    }
    
    .service-carousel-card {
        flex: 0 0 260px;
    }
    
    /* Réduire l'effet 3D sur tablette */
    .service-carousel-card:nth-child(1),
    .service-carousel-card:nth-child(2),
    .service-carousel-card:nth-child(7),
    .service-carousel-card:nth-child(8) {
        transform: scale(0.9) rotateY(3deg);
        opacity: 0.8;
    }
    
    .service-carousel-card:nth-child(3),
    .service-carousel-card:nth-child(6) {
        transform: scale(0.95) rotateY(1deg);
        opacity: 0.9;
    }
    
    .carousel-service-image {
        height: 160px;
    }
    
    .carousel-service-content {
        padding: 20px;
    }
    
    .carousel-service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .carousel-service-name {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .carousel-service-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .carousel-service-badge {
        font-size: 11px;
        padding: 6px 12px;
        top: -12px;
        right: 15px;
    }
    
    /* Navigation tablette */
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .carousel-nav.prev {
        left: 5px;
    }
    
    .carousel-nav.next {
        right: 5px;
    }
    
    /* Expansion détails tablette */
    .expansion-content {
        padding: 0 30px;
    }
    
    .expansion-header {
        padding: 40px 0 30px;
    }
    
    .expansion-title {
        font-size: 28px;
    }
    
    .expansion-excerpt {
        font-size: 16px;
    }
    
    .expansion-body {
        padding: 40px 0;
        gap: 40px;
    }
    
    .expansion-details {
        gap: 25px;
    }
    
    .detail-group {
        padding: 25px;
        min-height: 160px;
    }
    
    .detail-group h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .detail-group p {
        font-size: 15px;
    }
    
    .expansion-features {
        padding: 30px;
        min-height: 350px;
    }
    
    .features-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .feature-item {
        padding: 16px;
        min-height: 60px;
        gap: 12px;
    }
    
    .feature-item i {
        font-size: 16px;
    }
    
    .feature-item span {
        font-size: 15px;
    }
    
    .expansion-actions {
        padding: 40px 0 50px;
        gap: 20px;
    }
    
    .expansion-btn {
        padding: 16px 35px;
        font-size: 15px;
        min-width: 180px;
    }
}

/* Mobile (577px - 767px) */
@media (max-width: 767px) {
    .services-section {
        padding: 60px 20px;
    }
    
    .services-header {
        margin-bottom: 40px;
    }
    
    .services-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .services-subtitle {
        font-size: 15px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .scroll-indicator {
        font-size: 13px;
        bottom: 10px;
    }
    
    /* Carousel Mobile */
    .services-carousel-container {
        padding: 0 40px;
        margin: 25px 0;
    }
    
    .services-carousel {
        padding: 30px 10px;
        gap: 12px;
    }
    
    .service-carousel-card {
        flex: 0 0 240px;
    }
    
    /* Désactiver l'effet 3D sur mobile */
    .service-carousel-card {
        transform: scale(0.95) !important;
        opacity: 0.9 !important;
    }
    
    .service-carousel-card:nth-child(4),
    .service-carousel-card:nth-child(5) {
        transform: scale(1) !important;
        opacity: 1 !important;
    }
    
    .service-carousel-card:hover {
        transform: scale(1.02) !important;
    }
    
    .service-carousel-card.active {
        transform: scale(1.05) !important;
    }
    
    .carousel-service-image {
        height: 140px;
    }
    
    .carousel-service-content {
        padding: 18px;
    }
    
    .carousel-service-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .carousel-service-name {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .carousel-service-description {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .carousel-service-cta {
        font-size: 13px;
    }
    
    .carousel-service-badge {
        font-size: 10px;
        padding: 5px 10px;
        top: -10px;
        right: 12px;
    }
    
    /* Navigation mobile */
    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .carousel-nav.prev {
        left: 2px;
    }
    
    .carousel-nav.next {
        right: 2px;
    }
    
    /* Expansion détails mobile */
    .expansion-content {
        padding: 0 20px;
    }
    
    .expansion-header {
        padding: 30px 0 25px;
    }
    
    .expansion-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .expansion-excerpt {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .expansion-body {
        padding: 30px 0;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expansion-details {
        gap: 20px;
    }
    
    .detail-group {
        padding: 20px;
        min-height: auto;
        border-radius: 15px;
    }
    
    .detail-group h4 {
        font-size: 16px;
        margin-bottom: 12px;
        gap: 8px;
    }
    
    .detail-group p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .expansion-features {
        padding: 25px;
        min-height: auto;
        border-radius: 18px;
    }
    
    .features-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .features-grid {
        gap: 15px;
    }
    
    .feature-item {
        padding: 14px;
        min-height: 55px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .feature-item i {
        font-size: 14px;
    }
    
    .feature-item span {
        font-size: 14px;
    }
    
    .expansion-actions {
        padding: 30px 0 40px;
        flex-direction: column;
        gap: 15px;
    }
    
    .expansion-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 14px;
        min-width: auto;
        border-radius: 25px;
    }
}

/* Petit Mobile (max 576px) */
@media (max-width: 576px) {
    .services-section {
        padding: 50px 15px;
    }
    
    .services-header {
        margin-bottom: 30px;
    }
    
    .services-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .services-subtitle {
        font-size: 14px;
    }
    
    .scroll-indicator {
        font-size: 12px;
        gap: 8px;
    }
    
    .scroll-indicator i {
        font-size: 14px;
    }
    
    /* Carousel Petit Mobile */
    .services-carousel-container {
        padding: 0 35px;
        margin: 20px 0;
    }
    
    .services-carousel {
        padding: 25px 8px;
        gap: 10px;
    }
    
    .service-carousel-card {
        flex: 0 0 220px;
    }
    
    .carousel-service-image {
        height: 120px;
    }
    
    .carousel-service-content {
        padding: 15px;
    }
    
    .carousel-service-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    
    .carousel-service-name {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .carousel-service-description {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .carousel-service-cta {
        font-size: 12px;
    }
    
    .carousel-service-badge {
        font-size: 9px;
        padding: 4px 8px;
        top: -8px;
        right: 10px;
        border-radius: 15px;
    }
    
    /* Navigation petit mobile */
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Expansion détails petit mobile */
    .expansion-content {
        padding: 0 15px;
    }
    
    .expansion-header {
        padding: 25px 0 20px;
    }
    
    .expansion-title {
        font-size: 22px;
    }
    
    .expansion-excerpt {
        font-size: 14px;
    }
    
    .expansion-body {
        padding: 25px 0;
        gap: 25px;
    }
    
    .expansion-details {
        gap: 15px;
    }
    
    .detail-group {
        padding: 18px;
        border-radius: 12px;
    }
    
    .detail-group h4 {
        font-size: 15px;
    }
    
    .detail-group p {
        font-size: 13px;
    }
    
    .expansion-features {
        padding: 20px;
        border-radius: 15px;
    }
    
    .features-title {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    .features-grid {
        gap: 12px;
    }
    
    .feature-item {
        padding: 12px;
        min-height: 50px;
        border-radius: 10px;
    }
    
    .feature-item span {
        font-size: 13px;
    }
    
    .expansion-actions {
        padding: 25px 0 35px;
        gap: 12px;
    }
    
    .expansion-btn {
        padding: 14px 25px;
        font-size: 13px;
    }
}

/* Très petit mobile (max 375px) */
@media (max-width: 375px) {
    .services-section {
        padding: 40px 10px;
    }
    
    .services-title {
        font-size: 24px;
    }
    
    .services-subtitle {
        font-size: 13px;
    }
    
    .services-carousel-container {
        padding: 0 30px;
    }
    
    .service-carousel-card {
        flex: 0 0 200px;
    }
    
    .carousel-service-image {
        height: 110px;
    }
    
    .expansion-content {
        padding: 0 12px;
    }
    
    .expansion-title {
        font-size: 20px;
    }
}

/* Orientation paysage mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .services-section {
        padding: 40px 20px;
    }
    
    .services-header {
        margin-bottom: 30px;
    }
    
    .services-carousel {
        padding: 20px 10px;
    }
    
    .service-carousel-card {
        flex: 0 0 200px;
    }
    
    .carousel-service-image {
        height: 100px;
    }
    
    .service-detail-expansion.active {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Améliorations tactiles pour mobile */
@media (hover: none) and (pointer: coarse) {
    .service-carousel-card:hover {
        transform: scale(1) !important;
    }
    
    .service-carousel-card:active {
        transform: scale(0.98) !important;
    }
    
    .carousel-nav:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .expansion-btn:active {
        transform: translateY(-1px);
    }
}

/* Support pour les navigateurs mobiles */
@supports (-webkit-touch-callout: none) {
    .services-carousel {
        -webkit-overflow-scrolling: touch;
    }
    
    .service-detail-expansion {
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================
   CORRECTIONS MOBILE - À AJOUTER À LA FIN DU CSS
   ============================================ */

/* 1. CACHER LES BOUTONS DE NAVIGATION PAR DÉFAUT SUR MOBILE */
@media (max-width: 768px) {
    .carousel-nav {
        display: none; /* Caché par défaut */
        z-index: 1000 !important;
        position: fixed !important;
        min-width: 50px;
        min-height: 50px;
        box-shadow: 0 4px 15px rgba(41, 128, 185, 0.6);
    }
    
    /* Afficher uniquement quand on est dans la section services */
    .services-section .carousel-nav {
        display: flex !important;
    }
    
    .carousel-nav:active {
        opacity: 0.8;
        background: linear-gradient(135deg, #1f6391, #2980b9);
    }
    
    .carousel-nav.prev {
        left: 5px !important;
    }
    
    .carousel-nav.next {
        right: 5px !important;
    }
}

/* 2. DOTS INDICATEURS POUR LE SCROLL */
.carousel-dots {
    display: none; /* Caché sur desktop */
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .carousel-dots {
        display: flex;
    }
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: linear-gradient(135deg, #2980b9, #3498db);
    width: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(41, 128, 185, 0.4);
}

/* 3. FIX BOUTON EXPLORER SUR MOBILE */
@media (max-width: 768px) {
    .service-carousel-card {
        transform: none !important;
        transform-style: flat !important;
        pointer-events: auto !important;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(41, 128, 185, 0.2);
        position: relative;
        z-index: 1;
    }
    
    .service-carousel-card:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s ease;
    }
    
    /* Rendre tout le contenu cliquable */
    .carousel-service-content {
        pointer-events: auto;
        position: relative;
        z-index: 2;
    }
    
    .carousel-service-content * {
        pointer-events: none; /* Désactiver les clics sur les enfants */
    }
    
    /* Améliorer la visibilité du CTA */
    .carousel-service-cta {
        padding: 10px 16px;
        background: linear-gradient(135deg, rgba(41, 128, 185, 0.1), rgba(52, 152, 219, 0.15));
        border-radius: 25px;
        margin-top: 12px;
        display: inline-flex;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(41, 128, 185, 0.2);
        border: 1px solid rgba(41, 128, 185, 0.3);
    }
    
    .carousel-service-cta i {
        animation: bounce-arrow 1.5s infinite;
    }
    
    @keyframes bounce-arrow {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(3px); }
    }
}

/* 4. FIX SCROLL DU CAROUSEL SUR MOBILE */
@media (max-width: 768px) {
    .services-carousel {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        touch-action: pan-x;
        overflow-x: auto !important;
        overflow-y: hidden;
        cursor: grab;
    }
    
    .services-carousel:active {
        cursor: grabbing;
    }
    
    .service-carousel-card {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
}

/* 5. AMÉLIORER L'INDICATEUR DE SCROLL */
@media (max-width: 768px) {
    .scroll-indicator {
        position: relative;
        bottom: auto;
        display: flex;
        margin-top: 15px;
        background: rgba(41, 128, 185, 0.1);
        padding: 10px 20px;
        border-radius: 25px;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
        50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
    }
}

/* 6. DÉSACTIVER HOVER SUR TACTILE */
@media (hover: none) and (pointer: coarse) {
    .service-carousel-card:hover {
        transform: none !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    }
    
    .carousel-nav:hover {
        transform: translateY(-50%) !important;
    }
    
    .carousel-service-cta:hover {
        gap: 8px;
    }
}

/* 7. AFFICHAGE CONDITIONNEL DES BOUTONS */
@media (max-width: 768px) {
    /* Cacher les boutons quand on n'est pas dans les services */
    body:not(.viewing-services) .carousel-nav {
        opacity: 0;
        pointer-events: none;
    }
    
    /* Afficher avec transition quand on est dans les services */
    body.viewing-services .carousel-nav {
        opacity: 1;
        pointer-events: auto;
        animation: fadeInNav 0.3s ease;
    }
    
    @keyframes fadeInNav {
        from { opacity: 0; transform: translateY(-50%) scale(0.8); }
        to { opacity: 1; transform: translateY(-50%) scale(1); }
    }
}

/* 8. STYLE POUR PETIT ÉCRAN */
@media (max-width: 576px) {
    .carousel-nav {
        min-width: 45px;
        min-height: 45px;
        font-size: 16px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-dot.active {
        width: 24px;
    }
    
    .carousel-dots {
        gap: 8px;
        margin-top: 25px;
    }
}

/* 9. AMÉLIORATION VISUELLE DU TAP */
@media (max-width: 768px) {
    .service-carousel-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(41, 128, 185, 0.05);
        opacity: 0;
        transition: opacity 0.2s ease;
        pointer-events: none;
        z-index: 1;
    }
    
    .service-carousel-card:active::after {
        opacity: 1;
    }
}

/* 10. FIX POUR L'EXPANSION SUR MOBILE */
@media (max-width: 768px) {
    .service-detail-expansion {
        z-index: 50;
        margin-top: 0;
    }
    
    .service-detail-expansion.active {
        max-height: 2000px;
    }
}

/* ============================================
   CSS POUR LA MODALE MOBILE UNIQUEMENT - VERSION FINALE
   ============================================ */

/* Overlay - Caché par défaut sur tous les écrans */
.service-modal-overlay {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.service-modal {
    display: none;
    opacity: 0;
    visibility: hidden;
}

/* Afficher uniquement sur mobile */
@media (max-width: 768px) {
    /* Overlay - NE PAS mettre display: block par défaut */
    .service-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .service-modal-overlay.active {
        display: block; /* ⚠️ Display block SEULEMENT quand active */
        opacity: 1;
        visibility: visible;
    }

    /* Modale - NE PAS mettre display: block par défaut */
    .service-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 85vh;
        background: white;
        border-radius: 25px 25px 0 0;
        z-index: 9999;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.3s ease, 
                    visibility 0.3s ease;
        overflow: hidden;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
    }

    .service-modal.active {
        display: block; /* ⚠️ Display block SEULEMENT quand active */
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Poignée de la modale */
    .service-modal-handle {
        width: 50px;
        height: 5px;
        background: #d1d5db;
        border-radius: 10px;
        margin: 15px auto 10px;
    }

    /* Bouton fermer */
    .service-modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
        border: none;
        background: #f3f4f6;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }

    .service-modal-close:active {
        background: #e5e7eb;
        transform: scale(0.95);
    }

    .service-modal-close i {
        color: #6b7280;
        font-size: 16px;
    }

    /* Contenu de la modale */
    .service-modal-content {
        padding: 0 25px 25px;
        max-height: calc(85vh - 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Header de la modale */
    .service-modal-header {
        text-align: center;
        padding-bottom: 25px;
        border-bottom: 2px solid #f3f4f6;
        margin-bottom: 25px;
    }

    .service-modal-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
        background: linear-gradient(135deg, #2980b9, #3498db);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 25px rgba(41, 128, 185, 0.3);
    }

    .service-modal-icon i {
        color: white;
        font-size: 32px;
    }

    .service-modal-title {
        font-size: 26px;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 12px;
    }

    .service-modal-excerpt {
        font-size: 15px;
        color: #7f8c8d;
        line-height: 1.6;
    }

    /* Corps de la modale */
    .service-modal-body {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 25px;
    }

    .modal-detail-section {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 15px;
        border-left: 4px solid #2980b9;
    }

    .modal-detail-section h4 {
        font-size: 16px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .modal-detail-section h4 i {
        color: #2980b9;
        font-size: 18px;
    }

    .modal-detail-section p {
        font-size: 14px;
        color: #7f8c8d;
        line-height: 1.6;
        margin: 0;
    }

    /* Section des features */
    .modal-features-section {
        background: linear-gradient(135deg, #2980b9, #3498db);
        padding: 25px;
        border-radius: 20px;
        color: white;
    }

    .modal-features-section h4 {
        font-size: 18px;
        font-weight: 600;
        color: white;
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .modal-features-section h4 i {
        color: #f39c12;
        font-size: 20px;
    }

    .modal-features-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .modal-feature-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }

    .modal-feature-item i {
        color: #f39c12;
        font-size: 16px;
        flex-shrink: 0;
    }

    .modal-feature-item span {
        color: white;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
    }

    /* Actions de la modale */
    .service-modal-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
        border-top: 2px solid #f3f4f6;
    }

    .modal-btn {
        width: 100%;
        padding: 16px 25px;
        border-radius: 25px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
        font-family: inherit;
    }

    .modal-btn-primary {
        background: linear-gradient(135deg, #2980b9, #3498db);
        color: white;
        box-shadow: 0 5px 20px rgba(5, 24, 130, 0.3);
    }

    .modal-btn-primary:active {
        transform: translateY(-1px);
        box-shadow: 0 7px 25px rgba(243, 156, 18, 0.4);
    }

    .modal-btn-secondary {
        background: white;
        color: #2980b9;
        border: 2px solid #2980b9;
    }

    .modal-btn-secondary:active {
        background: #f8f9fa;
    }

    /* Scrollbar personnalisée */
    .service-modal-content::-webkit-scrollbar {
        width: 6px;
    }

    .service-modal-content::-webkit-scrollbar-track {
        background: #f3f4f6;
        border-radius: 10px;
    }

    .service-modal-content::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 10px;
    }

    .service-modal-content::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
}

/* Garder l'expansion pour desktop uniquement */
@media (min-width: 769px) {
    .service-detail-expansion {
        display: block;
    }
}

@media (max-width: 768px) {
    .service-detail-expansion {
        display: none !important;
    }
}


/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: 100px 50px;
    background: white;
    position: relative;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.member-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(41, 128, 185, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
}

.team-member-card:hover .member-overlay {
    opacity: 1;
}

.member-socials {
    display: flex;
    gap: 15px;
}

.member-socials a {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2980b9;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.team-member-card:hover .member-socials a {
    transform: translateY(0);
}

.member-socials a:nth-child(1) {
    transition-delay: 0.1s;
}

.member-socials a:nth-child(2) {
    transition-delay: 0.2s;
}

.member-socials a:hover {
    background: #f39c12;
    color: white;
    transform: translateY(-5px);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.member-role {
    font-size: 15px;
    color: #2980b9;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-expertise {
    font-size: 13px;
    color: #7f8c8d;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #7f8c8d;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2980b9;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 12px;
    color: #f39c12;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1e5a8e 0%, #2c3e50 100%);
    color: white;
    padding: 80px 50px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-img {
    width: 180px;
    margin-bottom: 20px;
    /* Pas de filtre - on garde les couleurs originales du logo */
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #f5f4f2;
    transform: translateY(-5px);
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, white, white);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}
.footer-links i {
    color: #fff !important; /* forcer la couleur blanche */
    margin-right: 8px !important; /* espacement entre icône et texte */
    transition: color 0.3s ease, transform 0.3s ease !important;
}

.footer-links a {
    color: #ccc !important; /* texte légèrement gris */
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.3s ease !important;
}

.footer-links a:hover {
    color: #fff !important; /* texte blanc au survol */
}

.footer-links a:hover i {
    color: #00aaff !important; /* icône bleu clair au survol */
    transform: translateX(3px) !important; /* effet de glissement */
}


.footer-links li {
    
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-list i {
    color: white;
    font-size: 18px;
    min-width: 20px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-section,
    .team-section,
    .blog-section,
    .footer {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .member-image-wrapper {
        height: 280px;
    }
}

/* Mobile compact et centré */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 0;
        padding: 15px 0;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo-img {
        max-width: 100px;
        margin: 0 auto;
    }
    
    .footer-description {
        font-size: 12px;
        margin: 8px auto;
        line-height: 1.3;
        text-align: center;
        max-width: 90%;
    }
    
    .footer-socials {
        justify-content: center;
        margin-top: 8px;
    }
    
    .footer-title {
        font-size: 14px;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        text-align: center;
    }
    
    .footer-links li a {
        padding: 4px 0;
        font-size: 12px;
        justify-content: center;
    }
    
    .footer-contact-list {
        gap: 8px;
        font-size: 12px;
        text-align: center;
    }
    
    .footer-contact-list li {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
        padding: 10px 0;
        text-align: center;
    }
    
    .footer-bottom-links {
        display: flex;
        gap: 10px;
        justify-content: center;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1e5a8e 0%, #2c3e50 100%);
    color: white;
    padding: 80px 50px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-img {
    width: 180px;
    margin-bottom: 20px;
    /* Pas de filtre - on garde les couleurs originales du logo */
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #f39c12;
    transform: translateY(-5px);
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #fcfbf7, #fcfbf7);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 10px;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-list i {
    color: #f8f7f4;
    font-size: 18px;
    min-width: 20px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #f39c12;
}
/* ============================================
   RESPONSIVE MOBILE COMPACT
   ============================================ */
@media (max-width: 768px) {
    .footer {
        padding: 30px 15px 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 20px;
    }
    
    .footer-column {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-column:last-child {
        border-bottom: none;
    }
    
    .footer-logo-img {
        width: 80px;
        margin: 0 auto 8px;
    }
    
    .footer-description {
        font-size: 12px;
        line-height: 1.3;
        margin: 0 auto 12px;
        max-width: 95%;
    }
    
    .footer-socials {
        justify-content: center;
        gap: 8px;
        margin-bottom: 5px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .footer-title {
        font-size: 14px;
        margin-bottom: 8px;
        padding-bottom: 5px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 2px;
    }
    
    .footer-links {
        padding: 0;
    }
    
    .footer-links li {
        margin-bottom: 4px;
    }
    
    .footer-links a {
        font-size: 11px;
        padding: 3px 0;
        justify-content: center;
    }
    
    .footer-contact-list {
        padding: 0;
    }
    
    .footer-contact-list li {
        margin-bottom: 8px;
        gap: 8px;
        font-size: 11px;
        justify-content: center;
        text-align: center;
    }
    
    .footer-contact-list i {
        font-size: 12px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-copyright {
        font-size: 11px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-bottom-links a {
        font-size: 10px;
        padding: 2px 0;
    }
}

/* ============================================
   EXPANSION DESKTOP - STYLE INLINE (comme mobile)
   ============================================ */

/* Container principal - s'insère dans le flow du document */
#serviceExpansion {
    display: none;
    max-height: 0;
    overflow: hidden;
    background: white;
    border-radius: 30px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#serviceExpansion.active {
    display: block;
    max-height: 3000px;
    opacity: 1;
    transform: translateY(0);
}

/* Pas d'overlay sur desktop avec cette approche */
.expansion-overlay {
    display: none !important;
}

/* Contenu scrollable */
#expansionContent {
    padding: 0;
}

/* Header de l'expansion */
.expansion-service-header {
    position: relative;
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    padding: 50px 60px;
    color: white;
    text-align: center;
    border-radius: 30px 30px 0 0;
}

.expansion-service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.expansion-service-icon {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.expansion-service-icon i {
    font-size: 42px;
    color: white;
}

.expansion-service-title {
    position: relative;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInTitle 0.6s ease;
}

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

/* Bouton de fermeture */
.expansion-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.expansion-close:hover {
    background: rgba(243, 156, 18, 0.9);
    border-color: #f39c12;
    transform: rotate(90deg) scale(1.1);
}

/* Corps de l'expansion */
.expansion-service-body {
    padding: 50px 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    background: #ffffff;
    animation: fadeInContent 0.8s ease;
}

@keyframes fadeInContent {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sections de détails */
.expansion-detail-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid #2980b9;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    animation: slideInDetail 0.6s ease backwards;
}

.expansion-detail-section:nth-child(1) { animation-delay: 0.1s; }
.expansion-detail-section:nth-child(2) { animation-delay: 0.2s; }
.expansion-detail-section:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInDetail {
    from { 
        opacity: 0; 
        transform: translateX(-30px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

.expansion-detail-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(41, 128, 185, 0.2);
    border-left-color: #f39c12;
}

.expansion-detail-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.expansion-detail-section h4 i {
    color: #2980b9;
    font-size: 22px;
}

.expansion-detail-section p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.8;
    margin: 0;
}

/* Section des features (pleine largeur) */
.expansion-features-section {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    padding: 40px;
    border-radius: 25px;
    color: white;
    box-shadow: 0 15px 50px rgba(41, 128, 185, 0.4);
    animation: slideInFeatures 0.8s ease backwards;
    animation-delay: 0.4s;
}

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

.expansion-features-section h4 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.expansion-features-section h4 i {
    color: #f39c12;
    font-size: 26px;
}

.expansion-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.expansion-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.expansion-feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(8px);
}

.expansion-feature-item i {
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.expansion-feature-item span {
    color: white;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
}

/* Actions (boutons) */
.expansion-service-actions {
    padding: 40px 60px 50px;
    display: flex;
    justify-content: center;
    gap: 25px;
    background: #f8f9fa;
    border-radius: 0 0 30px 30px;
    animation: fadeInActions 0.8s ease backwards;
    animation-delay: 0.5s;
}

@keyframes fadeInActions {
    from { opacity: 0; }
    to { opacity: 1; }
}

.expansion-btn {
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.expansion-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.expansion-btn:hover i {
    transform: translateX(5px);
}

.expansion-btn-primary {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    box-shadow: 0 8px 25px rgba(9, 71, 205, 0.4);
}

.expansion-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(7, 46, 174, 0.5);
}

.expansion-btn-secondary {
    background: white;
    color: #2980b9;
    border: 2px solid #2980b9;
}

.expansion-btn-secondary:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-3px);
}

/* Effet de séparateur avant l'expansion */
#serviceExpansion::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, #2980b9, #f39c12);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(41, 128, 185, 0.4);
}

/* ============================================
   RESPONSIVE - TABLETTE
   ============================================ */
@media (max-width: 1024px) {
    #serviceExpansion {
        margin: 25px 20px;
        border-radius: 25px;
    }
    
    .expansion-service-header {
        padding: 40px 40px;
        border-radius: 25px 25px 0 0;
    }
    
    .expansion-service-icon {
        width: 75px;
        height: 75px;
    }
    
    .expansion-service-icon i {
        font-size: 36px;
    }
    
    .expansion-service-title {
        font-size: 30px;
    }
    
    .expansion-service-body {
        padding: 40px 40px;
        gap: 25px;
    }
    
    .expansion-detail-section {
        padding: 25px;
    }
    
    .expansion-features-section {
        padding: 35px;
    }
    
    .expansion-features-list {
        grid-template-columns: 1fr;
    }
    
    .expansion-service-actions {
        padding: 35px 40px 45px;
        flex-wrap: wrap;
    }
}

/* ============================================
   MASQUER SUR MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
    #serviceExpansion {
        display: none !important;
    }
}

/* ============================================
   RESPONSIVE - PETIT DESKTOP
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .expansion-service-body {
        grid-template-columns: 1fr;
    }
    
    .expansion-features-section {
        grid-column: 1;
    }
}

/* Smooth scroll vers l'expansion quand elle s'ouvre */
html {
    scroll-behavior: smooth;
}

/* Ajustement si l'expansion est dans le carousel */
.services-carousel-container #serviceExpansion {
    margin-top: 40px;
}