/* ==========================================
   EPSILON SARL - Site Web Corporate
   Feuille de styles principale
   Couleurs: Vert foncé, gris, blanc
   ========================================== */

/* ==================== RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales - Bleu Marine avec accents Cuivre */
    --primary-copper: #1e3a5f;
    --secondary-copper: #2c5282;
    --accent-copper: #C87533;
    --light-copper: #E5A05D;
    
    --dark-gray: #2d3748;
    --medium-gray: #4a5568;
    --light-gray: #cbd5e0;
    --very-light-gray: #f0f4f8;
    --pale-gray: #f8fafb;
    
    --white: #ffffff;
    --black: #1a202c;
    
    /* Typographie */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pale-gray);
    overflow-x: hidden;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, 
        rgba(30, 58, 95, 0.95) 0%, 
        rgba(44, 82, 130, 0.95) 50%,
        rgba(30, 58, 95, 0.95) 100%);
    background-image: 
        linear-gradient(135deg, 
            rgba(30, 58, 95, 0.95) 0%, 
            rgba(44, 82, 130, 0.95) 50%,
            rgba(30, 58, 95, 0.95) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%23C87533' fill-opacity='0.15' d='M0,0 Q150,30 300,0 T600,0 T900,0 T1200,0 L1200,120 L0,120 Z'%3E%3Canimate attributeName='d' dur='8s' repeatCount='indefinite' values='M0,0 Q150,30 300,0 T600,0 T900,0 T1200,0 L1200,120 L0,120 Z;M0,0 Q150,-20 300,0 T600,0 T900,0 T1200,0 L1200,120 L0,120 Z;M0,0 Q150,30 300,0 T600,0 T900,0 T1200,0 L1200,120 L0,120 Z'/%3E%3C/path%3E%3Cpath fill='%23E5A05D' fill-opacity='0.1' d='M0,20 Q200,50 400,20 T800,20 T1200,20 L1200,120 L0,120 Z'%3E%3Canimate attributeName='d' dur='10s' repeatCount='indefinite' values='M0,20 Q200,50 400,20 T800,20 T1200,20 L1200,120 L0,120 Z;M0,20 Q200,-10 400,20 T800,20 T1200,20 L1200,120 L0,120 Z;M0,20 Q200,50 400,20 T800,20 T1200,20 L1200,120 L0,120 Z'/%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%;
    background-position: center, bottom;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: linear-gradient(135deg, 
        rgba(30, 58, 95, 0.98) 0%, 
        rgba(44, 82, 130, 0.98) 50%,
        rgba(30, 58, 95, 0.98) 100%);
    background-image: 
        linear-gradient(135deg, 
            rgba(30, 58, 95, 0.98) 0%, 
            rgba(44, 82, 130, 0.98) 50%,
            rgba(30, 58, 95, 0.98) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%23C87533' fill-opacity='0.15' d='M0,0 Q150,30 300,0 T600,0 T900,0 T1200,0 L1200,120 L0,120 Z'%3E%3Canimate attributeName='d' dur='8s' repeatCount='indefinite' values='M0,0 Q150,30 300,0 T600,0 T900,0 T1200,0 L1200,120 L0,120 Z;M0,0 Q150,-20 300,0 T600,0 T900,0 T1200,0 L1200,120 L0,120 Z;M0,0 Q150,30 300,0 T600,0 T900,0 T1200,0 L1200,120 L0,120 Z'/%3E%3C/path%3E%3Cpath fill='%23E5A05D' fill-opacity='0.1' d='M0,20 Q200,50 400,20 T800,20 T1200,20 L1200,120 L0,120 Z'%3E%3Canimate attributeName='d' dur='10s' repeatCount='indefinite' values='M0,20 Q200,50 400,20 T800,20 T1200,20 L1200,120 L0,120 Z;M0,20 Q200,-10 400,20 T800,20 T1200,20 L1200,120 L0,120 Z;M0,20 Q200,50 400,20 T800,20 T1200,20 L1200,120 L0,120 Z'/%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%;
    background-position: center, bottom;
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 1.25rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
}

.logo h1 span {
    color: var(--light-copper);
    font-weight: 300;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
    position: relative;
    display: inline-block;
    white-space: nowrap;
    line-height: 1;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-green);
    transition: width var(--transition-normal);
}

.nav-menu li a:hover {
    color: var(--light-copper);
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* ==================== LANGUAGE SWITCHER ==================== */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 0;
    align-items: center;
}

.lang-btn {
    padding: 0.45rem 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 1px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--light-copper);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--light-copper);
    border-color: var(--light-copper);
    box-shadow: 0 4px 8px rgba(200, 117, 51, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: all var(--transition-fast);
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    background-image: 
        linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(44, 82, 130, 0.85) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a4d2e" width="1200" height="600"/><path fill="%232d6a4f" d="M0 300L50 283.3C100 266.7 200 233.3 300 216.7C400 200 500 200 600 216.7C700 233.3 800 266.7 900 283.3C1000 300 1100 300 1150 300L1200 300L1200 601L1150 601C1100 601 1000 601 900 601C800 601 700 601 600 601C500 601 400 601 300 601C200 601 100 601 50 601L0 601Z"/></svg>');
    padding: var(--spacing-xl) 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(30, 58, 95, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #E5A05D;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--accent-copper);
    color: var(--white);
    border-color: var(--accent-copper);
}

.btn-primary:hover {
    background-color: var(--secondary-copper);
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-copper);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0%, 100% {
        top: 10px;
        opacity: 1;
    }
    50% {
        top: 30px;
        opacity: 0.5;
    }
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SECTIONS GÉNÉRALES ==================== */
section {
    padding: var(--spacing-xl) 0;
}

section:nth-child(even) {
    background-color: var(--very-light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 3rem;
    color: var(--primary-copper);
    margin-bottom: 1rem;
    font-weight: 700;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    margin: 0 auto;
    border-radius: 2px;
}

/* ==================== À PROPOS ==================== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-copper);
    font-weight: 700;
}

.about-text .highlight {
    background-color: rgba(212, 167, 106, 0.1);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-copper);
    font-weight: 500;
    color: var(--primary-green);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

/* ==================== SERVICES ==================== */
.services {
    background-color: var(--pale-gray);
}

/* Image illustrative des services */
.services-image-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
}

.services-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
    filter: brightness(1.2) contrast(1.1);
}

.services-image-container:hover .services-main-image {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.15);
}

.services-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
}

.services-image-overlay p {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--very-light-gray);
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-green);
    background-color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    color: var(--white);
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.65rem;
    color: var(--primary-copper);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ==================== ACTUALITÉS & ACTIVITÉS ==================== */
.news {
    background-color: var(--very-light-gray);
    padding: var(--spacing-xl) 0;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.15rem;
    margin-top: 0.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: var(--spacing-lg);
}

.news-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.1);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 58, 95, 0.2);
}

.news-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.category-formation {
    background-color: #1e3a5f;
}

.category-communaute {
    background-color: #52b788;
}

.category-innovation {
    background-color: #C87533;
}

.category-environnement {
    background-color: #2c5282;
}

.news-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date {
    color: var(--medium-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-date::before {
    content: "📅";
    font-size: 1rem;
}

.news-title {
    font-size: 1.4rem;
    color: var(--primary-copper);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.news-excerpt {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-link {
    color: var(--accent-copper);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-fast);
}

.news-link:hover {
    color: var(--primary-copper);
    transform: translateX(5px);
}

/* ==================== VALEURS ==================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.value-item {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-gray);
    margin-bottom: 1rem;
    line-height: 1;
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--primary-copper);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--medium-gray);
}

/* ==================== CROISSANCE ==================== */
.growth {
    background: linear-gradient(135deg, var(--primary-copper) 0%, var(--secondary-copper) 100%);
    color: var(--white);
}

.growth .section-title {
    color: var(--white);
}

.growth .title-underline {
    background: linear-gradient(90deg, var(--light-copper), var(--white));
}

.growth-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.growth-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.growth-item:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--light-copper);
}

.growth-item.highlight-growth {
    background-color: var(--accent-copper);
    border-color: var(--white);
}

.growth-year {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-copper);
}

.growth-item.highlight-growth .growth-year {
    color: var(--white);
}

.growth-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.growth-revenue {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==================== OPÉRATIONS ==================== */
.operations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
}

.operation-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.operation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.operation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.operation-header svg {
    width: 40px;
    height: 40px;
    color: var(--accent-copper);
}

.operation-header h3 {
    font-size: 2rem;
    color: var(--primary-copper);
}

.operation-location {
    color: var(--medium-gray);
    font-weight: 600;
    margin-bottom: 1rem;
}

.operation-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ==================== CHRONOLOGIE ==================== */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-copper), var(--light-copper));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--accent-copper);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 8px var(--white), 0 0 0 12px var(--accent-copper);
    z-index: 1;
}

.timeline-content {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    width: calc(50% - 40px);
    transition: all var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--primary-copper);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--medium-gray);
}

/* ==================== LEADERSHIP ==================== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.leader-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Style pour les photos des leaders */
.leader-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--primary-copper);
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.leader-card:hover .leader-photo img {
    transform: scale(1.1);
}

/* Fallback style si image manquante */
.leader-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.leader-card h3 {
    font-size: 1.5rem;
    color: var(--primary-copper);
    margin-bottom: 0.5rem;
}

.leader-title {
    color: var(--medium-gray);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Profils des leaders */
.leader-profile {
    margin-top: 1.5rem;
    text-align: left;
    padding: 1.5rem;
    background-color: var(--very-light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--light-copper);
}

.leader-profile p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.leader-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.expertise-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, var(--primary-copper), var(--secondary-copper));
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(30, 58, 95, 0.2);
    transition: all var(--transition-fast);
}

.expertise-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 58, 95, 0.3);
    background: linear-gradient(135deg, var(--light-copper), var(--accent-copper));
}

/* ==================== CONTACT ==================== */
.contact {
    background-color: var(--pale-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-copper);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    width: 30px;
    height: 30px;
    color: var(--accent-copper);
    flex-shrink: 0;
}

.contact-item p {
    color: var(--medium-gray);
    line-height: 1.8;
}

.contact-form {
    background-color: var(--very-light-gray);
    padding: var(--spacing-md);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-copper);
}

.form-group textarea {
    resize: vertical;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary-copper);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.footer-logo h2 span {
    color: var(--light-copper);
    font-weight: 300;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light-copper);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--light-copper);
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    opacity: 0.7;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablettes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-wrapper {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-copper);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .nav-wrapper.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .language-switcher {
        margin-left: 0;
        justify-content: center;
    }
    
    .lang-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .operations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-grid,
    .values-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .growth-timeline {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.visible {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    opacity: 0;
}

/* ==================== IMAGE SLIDER ==================== */
.image-slider {
    margin-top: 95px;
    padding: 2rem 0;
    background: linear-gradient(to bottom, #f7fafc 0%, #e6e9ef 100%);
    overflow-x: hidden;
    position: relative;
}

.slider-container {
    width: 100%;
    padding: 0;
}

.slider-track {
    display: flex;
    gap: 2.5rem;
    animation: scroll-left 40s linear infinite;
    width: fit-content;
    padding: 0 2rem;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide {
    flex-shrink: 0;
    width: 450px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.15);
    transition: all var(--transition-normal);
    background-color: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 58, 95, 0.25);
}

.slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.slide img:hover {
    transform: scale(1.02);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95) 0%, rgba(30, 58, 95, 0.7) 50%, transparent 100%);
    color: var(--white);
    padding: 2.5rem 1.5rem 1.5rem;
    font-weight: 600;
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.lightbox.active {
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.slider-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    cursor: grab;
}

.slider-container:active {
    cursor: grabbing;
}

.slider-container::-webkit-scrollbar {
    height: 8px;
}

.slider-container::-webkit-scrollbar-track {
    background: rgba(30, 58, 95, 0.1);
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: var(--primary-copper);
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-copper);
}