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

/* Accessibilité - Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

/* Amélioration du focus visible pour l'accessibilité */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Désactiver le outline par défaut pour les éléments avec focus personnalisé */
.magnetic:focus,
.liquid-btn:focus {
    outline: none;
}

.magnetic:focus-visible,
.liquid-btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Police Sugo Pro Display pour les logos */
@font-face {
    font-family: 'Sugo Pro';
    src: url('../fonts/Sugo-Pro-Display-Regular-trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sugo Pro';
    src: url('../fonts/Sugo-Pro-Display-Bold-trial.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Variables CSS Corporate - Palette Luxueuse */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-color-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a; /* Contraste 8.59:1 sur fond blanc - WCAG AAA (était #5a5a5a 3.75:1) */
    --text-light: #6b6b6b; /* Contraste 5.38:1 sur fond blanc - WCAG AA (était #8a8a8a 2.42:1) */
    /* Tons luxueux - Beige/Champagne/Ivoire */
    --bg-primary: #faf9f7;
    --bg-secondary: #f5f3f0;
    --bg-tertiary: #f0ede8;
    --bg-card: #fefefe;
    --bg-card-hover: #fcfbf9;
    --bg-dark: #1a1a1a;
    --border-color: #e0ddd8;
    --border-light: #f0ede8;
    --border-luxury: #d4d1ca;
    /* Ombres plus profondes et luxueuses */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px -6px rgba(0, 0, 0, 0.18);
    --shadow-premium: 0 8px 32px -4px rgba(0, 0, 0, 0.12);
}

/* Langue Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-right: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
}

.lang-link {
    padding: 6px 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.lang-link:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.lang-link.active {
    color: white;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .lang-switcher {
        display: none;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
}

/* Parallax Background - Luxueux */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, #faf9f7 0%, #f5f3f0 50%, #faf9f7 100%),
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.02) 0%, transparent 50%);
    z-index: -1;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Navigation - Luxueuse */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(250, 249, 247, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    padding: 15px 50px;
    background: rgba(250, 249, 247, 0.98);
    box-shadow: var(--shadow-premium);
}

.logo {
    font-family: 'Sugo Pro', 'Inter', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.logo-link:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 10px 0;
}

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

.nav-links a:hover::before {
    width: 100%;
}

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

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.game-toggle-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-toggle-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;
}

.game-toggle-btn:hover::before {
    left: 100%;
}

.game-toggle-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.game-toggle-btn:active {
    transform: translateY(0) scale(0.95);
}

.game-toggle-btn.game-hidden {
    background: linear-gradient(135deg, #6B7280, #9CA3AF);
}

.game-toggle-btn.game-hidden .game-icon {
    opacity: 0.5;
}

.game-icon {
    font-size: 16px;
    transition: all 0.3s ease;
}

.game-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-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;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

/* État actif (animation burger → croix) */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section - Luxueux */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf9f7 0%, #f5f3f0 50%, #faf9f7 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Grid plus subtil : taille augmentée (40px au lieu de 10px) et opacité réduite */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23333" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.2;
    /* animation désactivée pour performance */
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1000px;
    padding: 0 50px;
    animation: fadeInUp 1s ease forwards;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
}

/* Hero Title - Corporate Design - Styles forcés pour éliminer tout effet néon */
.hero-title,
.hero h1,
.hero h1.hero-title,
h1.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 800 !important;
    margin-bottom: 24px !important;
    color: var(--text-primary) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    position: relative !important;
    z-index: 2 !important;
    transition: color 0.3s ease !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    /* Suppression de tous les effets néon */
    text-shadow: none !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    filter: none !important;
    text-transform: none !important;
    animation: none !important;
}

/* Ligne décorative au-dessus du titre */
.hero-title::before {
    content: '' !important;
    position: absolute !important;
    top: -20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 4px !important;
    background: var(--primary-color) !important;
    border-radius: 2px !important;
    /* Pas de blur ou d'effets */
    filter: none !important;
    opacity: 1 !important;
}

/* Suppression de tous les autres pseudo-éléments */
.hero-title::after {
    display: none !important;
}

/* Accent coloré sur la première ligne */
.hero-title strong {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    background: none !important;
}

/* Effet de survol subtil - corporate */
.hero-title:hover,
.hero h1:hover {
    color: var(--primary-dark) !important;
    transform: none !important;
    text-shadow: none !important;
    filter: none !important;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
    color: var(--text-primary) !important;
    margin-bottom: 50px !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    padding: 0 20px !important;
    /* Amélioration de la lisibilité */
    text-shadow: none !important;
    background: none !important;
    filter: none !important;
    animation: none !important;
    letter-spacing: 0.01em !important;
}

/* Suppression de tous les pseudo-éléments du sous-titre sauf celui qu'on veut */
.hero-subtitle::before {
    display: none !important;
}

/* Ligne décorative sous le sous-titre - corporate simple */
.hero-subtitle::after {
    content: '' !important;
    position: absolute !important;
    bottom: -25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 2px !important;
    background: var(--border-color) !important;
    filter: none !important;
    opacity: 1 !important;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    font-variant-numeric: tabular-nums; /* Chiffres alignés */
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

/* Styles corporate pour le sous-titre - pas d'effets néon */
.hero-subtitle:hover {
    transform: none !important;
    text-shadow: none !important;
    background: none !important;
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.info-item {
    text-align: center;
    animation: floatIn 1s ease forwards;
    animation-delay: calc(var(--delay) * 0.2s);
    opacity: 0;
    transform: translateY(50px);
}

.info-item:nth-child(1) { --delay: 1; }
.info-item:nth-child(2) { --delay: 2; }
.info-item:nth-child(3) { --delay: 3; }

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    transition: all 0.3s ease;
    /* transform-style: preserve-3d désactivé pour performance */
    position: relative;
}

.info-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

.info-item:hover .info-icon::before {
    opacity: 0.3;
}

.info-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.info-item:hover .info-title {
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.info-desc {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.info-item:hover .info-desc {
    color: #bbb;
}

/* Section Headers - Corporate */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* About Section - Corporate */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--text-primary);
}

.about-text p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature-text strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    padding: 30px;
    background: var(--bg-card);
    border-radius: 0;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.step-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Clients Logos Section - Corporate */
.clients-logos {
    padding: 100px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-top: 60px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    opacity: 0.4;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.client-placeholder {
    color: #374151; /* Contraste 10.17:1 sur fond blanc - WCAG AAA */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Choose Us Section - Corporate */
.why-choose-us {
    padding: 140px 0;
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 80px;
}

.why-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.why-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.why-emoji {
    font-size: 36px;
    line-height: 1;
    transition: all 0.3s ease;
}

.why-item:hover .why-emoji {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.why-icon-inner {
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 0;
    position: relative;
}

.why-icon-inner::before,
.why-icon-inner::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
}

.why-icon-inner::before {
    width: 30px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.why-icon-inner::after {
    width: 2px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.why-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.why-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Process Timeline - Corporate */
.process-timeline-wrapper {
    margin-top: 60px;
}

.process-timeline-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: -0.01em;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    padding-left: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 30px;
    position: relative;
    align-items: flex-start;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0;
    flex-shrink: 0;
    position: absolute;
    left: -25px;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding-left: 40px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.timeline-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* CTA Sections - Corporate */
.cta-section {
    padding: 100px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section.cta-secondary {
    background: var(--bg-secondary);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonials Section - Corporate */
.testimonials {
    padding: 140px 0;
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.testimonial-rating .star {
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 32px;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-secondary);
}

/* FAQ Section - Corporate */
.faq {
    padding: 140px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    letter-spacing: -0.01em;
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 300;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    padding-top: 0;
    padding-bottom: 28px;
}

.faq-answer p {
    padding: 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Blog Section - Corporate */
.blog {
    padding: 140px 0;
    background: var(--bg-primary);
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.blog-image {
    width: 100%;
    height: 220px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

.blog-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.blog-date {
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.blog-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.blog-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.blog-link:hover,
.blog-card:hover .blog-link {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* No Blog Posts Message */
.no-blog-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.no-posts-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.no-blog-posts h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.no-blog-posts p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Blog Modal */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10000;
    overflow-y: auto;
    display: none;
}

.blog-modal-content {
    max-width: 900px;
    margin: 0 auto;
    min-height: 100vh;
}

.blog-modal-header {
    position: sticky;
    top: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.blog-back-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-back-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.blog-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.blog-close-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.blog-modal-body {
    padding: 40px;
}

/* Blog Article Styles */
.blog-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.blog-article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.blog-article-header {
    padding: 40px;
    border-bottom: 1px solid var(--border-color);
}

.blog-article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.blog-article-category {
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-article-date {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.blog-article-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-article-content {
    padding: 40px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-article-content p {
    margin-bottom: 20px;
}

.blog-article-content h2,
.blog-article-content h3 {
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-article-content li {
    margin-bottom: 10px;
}

.blog-article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-article-content a:hover {
    color: var(--primary-dark);
}

/* Responsive Blog Modal */
@media (max-width: 768px) {
    .blog-modal-header {
        padding: 15px 20px;
    }
    
    .blog-modal-body {
        padding: 20px;
    }
    
    .blog-article-header {
        padding: 25px;
    }
    
    .blog-article-content {
        padding: 25px;
        font-size: 16px;
    }
    
    .blog-article-title {
        font-size: 1.5rem;
    }
}

/* Pricing Section - Corporate Design */
.pricing {
    padding: 140px 0;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.pricing-header {
    padding: 40px 36px 32px;
    border-bottom: 2px solid var(--border-color);
    text-align: center;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pricing-card.featured .price-amount {
    color: var(--primary-color);
}

.price-period {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-content {
    padding: 32px 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: center;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-primary);
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

.pricing-footer {
    padding: 32px 36px;
    border-top: 2px solid var(--border-color);
}

.btn-pricing {
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-pricing:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-pricing.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-pricing.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Responsive Pricing */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 100px 0;
    }
    
    .pricing-header {
        padding: 32px 28px 24px;
    }
    
    .pricing-content {
        padding: 28px 28px;
    }
    
    .pricing-footer {
        padding: 28px 28px;
    }
}

/* Portfolio Section - Corporate Refonte */
.portfolio {
    padding: 120px 0;
    background: var(--bg-secondary);
}

/* Filtres de catégories - Corporate */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 50px 0 60px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.filter-btn::before {
    display: none;
}

.filter-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Grille des projets - Corporate */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin: 60px 0;
    align-items: stretch;
}

/* Responsive pour garantir la taille uniforme */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
}

.portfolio-item {
        min-width: 100%;
        max-width: 100%;
        height: 400px;
    }
    
    .portfolio-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    
    .portfolio-info {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .portfolio-item {
        height: 380px;
    }
    
    .portfolio-image {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
        font-size: 60px;
    }
    
    .portfolio-info {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
        padding: 20px;
    }
    
    .gallery-thumb {
        width: 100px;
        height: 56.25px;
        min-width: 100px;
    }
    
    .gallery-slider-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .gallery-slider-nav.prev {
        left: 5px;
    }
    
    .gallery-slider-nav.next {
        right: 5px;
    }
    
    .gallery-thumbnails-container {
        padding: 10px 40px;
    }
    
    .featured-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 10px;
        border-radius: 15px;
    }
}

.portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    height: 100%;
    min-height: 500px;
}

.portfolio-item.animate-in {
    animation: portfolioItemIn 0.8s ease forwards;
}

@keyframes portfolioItemIn {
    to {
    opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

/* Placeholder professionnel pour projets sans image */
.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 0;
    position: relative;
}

.placeholder-icon::before,
.placeholder-icon::after {
    content: '';
    position: absolute;
    background: var(--border-color);
}

.placeholder-icon::before {
    width: 40px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.placeholder-icon::after {
    width: 2px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.portfolio-item:hover .gallery-indicator {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Effet ::before supprimé */

/* Effet spécial pour les images de fond plus petites */
.portfolio-image[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    transition: all 0.4s ease;
    /* animation désactivée pour performance */
}

.portfolio-item:hover .portfolio-image[style*="background-image"] {
    background-size: 110% !important;
    animation-play-state: paused;
}

/* Animation de défilement continu des images */
@keyframes imageScroll {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* Zoom automatique pour les images plus petites */
.portfolio-image[style*="background-image"] {
    background-size: 120% !important;
}

.portfolio-item:hover .portfolio-image[style*="background-image"] {
    background-size: 130% !important;
}

/* Effet de brillance au survol */
.portfolio-image::after {
    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.6s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-image::after {
    left: 100%;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

.portfolio-item:active {
    transform: translateY(-8px) scale(1.01);
    transition: transform 0.2s ease;
}

.portfolio-image {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

/* Styles emoji supprimés - utilisation d'images réelles uniquement */

.gallery-indicator {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    transition: all 0.4s ease;
}

/* project-emoji-fallback supprimé - utilisation de placeholders */

/* Pattern de points supprimé pour design corporate épuré */

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    letter-spacing: 1px;
    box-shadow: 
        0 4px 15px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
}

/* Animation du badge au survol de la carte */
.portfolio-item:hover .featured-badge {
    background: var(--primary-dark);
}

@keyframes featuredPulse {
    0%, 100% { 
        transform: scale(1.05);
        box-shadow: 
            0 6px 20px rgba(37, 99, 235, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 
            0 8px 25px rgba(37, 99, 235, 0.8),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
}

/* Suppression des styles du bouton qui n'existe plus */
.portfolio-actions {
    display: none;
}

.view-project-btn {
    display: none;
}

.portfolio-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    background: var(--bg-card);
    flex: 1;
    overflow: hidden;
    gap: 12px;
}

.portfolio-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.portfolio-category {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 6px;
}

.portfolio-year {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.portfolio-description {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.portfolio-details {
    margin-bottom: 20px;
}

.portfolio-details div {
    color: #999;
    font-size: 13px;
    margin-bottom: 5px;
}

.portfolio-details strong {
    color: var(--primary-color);
}

/* Messages d'état */
.no-projects, .portfolio-error {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-projects-icon, .error-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.no-projects h3, .portfolio-error h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.portfolio-error button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.portfolio-error button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Modal de projet - Corporate Design */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

/* Empêcher le scroll de la page quand le modal est ouvert */
body.modal-open {
    overflow: hidden !important;
}

/* Scrollbar personnalisé pour la page entière quand le modal est ouvert */
body.modal-open::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

body.modal-open::-webkit-scrollbar-track {
    background: transparent;
}

body.modal-open::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Masquer complètement le scrollbar de la page */
body.modal-open {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Permettre le scroll uniquement dans le modal */
body.modal-open .project-modal-content {
    overflow-y: auto !important;
}



/* Scrollbar personnalisé pour Firefox - Style Luxueux */
.project-modal-content {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
}



.project-modal-content {
    background: var(--bg-primary);
    border: none;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
    position: relative;
    animation: pageSlideIn 0.4s ease;
    box-shadow: none;
    padding: 0;
}

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

.project-modal-header {
    padding: 24px 80px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.back-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(-2px);
    box-shadow: var(--shadow-md);
}

.project-modal-header h2 {
    color: var(--text-primary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.close-modal-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: normal;
}

.close-modal-btn:hover {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

.project-modal-body {
    padding: 60px 80px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-primary);
}

.project-modal-image {
    text-align: center;
    font-size: 80px;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 0;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Styles pour les images complètes du modal - Corporate */
.project-full-image {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-full-image:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-xl);
}

/* Styles pour la galerie du modal */
.project-gallery {
    margin-bottom: 35px;
}

.gallery-main-image {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: 0;
    padding: 30px;
    border: 1px solid var(--border-color);
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}



.gallery-current-image {
    max-width: calc(100% - 60px);
    max-height: calc(100% - 60px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    display: block;
    border: 1px solid var(--border-color);
}

.gallery-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.gallery-prev,
.gallery-next {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.gallery-counter {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.gallery-thumbnails {
    position: relative;
    margin: 20px 0;
    overflow: hidden;
}

.gallery-thumbnails-container {
    display: flex;
    gap: 12px;
    padding: 10px 50px;
    transition: transform 0.3s ease;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
    -ms-overflow-style: none;
}

.gallery-thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 0;
}

.gallery-thumbnails-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0;
}

.gallery-thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.gallery-thumb {
    width: 120px;
    height: 67.5px;
    min-width: 120px;
    object-fit: cover;
    object-position: center;
    background: var(--bg-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    opacity: 0.6;
    aspect-ratio: 16/9;
    flex-shrink: 0;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Boutons de navigation du slider */
.gallery-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

.gallery-thumbnails:hover .gallery-slider-nav {
    opacity: 1;
    pointer-events: auto;
}

.gallery-slider-nav:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-md);
}

.gallery-slider-nav.prev {
    left: 10px;
}

.gallery-slider-nav.next {
    right: 10px;
}

.gallery-slider-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-slider-nav.disabled:hover {
    transform: translateY(-50%);
    background: rgba(37, 99, 235, 0.9);
}

/* Placeholder pour modal */
.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--bg-secondary);
    min-height: 240px;
}

.project-placeholder .placeholder-icon {
    width: 120px;
    height: 120px;
}

.project-placeholder p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Styles pour le modal de zoom d'image */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    opacity: 0;
    transition: opacity 0.3s ease;
    user-select: none;
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.zoom-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* will-change et translateZ désactivés pour performance */
}

.zoom-image {
    width: 85vw;
    height: 85vh;
    max-width: 1400px;
    max-height: 900px;
    object-fit: contain;
    object-position: center;
    cursor: zoom-in;
    transition: none;
    transform-origin: center;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    /* will-change et backface-visibility désactivés pour performance */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.zoom-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.zoom-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.zoom-close {
    background: #dc2626 !important;
    font-size: 18px !important;
}

.zoom-close:hover {
    background: #b91c1c !important;
    box-shadow: var(--shadow-lg) !important;
}

.zoom-navigation {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.zoom-nav-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.zoom-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.zoom-counter {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.zoom-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    box-shadow: var(--shadow-md);
}

/* Empêcher le scroll quand le zoom est ouvert */
body.zoom-open {
    overflow: hidden !important;
}

/* Curseur personnalisé pour le zoom */
.zoom-image.zoomed {
    cursor: grab;
}

.zoom-image.zoomed:active {
    cursor: grabbing;
}

/* Indicateur de zoom sur les images de galerie */
.gallery-current-image {
    cursor: zoom-in;
    position: relative;
}

.gallery-current-image::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 8px;
    border-radius: 15px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-current-image:hover::after {
    opacity: 1;
}

/* Responsive pour le modal et le zoom */
@media (max-width: 768px) {
    .project-modal-header {
        padding: 20px 30px;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .header-left {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .header-center {
        position: static;
        transform: none;
        order: 2;
    }
    
    .project-modal-header h2 {
        font-size: 32px;
    }
    
    .project-modal-body {
        padding: 30px;
        max-width: 100%;
    }
    
    .back-btn {
        font-size: 14px;
        padding: 10px 16px;
        order: 1;
    }
}

/* Responsive pour tablettes */
@media (max-width: 1024px) and (min-width: 769px) {
    .project-modal-header {
        padding: 35px 50px;
    }
    
    .project-modal-header h2 {
        font-size: 40px;
    }
    
    .project-modal-body {
        padding: 50px 60px;
        max-width: 100%;
    }
    
    .gallery-main-image {
        max-width: 100%;
    }
    
    .back-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .next-project-invitation {
        margin-top: 50px;
    }
    
    .invitation-content {
        padding: 40px 25px;
        border-radius: 25px;
    }
    
    .invitation-content h3 {
        font-size: 26px;
        margin: 0 0 15px 0;
    }
    
    .invitation-content p {
        font-size: 16px;
        margin: 0 0 35px 0;
    }
    
    .next-project-preview {
        margin: 30px 0;
    }
    
    .next-project-card {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        padding: 20px 25px;
        border-radius: 20px;
        max-width: 350px;
    }
    
    .next-project-image {
        width: 70px;
        height: 70px;
        font-size: 30px;
        border-radius: 18px;
    }
    
    .next-project-emoji-overlay {
        width: 25px;
        height: 25px;
        font-size: 12px;
        top: 5px;
        right: 5px;
        border-radius: 8px;
    }
    
    .next-project-info {
        text-align: left;
    }
    
    .next-project-info h4 {
        font-size: 16px;
        margin: 0 0 6px 0;
    }
    
    .next-project-category {
        font-size: 11px;
        padding: 3px 8px;
        border-radius: 10px;
    }
    
    .next-project-year {
        font-size: 13px;
        margin: 0;
    }
    
    .notification {
        top: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
    }
    
    .notification-content {
        padding: 15px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.notification-message {
    color: white;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(37, 99, 235, 0.2);
    color: white;
}

.notification-success {
    border-color: rgba(16, 185, 129, 0.5);
}

.notification-error {
    border-color: rgba(239, 68, 68, 0.5);
}

.notification-info {
    border-color: rgba(37, 99, 235, 0.5);
}

/* Invitation au prochain projet - Corporate Design */
.next-project-invitation {
    margin-top: 60px;
    padding: 0;
    text-align: center;
    position: relative;
}

.invitation-content {
    position: relative;
    padding: 50px 40px;
    background: var(--bg-secondary);
    border-radius: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.invitation-content::before,
.invitation-content::after {
    display: none;
}

.invitation-content h3 {
    color: var(--text-primary);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.invitation-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0 0 40px 0;
    font-weight: 400;
    line-height: 1.6;
}

.next-project-preview {
    margin: 40px 0;
}

.next-project-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    padding: 24px 28px;
    border-radius: 0;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.next-project-card::before {
    display: none;
}

.next-project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.next-project-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--bg-secondary);
    border-radius: 0;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.next-project-image::after {
    display: none;
}

.next-project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.next-project-card:hover .next-project-thumb {
    transform: scale(1.05);
}

/* next-project-emoji-overlay supprimé - utilisation d'images réelles */

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

.next-project-info h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.next-project-category {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 600;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.next-project-year {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}





@media (max-width: 768px) {
    .zoom-image {
        width: 95vw;
        height: 70vh;
    }
    
    .gallery-main-image {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .gallery-current-image {
        max-width: calc(100% - 30px);
        max-height: calc(100% - 30px);
        border-radius: 10px;
    }
    
    .zoom-controls {
        top: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .zoom-navigation {
        top: 10px;
        left: 10px;
        padding: 8px 15px;
        gap: 10px;
    }
    
    .zoom-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .zoom-info {
        bottom: 10px;
        padding: 8px 15px;
        font-size: 12px;
    }
}

.project-modal-info {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 0;
    border: 1px solid var(--border-color);
    margin-top: 40px;
}

.project-modal-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.project-modal-info p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.project-modal-info strong {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
    margin-right: 8px;
    min-width: 120px;
}

/* Formulaire d'ajout de projet */
.add-project-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.add-project-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
}

.add-project-content h3 {
    color: #10B981;
    font-size: 24px;
    margin-bottom: 20px;
}

.add-project-content p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.add-project-content code {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: monospace;
}

.close-form-btn {
    background: #10B981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.close-form-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Services Section - Corporate */
.services {
    padding: 140px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
    align-items: start; /* Changé pour permettre hauteurs différentes */
}

.service-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: visible; /* Changé pour voir tout le contenu */
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: auto; /* Changé pour s'adapter au contenu */
    gap: 0;
    min-height: 520px;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    flex-grow: 0;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    transform: scale(1.05);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px; /* Augmenté pour plus d'espace */
    color: var(--text-primary);
    transition: all 0.3s ease;
    line-height: 1.3;
    flex-shrink: 0;
    flex-grow: 0;
    min-height: auto; /* Changé pour s'adapter au contenu */
    height: auto; /* Changé pour s'adapter au contenu */
    display: flex;
    align-items: center;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-desc {
    font-size: 15px;
    color: #4a4a4a; /* Contraste amélioré WCAG AAA */
    line-height: 1.7;
    margin-bottom: 20px;
    flex-shrink: 1; /* Permet de rétrécir si nécessaire */
    flex-grow: 1; /* Prend l'espace disponible */
    height: auto; /* S'adapte au contenu */
    overflow: visible; /* Affiche tout le texte */
    display: block;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
    flex-shrink: 1;
    min-height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
}

.service-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
    flex-shrink: 0;
    min-height: 21px;
}

.service-list li:first-child {
    padding-top: 0;
}

.service-list li:last-child {
    padding-bottom: 0;
}

/* Bouton service - Styles forcés pour éviter les conflits */
.service-card a.btn-service,
.service-card .btn-service,
.btn-service,
.btn-service-learn-more {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding: 16px 28px !important;
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    background-color: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    width: 100% !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    line-height: 1.4 !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    box-sizing: border-box !important;
    /* Forcer l'apparence de bouton */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.service-card a.btn-service::before,
.service-card .btn-service::before,
.btn-service::before,
.btn-service-learn-more::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;
    z-index: 0;
}

.service-card a.btn-service:hover::before,
.service-card .btn-service:hover::before,
.btn-service:hover::before,
.btn-service-learn-more:hover::before {
    left: 100%;
}

.service-card .btn-service:hover,
.btn-service:hover,
.btn-service-learn-more:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb) !important;
    background-color: #1e40af !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.12) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.service-card a.btn-service:active,
.service-card .btn-service:active,
.btn-service:active,
.btn-service-learn-more:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08) !important;
}

/* S'assurer que le texte du bouton est au-dessus du pseudo-élément */
.service-card a.btn-service,
.service-card .btn-service {
    z-index: 1 !important;
}

.service-card a.btn-service > *,
.service-card .btn-service > * {
    position: relative;
    z-index: 2;
}

/* Forcer le style même si d'autres règles CSS interfèrent - Sélecteur très spécifique */
.services-grid .service-card > a.btn-service,
.services .service-card > a.btn-service,
div.service-card > a.btn-service {
    display: block !important;
    margin-top: auto !important;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    background-color: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    width: 100% !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    line-height: 1.5 !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

.services-grid .service-card > a.btn-service:hover,
.services .service-card > a.btn-service:hover,
div.service-card > a.btn-service:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb) !important;
    background-color: #1e40af !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.12) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Service Individual Page Styles */
.service-hero {
    padding: 180px 0 100px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.service-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.service-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.service-problem,
.service-solution,
.service-case,
.service-results,
.service-features {
    padding: 80px 0;
}

/* Backgrounds visuels pour les sections */
.service-problem {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.service-solution {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.service-case {
    background: var(--bg-secondary);
}

/* ============================================
   SERVICE PAGE WIDGETS - NOUVEAU DESIGN
   ============================================ */

/* Service Hero Visual & Placeholder */
.service-hero-visual {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.05);
    background: var(--bg-card);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.service-hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 550px;
    object-fit: cover;
}

.service-visual-placeholder {
    width: 100%;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.service-visual-placeholder-hero {
    height: 550px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.service-visual-placeholder-section {
    height: 450px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #d1fae5 100%);
}

.service-visual-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Effet glassmorphism sur les placeholders */
.service-visual-placeholder::after {
    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) 50%, 
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* Service Stats Widget - Nouveau Design */
.service-stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.service-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.service-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.02) 0%, 
        rgba(59, 130, 246, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-stat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 16px 40px rgba(37, 99, 235, 0.12),
        0 8px 20px rgba(37, 99, 235, 0.08);
    transform: translateY(-6px);
}

.service-stat-card:hover::before {
    transform: scaleX(1);
}

.service-stat-card:hover::after {
    opacity: 1;
}

.service-stat-badge {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
    filter: grayscale(0.2);
    transition: transform 0.3s ease;
}

.service-stat-card:hover .service-stat-badge {
    transform: scale(1.1);
}

.service-stat-info {
    flex: 1;
}

.service-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.service-stat-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Features Widget - Nouveau Design */
.service-features-modern {
    margin-top: 70px;
    padding: 60px 0;
}

.service-features-heading {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 20px;
}

.service-features-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

.service-features-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 48px 36px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at top right,
        rgba(37, 99, 235, 0.05) 0%,
        rgba(59, 130, 246, 0.02) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, 
        transparent 40%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 60%);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.8s ease;
}

.service-feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 50px rgba(37, 99, 235, 0.12),
        0 10px 25px rgba(37, 99, 235, 0.08);
    transform: translateY(-8px);
}

.service-feature-card:hover::before {
    opacity: 1;
}

.service-feature-card:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.service-feature-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 
        0 8px 20px rgba(37, 99, 235, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.service-feature-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        rgba(59, 130, 246, 0.05) 100%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-feature-card:hover .service-feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scale(1.15) rotate(8deg);
    box-shadow: 
        0 12px 32px rgba(37, 99, 235, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.service-feature-card:hover .service-feature-icon-wrapper::before {
    opacity: 1;
}

.service-feature-icon {
    font-size: 40px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.service-feature-card:hover .service-feature-icon {
    transform: scale(1.1);
}

.service-feature-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Service Process Widget - Nouveau Design */
.service-process-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.service-process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    padding-top: 40px; /* Espace supplémentaire pour les numéros */
}

.service-process-item {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 0;
    margin-top: 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible; /* Visible pour le numéro */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.service-process-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at bottom left,
        rgba(37, 99, 235, 0.03) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 24px;
    pointer-events: none;
}

.service-process-item:hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 24px 60px rgba(37, 99, 235, 0.15),
        0 12px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-10px) scale(1.02);
}

.service-process-item:hover .service-process-content::before {
    transform: scaleX(1);
}

.service-process-item:hover .service-process-content::after {
    opacity: 1;
}

.service-process-number {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    border: 5px solid var(--bg-primary);
    box-shadow: 
        0 8px 20px rgba(37, 99, 235, 0.3),
        0 4px 10px rgba(37, 99, 235, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    z-index: 100; /* Z-index très élevé pour être au-dessus de tout */
    transition: all 0.3s ease;
}

.service-process-item:hover .service-process-number {
    transform: translateX(-50%) scale(1.15);
    top: -28px;
    box-shadow: 
        0 12px 28px rgba(37, 99, 235, 0.4),
        0 6px 14px rgba(37, 99, 235, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.service-process-content {
    padding: 56px 32px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-radius: 24px;
    background: transparent;
    overflow: hidden; /* Pour contenir la barre ::before */
}

/* Barre de chargement animée au hover - à l'intérieur du content */
.service-process-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 50%, 
        #60a5fa 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 22px 22px 0 0;
    z-index: 1;
}

.service-process-icon {
    font-size: 64px;
    margin-bottom: 24px;
    line-height: 1;
    display: block;
    transition: transform 0.3s ease;
}

.service-process-item:hover .service-process-icon {
    transform: scale(1.15) rotate(-5deg);
}

.service-process-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-process-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Service Section Badges */
.service-section-badge {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.service-badge-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    box-shadow: 
        0 8px 20px rgba(251, 191, 36, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.service-badge-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    box-shadow: 
        0 8px 20px rgba(16, 185, 129, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.service-badge-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 
        0 8px 20px rgba(37, 99, 235, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.service-badge-primary {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 
        0 8px 20px rgba(37, 99, 235, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.service-section-header:hover .service-section-badge {
    transform: scale(1.1) rotate(-5deg);
}

/* Service Section Visual */
.service-section-visual {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.04);
    background: var(--bg-card);
    border: 1px solid rgba(16, 185, 129, 0.08);
}

.service-section-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 450px;
    object-fit: cover;
}

/* Service Subsection */
.service-subsection-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.service-subsection-icon {
    font-size: 32px;
    line-height: 1;
}

.service-subsection-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.service-problem {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.service-solution {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

/* Styles des sections déjà définis plus haut - suppression des doublons */

.service-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: white;
    text-align: center;
}

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

.service-cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.service-cta-desc {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.service-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-case-study,
.service-results {
    margin-top: 40px;
}

.service-case-study h3,
.service-results h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    margin-top: 40px;
}

.service-case-study:first-child h3 {
    margin-top: 0;
}

.service-hero-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
}

.service-hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Hero Image */
/* Anciens styles supprimés - remplacés par service-hero-visual */

/* Service Section Header avec icône */
.service-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.service-section-icon {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
}

.service-section-title {
    margin-bottom: 0;
}

/* Anciens styles supprimés - remplacés par service-section-visual et service-subsection */

.service-section-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.service-section-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    white-space: pre-line;
}

.service-text-content {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    white-space: pre-line;
}

.service-case-study,
.service-results-list {
    margin-top: 40px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.service-case-study h3,
.service-results-list h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-features-list li {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0;
    position: relative;
    padding-left: 50px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.service-features-list li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.service-features-list li:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: white;
    text-align: center;
}

.service-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.service-cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.service-cta-desc {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

.service-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta-buttons .btn-primary,
.service-cta-buttons .btn-secondary {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.service-cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

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

@media (max-width: 768px) {
    .service-hero-title {
        font-size: 32px;
    }
    
    .service-section-title {
        font-size: 28px;
    }
    
    .service-cta-title {
        font-size: 32px;
    }
    
    .service-features-list {
        grid-template-columns: 1fr;
    }
    
    .service-cta-buttons {
        flex-direction: column;
    }
    
    .service-cta-buttons .btn-primary,
    .service-cta-buttons .btn-secondary {
        width: 100%;
    }
    
    /* Responsive pour les nouveaux widgets */
    .service-stats-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
    }
    
    .service-stat-card {
        padding: 24px 20px;
    }
    
    .service-stat-badge {
        font-size: 40px;
    }
    
    .service-stat-number {
        font-size: 28px;
    }
    
    .service-features-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-feature-card {
        padding: 32px 24px;
    }
    
    .service-feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .service-feature-icon {
        font-size: 36px;
    }
    
    .service-process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .service-process-item {
        margin-top: 32px;
    }
    
    .service-process-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
        top: -24px;
        border: 4px solid var(--bg-primary);
    }
    
    .service-process-content {
        padding: 52px 24px 32px;
    }
    
    .service-process-icon {
        font-size: 56px;
    }
    
    .service-section-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .service-section-badge {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    
    .service-hero-visual {
        margin-top: 32px;
    }
    
    .service-hero-img {
        max-height: 350px;
    }
    
    .service-visual-placeholder-hero {
        height: 350px;
    }
    
    .service-section-visual {
        margin-top: 32px;
    }
    
    .service-section-img {
        max-height: 300px;
    }
    
    .service-visual-placeholder-section {
        height: 300px;
    }
    
    .service-subsection-header {
        flex-wrap: wrap;
    }
    
    .service-subsection-title {
        font-size: 24px;
    }
    
    .service-subsection-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .service-stats-modern {
        grid-template-columns: 1fr;
    }
    
    .service-process-timeline {
        grid-template-columns: 1fr;
    }
    
    .service-process-item {
        margin-top: 32px;
    }
    
    .service-process-number {
        width: 44px;
        height: 44px;
        font-size: 18px;
        top: -22px;
        border: 4px solid var(--bg-primary);
    }
    
    .service-process-content {
        padding: 48px 20px 32px;
    }
    
    .service-stat-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .service-hero-img {
        max-height: 280px;
    }
    
    .service-visual-placeholder-hero {
        height: 280px;
    }
    
    .service-section-img {
        max-height: 250px;
    }
    
    .service-visual-placeholder-section {
        height: 250px;
    }
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Contact Section - Corporate */
.contact {
    padding: 120px 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-method:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-method-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 14px;
}

.contact-method-value {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: inherit;
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Footer - Corporate */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand h3 {
    font-family: 'Sugo Pro', 'Inter', sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9); /* Contraste 11.5:1 sur fond sombre - WCAG AAA */
    line-height: 1.7;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9); /* Contraste 11.5:1 sur fond sombre - WCAG AAA */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.9); /* Contraste 11.5:1 sur fond sombre - WCAG AAA */
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.85); /* Contraste 9.5:1 sur fond sombre - WCAG AAA */
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

/* Newsletter Footer */
.footer-newsletter {
    grid-column: 1 / -1;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-newsletter h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.9); /* Contraste 11.5:1 sur fond sombre - WCAG AAA */
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.75); /* Contraste 6.5:1 sur fond rgba(255,255,255,0.1) - WCAG AA */
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.newsletter-message {
    margin-top: 12px;
    font-size: 13px;
    min-height: 20px;
}

.newsletter-message.success {
    color: #22c55e;
}

.newsletter-message.error {
    color: #ef4444;
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"],
    .newsletter-btn {
        width: 100%;
    }
}

/* Cookies Banner RGPD */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--border-color);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookies-banner.visible {
    transform: translateY(0);
}

.cookies-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookies-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cookies-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookies-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookies-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookies-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookies-btn.accept {
    background: var(--primary-color);
    color: white;
}

.cookies-btn.accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cookies-btn.reject {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cookies-btn.reject:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .cookies-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookies-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookies-btn {
        flex: 1;
    }
}

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

/* Loading Spinner */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Game Container */
.game-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.game-content {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
}

.game-header h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.game-close-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.game-close-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: scale(1.1);
}

.game-body {
    padding: 30px 25px;
    text-align: center;
}

.game-body p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 20px;
}

.game-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 20px;
    border: 2px dashed rgba(37, 99, 235, 0.3);
    border-radius: 15px;
    background: rgba(37, 99, 235, 0.05);
}

.game-placeholder-icon {
    font-size: 48px;
    animation: bounce 2s infinite;
}

.game-placeholder p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

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

/* Bouton d'ajout de projet */
.portfolio-actions {
    text-align: center;
    margin-top: 50px;
}

.add-project-btn {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.add-project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.add-project-btn span {
    font-size: 20px;
    font-weight: bold;
} 

/* Scrollbar personnalisé global - Style Luxueux */
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 0;
    margin: 0;
}

*::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0;
    border: none;
    transition: all 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Scrollbar global pour Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
} 



/* Effet de brillance sur le scrollbar - Supprimé pour style corporate */



/* Animation de pulsation supprimée pour style corporate */

/* Effet de transition fluide pour tous les scrollbars */
*::-webkit-scrollbar-thumb {
    transition: all 0.2s ease;
} 



/* Scrollbar du modal - Style Luxueux */
.project-modal-content::-webkit-scrollbar {
    width: 8px;
}

.project-modal-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 0;
    margin: 0;
}

.project-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0;
    border: none;
    transition: all 0.2s ease;
}

.project-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.project-modal-content::-webkit-scrollbar-thumb:active {
    background: var(--primary-dark);
}

.project-modal-content::-webkit-scrollbar-corner {
    background: var(--bg-secondary);
    border-radius: 0;
}

/* ===== MODALS INFORMATIFS ===== */

/* Overlay du modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Container du modal */
.modal-container {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(30, 30, 30, 0.95));
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

/* En-tête du modal */
.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-close-btn:hover::before {
    opacity: 1;
}

.modal-close-btn:hover {
    color: var(--primary-light);
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.8);
}

.modal-close-btn:active {
    transform: scale(0.95);
}

/* Contenu du modal */
.modal-content {
    padding: 30px;
    color: #e0e0e0;
    line-height: 1.7;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-content p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.modal-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
    position: relative;
}

.modal-content li::before {
    content: '▶';
    color: var(--primary-color);
    position: absolute;
    left: -15px;
    font-size: 0.8rem;
}

/* Styles pour les boutons cliquables */
.clickable-info {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.clickable-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.clickable-info:hover::before {
    left: 100%;
}

.clickable-info:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(37, 99, 235, 0.3),
        0 0 20px rgba(37, 99, 235, 0.2);
}

.clickable-info:active {
    transform: translateY(-2px);
}

/* Responsive pour les modals */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 20px;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 20px;
        font-size: 0.9rem;
    }
    
    .modal-close-btn {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

/* ========================================
   PREVIEW SECTIONS (Homepage)
   ======================================== */

/* Services Preview Section */
.services-preview {
    padding: 100px 0;
    background: var(--bg-primary);
}

.services-preview .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    align-items: stretch;
}

.services-preview .service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto; /* Changé de 100% à auto pour éviter le chevauchement */
    min-height: 380px; /* Augmenté pour plus d'espace */
}

.services-preview .service-card .service-icon,
.services-preview .service-card .service-title {
    flex-shrink: 0;
    flex-grow: 0;
}

.services-preview .service-card .service-desc {
    flex-grow: 1;
    flex-shrink: 1;
    min-height: auto; /* Changé pour s'adapter au contenu */
    margin-bottom: 20px; /* Ajouté marge pour espace avant le lien */
}

.services-preview .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-link {
    display: inline-block;
    margin-top: auto;
    margin-bottom: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
    font-weight: 400;
}

/* Portfolio Preview Section */
.portfolio-preview {
    padding: 80px 0;
    background: var(--bg-primary);
}

.portfolio-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-preview-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.portfolio-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.portfolio-preview-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.portfolio-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-preview-card:hover .portfolio-preview-image img {
    transform: scale(1.08);
}

.portfolio-preview-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.portfolio-preview-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1d4ed8; /* Contraste 7.04:1 sur fond blanc - WCAG AAA */
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 10px;
    align-self: flex-start;
    border-radius: 4px;
}

.portfolio-preview-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827; /* Contraste 16.95:1 sur fond blanc - WCAG AAA */
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.portfolio-preview-card:hover .portfolio-preview-title {
    color: var(--primary-color);
}

.portfolio-preview-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-preview-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.portfolio-preview-card:hover .portfolio-preview-link {
    gap: 10px;
    transform: translateX(4px);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 48px;
}

/* Testimonials Preview Section */
.testimonials-preview {
    padding: 100px 0;
    background: var(--bg-primary);
}

.testimonials-preview .testimonials-grid {
    margin-bottom: 50px;
}

/* Legal Content Section */
.legal-content-section {
    padding: 120px 0 100px;
    min-height: calc(100vh - 200px);
    background: var(--bg-primary);
}

.legal-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-secondary);
}

.legal-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-breadcrumb a:hover {
    color: var(--primary-color);
}

.legal-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.legal-meta {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.legal-body {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.9;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.legal-body h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 50px 0 25px;
    letter-spacing: -0.01em;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 35px 0 18px;
}

.legal-body p {
    margin-bottom: 20px;
}

.legal-body ul, .legal-body ol {
    margin: 25px 0;
    padding-left: 35px;
}

.legal-body li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-body a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-body a:hover {
    color: var(--primary-dark);
}

.legal-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .legal-content-section {
        padding: 100px 0 60px;
    }
    
    .legal-body {
        padding: 30px 20px;
        font-size: 16px;
    }
    
    .legal-body h2 {
        font-size: 1.5rem;
    }
    
    .legal-body h3 {
        font-size: 1.2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .services-preview .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .portfolio-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
    
    .services-preview,
    .portfolio-preview,
    .testimonials-preview {
        padding: 50px 0;
    }
    
    .portfolio-preview-image {
        height: 180px;
    }
    
    .portfolio-preview-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-preview-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    }
} 