/* ===== VARIABLES CSS - ULTRA MODERNE ===== */
:root {
    /* Couleurs principales - Adaptées au logo Omnicom */
    --primary-color: #1e3a8a;      /* Bleu professionnel */
    --secondary-color: #0f172a;    /* Bleu très foncé */
    --accent-color: #3b82f6;       /* Bleu accent */
    --success-color: #10b981;      /* Vert moderne */
    --warning-color: #f59e0b;      /* Orange */
    --danger-color: #ef4444;       /* Rouge moderne */
    
    /* Couleurs neutres */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    
    /* Typographie */
    --font-family: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Bordures */
    --border-radius: 10px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--spacing-sm));
}

.col {
    flex: 1;
    padding: 0 var(--spacing-sm);
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

.section-header {
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-badge i {
    font-size: 12px;
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::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: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 14px;
}

/* ===== CARTES ===== */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--light-gray);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--light-gray);
    background: var(--light-gray);
}

/* ===== NAVIGATION MODERNE ===== */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: var(--z-fixed);
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Logo styles */
.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.desktop-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin: 0;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.navbar-cta {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.mobile-nav {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.mobile-link {
    display: block;
    padding: var(--spacing-sm);
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-link:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.mobile-cta {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light-gray);
}

/* ===== HERO MODERNE ===== */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.title-line {
    display: block;
    color: var(--white);
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg) 0;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.feature-icon-hero {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.feature-icon-hero .icon {
    color: var(--white);
    font-size: 20px;
}

.feature-text h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary-color);
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== SECTION SOLUTIONS TECHNOLOGIQUES OMNICOM ===== */
.solutions-tech-section {
    background: var(--white);
}

.solutions-tech-content {
    text-align: center;
    max-width: 100%;
    margin: 0;
}

.solutions-tech-image {
    margin-top: var(--spacing-xl);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.solutions-main-image {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.solutions-main-image:hover {
    transform: scale(1.01);
    filter: brightness(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(16, 185, 129, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.solutions-tech-image:hover .image-overlay {
    opacity: 1;
}

.overlay-content-fullscreen {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: var(--spacing-xl);
}

.overlay-content-fullscreen h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.overlay-content-fullscreen p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.overlay-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: 1.1rem;
}

.overlay-badge .icon {
    color: #fbbf24;
    font-size: 20px;
}

.solutions-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-gray);
}

.highlight-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.highlight-item .icon {
    color: var(--success-color);
    font-size: 16px;
    transition: var(--transition);
}

.highlight-item:hover .icon {
    color: var(--white);
}

.solutions-cta {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid rgba(30, 58, 138, 0.2);
}

.solutions-cta .btn {
    margin: 0 var(--spacing-sm);
}

/* ===== SECTION À PROPOS ===== */
.about-section {
    background: var(--light-gray);
}

.about-content {
    padding-right: var(--spacing-xl);
}

.about-features {
    margin: var(--spacing-xl) 0;
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.feature-content p {
    color: var(--gray);
    margin: 0;
}

.about-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.about-visual {
    position: relative;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    -webkit-will-change: transform;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.badge-content {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.2;
}

/* ===== SERVICES MODERNES ===== */
.services-modern {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.service-card-modern {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card-header {
    position: relative;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--light-gray), var(--white));
}

.service-image-modern {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border: 3px solid var(--primary-color);
}

.service-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.service-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-card-body {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.service-title-modern {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.service-description-modern {
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    color: var(--gray);
    font-size: 14px;
}

.service-features i {
    color: var(--success-color);
    font-size: 12px;
}

.service-card-footer {
    padding: var(--spacing-lg);
    background: var(--light-gray);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ===== SECTION RÉALISATIONS ===== */
.projects-section {
    background: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
}

.project-category {
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-content {
    padding: var(--spacing-lg);
}

.project-content h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.project-content p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

.project-stats {
    display: flex;
    gap: var(--spacing-md);
    font-size: 14px;
    color: var(--gray);
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.projects-cta {
    margin-top: var(--spacing-xl);
}



/* ===== CONTACT MODERNE ===== */
.contact-modern {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
}

.contact-modern .section-title,
.contact-modern .section-subtitle {
    color: var(--white);
}

.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.contact-details p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.contact-form-modern {
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-row {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.1);
    color: #333;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(153,153,153,0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.15);
}

/* ===== STYLES POUR FORMULAIRES RESPONSIVES ===== */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger-color);
    background: rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.field-error {
    color: var(--danger-color);
    font-size: 12px;
    margin-top: 4px;
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.form-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    text-align: center;
    animation: fadeInUp 0.3s ease-out;
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-message-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Amélioration de l'UX mobile pour les formulaires */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Évite le zoom sur iOS */
        padding: var(--spacing-md);
    }
    
    .form-group input[type="tel"]:focus {
        font-size: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .field-error {
        font-size: 11px;
    }
    
    .form-message {
        font-size: 14px;
        padding: var(--spacing-sm);
    }
    
    /* Hero responsive */
    .hero-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin: var(--spacing-lg) 0;
        padding: var(--spacing-md) 0;
    }
    
    .hero-feature {
        padding: var(--spacing-sm);
    }
    
    .feature-icon-hero {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon-hero .icon {
        font-size: 16px;
    }
    
    .feature-text h4 {
        font-size: 14px;
    }
    
    .feature-text p {
        font-size: 12px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .stat-item {
        text-align: center;
        padding: var(--spacing-sm);
    }
    
    /* Cartes flottantes responsive */
    .floating-card {
        display: none; /* Masquer sur tablette */
    }
    
    .hero-image-container {
        height: 300px; /* Réduire la hauteur sur tablette */
    }
}

.form-group select option {
    background: var(--secondary-color);
    color: var(--white);
}

/* ===== FOOTER MODERNE ===== */
.footer-modern {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    margin-bottom: var(--spacing-lg);
}

/* Footer logo styles */
.footer-brand img {
    transition: var(--transition);
}

.footer-brand img:hover {
    transform: scale(1.05);
}

.footer-brand h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: var(--spacing-xs);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    color: var(--accent-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* ===== FOOTER SIMPLE ===== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    margin-top: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-graphic {
    width: 40px;
    height: 40px;
    position: relative;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

/* ===== SECTION DÉTAIL SERVICE ===== */
.service-detail-section {
    padding-top: 120px;
    padding-bottom: var(--spacing-2xl);
    min-height: calc(100vh - 120px);
    background: var(--white);
}

/* ===== STYLES POUR PAGES D'ADMINISTRATION ===== */
/* Réinitialiser les styles pour les pages admin */
body.admin-page {
    overflow-x: auto;
    background: #f8f9fa;
}

body.admin-page .service-detail-section {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
    background: transparent;
}

body.admin-page .navbar {
    position: static;
}

body.admin-page .footer {
    margin-top: 0;
}

/* Styles spécifiques pour l'admin */
.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 0.25rem 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

.admin-sidebar .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.admin-main-content {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem;
}

.admin-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.admin-stat-card .stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Couleurs spécifiques pour les cartes de stats */
.admin-stat-card:nth-child(1) {
    border-left-color: #007bff;
}

.admin-stat-card:nth-child(2) {
    border-left-color: #28a745;
}

.admin-stat-card:nth-child(3) {
    border-left-color: #ffc107;
}

.admin-stat-card:nth-child(4) {
    border-left-color: #17a2b8;
}

/* Styles supplémentaires pour l'admin */
.badge-unread {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.contact-preview {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-unread {
    background-color: #fff3cd;
    font-weight: bold;
    border-left: 4px solid #ffc107;
}

.contact-read {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
}

/* Amélioration des cartes admin */
body.admin-page .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

body.admin-page .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

body.admin-page .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1rem 1rem 0 0 !important;
    border: none;
    padding: 1rem 1.5rem;
}

body.admin-page .card-body {
    padding: 1.5rem;
}

/* Amélioration des tableaux admin */
body.admin-page .table {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

body.admin-page .table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem;
    font-weight: 600;
}

body.admin-page .table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

/* Amélioration des boutons admin */
body.admin-page .btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

body.admin-page .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

body.admin-page .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Responsive pour l'admin */
@media (max-width: 768px) {
    .admin-main-content {
        padding: 1rem;
    }
    
    .admin-stat-card {
        margin-bottom: 1rem;
    }
    
    .admin-sidebar {
        min-height: auto;
    }
}

/* ===== STYLES PROFESSIONNELS POUR FORMULAIRES ADMIN ===== */
body.admin-page .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

body.admin-page .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: #ffffff;
}

body.admin-page .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.admin-page .form-text {
    color: #6c757d;
    font-size: 0.8rem;
    font-style: italic;
}

/* Amélioration des onglets */
body.admin-page .nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

body.admin-page .nav-tabs .nav-link {
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    background: transparent;
}

body.admin-page .nav-tabs .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    border: none;
}

body.admin-page .nav-tabs .nav-link.active {
    color: #667eea;
    background: #ffffff;
    border: none;
    border-bottom: 3px solid #667eea;
    font-weight: 600;
}

/* Amélioration des switches */
body.admin-page .form-check-input {
    width: 3rem;
    height: 1.5rem;
    border-radius: 1rem;
    border: 2px solid #dee2e6;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

body.admin-page .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

body.admin-page .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

body.admin-page .form-check-label {
    font-weight: 500;
    color: #495057;
    margin-left: 0.5rem;
}

/* Amélioration des boutons */
body.admin-page .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.admin-page .btn::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;
}

body.admin-page .btn:hover::before {
    left: 100%;
}

body.admin-page .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body.admin-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

body.admin-page .btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

body.admin-page .btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* Amélioration des alertes */
body.admin-page .alert {
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body.admin-page .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

body.admin-page .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Amélioration des textarea */
body.admin-page textarea.form-control {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Amélioration des file inputs */
body.admin-page input[type="file"].form-control {
    padding: 0.5rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

body.admin-page input[type="file"].form-control:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

/* Amélioration des sections */
body.admin-page .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

body.admin-page .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

body.admin-page .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.admin-page .card-body {
    padding: 2rem;
}

/* Amélioration des groupes de champs */
body.admin-page .row {
    margin-bottom: 1rem;
}

body.admin-page .col-md-6,
body.admin-page .col-md-4 {
    margin-bottom: 1rem;
}

/* Amélioration des titres de sections */
body.admin-page h6 {
    color: #667eea;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Amélioration des icônes */
body.admin-page .fas {
    color: #667eea;
}

body.admin-page .card-header .fas {
    color: white;
}

/* Animation d'entrée pour les cartes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.admin-page .card {
    animation: slideInUp 0.6s ease-out;
}

/* Amélioration du responsive */
@media (max-width: 768px) {
    body.admin-page .card-body {
        padding: 1.5rem;
    }
    
    body.admin-page .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    body.admin-page .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

.service-detail-header {
    margin-bottom: var(--spacing-2xl);
}

.service-detail-header .section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.02em;
}

.service-detail-header .section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray);
    font-weight: 400;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-detail-content h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    font-size: var(--font-size-xl);
    line-height: 1.3;
}

.service-detail-content p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.service-features {
    margin-top: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(248, 249, 250, 0.8) 100%);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-item:hover {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-lg);
    line-height: 1.3;
}

.feature-item p {
    color: var(--dark-gray);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: var(--font-size-base);
}

.service-detail-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.service-benefits {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(248, 249, 250, 0.9) 100%);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    margin-top: var(--spacing-2xl);
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-benefits h3 {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    line-height: 1.2;
}

.benefit-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.benefit-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.benefit-card p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 14px;
}

/* ===== UTILITAIRES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--danger-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--light-gray); }
.bg-dark { background-color: var(--dark-gray); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-full { border-radius: 50%; }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ===== STYLES POUR LES IMAGES DE SERVICES ===== */
.service-hero-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.service-hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.service-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.service-hero-image:hover img {
    transform: scale(1.05);
}

/* Optimisation pour mobile */
@media (max-width: 768px) {
    .service-hero-image img {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 300px !important;
        margin-bottom: 10px !important;
    }
    
    .service-feature {
        padding: 20px !important;
    }
    
    .service-feature h3 {
        font-size: 1.3rem !important;
    }
    
    .service-sidebar {
        position: static !important;
        margin-top: 30px !important;
    }
}

@media (max-width: 480px) {
    .service-hero-image img {
        height: 250px;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
    
    .service-feature {
        padding: 15px !important;
    }
    
    .service-feature h3 {
        font-size: 1.2rem !important;
    }
}

/* ===== RESPONSIVE AVANCÉ ===== */

/* ===== BREAKPOINTS RESPONSIVES ===== */
/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-title {
        font-size: 4rem;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .navbar-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-lg);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-links {
        justify-content: center;
    }

    /* Styles responsives pour les pages de services */
    .service-detail-section {
        padding-top: 100px;
        padding-bottom: var(--spacing-xl);
    }

    .service-detail-header .section-title {
        font-size: var(--font-size-2xl);
    }

    .service-detail-header .section-subtitle {
        font-size: var(--font-size-base);
        text-align: center !important;
        padding: 0 20px;
        line-height: 1.5;
    }

    .feature-item {
        flex-direction: row;
        text-align: left;
        gap: var(--spacing-md);
    }

    .feature-item i {
        margin-top: 4px;
        margin-bottom: 0;
    }

    .service-benefits {
        padding: var(--spacing-xl);
    }

    .benefit-card {
        margin-bottom: var(--spacing-md);
    }
    
    /* Navigation mobile améliorée */
    .mobile-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .mobile-nav {
        padding: var(--spacing-md) 0;
    }
    
    .mobile-link {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-lg);
        border-bottom: 1px solid var(--light-gray);
    }
    
    .mobile-cta {
        padding: var(--spacing-lg);
        background: var(--light-gray);
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2.5rem;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .navbar-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .col-6,
    .col-4,
    .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        margin-bottom: var(--spacing-sm);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Styles responsives pour les pages de services */
    .service-detail-section {
        padding-top: 100px;
        padding-bottom: var(--spacing-xl);
    }

    .service-detail-header .section-title {
        font-size: var(--font-size-2xl) !important;
        color: var(--primary-color) !important;
        margin-bottom: var(--spacing-md);
        font-weight: 800 !important;
        line-height: 1.2;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
        text-align: center !important;
        padding: 0 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .service-detail-header .section-subtitle {
        font-size: var(--font-size-base);
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .feature-item i {
        margin-top: 0;
        margin-bottom: var(--spacing-sm);
    }

    .service-benefits {
        padding: var(--spacing-xl);
    }

    .benefit-card {
        margin-bottom: var(--spacing-md);
    }
    
    /* Navigation mobile optimisée */
    .navbar-container {
        padding: var(--spacing-xs) 0;
    }
    
    .navbar-brand img {
        max-width: 150px;
    }
    
    .mobile-menu {
        max-height: 70vh;
        overflow-y: auto;
        padding: var(--spacing-md);
    }
    
    .mobile-nav {
        margin-bottom: var(--spacing-md);
    }
    
    .mobile-link {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-base);
        border-bottom: 1px solid var(--light-gray);
    }
    
    .mobile-cta {
        padding: var(--spacing-md);
        background: var(--light-gray);
    }
    
    /* Hero mobile optimisé */
    .hero-modern {
        min-height: 80vh;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-image-container {
        height: 300px;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Cartes optimisées */
    .card-body {
        padding: var(--spacing-md);
    }
    
    .service-card-modern {
        margin-bottom: var(--spacing-lg);
    }
    
    .service-card-header {
        padding: var(--spacing-md);
    }
    
    .service-card-body {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }
    
    .service-card-footer {
        padding: var(--spacing-md);
    }
    
    /* Contact mobile */
    .contact-form-modern {
        padding: var(--spacing-lg);
    }
    
    .contact-card {
        padding: var(--spacing-md);
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Mobile Small (max-width: 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .section-title {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-sm);
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: var(--spacing-lg);
    }
    
    .desktop-menu {
        display: none;
    }
    
    .navbar-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .col-6,
    .col-4,
    .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 14px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .client-logo {
        height: 60px;
        padding: var(--spacing-sm);
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: var(--spacing-sm);
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .footer-links a {
        font-size: 12px;
    }

    /* Styles responsives pour les pages de services sur très petits écrans */
    .service-detail-section {
        padding-top: 80px;
        padding-bottom: var(--spacing-lg);
    }

    .service-detail-header .section-title {
        font-size: var(--font-size-xl) !important;
        color: var(--primary-color) !important;
        font-weight: 800 !important;
        text-align: center !important;
        line-height: 1.1 !important;
        margin-bottom: var(--spacing-md) !important;
        padding: 0 10px;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
    }

    .service-detail-header .section-subtitle {
        font-size: 14px;
        text-align: center !important;
        padding: 0 15px;
        line-height: 1.4;
        margin-bottom: var(--spacing-lg) !important;
    }

    .service-benefits {
        padding: var(--spacing-lg);
    }

    .benefit-card {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-sm);
    }

    .benefit-card i {
        font-size: 24px;
    }
    
    /* Navigation mobile ultra-optimisée */
    .navbar-container {
        padding: var(--spacing-xs) 0;
    }
    
    .navbar-brand img {
        max-width: 120px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .mobile-menu {
        max-height: 60vh;
        overflow-y: auto;
        padding: var(--spacing-sm);
    }
    
    .mobile-nav {
        margin-bottom: var(--spacing-sm);
    }
    
    .mobile-link {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 14px;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .mobile-cta {
        padding: var(--spacing-sm);
        background: var(--light-gray);
    }
    
    .mobile-cta .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 14px;
    }
    
    /* Hero mobile ultra-optimisé */
    .hero-modern {
        min-height: 70vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-image-container {
        height: 250px;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-badge {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 12px;
        margin-bottom: var(--spacing-sm);
    }
    
    /* Cartes ultra-optimisées */
    .card-body {
        padding: var(--spacing-sm);
    }
    
    .service-card-modern {
        margin-bottom: var(--spacing-md);
    }
    
    .service-card-header {
        padding: var(--spacing-sm);
    }
    
    .service-card-body {
        padding: 0 var(--spacing-sm) var(--spacing-sm);
    }
    
    .service-card-footer {
        padding: var(--spacing-sm);
    }
    
    .service-image-modern,
    .service-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title-modern {
        font-size: var(--font-size-lg);
    }
    
    .service-description-modern {
        font-size: 14px;
    }
    
    /* Contact mobile ultra-optimisé */
    .contact-form-modern {
        padding: var(--spacing-md);
    }
    
    .contact-card {
        padding: var(--spacing-sm);
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .contact-details h4 {
        font-size: var(--font-size-base);
    }
    
    .contact-details p {
        font-size: 14px;
    }
    
    /* Testimonials mobile */
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .testimonial-content p {
        font-size: var(--font-size-base);
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    .author-info h5 {
        font-size: var(--font-size-base);
    }
    
    .author-info span {
        font-size: 12px;
    }
    
    /* Scroll to top mobile */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== ORIENTATION LANDSCAPE MOBILE ===== */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-modern {
        min-height: 60vh;
    }
    
    .hero-image-container {
        height: 200px;
    }
    
    .mobile-menu {
        max-height: 50vh;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
}

/* ===== HAUTE RÉSOLUTION (RETINA) ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-main-image,
    .service-image img,
    .project-image img,
    .about-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== ACCESSIBILITÉ RESPONSIVE ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-modern,
    .floating-card,
    .card,
    .btn {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== MODE SOMBRE RESPONSIVE ===== */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .mobile-menu {
        background: var(--dark-gray);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-link {
        color: var(--white);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-link:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .mobile-cta {
        background: rgba(255,255,255,0.05);
    }
}

/* ===== IMPRESSION RESPONSIVE ===== */
@media print {
    .navbar-modern,
    .mobile-menu,
    .hero-buttons,
    .contact-form-modern,
    .footer,
    .scroll-to-top {
        display: none !important;
    }
    
    .hero-modern {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .section {
        padding: var(--spacing-md) 0;
        page-break-inside: avoid;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--gray);
    }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== FOCUS VISIBLE ===== */
.btn:focus-visible,
.nav-link:focus-visible,
.mobile-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

/* ===== IMAGES RESPONSIVES ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== CARTES ET ÉLÉMENTS INTERACTIFS ===== */
.card,
.btn,
.nav-link {
    cursor: pointer;
}

/* ===== MODE CONTRASTE ÉLEVÉ ===== */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #000000;
        --accent-color: #0066cc;
        --gray: #333333;
    }
}

/* ===== MODE SOMBRE AMÉLIORÉ ===== */
@media (prefers-color-scheme: dark) {
    :root {
        /* Couleurs corrigées pour une meilleure lisibilité */
        --white: #121212;
        --light-gray: #1e1e1e;
        --gray: #e0e0e0;
        --dark-gray: #ffffff;
        --black: #ffffff;
        
        /* Couleurs principales adaptées au mode sombre */
        --primary-color: #4f8ff7;
        --secondary-color: #2c3e50;
        --accent-color: #5a9cfc;
        --success-color: #4caf50;
        --warning-color: #ff9800;
        --danger-color: #f44336;
    }
    
    /* Corrections globales pour le mode sombre */
    body {
        background-color: #121212 !important;
        color: #ffffff !important;
    }
    
    /* NAVIGATION - Correction complète */
    .navbar-modern {
        background: rgba(18, 18, 18, 0.95) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .navbar-brand {
        color: #ffffff !important;
    }
    
    .navbar-brand img {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-link {
        color: #ffffff !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #5a9cfc !important;
    }
    
    .mobile-menu {
        background: #1e1e1e !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .mobile-link {
        color: #ffffff !important;
    }
    
    .mobile-link:hover {
        background: #2a2a2a !important;
        color: #5a9cfc !important;
    }
    
    .mobile-menu-toggle span {
        background: #ffffff !important;
    }
    
    /* Force la visibilité des titres critiques */
    h1, h2, h3, h4, h5, h6,
    .hero-title,
    .section-title,
    .service-title-modern,
    .service-detail-header .section-title {
        color: #ffffff !important;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
        text-shadow: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }
    
    /* Correction pour title-highlight avec transparence */
    .title-highlight {
        -webkit-text-fill-color: #fbbf24 !important;
        color: #fbbf24 !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }
    
    /* Force la visibilité des sous-titres */
    p, span,
    .hero-subtitle,
    .section-subtitle,
    .service-description-modern,
    .service-detail-header .section-subtitle {
        color: #e0e0e0 !important;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    /* SECTIONS avec fonds blancs */
    .section {
        background-color: #121212 !important;
    }
    
    .approach-section {
        background: linear-gradient(135deg, #1e1e1e 0%, #121212 100%) !important;
    }
    
    .approach-card {
        background: #1e1e1e !important;
        color: #ffffff !important;
        border: 1px solid #333 !important;
    }
    
    .approach-content h4 {
        color: #5a9cfc !important;
    }
    
    .approach-content p {
        color: #e0e0e0 !important;
    }
    
    /* Améliore les cartes */
    .card {
        background: #1e1e1e !important;
        color: #ffffff !important;
        border: 1px solid #333 !important;
    }
    
    .card-header {
        border-bottom: 1px solid #333 !important;
        background: #1e1e1e !important;
        color: #ffffff !important;
    }
    
    .card-footer {
        border-top: 1px solid #333 !important;
        background: #1e1e1e !important;
        color: #ffffff !important;
    }
    
    /* Service cards */
    .service-card-modern {
        background: #1e1e1e !important;
        border: 1px solid #333 !important;
        color: #ffffff !important;
    }
    
    .service-card-header {
        background: linear-gradient(135deg, #2a2a2a, #1e1e1e) !important;
    }
    
    /* Améliore les liens */
    a {
        color: #5a9cfc !important;
    }
    
    a:hover {
        color: #4f8ff7 !important;
    }
    
    /* FORMULAIRES */
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #2a2a2a !important;
        color: #ffffff !important;
        border: 1px solid #444 !important;
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #999 !important;
    }
    
    .form-group label {
        color: #ffffff !important;
        visibility: visible !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    /* BOUTONS */
    .btn-primary,
    .btn-accent {
        background: linear-gradient(135deg, #4f8ff7, #5a9cfc) !important;
        color: #ffffff !important;
        border: none !important;
    }
    
    .btn-outline {
        border: 2px solid #5a9cfc !important;
        color: #5a9cfc !important;
        background: transparent !important;
    }
    
    .btn-outline:hover {
        background: #5a9cfc !important;
        color: #ffffff !important;
    }
    
    /* ICÔNES */
    .icon {
        color: #ffffff !important;
        visibility: visible !important;
        display: inline-block !important;
        opacity: 1 !important;
    }
    
    .icon-check {
        color: #10b981 !important;
    }
    
    .icon-star {
        color: #f59e0b !important;
    }
    
    /* BADGES */
    .section-badge,
    .hero-badge {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    /* STATS */
    .stat-number {
        color: #fbbf24 !important;
    }
    
    .stat-label {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* SERVICE CARDS - Corrections supplémentaires */
    .service-card-modern {
        background: #1e1e1e !important;
        border: 1px solid #333 !important;
    }
    
    .service-card-header {
        background: linear-gradient(135deg, #2a2a2a, #1e1e1e) !important;
    }
    
    .service-title-modern {
        color: #ffffff !important;
    }
    
    .service-description-modern {
        color: #e0e0e0 !important;
    }
    
    .service-features li {
        color: #e0e0e0 !important;
    }
    
    .service-card-footer {
        background: #2a2a2a !important;
        border-top: 1px solid #333 !important;
    }
    
    /* PROJECT CARDS */
    .projects-section {
        background: #121212 !important;
    }
    
    .project-card {
        background: #1e1e1e !important;
        border: 1px solid #333 !important;
    }
    
    .project-content h4 {
        color: #ffffff !important;
    }
    
    .project-content p {
        color: #e0e0e0 !important;
    }
    
    .project-category {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
    }
    
    /* FEATURE ITEMS */
    .feature-item {
        background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%) !important;
        border: 1px solid #333 !important;
    }
    
    .feature-item:hover {
        background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%) !important;
        border-color: #5a9cfc !important;
    }
    
    .feature-item h4 {
        color: #5a9cfc !important;
    }
    
    .feature-item p {
        color: #e0e0e0 !important;
    }
    
    /* SERVICE BENEFITS */
    .service-benefits {
        background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%) !important;
        border: 1px solid #333 !important;
    }
    
    .service-benefits h3 {
        color: #5a9cfc !important;
    }
    
    .benefit-card {
        background: #1e1e1e !important;
        border: 1px solid #333 !important;
        color: #ffffff !important;
    }
    
    /* CONTACT SECTION */
    .contact-modern {
        background: #121212 !important;
    }
    
    .contact-card {
        background: #1e1e1e !important;
        border: 1px solid #333 !important;
        color: #ffffff !important;
    }
    
    .contact-card:hover {
        background: #2a2a2a !important;
    }
    
    .contact-details h4 {
        color: #ffffff !important;
    }
    
    .contact-details p {
        color: #e0e0e0 !important;
    }
    
    /* FOOTER */
    .footer-modern {
        background: #0f0f0f !important;
        color: #ffffff !important;
    }
    
    .footer-content {
        color: #e0e0e0 !important;
    }
    
    /* SERVICES SECTION */
    .services-section {
        background: #121212 !important;
    }
    
    /* HERO FEATURES */
    .hero-feature {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .hero-feature:hover {
        background: rgba(255, 255, 255, 0.15) !important;
    }
}

/* ===== SECTION NOTRE APPROCHE ===== */
.approach-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.approach-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.approach-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.approach-card:hover::before {
    transform: scaleX(1);
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.approach-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.approach-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition);
}

.approach-card:hover .approach-icon::before {
    opacity: 0.6;
    transform: scale(1.1);
}

.approach-icon .icon {
    font-size: 32px;
    color: var(--white);
}

.approach-content h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 18px;
}

.approach-content p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 15px;
}

.approach-cta {
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

/* Responsive pour l'approche */
@media (max-width: 768px) {
    .approach-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .approach-card {
        padding: var(--spacing-md);
    }
    
    .approach-icon {
        width: 60px;
        height: 60px;
    }
    
    .approach-icon .icon {
        font-size: 24px;
    }
    
    .approach-content h4 {
        font-size: 16px;
    }
    
    .approach-content p {
        font-size: 14px;
    }

    /* Solutions Technologiques Responsive */
    .solutions-tech-content {
        max-width: 100%;
    }

    .solutions-tech-image {
        margin-top: var(--spacing-lg);
    }

    .solutions-main-image {
        height: 55vh;
        min-height: 350px;
        max-height: 450px;
    }

    .overlay-content-fullscreen h3 {
        font-size: 2rem;
    }

    .overlay-content-fullscreen p {
        font-size: 1rem;
    }

    .overlay-badge {
        font-size: 1rem;
    }

    .solutions-highlights {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-lg);
    }

    .highlight-item {
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .approach-card::before {
        height: 3px;
    }
    
    .approach-content h4 {
        font-size: 15px;
    }
    
    .approach-content p {
        font-size: 13px;
    }

    /* Solutions Technologiques Mobile */
    .solutions-tech-content {
        max-width: 100%;
    }

    .solutions-tech-image {
        margin-top: var(--spacing-md);
    }

    .solutions-main-image {
        height: 50vh;
        min-height: 300px;
        max-height: 400px;
    }

    .overlay-content-fullscreen {
        padding: var(--spacing-md);
    }

    .overlay-content-fullscreen h3 {
        font-size: 1.5rem;
    }

    .overlay-content-fullscreen p {
        font-size: 0.9rem;
    }

    .overlay-badge {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .solutions-highlights {
        gap: var(--spacing-xs);
        margin-top: var(--spacing-md);
        padding: var(--spacing-md) 0;
    }

    .highlight-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 14px;
        max-width: 280px;
    }

    .highlight-item .icon {
        font-size: 14px;
    }
    
    /* Hero mobile */
    .hero-image-container {
        height: 250px; /* Encore plus petit sur mobile */
    }
    
    .floating-card {
        display: none; /* Masquer complètement sur mobile */
    }
}

/* Media query pour écrans moyens (grands mobiles, petites tablettes) */
@media (max-width: 600px) and (min-width: 481px) {
    .solutions-main-image {
        height: 52vh;
        min-height: 320px;
        max-height: 420px;
    }
    
    .overlay-content-fullscreen h3 {
        font-size: 1.8rem;
    }
    
    .overlay-content-fullscreen p {
        font-size: 1rem;
    }
}

/* Media query spécifique pour très petits écrans */
@media (max-width: 375px) {
    .solutions-main-image {
        height: 45vh;
        min-height: 280px;
        max-height: 350px;
        object-position: center top;
    }
    
    .overlay-content-fullscreen h3 {
        font-size: 1.3rem;
    }
    
    .overlay-content-fullscreen p {
        font-size: 0.8rem;
    }
}

