/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .nav-close {
        display: none;
    }
}

:root {
    --primary-color: #1e3a8a; /* Bleu marine */
    --secondary-color: #1f2937; /* Gris foncé */
    --accent-color: #f59e0b; /* Doré/Orange - nouvelle couleur principale */
    --accent-hover: #d97706; /* Doré foncé pour hover */
    --accent-light: #fbbf24; /* Doré clair */
    --copper-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    --blue-gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    --premium-shadow: 0 8px 32px rgba(245, 158, 11, 0.4);
    --premium-shadow-hover: 0 12px 48px rgba(245, 158, 11, 0.6);
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --dark-gray: #374151;
    --text-color: #111827;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Boutons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--premium-shadow);
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--premium-shadow-hover);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Burger menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Animation du burger menu */
.burger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-active span:nth-child(2) {
    opacity: 0;
}

.burger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(30, 58, 138, 0.7), rgba(31, 41, 55, 0.8)), 
                url('../images/cropped-view-of-guard-using-metal-detector-2022-12-16-20-24-38-utc-1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Sections générales */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* À propos */
.about {
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    margin-top: 1rem;
}

.about-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-highlight i {
    font-size: 2rem;
    color: var(--accent-color);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.feature-highlight h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.feature-highlight p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin: 0;
    opacity: 0.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.stat-item {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #1e40af 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: 
        0 8px 32px rgba(30, 58, 138, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.2);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.1) 50%, rgba(245, 158, 11, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-color), transparent, var(--accent-color));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(30, 58, 138, 0.4),
        0 8px 24px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.6);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-item:hover .stat-number {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

/* Animation d'apparition séquentielle */
.stat-item:nth-child(1) {
    animation: slideInStats 0.6s ease-out 0.1s both;
}

.stat-item:nth-child(2) {
    animation: slideInStats 0.6s ease-out 0.2s both;
}

.stat-item:nth-child(3) {
    animation: slideInStats 0.6s ease-out 0.3s both;
}

.stat-item:nth-child(4) {
    animation: slideInStats 0.6s ease-out 0.4s both;
}

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

/* Effet de pulsation pour attirer l'attention */
.stat-item:nth-child(4) .stat-number {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
    }
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.about-image-container:hover .about-main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.about-image-container:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.overlay-content i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.about-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.certification-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.certification-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
    border-color: var(--accent-color);
}

.certification-badge i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
}

.certification-badge strong {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.certification-badge span {
    font-size: 0.85rem;
    color: var(--dark-gray);
    opacity: 0.8;
}

.about-values {
    text-align: center;
    margin-top: 3rem;
}

.values-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-item {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(2, 6, 23, 0.12);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #fbbf24 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 18px rgba(14,165,233,0.35);
}

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

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive pour la section À propos */
@media (max-width: 1024px) {
    .about-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .about-header {
        margin-bottom: 3rem;
    }
    
    .about-intro {
        font-size: 1.1rem;
    }
    
    .about-main {
        margin-bottom: 3rem;
    }
    
    .about-features {
        gap: 1rem;
    }
    
    .feature-highlight {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .certification-badge {
        flex: 1;
        min-width: 120px;
        padding: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-subtitle {
        font-size: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .feature-highlight i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
    }
    
    .value-icon i {
        font-size: 1.2rem;
    }
    
    .values-title {
        font-size: 1.6rem;
    }
}

/* Expertise Section - VERSION MODERNE */
.expertise-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(26, 54, 93, 0.1) 0%, transparent 45%);
    pointer-events: none;
}

.expertise-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.expertise-intro {
    max-width: 700px;
    margin: 2rem auto 0;
    font-size: 1.2rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Catégories d'expertise */
.expertise-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.expertise-category {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.expertise-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 24px 24px 0 0;
}

.expertise-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* Headers de catégories */
.category-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.3);
    position: relative;
}

.category-icon::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 17px;
    pointer-events: none;
}

.category-icon i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.category-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    opacity: 0.8;
    margin: 0;
    font-weight: 500;
}

/* Cards d'expertise */
.expertise-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(245, 158, 11, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, rgba(26, 54, 93, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.expertise-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

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

/* Header des cards */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.1);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

.expertise-icon i {
    font-size: 1.5rem;
    color: white;
}

.expertise-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

/* Badges de difficulté */
.difficulty-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
    backdrop-filter: blur(10px);
}

.difficulty-badge.expert {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.3);
}

.difficulty-badge.intermediate {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.3);
}

.difficulty-badge.beginner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.1));
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.3);
}

.time-estimate {
    font-size: 0.85rem;
    color: var(--dark-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.time-estimate::before {
    content: '⏱';
    font-size: 0.9rem;
}

/* Contenu des cards */
.card-content {
    position: relative;
    z-index: 1;
}

.expertise-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.expertise-excerpt {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Tags de fonctionnalités */
.expertise-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    color: var(--accent-color);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.feature-tag i {
    font-size: 0.9rem;
}

/* CTA Section */
.expertise-cta {
    margin-top: 5rem;
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f172a 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.expertise-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    flex: 1;
}

.cta-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.btn-expert {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d97706 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-expert:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #f59e0b 0%, var(--accent-color) 100%);
}

.btn-expert i {
    font-size: 1.2rem;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.cta-guarantee i {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .expertise-cards {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-action {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .expertise-section {
        padding: 4rem 0;
    }
    
    .expertise-category {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .expertise-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-card {
        padding: 2rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .expertise-title {
        font-size: 1.2rem;
    }
    
    .expertise-cta {
        padding: 2.5rem 1.5rem;
        margin-top: 3rem;
    }
    
    .cta-text h3 {
        font-size: 1.5rem;
    }
    
    .btn-expert {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .expertise-categories {
        gap: 2.5rem;
    }
    
    .category-header {
        padding-bottom: 1.5rem;
    }
    
    .expertise-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .expertise-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 1rem;
    }
}

/* Services unifiés dans features-grid */

/* Services cartes texte + image */
.services-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.06);
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.12);
}

.service-text {
    padding: 1.5rem;
    flex: 1;
}

.service-text h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-text p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.service-media {
    width: 100%;
}

/* Taille unique pour les 3 images des services */
.service-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

@media (min-width: 1025px) {
    .services-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .service-item {
        grid-template-columns: 1fr;
        height: 100%;
    }
}

/* Pourquoi nous choisir */
.why-choose {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #38bdf8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 18px rgba(14,165,233,0.35);
}

.feature-icon i {
    font-size: 1.35rem;
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Chiffres clés */
.stats {
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.3);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    font-weight: 600;
    margin-left: 0.25rem;
    opacity: 0.8;
}

.stat-card:nth-child(2) .stat-number::after {
    content: '/7';
}

.stat-card:nth-child(4) .stat-number::after {
    content: '';
}

.stat-label {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Responsive Design pour section chiffres clés */
@media (max-width: 1024px) {
    .stats {
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    
    .stat-card {
        padding: 3rem 2rem;
        min-height: 240px;
    }
    
    .stat-card::after {
        width: 32px;
        height: 32px;
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats {
        padding: 60px 0;
    }
    
    .stats .section-title {
        margin-bottom: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        padding: 2.5rem 1.5rem;
        min-height: 200px;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .stat-card::after {
        display: none; /* Masquer les icônes décoratives sur mobile */
    }
    
    .stat-number {
        font-size: clamp(3rem, 10vw, 4.5rem);
        margin-bottom: 1rem;
        letter-spacing: -2px;
    }
    
    .stat-number::after {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }
    
    .stat-label {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        letter-spacing: 1px;
        max-width: 100%;
    }
    
    /* Réduire les effets hover sur mobile */
    .stat-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
}

@media (max-width: 480px) {
    .stats {
        padding: 40px 0;
    }
    
    .stats::before {
        animation: none; /* Désactiver l'animation de particules sur très petits écrans */
    }
    
    .stats-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
        min-height: 180px;
        border-radius: 24px;
        backdrop-filter: blur(15px);
    }
    
    .stat-card::before {
        border-radius: 26px;
    }
    
    .stat-number {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
        margin-bottom: 0.8rem;
        letter-spacing: -1px;
    }
    
    .stat-number::after {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
        margin-left: 0.3rem;
    }
    
    .stat-label {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
        letter-spacing: 0.5px;
        line-height: 1.3;
    }
    
    /* Désactiver les transformations complexes sur mobile */
    @keyframes slideInGlow {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .stat-card:hover {
        transform: translateY(-5px);
    }
}

/* Optimisations performance pour animations */
@media (prefers-reduced-motion: reduce) {
    .stats::before,
    .stat-card::before,
    .stat-number,
    .stat-card:nth-child(n) {
        animation: none;
    }
    
    .stat-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .stat-card:hover {
        transform: translateY(-8px);
    }
}

/* Témoignages */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.testimonials-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.testimonials-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 4rem auto;
    padding: 0 clamp(60px, 8vw, 100px); /* Padding augmenté pour les boutons */
    overflow: hidden; /* Maintient le clipping du contenu */
    border-radius: 24px;
}

.testimonials-track {
    display: flex;
    width: 300%;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 24px; /* Assure le border-radius sur le track */
}

.testimonial-card {
    width: 33.333%;
    flex-shrink: 0;
    padding: 0 clamp(0.5rem, 2vw, 1.5rem);
    box-sizing: border-box;
}

.testimonial-card .testimonial-content {
    background: var(--white);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    min-height: clamp(350px, 40vh, 450px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Navigation du carrousel - Disposition corrigée */
.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 140px); /* Étend la largeur pour placer les boutons à l'extérieur */
    left: -70px; /* Centre la navigation étendue */
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
    padding: 0;
}

.carousel-btn {
    width: clamp(54px, 8vw, 64px);
    height: clamp(54px, 8vw, 64px);
    background: linear-gradient(135deg, 
        var(--accent-color) 0%, 
        #f59e0b 50%, 
        #d97706 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 600;
    cursor: pointer;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(245, 158, 11, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    transform: rotate(45deg) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.carousel-btn::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-prev::after {
    left: 35%;
    animation: pulseLeft 2s infinite;
}

.carousel-next::after {
    right: 35%;
    animation: pulseRight 2s infinite;
}

@keyframes pulseLeft {
    0%, 100% { 
        opacity: 0.3; 
        transform: translateY(-50%) translateX(-2px); 
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-50%) translateX(2px); 
    }
}

@keyframes pulseRight {
    0%, 100% { 
        opacity: 0.3; 
        transform: translateY(-50%) translateX(2px); 
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-50%) translateX(-2px); 
    }
}

.carousel-btn:hover {
    background: linear-gradient(135deg, 
        #e97e0c 0%, 
        var(--accent-color) 50%, 
        #f59e0b 100%);
    transform: scale(1.15) rotateZ(5deg);
    box-shadow: 
        0 15px 45px rgba(245, 158, 11, 0.7),
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-btn:hover::before {
    transform: rotate(45deg) scale(1);
}

.carousel-btn:hover::after {
    opacity: 1;
}

.carousel-btn:active {
    transform: scale(1.05) rotateZ(2deg);
    transition: transform 0.15s ease;
    box-shadow: 
        0 8px 20px rgba(245, 158, 11, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
    transform: translateX(-50%);
    animation: breatheLeft 3s ease-in-out infinite;
}

.carousel-next {
    transform: translateX(50%);
    animation: breatheRight 3s ease-in-out infinite;
}

@keyframes breatheLeft {
    0%, 100% { 
        transform: translateX(-50%) scale(1); 
        opacity: 0.9; 
    }
    50% { 
        transform: translateX(-50%) scale(1.02); 
        opacity: 1; 
    }
}

@keyframes breatheRight {
    0%, 100% { 
        transform: translateX(50%) scale(1); 
        opacity: 0.9; 
    }
    50% { 
        transform: translateX(50%) scale(1.02); 
        opacity: 1; 
    }
}

.carousel-btn:not(:hover) {
    animation-play-state: running;
}

.carousel-btn:hover {
    animation-play-state: paused;
}

/* Indicateurs */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1rem 0;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 0;
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 
        0 0 20px rgba(245, 158, 11, 0.6),
        0 4px 12px rgba(245, 158, 11, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.indicator.active::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.indicator:hover:not(.active) {
    background: rgba(245, 158, 11, 0.2);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    border-color: var(--accent-light);
}

.indicator:hover:not(.active)::before {
    width: 60%;
    height: 60%;
    opacity: 0.6;
}

/* Responsive pour les indicateurs */
@media (max-width: 1024px) {
    .carousel-indicators {
        gap: 0.8rem;
        margin-top: 2.5rem;
        padding: 0.8rem 0;
    }
    
    .indicator {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 768px) {
    .carousel-indicators {
        gap: 0.6rem;
        margin-top: 2rem;
        padding: 1.2rem 0; /* Zone de clic plus large pour tactile */
    }
    
    .indicator {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .indicator.active {
        transform: scale(1.3); /* Plus visible sur mobile */
    }
    
    .indicator:hover:not(.active) {
        transform: scale(1.2); /* Ajusté pour mobile */
    }
}

@media (max-width: 480px) {
    .carousel-indicators {
        gap: 0.5rem;
        margin-top: 1.5rem;
        padding: 1.5rem 0; /* Zone tactile étendue */
    }
    
    .indicator {
        width: 10px;
        height: 10px;
        border-width: 1.5px;
    }
    
    .indicator.active {
        transform: scale(1.4);
        box-shadow: 
            0 0 15px rgba(245, 158, 11, 0.5),
            0 2px 8px rgba(245, 158, 11, 0.3);
    }
    
    /* Suppression des effets hover sur très petits écrans */
    .indicator:hover:not(.active) {
        transform: scale(1);
        background: transparent;
        box-shadow: none;
    }
    
    .indicator:hover:not(.active)::before {
        width: 0;
        height: 0;
        opacity: 0;
    }
}

/* Contenu des témoignages */
.testimonial-rating {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    transition: transform 0.2s ease;
}

.testimonial-rating i:hover {
    transform: scale(1.1);
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    font-style: italic;
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

.testimonial-text::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent-color);
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: Georgia, serif;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text::after {
    content: '"';
    font-size: 5rem;
    color: var(--accent-color);
    position: absolute;
    bottom: -2.5rem;
    right: -1rem;
    font-family: Georgia, serif;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: center;
    margin-top: auto;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px rgba(30, 58, 138, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.testimonial-card.active .author-avatar {
    transform: scale(1.05);
    box-shadow: 
        0 12px 30px rgba(30, 58, 138, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.15);
}

.author-info {
    text-align: left;
    flex: 1;
}

.author-info h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.author-info span {
    color: var(--dark-gray);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    line-height: 1.4;
}

.company-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #fbbf24);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card.active .company-badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6);
}

/* Section Partenaires */
.trusted-partners {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    text-align: center;
}

.partners-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    position: relative;
}

.partners-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

.partner-logo i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.partner-logo:hover i {
    color: var(--accent-color);
}

.partner-logo span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-align: center;
    line-height: 1.3;
}

/* Blog / Actualités */
.blog {
    background: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-content {
    padding: 2rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-meta {
    margin-bottom: 1rem;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
    opacity: 0.7;
    font-weight: 500;
}

.blog-excerpt {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.blog-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-color);
}

.blog-link:hover::after {
    transform: translateX(3px);
}

/* Contact */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 300px;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-text {
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.5;
}

/* Formulaire de contact */
.contact-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem auto;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 700px;
    text-align: left;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-color);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    transform: translateY(-1px);
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
    opacity: 0.8;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--premium-shadow);
}

.form-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--premium-shadow-hover);
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::before {
    left: 100%;
}

/* États des champs */
.form-group-active .form-label {
    color: var(--accent-color);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Ne pas appliquer la bordure verte automatiquement aux champs optionnels vides */
.form-input:valid:not(:placeholder-shown),
.form-select:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.form-input.field-valid,
.form-select.field-valid,
.form-textarea.field-valid {
    border-color: #10b981;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
}

.form-input.field-invalid,
.form-select.field-invalid,
.form-textarea.field-invalid {
    border-color: #dc2626;
    background: linear-gradient(145deg, #ffffff 0%, #fef2f2 100%);
    animation: shake 0.5s ease-in-out;
}

/* Animation de secousse pour les erreurs */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Animation d'apparition des notifications */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Amélioration du focus */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 
        0 0 0 3px rgba(14, 165, 233, 0.1),
        0 4px 20px rgba(14, 165, 233, 0.1);
    transform: translateY(-1px);
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
}

/* Champ honeypot - Protection anti-bots */
.honeypot-group {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.honeypot-label {
    display: none !important;
}

.honeypot-input {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    border: none !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.contact-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav.nav-active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 10000;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .nav.nav-active .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav.nav-active .nav-link {
        color: var(--secondary-color);
        font-size: 1.8rem;
    }
    
    .nav.nav-active .nav-link:hover {
        color: var(--primary-color);
    }
    
    .nav.nav-active .nav-link::after {
        display: none;
    }
    
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .nav-close:hover {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .nav-close span {
        width: 20px;
        height: 2px;
        background: var(--secondary-color);
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .nav-close span:first-child {
        transform: rotate(45deg);
    }
    
    .nav-close span:last-child {
        transform: rotate(-45deg);
    }
    
    .burger-menu {
        display: flex;
    }
    
    .header-content .btn-primary {
        display: none;
    }
    
    /* Logo responsive */
    .company-name {
        font-size: 1.1rem;
        letter-spacing: -0.3px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .testimonials-grid,
    .stats-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .testimonial-text::before {
        font-size: 3rem;
        top: -1rem;
        left: -0.5rem;
    }
    
    /* Formulaire responsive */
    .contact-form-container {
        padding: 2rem;
        margin: 2rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.875rem 1rem;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-item {
        min-width: 280px;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Logo très petit écran */
    .company-name {
        font-size: 1rem;
        letter-spacing: -0.2px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .contact-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-item {
        min-width: 250px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Formulaire très petit écran */
    .contact-form-container {
        padding: 1.5rem;
        margin: 1.5rem 0.5rem;
        border-radius: 16px;
    }
    
    .contact-form-title {
        font-size: 1.3rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .testimonials-grid {
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
        border-radius: 16px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .testimonial-text::before {
        font-size: 2.5rem;
        top: -0.75rem;
        left: -0.25rem;
    }
    
    .testimonial-author {
        padding-top: 1rem;
    }
    
    .testimonial-author h4 {
        font-size: 1.1rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
    
    .feature-item,
    .stat-card,
    .blog-content {
        padding: 1.5rem;
    }
}

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

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); opacity: 0.4; }
    50% { transform: translateY(-10px); opacity: 0.8; }
}

.feature-item {
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(1) {
    animation: slideInFromLeft 0.8s ease forwards;
}

.testimonial-card:nth-child(2) {
    animation: scaleIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.testimonial-card:nth-child(3) {
    animation: slideInFromRight 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

/* Responsive amélioré pour témoignages */
@media (max-width: 1024px) {
    .testimonials-carousel {
        max-width: 100%;
        padding: 0 clamp(50px, 6vw, 80px); /* Padding ajusté pour tablette */
    }
    
    .testimonial-card .testimonial-content {
        min-height: clamp(320px, 35vh, 400px);
    }
}

@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0 clamp(20px, 4vw, 40px); /* Padding réduit sur mobile */
        border-radius: 16px;
    }
    
    .testimonial-card {
        padding: 0 clamp(0.25rem, 1vw, 0.75rem);
    }
    
    .testimonial-card .testimonial-content {
        border-radius: 16px;
        min-height: clamp(300px, 50vh, 380px);
    }
    
    .carousel-navigation {
        display: none; /* Masque les boutons sur mobile */
    }
    
    .testimonial-text {
        font-size: clamp(1rem, 3vw, 1.2rem);
        padding: 0 0.5rem;
    }
    
    .author-info h4 {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
    }
    
    .author-info span {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }
}

@media (max-width: 480px) {
    .testimonials-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-carousel {
        margin-bottom: 3rem;
        padding: 0 15px; /* Padding minimal sur très petit écran */
    }
    
    .testimonial-card .testimonial-content {
        min-height: clamp(280px, 60vh, 350px);
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}