/* ======================= Global Styles & Variables ======================= */
:root {
    --primary-color: #3d2280; /* Violet foncé */
    --light-text-color: #ffffff; /* Blanc */
    --dark-text-color: #2e2e2e; /* Gris foncé */
}

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

html {
    scroll-behavior: smooth;
}

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

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--light-text-color); 
}

section {
    padding: 80px 5%;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
}

/* ... (le reste du code est identique jusqu'à la section clients) ... */


/* ======================= Header, Hero, Services, Key Figures, About ... ======================= */
/* NOTE: Toutes les sections précédentes restent inchangées. Le code est inclus pour que vous puissiez tout copier d'un coup. */

.cta-button-hero {
    display: inline-block;
    background-color: var(--light-text-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
    border: 2px solid var(--primary-color);
}
.cta-button-hero:hover {
    transform: translateY(-3px);
    background-color: #f0f0f0;
}
.header {
    background-color: var(--primary-color); 
    border-bottom: 1px solid #5a3eaa;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}
.nav-logo img {
    height: 40px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-link {
    color: var(--light-text-color); 
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #cccccc;
}
.hamburger {
    display: none;
    cursor: pointer;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--light-text-color);
}
.hero-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 90vh;
    padding: 100px 5%;
}
.hero-content {
    max-width: 900px;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.service-card {
    background-color: var(--light-text-color); 
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: var(--dark-text-color); 
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color); 
}
.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
    flex-grow: 1;
}
.service-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.service-card ul li::before {
    content: '✓';
    color: var(--primary-color); 
    font-weight: bold;
    position: absolute;
    left: 0;
}
.figures-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}
.figure-item {
    flex-basis: 250px;
}
.figure-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--light-text-color); 
}
.figure-label {
    display: block;
    font-size: 1.1rem;
}
.about-points-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.about-point {
    background: var(--light-text-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: var(--dark-text-color);
}
.about-point i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color); 
}
.about-point h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color); 
}

/* ======================= Clients Section (MODIFIÉE) ======================= */
.logo-carousel-container {
    width: 100%;
    overflow: hidden; /* Cache ce qui dépasse */
    position: relative;
    padding: 20px 0;
    /* Dégradé sur les côtés pour un effet de fondu */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.logo-carousel {
    display: flex;
    /* Animation : nom, durée, type, répétition */
    animation: scroll 40s linear infinite;
    gap: 80px; /* Espacement augmenté entre les logos */
    align-items: center;
    width: fit-content; /* S'assure que le conteneur est assez large */
}

.logo-carousel-container:hover .logo-carousel {
    animation-play-state: paused; /* Met l'animation en pause au survol de la souris */
}

/* Définition de l'animation de défilement */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        /* Déplace le conteneur de la moitié de sa largeur vers la gauche */
        /* (car nous avons 2 groupes de logos) */
        transform: translateX(-50%);
    }
}

.logo-carousel img {
    height: 70px; /* Logos plus grands */
    max-width: 180px; /* Largeur max augmentée */
    opacity: 0.9;
    transition: opacity 0.3s;
    flex-shrink: 0; /* Empêche les logos de se compresser */
}

.logo-carousel img:hover {
    opacity: 1;
}

.contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--light-text-color);
    padding: 40px;
    border-radius: 10px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--dark-text-color);
}
.contact-form button {
    align-self: center;
    border: none;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}
.contact-form button:hover {
    background-color: #5a3eaa;
    transform: translateY(-2px);
}
.form-backend-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
}
.footer {
    background-color: #2e1a65;
    color: var(--light-text-color);
    padding: 60px 5% 20px;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--light-text-color);
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
    margin-bottom: 10px;
}
.footer-col ul li a:hover {
    color: var(--light-text-color);
    padding-left: 5px;
}
.social-links a {
    display: inline-flex;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-right: 10px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--light-text-color);
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s;
}
.social-links a:hover {
    background-color: var(--light-text-color);
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--light-text-color);
}
@media (max-width: 992px) {
    h2 { font-size: 2.2rem; }
    .services-container { grid-template-columns: 1fr 1fr; }
    .about-points-container { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding-bottom: 20px;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 1.5rem 0;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero-content h1 { font-size: 2.5rem; }
    .services-container { grid-template-columns: 1fr; }
    .figures-container { flex-direction: column; align-items: center; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; }
}