* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            color: #201A41;
            font: 200 12px/15px 'Montserrat', 'Arial', sans-serif;
            height: 100%;
            width: 100%;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
            overflow: hidden;
        }
        h2 {
            font-size: 16px;
            line-height: 21px;
            font-weight: 700;
            padding-right: 3px;
        }
        h3 {
            font-size: 14px;
            font-weight: 500;
        }
        h4 {
            font-size: 13px;
            font-weight: 600;
        }
        a {
            color: #201A41;
        }
        a:hover {
            color: #F29166;
        }
        hr {
            width: 96%;
            height: 0px;
            border: 1px solid #e4e4e4;
            text-align: center;
        }

        .app-container {
            display: grid;
            grid-template-columns: 270px 1fr auto;
            /* Largeur fixe pour la sidebar */
            grid-template-rows: 1fr 58px;
            grid-template-areas:
                "sidebar map info-panel"
                "footer footer footer";
            height: 100vh;
            width: 100%;
            overflow: hidden;
        }
        .map-container {
            grid-area: map;
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
            transition: all 0.3s ease;
            /* Animation pour le redimensionnement */
        }
        #map {
            width: 100%;
            height: 100%;
        }
        .left-sidebar {
            grid-area: sidebar;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            z-index: 10;
            height: 100%;
            padding-top: 0px;
            padding-right: 0px;
            padding-left: 0px;
            text-align: left;
            top: 0px;
            left: 0px;
            overflow: hidden;
            width: 270px;
            min-width: 270px;
        }
        .header {
            padding-top: 10px;
            padding-bottom: 15px;
            padding-right: 10px;
            padding-left: 15px;
            text-align: left;
            top: 0px;
            left: 0px;
            flex-shrink: 0;
        }
        .menu-container {
            flex-grow: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding-top: 15px;
            padding-right:0px;
            padding-left: 15px;
            
            text-align: left;
            scrollbar-width: thin;
            scrollbar-color: rgba(141, 141, 141, 0.286) transparent;
        }
        .menu-container::-webkit-scrollbar {
            width: 3px;
        }
        .menu-container::-webkit-scrollbar-track {
            background: transparent;
        }
        .menu-container::-webkit-scrollbar-thumb {
            background-color: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
        }
        .menu {
            padding: 0rem;
            top: 163px;
            left: 0px;
            width: 253px;
            margin-right: 10px;
        }
        label {
            margin-left: 11px;
            line-height: 25px;
        }
        input {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            border-radius: 50%;
            width: 15px;
            height: 15px;
            border: 1px solid #201A41;
            transition: 0.2s all linear;
            margin-right: 3px;
            position: relative;
            top: 4px;
        }
        input:checked {
            border: 5px solid #201A41;
        }
        label:hover {
            cursor: pointer;
            font-weight: 800;
        }

        .popup_accueil {
            background-color: #ffffff;
            width: 75%;
            height: 250;
            overflow-y: auto;
            overflow-x: hidden;
            position: absolute;
            transform: translate(-50%, -50%);
            left: 50%;
            top: 50%;
            padding: 15px 15px;
            border-radius: 2px;
            box-shadow: 5px 5px 20px #949494;
            text-align: center;
            display: none;
            z-index: 100;
        }
        .popup_accueil p {
            font-size: 16px;
            text-align: center;
        }
        .popup_accueil a {
            display: block;
            width: 150px;
            height: 45px;
            position: relative;
            margin: auto;
            text-align: center;
            background-color: #F29166;
            color: #201A41;
            text-decoration: none;
            font-size: 17px;
            padding: 15px 12px;
        }
        .popup_accueil a:hover {
            outline-color: transparent;
            outline-style: solid;
            box-shadow: 0 0 0 3px #F29166;
            transition: 0.3s;
        }
        .popup_accueil a:active {
            outline-color: transparent;
            outline-style: solid;
            background-color: #dc602b;
            color: #ffffff;
            box-shadow: 0 0 0 3px #dc602b;
            transition: 0.3s;
        }
        #close {
            display: grid;
            margin: 0 0 0px auto;
            background-color: transparent;
            font-size: 30px;
            color: #cfcac6;
            border: none;
            outline: none;
            cursor: pointer;
        }
        #close:hover {
            color: #F29166;
        }
        #close:active {
            color: #dc602b;
        }

        #info-panel-close {
            display: block;
            margin: 0 0 0px auto;
            background-color: transparent;
            font-size: 30px;
            color: #cfcac6;
            border: none;
            outline: none;
            cursor: pointer;
        }
        #info-panel-close:hover {
            color: #F29166;
        }
        #info-panel-close:active {
            color: #dc602b;
        }
        /* .alerte {
                display: none;
            } */
        
        .info-panel {
            grid-area: info-panel;
            width: 0;
            background-color: white;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            overflow-y: auto;
            transition: width 0.3s ease, height 0.3s ease;
            z-index: 5;
            height: 100%;
            padding-top: 0px;
            padding-right: 5px;
            padding-left: 0px;
            text-align: left;
            scrollbar-width: thin;
            scrollbar-color: rgba(113, 113, 113, 0.286) transparent;
        }
        .info-panel.open {
            width: 230px;
        }

        #ficheProjet {
            height: 100%;
            position: relative;
            padding-top: 0px;
            padding-right: 10px;
            padding-left: 15px;
            text-align: left;
            top: -5px;
            left: 0px;
            color: #201A41;
        }
        #lienFiche {
            display: block;
            width: 150px;
            position: relative;
            margin: auto;
            text-align: center;
            background-color: #F29166;
            color: #201A41;
            text-decoration: none;
            font-size: 12px;
            padding-left: 13px;
            padding-right: 13px;
            padding-top: 8px;
            padding-bottom: 8px;
        }
        #lienFiche:hover {
            background-color: #dc602b;
            color: #201A41;
        }
        #lienFiche:active {
            background-color: #dc602b;
            color: #ffffff;
        }
        *,
        *:before,
        *:after {
            padding: 30;
            margin: 0;
            box-sizing: border-boxs;
        }
        #picto_projets {
            display: inline-block;
            width: 22px;
            height: auto;
            margin-right: 11px;
            margin-top: 2px;
            margin-bottom: 0px;
        }
        #nom_filière {
            float: left;
            width: 195px;
            padding-right: 2px;
            padding-top: 5px;
            padding-bottom: 5px;
            font-size: 13px;
            font-weight: 700;
        }
        .nom_projet {
            padding-left: 10px;
            padding-bottom: 4px;
            padding-top: 4px;
            font-size: 13px;
            font-weight: 500;
        }
        .nom_projet:hover {
            background-color: #F29166;
            color: #ffffff;
            font-weight: 700;
            transition: 0.1s;
        }
        .nom_projet:last-child {
            padding-bottom: 16px;
        }
        .nom_projet:active {
            background-color: #dc602b;
            color: #ffffff;
            font-weight: 700;
            transition: 0.1s;
        }
        .nom_filtre {
            float: left;
            padding-left: 5px;
            padding-top: 7px;
            padding-bottom: 7px;
            font-size: 13px;
            font-weight: 700;
        }
        .legende_filtre {
            font-size: 11px;
        }
        #legende_bande {
            border-radius: 1px;
            display: inline-block;
            height: 11px;
            width: 20px;
            margin-top: 3px;
            margin-bottom: 0px;
            margin-right: 4px;
            border: solid;
            border-width: 0.3px;
            border-color: #EBE5E0;
        }
        .accordion-header {
            float: left;
            width: 100%;
            padding-right: 7px;
            padding-top: 7px;
            padding-bottom: 7px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            outline: none;
            transition: 0.2s;
        }
        .accordion-header:hover {
            background-color: #EBE5E0;
            transition: 0.1s;
        }
        .accordion-header:active {
            background-color: #d4cec9;
            transition: 0.1s;
        }
        .accordion-header i {
            margin-right: 1px;
            color: #d7cfcf;
        }
        .accordion-content {
            padding: 0 18px;
            background-color: white;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.2s ease-out;
        }
        .accordion-header-couches {
            float: left;
            width: 100%;
            padding-right: 7px;
            padding-top: 7px;
            padding-bottom: 12px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            outline: none;
            transition: 0.2s;
        }
        .accordion-header-couches:hover {
            background-color: #EBE5E0;
            transition: 0.1s;
        }
        .accordion-header-couches:active {
            background-color: #d4cec9;
            transition: 0.1s;
        }
        .accordion-header-couches i {
            float: left;
            width: 2px;
            height: auto;
            margin-right: 17px;
            margin-top: 7px;
            margin-bottom: 0px;
            font-weight: 300;
            opacity: 0.9;
            color: #201A41;
        }
        .coucheFondCarte {
            cursor: pointer;
            padding-bottom: 7px;
            margin-left: -17px;
        }
        .coucheFondCarte i {
            float: left;
            width: 2px;
            height: auto;
            padding-right: 12px;
            margin-right: 17px;
            margin-top: 7px;
            margin-bottom: 0px;
            font-weight: 300;
            opacity: 0.9;
            color: #201A41;
        }
        #couches {
            background: #fff;
            position: relative;
            z-index: 100;
            /* top: 10px; */
            /* right: 10px; */
            border-radius: 2px;
            width: 240px;
        }
        #couches a {
            font-size: 13px;
            display: block;
            margin: 0;
            padding: 0;
            padding: 5px;
            text-decoration: none;
            background-color: #F29166;
            /* border-bottom: 1px solid #EBE5E0; */
            text-align: left;
            color: #ffffff;
            font-weight: 700;
            transition: 0.1s;
        }
        #couches a:last-child {
            border: none;
        }
        #couches a:hover {
            background-color: #dc602b;
            color: #ffffff;
            font-weight: 700;
            transition: 0.1s;
        }

        #couches a.active {
            background-color: #ffffff;
            color: #201A41;
            font-weight: 500;
            transition: 0.1s;
        }
        #couches a.active:hover {
            background: #F29166;
            color: #201A41;
            font-weight: 500;
            transition: 0.1s;
        }
        .footer {
            grid-area: footer;
            height: 34px;
            padding-left: 0px;
            padding-bottom: 0px;
            background-color: #ffffff;
            border-top: 1px solid #201A41;
            z-index: 10;
            flex-shrink: 0;
        }

        .mapboxgl-popup {
            opacity: 0.9;
            padding-bottom: 0px;
            width: 180px;
        }

        .mapboxgl-ctrl-scale {
            background-color: #ffffffd0;
            border: 2px solid #201A41;
            border-top: #48484800;
            box-sizing: border-box;
            color: #201A41;
            font-size: 10px;
            padding: 0 5px;
            white-space: nowrap;
        }

        /* ::-webkit-scrollbar {
            width: thin;
            height: 3px;
            border-left: 0;
            background: none;
        }

        ::-webkit-scrollbar-track {
            background: #ffffff;
        }

        ::-webkit-scrollbar-thumb {
            background: #979797a4;
            border-radius: 3px;
        } */

        .mapboxgl-ctrl-attrib-inner {
            display: none;
        }
        .mapboxgl-ctrl-attrib-logo
        {
            opacity:0.01;
        }
       
        .mapboxgl-ctrl-attrib-button
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-attrib-inner
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-attrib.mapboxgl-compact{
            opacity:0.01;
        }
        .mapboxgl-ctrl-logo
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-button
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-icon
        {
            opacity:0.01;
        }
        /* Responsive design pour mobile */
    @media (max-width: 768px) {
      .app-container {
        grid-template-columns: 270px 1fr; /* Garde la largeur de sidebar constante */
        grid-template-rows: 1fr auto 20px;
        grid-template-areas:
          "sidebar map"
          "info-panel info-panel"
          "footer footer";
      }
      /* .menu-container{
        display:none;
      } */
      .info-panel {
        width: 100%;
        height: 0;
        transition: height 0.3s ease;
      }
      .info-panel.open {
        width: 100%;
        height: 250px; /* Hauteur fixe en mode mobile */
      }
      .mapboxgl-ctrl-attrib-inner {
            display: none;
        }
        .mapboxgl-ctrl-attrib-logo
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-attrib-button
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-attrib-inner
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-attrib.mapboxgl-compact{
            opacity:0.01;
        }
        .mapboxgl-ctrl-logo
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-button
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-icon
        {
            opacity:0.01;
        }
    }

    /* Très petits écrans */
    @media (max-width: 576px) {
      .app-container {
        grid-template-columns: 1fr; /* Tout sur une colonne */
        grid-template-rows: auto 1fr auto 20px;
        grid-template-areas:
          "sidebar"
          "map"
          "info-panel"
          "footer";
      }
      .info-panel {
        width: 100%;
        height: 0;
        transition: height 0.3s ease;
      }
      .info-panel.open {
        width: 100%;
        height: 30%;
      }
      .header h2{
        font-size:15px;
        line-height:15px;
      }
      .header img{
        width: 50%;
      }
      .left-sidebar {
        width: 100%;
        min-width: 100%;
        height: auto;
        max-height: 40vh;
      }
      
      .menu-container {
        /* max-height: 30vh; */
        display:none;
      }
      
      
      .info-panel.open {
        height: 300px; /* Un peu plus de hauteur sur très petits écrans */
      }
      .mapboxgl-ctrl-attrib-inner {
            display: none;
            
        }
        .mapboxgl-ctrl-attrib-logo
        {
            opacity:0.01;            
        }       
        .mapboxgl-ctrl-attrib-button
        {
            opacity:0.01;
                                  
        }
        .mapboxgl-ctrl-attrib-inner
        {
            opacity:0.01;     
        }
        .mapboxgl-ctrl-attrib.mapboxgl-compact{
            opacity:0.01;
        }
        .mapboxgl-ctrl-logo
        {
            opacity:0.01;            
        }
        .mapboxgl-ctrl-button
        {
            opacity:0.01;
        }
        .mapboxgl-ctrl-icon
        {
            opacity:0.01;
            
        }
    }