
        /* ------------------------------------------------------ */
        /* A — VARIABLES (LIGHT MODE PAR DÉFAUT)                  */
        /* ------------------------------------------------------ */
        :root {
            --bg: #f5f6f8;
            --text: #1e293b;
            --muted: #475569;
            --card-bg: #ffffff;
            --border: #cbd5e1;
            --header-bg: #cccccc;
            --footer-bg: #e2e8f0;
        }

        /* ------------------------------------------------------ */
        /* B — MODE SOMBRE AUTOMATIQUE (selon système)           */
        /* ------------------------------------------------------ */
        @media (prefers-color-scheme: dark) {
            :root {
                --bg: #0f172a;
                --text: #e5e7eb;
                --muted: #94a3b8;
                --card-bg: #1e293b;
                --border: #334155;
                --header-bg: #1e293b;
                --footer-bg: #1e293b;
            }
        }

        /* ------------------------------------------------------ */
        /* C — MODE FORCÉ (switch manuel)                        */
        /* ------------------------------------------------------ */
        :root[data-theme="light"] {
            --bg: #e6e9ed;
            --text: #1e293b;
            --muted: #475569;
            --card-bg: #bcc7d3;
            --border: #cbd5e1;
            --header-bg: #bcc7d3;
            --footer-bg: #bcc7d3;
        }

        :root[data-theme="dark"] {
            --bg: #0f172a;
            --text: #e5e7eb;
            --muted: #94a3b8;
            --card-bg: #1e293b;
            --border: #334155;
            --header-bg: #1e293b;
            --footer-bg: #1e293b;
        }

        /* ------------------------------------------------------ */
        /* D — STYLES GÉNÉRAUX                                   */
        /* ------------------------------------------------------ */

        * {
            transition: background-color .65s ease, color .65s ease, border-color .25s ease;
        }

        body {
            margin: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            line-height: 1.6;
            background-color: var(--bg);
            color: var(--text);
        }

        header {
            background-color: var(--header-bg);
            color: var(--text);
            padding: 0rem 2rem;
            position: sticky;
            top: 0;
            z-index: 10;
            border-bottom: 1px solid var(--border);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1100px;
            margin: 0 auto;
			position: relative; /* indispensable pour le menu mobile */
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .brand span:last-child {
            font-size: 0.95rem;
            color: var(--muted);
            letter-spacing: 0.05em;
        }

nav .desktop-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

        nav a {
            color: var(--text);
            text-decoration: none;
            font-size: 0.95rem;
        }

        nav a:hover {
            color: var(--muted);
        }

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
}

        main {
            max-width: 1100px;
            margin: 0 auto;
            padding: 2.5rem 1.5rem 3rem;
        }

        section {
            margin-bottom: 3rem;
        }

        h1, h2, h3 {
            margin-top: 0;
            color: var(--text);
        }

        .hero {
            padding: 2rem 0 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .hero p {
            max-width: 700px;
            color: var(--muted);
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.75rem;
        }

        .card {
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 1.25rem 1.4rem;
            background-color: var(--card-bg);
        }

        .card p {
            color: var(--muted);
        }

        .muted {
            color: var(--muted);
        }

        footer {
            background-color: var(--footer-bg);
            padding: 2rem 1.5rem;
            border-top: 1px solid var(--border);
            color: var(--text);
        }

        footer .footer-inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        footer p {
            margin: 0.3rem 0;
        }

        @media (max-width: 640px) {
            header {
                padding: 0.8rem 1rem;
            }
            main {
                padding: 1.8rem 1rem 2.2rem;
            }
        }
/* Bloc stylisé pour les sections de services */
.service-block {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 1.8rem;
    margin-bottom: 2.5rem;
}

/* Titre des blocs */
.service-block h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Listes internes */
.service-block ul {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

.service-block li {
    margin-bottom: 0.4rem;
    color: var(--muted);
}

/* Paragraphes internes */
.service-block p {
    color: var(--muted);
    margin-bottom: 1rem;
}
.logo {
    height: 80px;          /* hauteur idéale pour un bandeau */
    max-height: 80px;      /* ne dépasse jamais le header */
    width: auto;           /* conserve les proportions */
    object-fit: contain;   /* évite toute déformation */
    display: block;
	Padding : 0px;
}

.expertise-block {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.2rem 2rem;
    margin-bottom: 3rem;
}

.expertise-block h2 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.expertise-block h2:first-of-type {
    margin-top: 0; /* le premier titre commence directement */
}

.expertise-block p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.expertise-block ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.expertise-block li {
    margin-bottom: 0.4rem;
    color: var(--muted);
}

.hero h3 {
    font-size: 1.1rem;
    letter-spacing: 0.03em;
	text-align: justify;   
}

.hero h4 {
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--muted);
    text-align: justify;   
}

#burger {
    display: none;
    width: 32px;
    height: 26px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 200;
}

#burger .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: 0.4s;
}

/* Animation ☰ → ✖ */
#burger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#burger.active .bar:nth-child(2) {
    opacity: 0;
}

#burger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}



#mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 140;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#mobile-overlay.visible {
    display: block;
    opacity: 1;
}




#mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    position: fixed;
    top: 0;
    transform: translateX(120%);
    width: 100%;
    height: 100vh;
    background-color: var(--header-bg);
    padding: 6rem 2rem;
	list-style: none;
	opacity: 0;
    transition: transform 0.35s ease, opacity 0.25s ease;
    z-index: 150;
}

#mobile-menu.open {
	opacity: 1;
	transform: translateX(0);
}

#mobile-menu a,
#mobile-menu button {
    font-size: 1.4rem;
    color: var(--text);
}

#mobile-menu a {
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
}

#mobile-menu li {
    padding: 0.1rem 0;
}



@media (max-width: 1024px) {

    .desktop-menu {
        display: none !important; /* on masque le menu desktop */
    }

    #burger {
        display: block; /* on affiche le burger */
    }

    #mobile-menu {
        display: flex; /* structure mobile */
    }
}


/* ============================
   HERO — STRUCTURE GÉNÉRALE
   ============================ */


.hero {
  position: relative;
  width: 100%;
  max-width: 94%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  overflow: hidden; /* IMPORTANT pour éviter les débordements */
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 80%;
  max-width: 750px;
  margin: 0 auto;
  color: var(--text-primary);
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05); /* Cartouche clair */
  backdrop-filter: blur(4px); /* Effet premium */
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 22px;
  animation: fadeInUp 1.1s ease-out;
  margin-bottom: 20px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Image hero (remplace totalement l'ancien ::before) */
.hero-image-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay par défaut (mode clair) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  z-index: 2;
}

/* Contenu */
.hero-content {
  position: relative;
  z-index: 3; /* Le texte passe devant l'image + overlay */
  max-width: 900px;
  color: var(--text-primary);
}

.hero h1 {
  font-size: 2.5rem; /* Desktop */
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

.hero h3 {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

/* ============================
   MODE SOMBRE
   ============================ */

[data-theme="dark"] .hero::after {
  background: rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero h3 {
  color: #ffffff;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
	max-width: 90%;
    padding: 0 1.2rem;
  }

  .hero h1 {
    font-size: 2.0rem; /* Votre choix pour petits devices */
  }

  .hero h3 {
    font-size: 1.05rem;
  }
}



/* ============================
   SERVICES — BLOCS ALTERNÉS
   ============================ */

.service-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 4rem 0;
}

.service-block:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image img {
    width: 100%;
    max-width: 380px;
	max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    object-fit: cover;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ============================
   MODE SOMBRE
   ============================ */

[data-theme="dark"] .service-content h2,
[data-theme="dark"] .service-content p {
    color: var(--text-primary);
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 768px) {
    .service-block {
        flex-direction: column;
        text-align: center;
    }

    .service-block:nth-child(even) {
        flex-direction: column;
    }

    .service-image img {
        max-width: 100%;
    }
}

.hero-down{
	padding:0px;
    font-size: 1.1rem;
    line-height: 1.6;
	text-align: center;
}


.expertise-image img {
    width: 100%;
    max-width: 900px;
	max-height: 180px;
    margin: 2.5rem auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    object-fit: cover;
}