:root {
    --primary-color: #75bae6;
    --primary-dark: #5ba0cc;
    --primary-light: #8ed3ff;
    --secondary-color: #359DDF;
    --accent-color: #4296CD;
    --text-color: #384653;
    --text-light: #666;
    --heading-color: #2E3C4E;
    --background-color: #FFFFFF;
    --light-background: #f8f9fa;
    --border-color: #bacfdd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 1.25rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    font-weight: 400;
}

.container {
    max-width: 100%;
    padding: 0 5%;
    margin: 0 auto;
}

/* ============================================= */
/* HERO SECTION */
/* ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 15s linear;
    transform: scale(1.2);
    will-change: transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide:first-child {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 1050px;
    margin: 0 auto;
    width: 95%;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    max-width: auto;
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: tracking-in-contract-bck 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

/* Animation tracking-in-contract-bck */
@keyframes tracking-in-contract-bck {
    0% {
        letter-spacing: 1em;
        transform: translateZ(400px);
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        transform: translateZ(0);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 500;
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================= */
/* NAVIGATION */
/* ============================================= */
.navbar {
    position: relative;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.sticky {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    margin-right: 2rem;
}

.navbar-logo img {
    z-index: 9;
    position: absolute;
    height: 5rem;
    transition: var(--transition);
    border-radius: 10px;
}

.navbar-logo img:hover {
    transform: scale(1.05);
}

.navbar-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    border-radius: 1px;
}

/* ============================================= */
/* BUTTONS */
/* ============================================= */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(117, 186, 230, 0.3);
}

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

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

/* ============================================= */
/* SECTIONS GENERAL */
/* ============================================= */
section {
    padding: 80px 5%;
}

section:not(.hero) {
    padding-left: 5%;
    padding-right: 5%;
}

.section-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 3rem;
}

/* ============================================= */
/* ABOUT SECTION */
/* ============================================= */
.about {
    background: var(--light-background);
}

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

.about-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-card h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================= */
/* EXPERTISE SECTION */
/* ============================================= */
.services {
    position: relative;
    color: var(--text-color);
    padding: 100px 5%;
    overflow: hidden;
}

.expertise-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg-slide.active {
    opacity: 1;
}

.services .container {
    position: relative;
    z-index: 2;
    padding: 1.2rem;
    text-align: left;
}

.services::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

/* Carousel container */
.carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Service cards in carousel */
.service-card {
    min-width: 300px;
    max-width: 350px;
    margin: 0 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-content h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

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

/* Carousel buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(53, 157, 223, 0.8);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--secondary-color);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* ============================================= */
/* PROJETS STRATÉGIQUES SECTION - STYLES ISOLÉS AJOUTÉS */
/* ============================================= */
#projets.projects {
    padding: 100px 5% 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    color: white;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

#projets.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    pointer-events: none;
}

#projets .section-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

#projets .projects-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

#projets .projects-intro p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

/* Wave dividers spécifiques à la section projets */
#projets .wave-divider-top,
#projets .wave-divider-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

#projets .wave-divider-top {
    top: -1px;
}

#projets .wave-divider-bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

#projets .wave-divider-top svg,
#projets .wave-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

#projets .wave-divider-top .shape-fill,
#projets .wave-divider-bottom .shape-fill {
    fill: var(--light-background);
}

/* Styles pour les hubs stratégiques */
#projets .strategic-hubs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

#projets .hub-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 0;
    transform: translateY(30px);
}

#projets .hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

#projets .card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-color), var(--primary-color));
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#projets .hub-card:hover .card-glow {
    opacity: 1;
}

#projets .hub-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#projets .hub-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#projets .hub-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#projets .hub-header h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

#projets .hub-location {
    color: var(--secondary-color);
    font-weight: 500;
    font-style: italic;
}

#projets .hub-projects h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

#projets .hub-projects ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#projets .hub-projects li {
    position: relative;
    padding-left: 0;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

#projets .hub-projects li i {
    color: var(--primary-color);
    width: 20px;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

#projets .hub-status {
    margin-top: 1.5rem;
    text-align: center;
}

#projets .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#projets .status-badge.active {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

#projets .status-badge.planning {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

/* Styles pour les domaines stratégiques */
#projets .project-domains {
    margin-bottom: 4rem;
}

#projets .project-domains h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#projets .domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

#projets .domain-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 0;
    transform: translateY(30px);
}

#projets .domain-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#projets .domain-card:hover .card-glow {
    opacity: 1;
}

#projets .domain-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

#projets .domain-card:hover .domain-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

#projets .domain-card h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

#projets .domain-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#projets .domain-projects {
    margin-top: auto;
}

#projets .project-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(117, 186, 230, 0.15);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(117, 186, 230, 0.3);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

#projets .counter {
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Styles pour les représentations régionales */
#projets .regional-representation h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#projets .representation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

#projets .region-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

#projets .region-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#projets .region-card:hover .card-glow {
    opacity: 1;
}

#projets .region-card h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

#projets .region-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#projets .region-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1.5rem;
}

#projets .stat {
    text-align: center;
}

#projets .stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#projets .region-card:hover .stat-value {
    transform: scale(1.1);
    color: var(--primary-color);
}

#projets .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ============================================= */
/* PARTENARIATS SECTION - STYLES ISOLÉS AJOUTÉS */
/* ============================================= */
#partenariats.partners {
    padding: 100px 5% 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-dark) 100%);
    position: relative;
    color: white; 
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#partenariats.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><circle fill="white" cx="200" cy="200" r="100"/><circle fill="white" cx="700" cy="300" r="150"/><circle fill="white" cx="400" cy="600" r="120"/><circle fill="white" cx="800" cy="700" r="80"/></svg>');
    background-size: cover;
    pointer-events: none;
}

#partenariats .section-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

#partenariats .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
}

/* Wave dividers spécifiques à la section partenariats */
#partenariats .wave-divider-top,
#partenariats .wave-divider-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

#partenariats .wave-divider-top {
    top: -1px;
}

#partenariats .wave-divider-bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

#partenariats .wave-divider-top svg,
#partenariats .wave-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

#partenariats .wave-divider-top .shape-fill,
#partenariats .wave-divider-bottom .shape-fill {
    fill: var(--light-background);
}

/* Contenu principal */
#partenariats .partners-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

#partenariats .partners-content > p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    line-height: 1.6;
}

/* Blockquote stylisé */
#partenariats .partners-quote {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 3rem;
    margin: 3rem auto;
    max-width: 600px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

#partenariats .partners-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 6rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

#partenariats .partners-quote blockquote {
    font-style: italic;
    font-weight: bolder;
    color: var(--text-color);
    font-size: 1.3rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

#partenariats .partners-quote .quote-author {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    font-style: normal;
}

/* Statistiques partenariats */
#partenariats .partners-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

#partenariats .stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

#partenariats .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#partenariats .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#partenariats .stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* ============================================= */
/* CONTACT SECTION */
/* ============================================= */
.contact {
    background: var(--light-background);
}

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

.contact-info h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-item {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(117, 186, 230, 0.1);
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
.footer {
    background: var(--heading-color);
    color: white;
    padding: 3rem 5% 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    font-family: 'Barlow', sans-serif;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
}

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

/* ============================================= */
/* TIMELINE HORIZONTALE */
/* ============================================= */
.horizontal-timeline {
    position: relative;
    max-width: 100%;
    margin: 5rem auto 0;
    padding: 0 2rem;
}

.timeline-progress {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.timeline-item {
    flex: 1;
    max-width: 45%;
    padding: 0 1.5rem;
    position: relative;
    text-align: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 6px rgba(117, 186, 230, 0.2);
    transition: var(--transition);
}

.timeline-content {
    background: rgba(117, 186, 230, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-top: 1rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-bottom: 1rem;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(117, 186, 230, 0.3);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================= */
/* ANIMATIONS GENERALES */
/* ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation spécifique pour la timeline horizontale */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(1) { transition-delay: 0.2s; }
.timeline-item:nth-child(2) { transition-delay: 0.4s; }

/* Animations spécifiques pour les projets */
@keyframes projetsCountUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

#projets .counter.animated {
    animation: projetsCountUp 0.6s ease-out forwards;
}

#projets .hub-card.visible,
#projets .domain-card.visible,
#projets .region-card.visible {
    animation: projetsFadeInUp 0.6s ease-out forwards;
}

/* Animations spécifiques pour les partenariats */
@keyframes partenariatsFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#partenariats .partner-category.visible,
#partenariats .partners-quote.visible,
#partenariats .stat-item.visible {
    animation: partenariatsFadeInUp 0.6s ease-out forwards;
}

#partenariats .stat-number.animated {
    animation: partenariatsCountUp 0.6s ease-out forwards;
}

/* États initiaux pour l'animation */
#projets .hub-card,
#projets .domain-card,
#projets .region-card {
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================= */
/* RESPONSIVE DESIGN */
/* ============================================= */
@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
    }
    
    .navbar-logo {
        margin: 0 0 1rem 0;
    }
    
    .navbar-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 5%;
    }
    
    /* Responsive Carousel */
    .service-card {
        min-width: 80%;
    }
    
    /* Responsive Projets */
    #projets.projects {
        padding: 80px 5% 60px;
    }
    
    #projets .strategic-hubs,
    #projets .domains-grid,
    #projets .representation-grid {
        grid-template-columns: 1fr;
    }
    
    #projets .region-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    #projets .hub-card,
    #projets .domain-card,
    #projets .region-card {
        padding: 1.5rem;
    }
    
    #projets .wave-divider-top svg,
    #projets .wave-divider-bottom svg {
        height: 50px;
    }
    
    #projets .project-domains h3,
    #projets .regional-representation h3 {
        font-size: 1.6rem;
    }
    
    /* Responsive Partenariats */
    #partenariats.partners {
        padding: 80px 5% 60px;
    }
    
    #partenariats .partners-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #partenariats .partner-category {
        padding: 2rem 1.5rem;
    }
    
    #partenariats .partners-quote {
        padding: 2rem;
        margin: 2rem auto;
    }
    
    #partenariats .partners-quote blockquote {
        font-size: 1.1rem;
    }
    
    #partenariats .partners-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    #partenariats .wave-divider-top svg,
    #partenariats .wave-divider-bottom svg {
        height: 50px;
    }
    
    /* Responsive Timeline */
    .timeline-items {
        flex-direction: column;
    }
    
    .timeline-item {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .timeline-progress {
        display: none;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Mobile Projets */
    #projets.projects {
        padding: 60px 5% 40px;
    }
    
    #projets .hub-card,
    #projets .domain-card,
    #projets .region-card {
        padding: 1.2rem;
    }
    
    #projets .domain-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    #projets .hub-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    #projets .stat-value {
        font-size: 2rem;
    }
    
    /* Mobile Partenariats */
    #partenariats.partners {
        padding: 60px 5% 40px;
    }
    
    #partenariats .partner-category {
        padding: 1.5rem;
    }
    
    #partenariats .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    #partenariats .partners-stats {
        grid-template-columns: 1fr;
    }
    
    #partenariats .stat-number {
        font-size: 2.5rem;
    }
}

/* ============================================= */
/* PRINT STYLES */
/* ============================================= */
@media print {
    #projets.projects {
        background: white !important;
        color: black !important;
        padding: 40px 5% !important;
    }
    
    #projets .hub-card,
    #projets .domain-card,
    #projets .region-card {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
    
    #projets .wave-divider-top,
    #projets .wave-divider-bottom {
        display: none;
    }
    
    #partenariats.partners {
        background: white !important;
        color: black !important;
        padding: 40px 5% !important;
    }
    
    #partenariats .partner-category,
    #partenariats .partners-quote {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
    
    #partenariats .wave-divider-top,
    #partenariats .wave-divider-bottom {
        display: none;
    }
}

/* ============================================= */
/* SCROLL BEHAVIOR */
/* ============================================= */
html {
    scroll-behavior: smooth;
}