/*  <style>*/
    /* ==============================
       Variables de couleurs & typo
    ============================== */
    :root {
      --green-forest: #3C6E47;
      --green-soft: #A4D65E;
      --beige-light: #f5f3ee;
      --text-dark: #333;
      --text-light: #fff;
      --btn-radius: 6px;
      --max-width: 1200px;
      --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    /* ==============================
       Reset basique
    ============================== */
    * {
      /*margin: 0;*/
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-main);
      line-height: 1.5;
      color: var(--text-dark);
      background: var(--beige-light);
    }

    /* ==============================
       Header & navigation
    ============================== */
    .header {
      position: sticky;
      top: 0;
      width: 100%;
      background: #fff;
      padding: 12px 24px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      z-index: 1000;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand img {
      height: 50px;
      width: auto;
    }

    .brand h1 {
      font-size: 1.4rem;
      color: var(--green-forest);
    }

    .brand small {
      font-size: 0.8rem;
      color: var(--green-soft);
    }

    img {
      max-inline-size: 100%;
      block-size: auto;
    }

    /* Menu desktop */
    .nav {
      display: flex;
      align-items: center;
      gap: 1.2rem;
    }

    /* Hamburger - Hidden by default on desktop */
    .hamburger {
      display: none;
      font-size: 2rem;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--green-forest);
    }

    /* ==============================
       Menu principal et sous-menus (desktop)
    ============================== */

    /* Menu racine */
    .menu-root {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 1.2rem;
      margin: 0;
      padding: 0;
    }

    .menu-root li {
      position: relative;
    }

    /* Liens simples & toggle buttons */
    .menu-root a,
    .has-submenu > button.submenu-toggle {
      text-decoration: none;
      color: var(--green-forest);
      font-weight: 500;
      padding: 8px 14px;
      border-radius: var(--btn-radius);
      display: inline-block;
      transition: background 0.3s, color 0.3s;
      cursor: pointer;
      background: none;
      border: none;
      font: inherit; /* Ensure button inherits font styles */
    }

    /* Hover desktop for links and toggle buttons */
    .menu-root a:hover,
    .has-submenu > button.submenu-toggle:hover {
      background: var(--green-soft);
      color: var(--text-light);
    }

    /* Sous-menus desktop */
    @media (min-width: 769px) {
      .has-submenu > .submenu {
        list-style: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 180px;
        border-radius: 8px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        z-index: 1000;
      }

      /* Affichage au hover desktop */
      .has-submenu:hover > .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      /* Items du sous-menu desktop */
      .has-submenu > .submenu li a {
        display: block;
        padding: 10px 16px; /* Adjusted padding for consistency */
        color: var(--green-forest);
        text-decoration: none;
        background: #fff;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
        transition: background 0.3s, color 0.3s;
      }

      .has-submenu > .submenu li:last-child a {
        border-bottom: none;
      }

      .has-submenu > .submenu li a:hover {
        background: var(--green-soft);
        color: var(--text-light);
      }
    }

    /* CTA button style */
    .cta-sm {
      background: #55a857;
      color: #fff;
      font-weight: bold;
      padding: 6px 12px;
      border-radius: var(--btn-radius);
      display: inline-block;
      text-align: center;
    }

    /* ==============================
       Hero
    ============================== */
    .hero {
      background: #eaf0ea;
      padding: 60px 20px;
    }

    .hero-inner {
      display: flex;
      flex-wrap: wrap;
      max-width: var(--max-width);
      margin: 0 auto;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .hero-left {
      flex: 1 1 400px;
    }

    .hero-left h2 {
      font-size: 2rem;
      margin: 15px 0;
      color: var(--green-forest);
    }

    .hero-left .lead {
      font-size: 1.1rem;
      margin-bottom: 20px;
    }

    .hero-left .hero-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 15px;
    }

    .hero-right {
      flex: 1 1 400px;
      max-width: 400px;
      margin: 0 auto;
    }

    .hero-right img {
      width: 100%;
      max-width: 400px;
      height: auto;
      border-radius: 12px;
      object-fit: cover;
    }

    /* ==============================
       Sections
    ============================== */
    .section {
      padding: 50px 20px;
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .offers {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .offer {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .offer h4 {
      color: var(--green-forest);
      margin-bottom: 10px;
    }

    .offer a {
      display: inline-block;
      margin-top: 10px;
      color: var(--green-soft);
      font-weight: bold;
      text-decoration: none;
    }

    .offer a:hover {
      text-decoration: underline;
    }

    /* Place / Galerie */
    .place {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      align-items: flex-start;
    }

    .place .desc {
      flex: 1 1 300px;
    }

    .place .gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      flex: 1 1 300px;
    }

    .place .gallery img {
      width: calc(50% - 5px);
      max-width: 250px; /* limite desktop */
      border-radius: 10px;
      height: auto;
      object-fit: cover;
    }

    /* ==============================
       Buttons globaux
    ============================== */
    .btn {
      background: var(--green-forest);
      color: var(--text-light);
      border: none;
      padding: 10px 18px;
      border-radius: var(--btn-radius);
      font-weight: bold;
      cursor: pointer;
      display: inline-block;
      transition: 0.3s;
    }

    .btn:hover {
      opacity: 0.9;
    }

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

    /* ==============================
       Testimonials
    ============================== */
    .testimonials {
      display: flex;
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }

    .testimonials blockquote {
      font-style: italic;
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    /* ==============================
       Contact
    ============================== */
    #contact aside, #contact div {
      width: 100%;
      background: #fff;
      padding: 18px;
      border-radius: 12px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    }

    /* ==============================
       CTA Strip
    ============================== */
    .cta-strip {
      background: var(--green-forest);
      color: var(--text-light);
      padding: 25px 20px;
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .cta-strip .btn {
      background: var(--text-light);
      color: var(--green-forest);
    }

    .cta-strip .btn.outline {
      background: transparent;
      border: 2px solid var(--text-light);
      color: var(--text-light);
    }

    .cta-strip .btn:hover {
      opacity: 0.9;
    }

    /* ==============================
       Footer
    ============================== */
    .footer {
      background: #3C6E47;
      color: #fff;
      padding: 30px 20px;
      max-width: var(--max-width);
      margin: 0 auto;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .footer a {
      color: #fff;
      text-decoration: underline;
      transition: color 0.3s;
    }

    .footer a:hover {
      color: var(--green-soft);
    }

    /* ==============================
       Footer compact
    ============================== */
    .site-footer {
      background: #3C6E47;
      color: #fff;
      padding: 12px 16px;
      text-align: center;
      font-size: 0.85rem;
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      max-width: var(--max-width);
      margin: 0 auto;
      gap: 4px;
    }

    .footer-inner .col {
      flex: 1 1 auto;
      min-width: 120px;
      margin: 0;
    }

    .footer-inner .col p,
    .footer-inner .col strong {
      margin: 1px 0;
      line-height: 1.2;
    }

    .footer-inner .col a {
      color: #fff;
      text-decoration: underline;
      transition: color 0.3s;
    }

    .footer-inner .col a:hover {
      color: var(--green-soft);
    }

    /* ==============================
       Media Queries (Mobile)
    ============================== */
    @media (max-width: 1024px) {
      .hero-left h2 {
        font-size: 1.8rem;
      }
    }

    @media (max-width: 768px) {
      /* Hamburger menu */
      .hamburger {
        display: block; /* Show hamburger on mobile */
      }

      /* Main navigation - hidden by default, shown when 'active' */
      .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999; /* Lower z-index than desktop submenu to avoid conflicts */
        box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Add a subtle shadow */
      }

      .nav.active {
        display: flex; /* Show the nav when active */
      }

      /* Root menu for mobile */
      .menu-root {
        flex-direction: column;
        width: 100%;
      }

      .menu-root > li {
        width: 100%;
        border-bottom: 1px solid #eee; /* Separator for menu items */
      }
      .menu-root > li:last-child {
        border-bottom: none;
      }

      /* Main links and submenu toggle buttons for mobile */
      .menu-root a,
      .submenu-toggle {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
        border-radius: 0; /* No border-radius for full-width items */
      }

      /* Sous-menus sur mobile */
      .has-submenu > .submenu {
        list-style: none;
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        background: #f5f3ee; /* Lighter background for submenus */
        /* Reset desktop specific styles */
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-left: 1rem; /* Indent submenus */
        padding: 0;
        width: auto; /* Allow content to dictate width */
      }

      .has-submenu > .submenu.open {
        display: flex; /* Show when 'open' class is added by JS */
      }

      .has-submenu > .submenu li a {
        padding: 12px 20px;
        border-left: 4px solid var(--green-forest);
        background: #fafafa;
        border-bottom: 1px solid #eee; /* Separator for submenu items */
      }
      .has-submenu > .submenu li:last-child a {
        border-bottom: none;
      }

      /* Hero stacked */
      .hero-inner {
        flex-direction: column-reverse;
        gap: 24px;
        text-align: center;
      }

      .hero-left .hero-ctas {
        justify-content: center;
      }

      .hero-right {
        max-width: 90%;
      }

      .hero-right img {
        max-width: 100%;
      }

      /* boutons full width */
      /* Note: A et .btn sont déjà ciblés pour le menu, cette règle peut être plus générale */
      .btn { /* Appliquer uniquement aux boutons génériques, pas aux liens de menu */
        width: 90%;
        text-align: center;
        margin: 0 auto 10px auto;
      }

      .place {
        flex-direction: column;
        text-align: center;
      }

      .place .gallery img {
        width: 100%;
        max-width: 300px;
      }

      /* CTA Strip responsive */
      .cta-strip {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 16px;
      }

      .cta-strip .btn {
        width: 80%;
        margin: 0 auto;
      }

      /* Footer responsive */
      .footer {
        padding: 25px 16px;
        font-size: 0.85rem;
      }

      .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 2px;
      }

      .footer-inner .col {
        margin-bottom: 2px;
      }
    }
    
    /* Page Écosystème numérique */
.ecosysteme-numerique .offer {
  border-left: 4px solid var(--green-forest);
}

.ecosysteme-numerique h3 {
  color: var(--green-forest);
  margin-bottom: 20px;
}

/*  </style>*/
