 
    .leaflet-control-attribution {
      font-size: 10px;
      opacity: 0.1;
    }

    .leaflet-popup-content-wrapper {
      background: #fdf6e3;
      border: 4px solid #523c14;
      border-radius: 0;
      box-shadow: 6px 6px 20px rgba(0,0,0,0.6);
      font-family: 'Special Elite', serif;
      padding: 0;
      transform: rotate(-0.3deg);
    }

    .leaflet-popup-content {
      margin: 0;
      padding: 10px 15px;
      font-size: 18px;
      color: #2e1b00;
      text-align: center;
      font-weight: bold;
      text-transform: uppercase;
      border-top: 4px double #523c14;
      border-bottom: 4px double #523c14;
    }

    .leaflet-popup-tip {
      background: #fdf6e3;
      border: none;
    }

    .leaflet-popup-close-button {
      display: none;
    }

    #zone-buttons {
      text-align: center;
      margin: 20px;
    }

  .toggle-switch {
    display: inline-flex;
    border-radius: 9999px;
    background: rgba(0,0,0,0.6);
    padding: 5px;
    font-family: sans-serif;
    border: 2px solid #9f36f7;
  }

  .toggle-switch button {
    border: none;
    background: transparent;
    color: #9f36f7;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 25px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .toggle-switch button.active {
    background: #9f36f7;
    color: white;
  }


    #map {
      height: 500px;
    }
  

    
      @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Krub:wght@300;600&display=swap');
      body {
        font-family: 'Krub', sans-serif;
      }
      
      .font-oswald {
        font-family: 'Oswald', sans-serif;
      }
    


  
    [x-cloak] { display: none !important; }



  
  

    .scroll-disabled {
      overflow: hidden;
      height: 100vh;
    }

    
    .navbar-wrapper {
      position: relative;
      width: 100%;
      z-index: 1;
    }
    .section.hero {
      height: 100vh;
    }
  


    
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      .wrapper, .content {
        position: relative;
        width: 100%;
        z-index: 1;
      }
      .content .section {
        width: 100%;
        height: 100vh;
      }
      .section.hero {
        position: relative;
      }
      #map {
        width: 100%;
        height: 100%;
      }
      .leaflet-popup-content-wrapper {
        background: #fdf6e3;
        border: 4px solid #523c14;
        border-radius: 0;
        font-family: 'Special Elite', serif;
      }
      .leaflet-popup-content {
        padding: 10px 15px;
        font-size: 18px;
        color: #2e1b00;
        font-weight: bold;
        text-transform: uppercase;
      }
      .image-container {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        perspective: 500px;
        overflow: hidden;
      }
      .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .transition-circle {
        position: absolute;
        width: 100px;
        height: 100px;
        background: #181818;
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0);
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
      }





    

  
      .perspective-1000 {
        perspective: 1000px;
      }
      .carousel3d {
        transform-style: preserve-3d;
        position: relative;
        width: 100%;
        height: 100%;
      }
      .carte-permis {
        backface-visibility: hidden;
      }




  
 

.carte-permis {
  scroll-snap-align: center;
}

.carousel-container {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-x pan-y; /* ou pan-y pan-x, c'est équivalent */

  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

    



  .logo {
  visibility: hidden;
}
.path {
  stroke: #8F00FF; /* Violet du hublot */
  stroke-width: 2;
  fill: white;
  fill-opacity: 0;
  filter: drop-shadow(0 0 3px #8F00FF);
  transition: transform 0.3s ease;
}

g:hover .path {
  transform: scale(1.08);
}

.path.dimmed {
  filter: drop-shadow(0 0 1px #8F00FF);
}


@keyframes slideIn {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

#defilant span {
  display: inline-block;
  animation: slideIn 0.6s ease-out;
}







 
    section.timeline-section {
      padding: 80px 20px;
      max-width: 1200px;
      margin: auto;
    }

    .section-title {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-title h2 {
      font-size: 2.5rem;
      font-weight: bold;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .section-title p {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.95rem;
    }


    .step {
      position: relative;
      display: flex;
      align-items: flex-start;
      margin-bottom: 60px;
    }

    .step-marker {
      position: absolute;
      left: 6px;
      top: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      z-index: 2;
    }

    .icon-circle {
      width: 48px;
      height: 48px;
      background-color: #8b5cf6;
      color: white;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 24px;
      box-shadow: 0 0 0 4px #12082e;
    }

    .number-circle {
      width: 28px;
      height: 28px;
      background-color: white;
      color: #8b5cf6;
      border-radius: 50%;
      font-weight: bold;
      font-size: 0.9rem;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 6px;
      box-shadow: 0 0 0 3px #12082e;
    }

    .step-content {
      background-color: white;
      color: black;
      padding: 16px 20px;
      border-radius: 16px;
      margin-left: 80px;
      max-width: 500px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

    .step-content h3 {
      margin: 0 0 8px 0;
      font-size: 1.1rem;
      font-weight: bold;
    }

    .step-content p {
      margin: 0;
      font-size: 0.95rem;
      line-height: 1.4;
    }

    .cta-container {
      text-align: center;
      margin-top: 60px;
    }

    .cta-button {
      display: inline-block;
      background-color: #facc15;
      color: #1f103f;
      font-weight: bold;
      padding: 1rem 2rem;
      border-radius: 999px;
      text-decoration: none;
      font-size: 1rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
      transition: background-color 0.3s ease;
    }

    .cta-button:hover {
      background-color: #fbbf24;
    }

    @media screen and (max-width: 640px) {
      .step {
        flex-direction: column;
        padding-left: 40px;
      }

      .step-content {
        margin-left: 0;
        margin-top: 20px;
      }

    
      .step-marker {
        left: -4px;
      }
    }

  


    .timeline {
  position: relative;
  padding-left: 60px;
  margin-top: 60px;
}


.timeline-step {
  transform: translateX(-100%);
  opacity: 0;
  transition: all 1.2s ease-out;
}





  .has-content {
    background-image: linear-gradient(to right, #9B30FF, #C135FF);
    border-color: #9B30FF !important;
    color: white !important;
    transition: background-image 0.3s ease, border-color 0.3s ease;
  }

  .has-content::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }

/* Bouton désactivé : transparent + violet fin + pas cliquable */
.btn-disabled {
  background: transparent;
  border: 2px solid #9B30FF;
  color: #9B30FF;
  cursor: not-allowed;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Bouton activé : dégradé violet + clic autorisé */
.btn-active {
  background-image: linear-gradient(to right, #9B30FF, #C135FF);
  color: white;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}



.containerX {
  display: flex;
  flex-wrap: nowrap;
  width: 200vw; /* deux panneaux côte à côte */
  overflow-x: hidden;
}

.panel {
  width: 100vw;
  flex-shrink: 0;
  scroll-snap-align: start;
  will-change: transform;
}

/* ✅ Ne pas forcer la hauteur du panneau contenant #reveal */
#reveal.panel {
  height: auto;
  min-height: 100vh;
  display: block; /* si tu veux garder `flex` ailleurs, adapte selon besoin */
}





.contact-form {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.95);
  overflow: hidden;
  border-radius: 10px;
  transform: translate(-50%, -50%);
  transition: width .5s ease, height .5s ease, padding .5s ease;
  z-index: 1000;
}

.contact-form.active {
  width: 90%;
  max-width: 500px;
  height: auto;
  padding: 30px;
}


#map.bring-to-front {
  position: relative;
  z-index: 9999;
}


.image-container {
  pointer-events: none;
}
