html {
    overflow-x: hidden;
}
/* --- PALETTE : LUMINEUSE & BLEU AZUR (L'esprit IT, mais frais) --- */
        :root {
            /* Textes */
            --text-main: #1E293B;    /* Gris ardoise foncé (Slate 800) */
            --text-muted: #64748B;   /* Gris moyen (Slate 500) */
            
            /* Couleurs d'accent (Remplacement du violet par du Bleu/Turquoise) */
            --accent-solid: #0EA5E9; /* Sky Blue 500 - Vif et confiant */
            --accent-dark: #0284C7;  /* Pour les survels */
            
            /* Le dégradé principal : Turquoise vers Bleu Roi (Frais et Pro) */
            --accent-gradient: linear-gradient(135deg, #2DD4BF 0%, #3B82F6 100%);
            
            /* Fonds "High-Key" */
            --bg-body: #FFFFFF;
            --bg-soft: #F0F9FF;      /* Bleu très très pâle (Alice Blue) */
            --bg-card: #FFFFFF;
            
            /* Ombres douces et colorées (Bleutées) */
            --shadow-card: 0 4px 6px -1px rgba(14, 165, 233, 0.1), 0 2px 4px -1px rgba(14, 165, 233, 0.06);
            --shadow-hover: 0 20px 25px -5px rgba(14, 165, 233, 0.15), 0 10px 10px -5px rgba(14, 165, 233, 0.1);
            
            --radius: 12px;
            --container: 1200px;
        }

        /* --- RESET & BASE --- */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        
        body {
            font-family: 'Inter', sans-serif;
            color: var(--text-main);
            background-color: var(--bg-body);
            line-height: 1.6;
            overflow-x: hidden;
            padding-top: 80px;
        }

        h1, h2, h3, h4 {
            font-family: 'Manrope', sans-serif;
            font-weight: 800;
            color: var(--text-main);
            line-height: 1.2;
        }

        a { text-decoration: none; transition: 0.3s ease; }
        ul { list-style: none; }

        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* --- BUTTONS --- */
        .btn {
            display: inline-block;
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: var(--accent-gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
            border: none;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(14, 165, 233, 0.5);
        }

        .btn-secondary {
            background-color: white;
            border: 2px solid #E2E8F0;
            color: var(--text-main);
        }

        .btn-secondary:hover {
            border-color: var(--accent-solid);
            color: var(--accent-solid);
            background-color: #F8FAFC;
        }
        /* Groupe de boutons (Gestion automatique de l'espace) */
        .cta-group {
            display: flex;
            flex-wrap: wrap; /* Permet de passer à la ligne si besoin */
            gap: 15px;       /* Remplace le margin-left, gère l'espace proprement */
            align-items: center;
        }
        /* --- HEADER (Clean & White) --- */
        header {
            position: fixed; 
            top: 0;
            left: 0;
            /*width: 100%;*/
            right: 0;
            
            background-color: rgba(255, 255, 255, 0.98); /* Quasi opaque */
            backdrop-filter: blur(10px);
            z-index: 10000; /* Très haut */
            border-bottom: 1px solid rgba(0,0,0,0.05);
            padding: 15px 0; /* Un peu plus fin pour l'élégance */
            transition: all 0.3s ease;
    }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            font-family: 'Manrope', sans-serif;
            color: var(--text-main);
        }
        .logo span { 
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links { display: flex; gap: 32px; align-items: center; }
        .nav-links a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; }
        .nav-links a:hover { color: var(--accent-solid); }

        /* --- HERO SECTION --- */
        .hero {
            /* Fond très subtil */
            background: linear-gradient(180deg, var(--bg-soft) 0%, rgba(255,255,255,0) 100%);
            padding: 100px 0 120px;
            position: relative;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 60px;
            align-items: center;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 24px;
            letter-spacing: -1px;
            color: var(--text-main);
        }
        
        .hero-content h1 span {
            color: var(--accent-solid);
        }

        .hero-content p {
            font-size: 1.25rem;
            color: var(--text-muted);
            margin-bottom: 40px;
            max-width: 500px;
        }

        .hero-image-wrapper { position: relative; }

        .hero-image {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
            background-color: #CBD5E1; /* Placeholder gris */
        }

        /* Badge Flottant "Productivité" */
        .hero-stat {
            position: absolute;
            bottom: -30px;
            left: -30px;
            background: white;
            padding: 24px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-card);
            border: 1px solid #F1F5F9;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .stat-icon {
            width: 48px; height: 48px;
            background: var(--bg-soft);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: var(--accent-solid);
            font-size: 1.2rem;
        }

        /* --- SECTIONS TITLES --- */
        .section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
        .subtitle {
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.85rem;
            color: var(--accent-solid);
            font-weight: 700;
            margin-bottom: 12px;
            display: block;
        }

        /* --- VALUE PROPS (Cards Blanches) --- */
        .values { padding: 100px 0; background: white; }
        .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

        .value-card {
            background: white;
            padding: 40px 30px;
            border-radius: var(--radius);
            border: 1px solid #E2E8F0;
            transition: 0.3s;
            
        }
        
        .value-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: var(--accent-solid);
        }

        .icon-box {
            width: 60px; height: 60px;
            background: var(--bg-soft); /* Fond bleu très pale */
            border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 24px;
            color: var(--accent-solid); /* Icone colorée */
        }

        /* --- SERVICES (Fond Gris Clair) --- */
        .services {
            background-color: #F8FAFC; /* Gris très léger pour contraster avec le blanc */
            padding: 100px 0;
        }

        .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

        .service-item {
            background: white;
            padding: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-card);
            display: flex; gap: 24px;
            transition: 0.3s;
            border: 1px solid transparent;
        }
        
        .service-item:hover { 
            box-shadow: var(--shadow-hover); 
            border-color: rgba(14, 165, 233, 0.3);
        }

        .service-icon { font-size: 2rem; }
        
        .service-text h3 { margin-bottom: 12px; font-size: 1.25rem; }
        .service-text p { color: var(--text-muted); margin-bottom: 15px; font-size: 0.95rem; }
        
        .service-text li { 
            font-size: 0.9rem; 
            color: var(--text-main); 
            margin-bottom: 8px; 
            display: flex; 
            align-items: center; 
        }
        .service-text li::before {
            content: '✓';
            color: var(--accent-solid);
            font-weight: bold;
            margin-right: 10px;
        }

        /* --- CASE STUDIES --- */
        .cases { padding: 100px 0; background: white; }
        .cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

        .case-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid #E2E8F0;
            display: flex;
            flex-direction: column;
            transition: 0.3s;
        }
        
        .case-card:hover { 
            box-shadow: var(--shadow-hover); 
            transform: translateY(-5px);
        }

        /* Accent colored top border */
        .case-card::before {
            content: '';
            height: 6px;
            width: 100%;
            background: var(--accent-gradient);
        }

        .case-content { padding: 30px; flex: 1; }
        
        .case-tag {
            background: var(--bg-soft);
            color: var(--accent-dark);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            display: inline-block;
            margin-bottom: 15px;
        }

        .case-metrics {
            display: flex;
            gap: 30px;
            padding-top: 25px;
            margin-top: 15px;
            border-top: 1px solid #F1F5F9;
            justify-content: center;
        }
        /* Centrage de tout le texte à l'intérieur de chaque métrique */
        .case-metrics > .metric > div {
            text-align: center;
        }
        .metric div:first-child { 
            font-size: 1.8rem; 
            font-weight: 800; 
            /* Dégradé sur les chiffres */
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .metric div:last-child { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }

        /* --- TRUST --- */
        .trust {
            padding: 60px 0;
            text-align: center;
            background-color: white;
            border-top: 1px solid #F1F5F9;
        }
        .trust p { margin-bottom: 30px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;}
        
        .logo-grid {
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
            opacity: 0.5;
            filter: grayscale(100%);
        }
        .logo-placeholder { font-weight: 800; font-size: 1.3rem; color: #94A3B8; }

        /* --- CTA SECTION (Gradient) --- */
        .cta-section {
            background: var(--bg-soft); /* Fond clair */
            padding: 100px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        /* Cercle décoratif */
        .cta-section::before {
            content: '';
            position: absolute;
            top: 50%; left: 50%; transform: translate(-50%, -50%);
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(255,255,255,0) 70%);
            z-index: 0;
        }

        .cta-content { position: relative; z-index: 1; }
        .cta-section h2 { margin-bottom: 20px; font-size: 2.5rem; }
        .cta-section p { margin-bottom: 30px; font-size: 1.1rem; color: var(--text-muted); }

        /* --- FOOTER --- */
        footer {
            background-color: white;
            color: var(--text-muted);
            padding: 60px 0 20px;
            border-top: 1px solid #E2E8F0;
            font-size: 0.9rem;
        }

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

        .footer-brand h3 { color: var(--text-main); margin-bottom: 15px; font-size: 1.2rem; }
        .footer-col h4 { color: var(--text-main); margin-bottom: 20px; font-size: 1rem; }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col a { color: var(--text-muted); }
        .footer-col a:hover { color: var(--accent-solid); }
        .copyright a { color: var(--text-muted); }
        .copyright a:hover { color: var(--accent-solid); }

        .copyright {
            text-align: center;
            border-top: 1px solid #F1F5F9;
            padding-top: 20px;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .hero-grid { grid-template-columns: 1fr; text-align: center; }
            .hero-stat { left: 50%; transform: translateX(-50%); bottom: -40px; width: 90%; }
            .values-grid, .services-grid, .cases-grid, .footer-grid { grid-template-columns: 1fr; }
            .nav-links { display: none; }
        }
        /* --- CSS SPÉCIFIQUE PAGES INTERNES --- */

/* 1. Le "Page Header" : Plus petit et centré que la Home */
.page-header {
    background: linear-gradient(180deg, var(--bg-soft) 0%, rgba(255,255,255,0) 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.page-header .subtitle {
    /* On réutilise votre style de badge, mais centré */
    margin: 0 auto 20px;
    background: white;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* 2. Zone de contenu "Standard" (pour Bio, Mentions légales, Articles) */
.content-section {
    padding: 60px 0 100px;
    background: white;
}

.prose {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #334155;
}

.prose h2 { font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; }
.prose h3 { font-size: 1.4rem; margin-top: 30px; margin-bottom: 15px; }
.prose p { margin-bottom: 24px; line-height: 1.7; }
.prose ul { margin-bottom: 24px; padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 10px; }

/* 3. Layout "Zig Zag" pour la page Services (CORRIGÉ FLEXBOX) */
.service-row {
    display: flex;             /* On passe en Flexbox */
    align-items: center;       /* Centre verticalement */
    gap: 60px;
    margin-bottom: 100px;
}

/* Force les deux colonnes (texte et image) à prendre 50% chacune */
.service-txt-col, 
.service-img-col {
    flex: 1;
    width: 50%; /* Sécurité */
}

/* C'est ici que la magie opère pour inverser */
.service-row.reverse {
    flex-direction: row-reverse; /* Inverse l'ordre visuel (Image à gauche, Texte à droite) */
}

.service-img-col img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    border: 8px solid white;
    display: block; /* Évite les petits espaces sous l'image */
}

/* Responsive : On empile tout verticalement sur mobile */
@media (max-width: 768px) {
    .service-row, 
    .service-row.reverse {
        flex-direction: column-reverse; /* L'image passe au dessus du texte sur mobile */
        gap: 30px;
    }
    
    .service-txt-col, 
    .service-img-col {
        width: 100%; /* Prend toute la largeur sur mobile */
    }
}
/* --- GRILLE D'ARTICLES (BLOG / PROJETS) --- */

.posts-grid {
    display: grid !important;
    /* Crée autant de colonnes que possible, minimum 280px de large */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.post-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-solid);
}

.post-image-wrapper {
    height: 200px;
    background-color: var(--bg-soft);
    overflow: hidden;
    position: relative;
}

.post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image-wrapper img {
    transform: scale(1.05);
}

.post-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pour que le contenu remplisse la carte */
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.post-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-card h3 a {
    color: var(--text-main);
}

.post-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Pousse le bouton vers le bas */
}

.read-more {
    font-weight: 700;
    color: var(--accent-solid);
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--accent-dark);
}

.read-more svg {
    margin-left: 6px;
    transition: transform 0.2s;
}

.post-card:hover .read-more svg {
    transform: translateX(4px);
}
/* --- PAGE ARTICLE (SINGLE) --- */

/* En-tête de l'article */
.article-header {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-soft) 0%, rgba(255,255,255,0) 100%);
    position: relative;
    z-index: 100;
}

.header-content {
    max-width: 800px; /* Largeur de lecture idéale */
    margin: 0 auto;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--accent-solid);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.article-header h1 {
    font-size: 2.5rem; /* Gros titre */
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.article-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Image de couverture */
.article-image-container {
    max-width: 1000px; /* Plus large que le texte pour le style */
    margin: 0 auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    max-height: 500px; /* Évite les images trop hautes */
}

.article-image-container img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
}

/* --- TYPOGRAPHIE DU CORPS (Le plus important) --- */

.article-body {
    max-width: 740px; /* Colonne de texte centrée */
    margin: 0 auto;
    font-size: 1.125rem; /* 18px pour une lecture confort */
    line-height: 1.8;    /* Lignes aérées */
    color: #334155;      /* Gris foncé doux (Slate 700) */
}

/* Espacement entre les paragraphes */
.article-body p {
    margin-bottom: 24px;
}

/* Titres dans l'article */
.article-body h2 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.article-body h3 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-main);
    font-weight: 700;
}

/* Listes */
.article-body ul, .article-body ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.article-body ul li::marker {
    color: var(--accent-solid); /* Puces bleues */
}

/* Citations / Blockquotes */
.article-body blockquote {
    border-left: 4px solid var(--accent-solid);
    background: var(--bg-soft);
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-main);
}

/* Images dans le texte */
.article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Liens dans le texte */
.article-body a {
    color: var(--accent-solid);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.article-body a:hover {
    color: var(--accent-dark);
}

/* Code blocks (si vous en mettez) */
.article-body pre {
    background: #1E293B;
    color: #F8FAFC;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* Pied de page de l'article */
.article-footer {
    max-width: 740px;
    margin: 60px auto 0;
    padding-top: 20px;
}

.article-footer hr {
    border: 0;
    border-top: 1px solid #E2E8F0;
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.btn-back:hover {
    color: var(--accent-solid);
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 { font-size: 2rem; }
    .article-image-container { border-radius: 0; margin-left: -24px; margin-right: -24px; width: auto; max-width: none;} 
    .article-body { font-size: 1rem; }
}

/* =========================================
   RESPONSIVE / MOBILE ( < 768px )
   ========================================= */

   /* Par défaut (Desktop), on cache le bouton hamburger */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
.hero-content p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
    /* 1. CONTENEUR & ESPACEMENTS */
    .container {
        padding: 0 20px; /* Plus de marge sur les bords */
        width: 100%;
    }
    
    section {
        padding: 60px 0; /* Sections moins hautes */
    }

    /* 2. NAVIGATION (Menu empilé) */
    /* 1. Configuration de la barre de nav */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative; /* Important pour le positionnement du menu déroulant */
    }

    /* 2. Afficher le bouton Hamburger */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001; /* Au-dessus du menu */
    }

    .mobile-menu-btn .bar {
        width: 100%;
        height: 3px;
        background-color: var(--text-main);
        border-radius: 3px;
        transition: 0.3s;
    }

    /* 3. Cacher les liens par défaut */
    .nav-links {
        display: none; /* Caché par défaut ! */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Juste en dessous du header */
        left: 0;
        /*width: 100%;*/
        right: 0;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
        gap: 20px;
        text-align: center;
        z-index: 10000;
    }

    /* 4. Quand on ajoute la classe 'active' via le Script */
    .nav-links.active {
        display: flex; /* Le menu apparaît */
        animation: slideDown 0.3s ease forwards;
    }

    /* Animation d'ouverture douce */
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Ajustement des boutons dans le menu mobile */
    .nav-links .btn {
        width: 100%;
        margin: 0;
    }

    /* 3. HERO (Gros titre) */
    .hero {
        padding: 60px 0 80px;
        text-align: center; /* Tout centrer sur mobile */
    }

    .hero-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem; /* Titre plus petit */
    }
    
    /* L'image passe en dessous */
    .hero-image-wrapper {
        order: 2; 
    }
    
    .hero-image {
        height: 300px; /* Moins haute */
    }

    /* 4. GRILLES (Valeurs, Services, Cas clients) */
    .values-grid, 
    .services-grid, 
    .cases-grid, 
    .footer-grid {
        grid-template-columns: 1fr !important; /* Force 1 colonne */
        gap: 30px;
    }

    /* 5. SERVICES DÉTAILLÉS (Zig Zag) */
    /* On empile tout verticalement */
    .service-row, 
    .service-row.reverse {
        flex-direction: column-reverse; 
        text-align: center;
    }
    
    .service-txt-col, 
    .service-img-col {
        width: 100%;
    }
    
    .icon-box {
        margin: 0 auto 20px; /* Centre l'icône */
    }
    
    .service-text li {
        justify-content: center; /* Centre les listes à puces */
    }

    /* 6. BLOG / ARTICLES */
    .posts-grid {
        /* Adapte la grille aux très petits écrans */
        grid-template-columns: 1fr; 
    }

    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-image-container {
        border-radius: 0;
        margin-left: -20px; /* L'image touche les bords de l'écran */
        margin-right: -20px;
        width: calc(100% + 40px);
    }
    /* Force le conteneur de boutons à centrer son contenu */
    .cta-group {
        width: 100%;
        justify-content: center; /* Centre horizontalement */
        flex-direction: column;  /* Empile les boutons l'un sur l'autre */
    }

    .btn {
        width: 100%; /* Bouton pleine largeur (plus facile à cliquer sur mobile) */
        text-align: center; /* Texte bien au milieu */
        justify-content: center; /* Si c'est un bouton flex */
        margin: 0 !important; /* Sécurité pour enlever toute marge parasite */
    }

    /* --- CORRECTION ALIGNEMENT LISTES MOBILE --- */

    .service-text ul {
        /* On donne une largeur fixe ou max pour que ça ne prenne pas tout l'écran */
        display: inline-block; 
        text-align: left; /* Force le texte à rester aligné à gauche proprement */
        width: 100%; 
        max-width: 350px; /* Empêche que ça soit trop large, garde l'aspect "bloc centré" */
        margin: 0 auto; /* Centre le bloc lui-même */
    }

    .service-text li {
        justify-content: flex-start !important; 
        text-align: left;
        align-items: flex-start; 
    }
    .service-text li::before {
        flex-shrink: 0; 
        transform: translateY(5px); 
    }
    .case-metrics {
        flex-direction: column;
        gap: 15px; 
    }
    .case-metrics .metric {
        width: 100%;
    }
    .logo-grid {
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 30px; 
    }
    .logo-placeholder {
        font-size: 1rem; /* Texte un peu plus petit */
        min-width: 100px; /* Taille minimum pour garantir l'affichage */
    }
}
/* ---------------------- */
.dyslexia-mode,
.dyslexia-mode *:not([class*="fa-"]) {
    font-family: 'OpenDyslexicRegular', Arial, sans-serif !important;
    line-height: 1.6 ;
    letter-spacing: 0.03em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}
.dyslexia-mode {
    font-size: 0.92em;  
}
.dyslexia-mode .avatar img {
    font-family: 'OpenDyslexicRegular', Arial, sans-serif !important;
    width: 240px;
    height: 240px;
}
.dyslexia-mode h1,
.dyslexia-mode h2,
.dyslexia-mode .btn {
  font-size: 1.5em;
}
dyslexia-mode .service-item {
  flex-wrap: wrap;
  padding: 30px;
}

.dyslexia-mode .service-text {
  min-width: 0;
  flex: 1;
}

.dyslexia-mode .service-text h3,
.dyslexia-mode .service-text p,
.dyslexia-mode .service-text li {
  word-break: break-word;
}
/* ---------------------- */
.float-container {
  bottom: 1rem;
  right: 1rem;
  z-index: 100;
  position: fixed;
  font-size: 1.6em;

  a {
    position: relative;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
    color: #212121;
    background-color: #ffffff;
    border-radius: 0.5rem;
    opacity: 0.7;
    transition: all 0.25s ease-in;

    &:hover,
    &:focus {
      color: #1565c0;
      opacity: 1;

      @media only screen and (max-width: 768px) {
        color: #212121;
        opacity: 0.5;
      }
    }

i {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
}
