/* ==========================================================================
   1. Variables et Styles Généraux
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
:root { --color-primary: #0d6efd; --color-primary-dark: #0b5ed7; --color-dark: #212529; --color-secondary: #6c757d; --color-light: #f8f9fa; --color-white: #ffffff; --font-family: 'Poppins', sans-serif; --container-width: 1140px; --border-radius: 8px; --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07); }
* { box-sizing: border-box; margin: 0; padding: 0; }

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body { font-family: var(--font-family); color: var(--color-dark); line-height: 1.6; background-color: var(--color-white); }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; color: var(--color-dark); text-align: center; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-primary); }
section { padding: 80px 0; }
.btn-primary, .btn-secondary { display: inline-block; padding: 12px 28px; border-radius: var(--border-radius); font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background-color: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background-color: #fff; transform: translateY(-2px); color: var(--color-primary); }
.btn-secondary { background-color: var(--color-white); color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background-color: var(--color-light); transform: translateY(-2px); }

/* ==========================================================================
   2. Header / Navigation
   ========================================================================== */
.main-header { background-color: transparent; box-shadow: none; position: fixed; top: 0; left: 0; z-index: 1002; width: 100%; transition: background-color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease; }
.main-header.scrolled { background-color: var(--color-white); box-shadow: 0 2px 4px rgba(0,0,0,0.05); height: 80px; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; height: 100px; transition: height 0.4s ease; }
.main-header.scrolled .container { height: 80px; }
.logo { display: block; position: relative; height: 120px; }
.logo img { height: 100%; width: auto; transition: opacity 0.4s ease; }
.logo .logo-dark { position: absolute; top: 0; left: 0; }
.logo .logo-white { opacity: 1; }
.logo .logo-dark { opacity: 0; }
.main-header.scrolled .logo .logo-white { opacity: 0; }
.main-header.scrolled .logo .logo-dark { opacity: 1; }
.main-nav { display: flex; list-style: none; gap: 30px; }
.main-nav a { text-decoration: none; color: rgba(255, 255, 255, 0.8); font-weight: 600; padding: 5px 0; border-bottom: 2px solid transparent; transition: all 0.3s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--color-white); border-bottom-color: var(--color-white); }
.main-header.scrolled .main-nav a { color: var(--color-secondary); }
.main-header.scrolled .main-nav a:hover, .main-header.scrolled .main-nav a.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ==========================================================================
   3. Sections de contenu (Hero, Services, etc.)
   ========================================================================== */
/* Hero */
@keyframes backgroundScroll { from { background-position: 0 0; } to { background-position: -200px -200px; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.hero-section-modern { padding: 140px 0 200px 0; position: relative; overflow: hidden; background-color: #0a192f; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 20px 20px; animation: backgroundScroll 30s linear infinite; }
.hero-section-modern::after { content: ''; position: absolute; bottom: 0; left: -50%; width: 200%; height: 150px; background-color: var(--color-white); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero-grid { display: grid; grid-template-columns: 55% 45%; align-items: center; gap: 60px; position: relative; z-index: 2; }
.hero-text { animation: fadeInUp 0.8s ease-out forwards; }
.hero-title { font-size: 3.3rem; margin-bottom: 1.5rem; text-align: left; color: var(--color-white); }
.hero-subtitle { font-size: 1.1rem; color: #a8b2d1; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 20px; }
.hero-section-modern .btn-secondary { background-color: transparent; color: var(--color-white); border-color: var(--color-white); }
.hero-section-modern .btn-secondary:hover { background-color: rgba(255, 255, 255, 0.1); }
.hero-illustration { opacity: 0; animation: fadeInUp 0.8s ease-out 0.4s forwards, float 6s ease-in-out 1.2s infinite; }
.hero-illustration img { max-width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(70, 130, 255, 0.3)); }
.def {
    text-align: center;
}

/* ==========================================================================
   4. Section Services - DESIGN 2x2 ARRONDI ET DESCRIPTIF
   ========================================================================== */

.services-overview-section {
    padding-top: 100px;
    padding-bottom: 100px;
}
.services-overview-section h2 { color: var(--color-dark); }
.services-overview-section .section-subtitle { color: var(--color-secondary); text-align:center;}

/* --- Style par défaut : GRILLE 2x2 pour DESKTOP --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* On augmente l'espace */
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 24px; /* Coins beaucoup plus arrondis */
    background-color: var(--color-white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    text-align: center; /* MODIFIÉ */
    
}

.service-card-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    background-color: #e7f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-icon-wrapper i {
    font-size: 30px;
    color: var(--color-primary);
}

.service-card h3 {
    color: var(--color-dark);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Pousse le lien vers le bas */
    display: flex; /* Active Flexbox pour la liste */
    flex-direction: column; /* Les éléments s'empilent */
    align-items: center; /* Centre la liste horizontalement */
    justify-content: center; /* Centre la liste verticalement */
    gap: 12px; /* Espace entre chaque item de la liste */
}

.service-card li {
    display: flex; /* Active Flexbox pour l'item */
    align-items: center; /* Centre verticalement la coche et le texte */
    gap: 10px; /* Espace entre la coche et le texte */
    color: var(--color-secondary);
}

.service-card li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0; /* Empêche la coche de se déformer */
}

.card-link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 40px; /* On augmente le padding pour plus d'espace */
    background: linear-gradient(to top, rgba(255,255,255,1) 30%, rgba(255,255,255,0)); /* Dégradé plus prononcé */
    color: var(--color-primary);
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px); /* On réduit la translation */
    transition: all 0.3s ease;
}

.card-link span {
    display: inline-block;
    transition: transform 0.3s ease-out;
}

.service-card:hover .card-link {
    opacity: 1; /* Apparaît au survol */
    transform: translateY(0);
}

.service-card:hover .card-link span {
    transform: translateX(5px);
}


/* --- Media Query pour TABLETTE & MOBILE : On passe en 1 colonne --- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 colonne sur tablette */
        max-width: 500px;
    }
    
        .about-grid {
        grid-template-columns: 1fr; /* La bio s'empile */
    }
    .about-image-wrapper {
        max-width: 300px;
        margin: 0 auto 40px auto;
    }
    .about-content {
        text-align: center;
    }
    .about-content .section-title {
        text-align: center;
    }
    .values-grid, .certifications-grid {
        grid-template-columns: repeat(2, 1fr); /* Les valeurs/certs passent à 2 colonnes */
    }
    
        /* On passe la grille des domaines à 2 colonnes */
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
        .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* Passe à 2 colonnes */
    }
    
}

/* ==========================================================================
   5. Autres Sections
   ========================================================================== */
.why-us-section { background-color: white; padding: 0px 0px 80px 0px; }
.why-us-grid { display: grid; grid-template-columns: 45% 55%; align-items: center; gap: 60px; }
.why-us-illustration img { max-width: 100%; height: auto; }
.why-us-list { list-style: none; margin-top: 40px; padding: 0; }
.why-us-list li { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.why-us-icon { flex-shrink: 0; width: 50px; height: 50px; }
.why-us-icon img { max-width: 100%; }
.why-us-list h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 5px; color: var(--color-dark); }
.why-us-list p { color: var(--color-secondary); }
.process-section { background-color: var(--color-white); padding: 80px 0; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 60px; }
.process-steps ul { list-style: none; position: relative; padding-left: 40px; }
.process-steps ul::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 2px; background-color: #e9ecef; }
.process-step { margin-bottom: 120px; position: relative; opacity: 0.4; transition: opacity 0.4s ease; }
.process-step.is-active { opacity: 1; }
.step-number { position: absolute; left: -65px; top: 0; width: 50px; height: 50px; border-radius: 50%; background-color: var(--color-white); border: 2px solid #e9ecef; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; color: var(--color-secondary); transition: all 0.4s ease; }
.process-step.is-active .step-number { border-color: var(--color-primary); background-color: var(--color-primary); color: var(--color-white); transform: scale(1.1); }
.step-content h3 { color: var(--color-dark); font-size: 1.5rem; margin-bottom: 10px; }
.step-content p { color: var(--color-secondary); }
.sticky-box { position: sticky; top: 120px; }
#process-image { width: 100%; height: auto; transition: opacity 0.5s ease-in-out; }
.testimonials-section { background-color: var(--color-light); }
.testimonial-swiper { padding: 20px 0 50px 0 !important; }
.testimonial-card { background-color: var(--color-white); padding: 30px; border-radius: var(--border-radius); border: 1px solid #e9ecef; height: 100%; display: flex; flex-direction: column; }
.testimonial-rating { display: flex; gap: 4px; margin-bottom: 20px; }
.testimonial-rating svg { width: 24px; height: 24px; }
.testimonial-text { font-style: italic; color: var(--color-secondary); flex-grow: 1; }
.swiper-pagination-bullet { background-color: #ccc !important; width: 10px !important; height: 10px !important; }
.swiper-pagination-bullet-active { background-color: var(--color-primary) !important; }


/* ==========================================================================
   6. RESPONSIVE DESIGN (Regroupé et Corrigé)
   ========================================================================== */
.mobile-nav-toggle { display: none; width: 30px; height: 24px; background: transparent; border: none; position: relative; cursor: pointer; z-index: 1002; }
.mobile-nav-toggle span { display: block; width: 100%; height: 3px; background-color: var(--color-white); position: absolute; left: 0; transition: all 0.3s ease; }
.main-header.scrolled .mobile-nav-toggle span { background-color: var(--color-dark); }
.mobile-nav-toggle span:nth-child(1) { top: 0; }
.mobile-nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-nav-toggle span:nth-child(3) { bottom: 0; }
.mobile-nav { position: fixed; top: 0; right: 0; width: 100%; height: 100%; background-color: #0a192f; z-index: 1001; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translateX(100%); transition: transform 0.4s ease; }
.mobile-nav ul { list-style: none; text-align: center; padding: 0; }
.mobile-nav li { margin-bottom: 30px; }
.mobile-nav a { color: var(--color-white); text-decoration: none; font-size: 2rem; font-weight: 600; }
.mobile-nav .btn-primary { margin-top: 20px; }
body.mobile-nav-open { overflow: hidden; }
body.mobile-nav-open .mobile-nav { transform: translateX(0); }
body.mobile-nav-open .mobile-nav-toggle span { background-color: var(--color-white); }
body.mobile-nav-open .mobile-nav-toggle span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
body.mobile-nav-open .mobile-nav-toggle span:nth-child(2) { opacity: 0; }
body.mobile-nav-open .mobile-nav-toggle span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

@media (max-width: 992px) {
    .container { max-width: 960px; } /* Cette ligne n'est peut-être pas nécessaire ici, max-width: 1140px par défaut */
    .main-nav, .desktop-only { display: none; }
    .mobile-nav-toggle { display: block; }
    
    /* * AJUSTEMENT POUR TABLETTE (992px et moins) * */
    .services-grid, 
    .domains-grid, 
    .values-grid, 
    .certifications-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .footer-grid { /* Passer le footer à 2 colonnes pour les tablettes */
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px; /* Réduire l'espacement pour les tablettes */
    }

    .why-us-grid, .process-grid, .about-grid, .service-block, .service-block.reverse, .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .why-us-illustration, .about-image-wrapper { max-width: 400px; margin: 0 auto 30px auto; order: -1; }
    .process-visual { margin-top: 40px; }
    .sticky-box { position: static; }
    /* Inverser l'ordre des blocs de service sur mobile */
    .service-block.reverse .service-image {
        order: initial; /* Réinitialise l'ordre pour que l'image ne soit pas toujours la première */
    }
}

@media (max-width: 768px) {
    h1, .hero-title, .about-hero-title, .services-hero-title, .expertise-hero-title, .contact-hero-title { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    section { padding: 60px 0; }
    .main-header .container, .main-header.scrolled .container { height: 80px; align-items: center; }
    .logo { height: 55px; }
    .hero-section-modern { padding: 140px 0 100px 0; }
    .hero-section-modern::after { height: 100px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text, .hero-title, .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
    .hero-cta { flex-direction: column; align-items: center; width: 100%; max-width: 300px; margin: 0 auto; }
    .hero-cta a { width: 100%; text-align: center; }
    .hero-illustration { display: none; }
    
    .process-visual { display: none !important; }
    .process-steps { width: 100%; }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        max-width: 100%;
        padding: 0 10px;
    }
    .service-card-inner { padding: 30px 20px; }
    
    .footer-grid {
        grid-template-columns: 1fr !important; 
        text-align: center;
    }
    .footer-col { margin-bottom: 30px; }
    .footer-col:last-child { margin-bottom: 0; }
    
    .about-col .footer-logo-link {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .about-col p {
        padding-right: 0;
        font-size: 0.95rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-socials { justify-content: center; }
    
    .footer-col ul {
        display: inline-block;
        text-align: left;
    }
    .footer-col ul li {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-col h4 { text-align: center; }
    
    .footer-col:last-child p {
        justify-content: center;
        display: flex;
        align-items: center;
    }
    .footer-col:last-child p i { margin-top: 0; }
    
    .footer-logo-link img {
        margin-left: auto;
        margin-right: auto;
        display: block; 
    }
    
    .why-us-content h2, .why-us-content .section-subtitle, .about-content, .about-content .section-title { text-align: center; }
    
    .process-steps ul::before { left: 22px; }
    .process-step {
        padding-left: 70px !important; 
        margin-bottom: 40px;
    }
    .step-number {
        left: 0;
        top: -5px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
        transform: none;
    }
    
    .contact-hero-section { padding: 120px 0 60px 0; }
    
    .contact-grid { 
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .contact-form-wrapper, .contact-info-wrapper { 
        width: 100%;
        padding: 30px 20px;
    }
    
    .contact-form-wrapper { border-radius: 16px 16px 0 0; }
    .contact-info-wrapper { border-radius: 0 0 16px 16px; }
    
    .form-group-grid { grid-template-columns: 1fr !important; gap: 0; }
    
    .legal-hero-section h1 { font-size: 2.2rem; }
}


/* ==========================================================================
   7. FOOTER - DESIGN PREMIUM
   ========================================================================== */

.main-footer {
    background-color: #0a192f;
    color: #a8b2d1;
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid #1d2d44;
    align-items: start; /* <-- LA LIGNE MAGIQUE */
}

.footer-logo-link img {
    max-width: 100%;
    height: auto;
    display: block; /* Évite les espaces fantômes sous l'image */
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Colonne "À propos" */
.about-col .footer-logo-link {
    display: block;
    margin-bottom: 20px;
}
.about-col .footer-logo-link img {
    height: 70px; /* MODIFIÉ : Augmentez cette valeur */
    width: auto;
}
.about-col p {
    line-height: 1.7;
    padding-right: 30px; /* Espace pour ne pas coller à la colonne suivante */
}
.footer-socials {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}
.footer-socials a {
    color: #a8b2d1;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.footer-socials a:hover {
    color: var(--color-primary);
}

/* Colonnes de liens */
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col a {
    text-decoration: none;
    color: #a8b2d1;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: var(--color-white);
}

/* Colonne Contact Direct */
.footer-col p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}
.footer-col p i {
    margin-top: 5px;
    color: var(--color-primary);
}


.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #8892b0;
}

/* ==========================================================================
   10. Section Appel à l'Action (CTA)
   ========================================================================== */

.cta-section {
    background-color: var(--color-light); /* Fond clair pour cette section */
    text-align: center; /* Centre tout le contenu (titre, paragraphe, bouton) */
}

.cta-section .btn-primary {
    display: inline-block; /* S'assure que margin: auto fonctionne */
    margin-top: 20px; /* Espace au-dessus du bouton */
}


/* ==========================================================================
   11. PAGE CONTACT - DESIGN FINAL
   ========================================================================== */

/* --- Section Hero --- */
.contact-hero-section {
    background-color: #0a192f;
    padding: 180px 0 120px 0;
    text-align: center;
}
.contact-hero-title { color: var(--color-white); font-size: 3rem; }
.contact-hero-subtitle { color: #a8b2d1; font-size: 1.2rem; max-width: 600px; margin: 1rem auto 0 auto; }

/* --- Section principale --- */
.contact-main-section {
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
    background-color: var(--color-white);
    border-radius: 16px; /* Coins plus arrondis */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* --- Formulaire Amélioré --- */
.contact-form-wrapper { padding: 50px; }
.contact-form-wrapper h3 { text-align: left; color: var(--color-primary); }
.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--color-secondary); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    background-color: var(--color-light); /* Fond gris clair pour les champs */
    border: 2px solid transparent; /* Bordure transparente par défaut */
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}
.contact-form-wrapper button { width: 100%; padding: 15px; font-size: 1.1rem; }

/* --- Colonne d'information (inchangée) --- */
.contact-info-wrapper { background-color: var(--color-light); padding: 50px; }
.contact-info-wrapper h3 { text-align: left; color: var(--color-primary); }
.why-choose-us-list { list-style: none; padding: 0; margin: 0; }
.why-choose-us-list li { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.why-choose-us-list .why-us-icon { flex-shrink: 0; width: 40px; height: 40px; background-color: #e7f0ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.why-choose-us-list .why-us-icon i { color: var(--color-primary); font-size: 1.2rem; }
.why-choose-us-list h4 { font-size: 1.1rem; color: var(--color-dark); margin: 0 0 5px 0; }
.why-choose-us-list p { color: var(--color-secondary); line-height: 1.5; margin: 0; }

.honeypot-field { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; }


/* ==========================================================================
   12. MODALE DE FEEDBACK DU FORMULAIRE - LOADER SVG
   ========================================================================== */

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-content {
    background-color: var(--color-white); padding: 40px; border-radius: 16px;
    text-align: center; max-width: 420px; width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; align-items: center;
}
.modal-state {
    display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%;
}
.modal-state i { font-size: 4.5rem; margin-bottom: 20px; }
.modal-state .fa-check-circle { color: #198754; }
.modal-state .fa-times-circle { color: #dc3545; }
.modal-state h3 { font-size: 2rem; color: var(--color-dark); margin-bottom: 10px; }
.modal-state p { color: var(--color-secondary); line-height: 1.6; max-width: 300px; }
#modal-close-btn { margin-top: 30px; display: none; width: 100%; padding: 15px; font-size: 1.1rem; }

/* --- NOUVELLE ANIMATION DE REMPLISSAGE EN PUR SVG --- */
@keyframes svg-shield-fill {
    from { stroke-dashoffset: 400; } /* La longueur approximative du contour */
    to { stroke-dashoffset: 0; }
}

.shield-svg-loader {
    width: 70px;
    height: 84px; /* Respecte le ratio du viewBox (100x120) */
    margin-bottom: 20px;
}

.shield-svg-loader .shield-fill-path {
    fill: var(--color-primary);      /* Le fond du bouclier est bleu */
    stroke: #C3CFE2;                  /* Le trait qui tourne est gris clair */
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: svg-shield-fill 2s infinite linear;
}



/* ==========================================================================
   13. PAGE À PROPOS
   ========================================================================== */

/* --- Section Hero --- */
.about-hero-section {
    background-color: #0a192f;
    padding: 180px 0 120px 0;
    text-align: center;
}
.about-hero-title {
    color: var(--color-white);
    font-size: 3rem;
}
.about-hero-subtitle {
    color: #a8b2d1;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0 auto;
}

/* --- Section Principale (Bio) --- */
.about-main-section {
    background-color: var(--color-white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 60px;
}
.about-image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
}
.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}
.about-content p {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.signature {
    margin-top: 20px;
    font-weight: 600;
    color: var(--color-dark);
}

/* --- Section Valeurs --- */
.values-section {
    background-color: var(--color-light);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.value-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}
.value-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.value-card h4 {
    color: var(--color-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.value-card p {
    color: var(--color-secondary);
    font-size: 0.95rem;
}

/* --- NOUVELLE Section Timeline --- */
.timeline-section {
    background-color: var(--color-light);
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0 auto;
    padding-left: 46px;
    border-left: 4px solid var(--color-primary);
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    /* CORRECTION : On calcule la position exacte pour un centrage parfait */
    left: calc(-50px - (16px / 2) - (4px / 2)); 
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 4px solid var(--color-primary);
}
.timeline-date {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.timeline-content h4 {
    font-size: 1.4rem;
    color: var(--color-dark);
    margin-bottom: 10px;
}
.timeline-content p {
    color: var(--color-secondary);
}

/* --- Section Certifications (Mise à jour) --- */
.certifications-section { background-color: var(--color-white); }
.certifications-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.certification-card { background-color: var(--color-light); padding: 30px; border-radius: var(--border-radius); text-align: center; color: var(--color-dark); }
.certification-card i { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 15px; }
.certification-card h4 { font-size: 1.2rem; color: var(--color-secondary); margin-bottom: 15px; }
.certification-card p { font-weight: 600; }


/* ==========================================================================
   14. PAGE EXPERTISE
   ========================================================================== */

/* --- Section Hero --- */
.expertise-hero-section {
    background-color: #0a192f;
    padding: 180px 0 120px 0;
    text-align: center;
}
.expertise-hero-title {
    color: var(--color-white);
    font-size: 3rem;
}
.expertise-hero-subtitle {
    color: #a8b2d1;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0 auto;
}

/* --- Section Domaines --- */
.domains-section {
    background-color: var(--color-white);
}
.domains-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Grille 2x2 comme demandé */
    gap: 30px;
    margin-top: 50px;
}
.domain-card {
    background-color: var(--color-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}
.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
}
.domain-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}
.domain-card h4 {
    color: var(--color-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.domain-card p {
    color: var(--color-secondary);
}

/* --- Section Technologies --- */
.tech-section {
    background-color: var(--color-light);
}
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}
.tech-item {
    background-color: var(--color-white);
    padding: 20px 30px;
    border-radius: 50px; /* Forme de "pilule" */
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--color-secondary);
}
.tech-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
}


/* ==========================================================================
   15. PAGE SERVICES
   ========================================================================== */

/* --- Section Hero --- */
.services-hero-section {
    background-color: #0a192f;
    padding: 180px 0 120px 0;
    text-align: center;
}
.services-hero-title {
    color: var(--color-white);
    font-size: 3rem;
}
.services-hero-subtitle {
    color: #a8b2d1;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0 auto;
}

/* --- Section de détail des services --- */
.services-detail-section {
    padding: 80px 0;
}
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.service-block:last-child {
    margin-bottom: 0;
}
/* Alterne l'image à gauche / à droite */
.service-block.reverse {
    grid-template-columns: 1fr 1fr;
}
.service-block.reverse .service-image {
    order: -1;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.service-header i {
    font-size: 2rem;
    color: var(--color-primary);
}
.service-header h2 {
    text-align: left;
    margin-bottom: 0;
    font-size: 2.2rem;
}

.service-description {
    font-style: italic;
    color: var(--color-secondary);
    margin-bottom: 30px;
}
.service-content h4 {
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 15px;
}
.service-content ul {
    list-style: none;
    padding-left: 0;
}
.service-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-secondary);
}
.service-content li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* ==========================================================================
   16. PAGES LÉGALES (Mentions & Confidentialité)
   ========================================================================== */

.legal-hero-section {
    background-color: var(--color-light);
    padding: 150px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}
.legal-hero-section h1 {
    color: var(--color-dark);
}

.legal-content-section {
    padding: 60px 0;
}
.legal-content {
    max-width: 800px; /* Limite la largeur pour une meilleure lisibilité */
    line-height: 1.8;
}
.legal-content h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}
.legal-content p {
    color: var(--color-secondary);
    margin-bottom: 15px;
}
.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}
.legal-content li {
    margin-bottom: 10px;
}
.legal-content a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}
.legal-content a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   CITATION SIMPLE ET SOBRE
   ========================================================================== */

.quote-clean {
    text-align: center;
    max-width: 800px;
    margin: 80px auto; /* Espace confortable en haut et en bas */
    padding: 0 20px;
}

.quote-label {
    display: inline-block;
    color: var(--color-primary); /* Ton bleu (#0d6efd) */
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary); /* Petit souligné bleu */
    padding-bottom: 5px;
}

.quote-sentence {
    font-family: var(--font-family); /* Poppins */
    font-size: 1.8rem; /* Assez grand pour être lu */
    font-weight: 500;
    font-style: italic;
    color: var(--color-dark);
    line-height: 1.4;
    margin-bottom: 20px;
}

.quote-sign {
    display: block;
    color: var(--color-secondary); /* Gris */
    font-size: 1rem;
    font-weight: 400;
}

/* Ajustement pour mobile pour que ce ne soit pas trop gros */
@media (max-width: 768px) {
    .quote-clean { margin: 50px auto; }
    .quote-sentence { font-size: 1.4rem; }
}






/* ==========================================================================
   CITATION SIMPLE ET SOBRE
   ========================================================================== */

.quote-clean {
    text-align: center;
    max-width: 800px;
    margin: 80px auto; /* Espace confortable en haut et en bas */
    padding: 0 20px;
}

.quote-label {
    display: inline-block;
    color: var(--color-primary); /* Ton bleu (#0d6efd) */
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary); /* Petit souligné bleu */
    padding-bottom: 5px;
}

.quote-sentence {
    font-family: var(--font-family); /* Poppins */
    font-size: 1.8rem; /* Assez grand pour être lu */
    font-weight: 500;
    font-style: italic;
    color: var(--color-dark);
    line-height: 1.4;
    margin-bottom: 20px;
}

.quote-sign {
    display: block;
    color: var(--color-secondary); /* Gris */
    font-size: 1rem;
    font-weight: 400;
}

/* Ajustement pour mobile pour que ce ne soit pas trop gros */
@media (max-width: 768px) {
    .quote-clean { margin: 50px auto; }
    .quote-sentence { font-size: 1.4rem; }
}


/* ==========================================================================
   CITATION "STICKY" (QUI RESTE EN HAUT)
   ========================================================================== */

/* 1. État NORMAL (Dans la page) */
#sticky-quote-wrapper {
    min-height: 200px; /* Réserve la place pour éviter le "saut" quand ça devient fixe */
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-clean {
    width: 100%;
    background-color: transparent;
    padding: 60px 0;
    transition: all 0.4s ease-in-out; /* Animation fluide */
    z-index: 999; /* Pour passer au-dessus du contenu */
}

.quote-container-flex {
    text-align: center; /* Centré par défaut */
}

.quote-label {
    display: inline-block;
    color: #0d6efd; /* Bleu */
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0d6efd;
    transition: all 0.3s;
}

.quote-sentence {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    font-style: italic;
    color: #212529; /* Noir */
    line-height: 1.4;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.quote-sign {
    display: block;
    color: #6c757d; /* Gris */
    font-size: 1rem;
    transition: all 0.3s;
}

/* 2. État FIXÉ (Quand on scrolle) */
/* 2. État FIXÉ (CORRECTION POSITION SOUS LE MENU) */
.quote-clean.fixed-mode {
    position: fixed;
    /* C'EST ICI LE CHANGEMENT : On ne met pas 0, mais la hauteur de ton menu */
    top: 80px; /* Si ton menu fait 80px de haut. Ajuste ce chiffre si nécessaire (ex: 100px) */
    left: 0;
    width: 100vw;
    max-width: 100%;
    margin: 0;
    padding: 10px 20px;
    background-color: #0a192f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    /* On met un z-index inférieur à celui du menu (qui est souvent à 1000 ou plus) */
    z-index: 999; 
    box-sizing: border-box;
}

/* Le reste ne change pas */
.quote-clean.fixed-mode .quote-container-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.quote-clean.fixed-mode .quote-label {
    margin-bottom: 0;
    border: none;
    background: #0d6efd;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.quote-clean.fixed-mode .quote-sentence {
    font-size: 1rem; /* Texte plus petit */
    color: #ffffff; /* Texte blanc */
    margin-bottom: 0;
}

.quote-clean.fixed-mode .quote-sign {
    color: #a8b2d1; /* Gris clair */
    font-size: 0.9rem;
    margin-bottom: 0;
}
.quote-clean.fixed-mode .quote-sign::before {
    content: "— "; /* Ajoute un tiret devant le nom */
}