html, body {
  overflow-x: hidden ! important;
  width: 100%;
  font-family: 'Merriweather', serif;
  background-color: white;
  

}

* {
  max-width: 100%;
  box-sizing: border-box;
}


 
  .dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  }

  .dropdown-column {
  display: flex;
  flex-direction: column;
  position: relative;
  }

  .dropdown-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  }

  .dropdown-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  }

  .dropdown-link {
  text-decoration: none;
  color: #222;
  font-size: 0.95rem;
  }

  .dropdown-subtitle {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
  }



    section,
    header {
      position: relative;
    }
.election-banner {
  display: flex;
  flex-direction: row; 
  align-items: center; 
  justify-content: center; 
  gap: 20px; 
  width: 100%;
  flex-wrap: nowrap;
  margin-bottom: 40px;
}
.laurier-img {
  width: 50px;
  height: flex;
}

.election-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.text2-primary {
  font-weight: bold;
  color: #000; 
}

.text2-secondary {
  font-style: italic;
  color: #555; 
}

.main2-wrapper {
  width: 100%;             
  margin: 0 auto;          
  box-sizing: border-box;  
}

@media (max-width: 1280px) {

  .devant {
    position: relative;

    z-index: 10;
    
  } 
}
.section-hero2-home {
  position: relative;           
  width: 100%;                  
  height: 90vh;                 
  color: white;                 
  display: flex;                 
  justify-content: center;      
  align-items: center;          
  text-align: center;            
  padding: 0;                  
}

.section-hero2-home .hero-content {
  max-width: 900px;             
  padding: 20px;                 
}

.section-hero2-home h1 {
  font-family: 'Bitter', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 100px;
  background: linear-gradient(to top, #8b6b1f, #e6c770);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 10px;
  z-index: 10 !important;
  
  top : -50%; 
}

@media (max-width: 768px) {
  .section-hero2-home h1 {
    font-size: 55px; 
    letter-spacing: 5px;
  }
}

.index_API{
  font-family: 'Bitter', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 100px;
  background: linear-gradient(to top, #8b6b1f, #e6c770);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 10px;
  z-index: 9999 !important;
  top : -50%;
}




.section-hero2-home p {
  font-size: 1.25rem; 
  margin-top: 40px;          
  margin-bottom: 40px;          
  color : black;
  font-style: italic;
  top : 60%;
}


.devant {
  position: relative;
  z-index: 10; 
} 


.container-large2 {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 100%; 
}

.hero2_home_video {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  overflow: hidden; 
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); 
  z-index: 1; 
}

.layer-video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero2_home_overlay {
  position: absolute; 
  width: 200%; 
  height: 100%; 
  background: radial-gradient( rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%; 
  z-index: 1;
}


.padding-global2 {
padding-left: 1rem;
padding-right: 1rem;
}

@media (min-width: 768px) {
.padding-global2 {
  padding-left: 2rem;
  padding-right: 2rem;
}
}

@media (min-width: 1024px) {
.padding-global2 {
  padding-left: 4rem;
  padding-right: 4rem;
}
}

.padding-section-large2 {
padding-top: 6rem;
padding-bottom: 6rem;
}

@media (min-width: 768px) {
.padding-section-large2 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
}

@media (min-width: 1024px) {
.padding-section-large2 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
}


.padding-section-medium2 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    }
  
@media (min-width: 768px) {
  .padding-section-medium2 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
  

.padding-section-small2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
    }
    
    @media (min-width: 768px) {
    .padding-section-small2 {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
    }
    
    @media (min-width: 1024px) {
    .padding-section-small2 {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
    }


.w-layout-grid2.basic_grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.basic_content2 {
  order: 1;
}
.basic_imagery2 {
  order: 2;
}

.basic_grid2.reverse .basic_content2 {
  order: 2;
}
.basic_grid2.reverse .basic_imagery2 {
  order: 1;
}

@media (max-width: 768px) {
  .w-layout-grid2.basic_grid2 {
    grid-template-columns: 1fr;
  }

  .basic_content2,
  .basic_imagery2 {
    order: unset;
  }

  .basic_imagery2 {
    order: 1 !important;
    width: 100%;
    margin: auto;
  }
  .basic_content2 {
    order: 2 !important;
  }

  ul {
    list-style: none;
  }


}

.basic_heading1 {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 60px;  
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
  padding: 20px;
  word-break: break-word;
}

.heading-style-h1-2 {
  text-transform: none;
  letter-spacing: 3px;
}

.basic_heading2 {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
  padding: 20px;
  word-break: break-word;
}

.heading-style-h2-2 {
  text-transform: none;
  letter-spacing: 2px;
}

.basic_heading3 {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 40px; 
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
  padding: 20px;
}

.heading-style-h3-2 {
  text-transform: none;
  letter-spacing: 1px;
}

.basic_heading4 {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 30px; 
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
  padding: 20px;
}

.heading-style-h4-2 {
  text-transform: none;
  letter-spacing: 1px;
}

.basic_heading5 {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 24px;  
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
  padding: 20px;
}

.heading-style-h5-2 {
  text-transform: none;
  letter-spacing: 0.5px;
}

.basic_heading6 {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 20px;  
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
  padding: 20px;
}

.heading-style-h6-2 {
  text-transform: none;
  letter-spacing: 0.5px;
}

.basic_paragraph {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 16px; 
  line-height: 1.6; 
  margin-bottom: 1.5rem;  
  text-align: left;  
  padding: 10px 20px;  
}

.paragraph-style-2 {
  text-transform: none;  
  letter-spacing: 0.5px;  
  text-align: justify;  
}

.basic_paragraph2 {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 22px;  
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
  padding: 15px 25px; 
}

.paragraph-style-2-2 {
  text-transform: none;
  letter-spacing: 1px;
  text-align: justify;
}


.custom-list {
  list-style: none; 
  padding-left: 20px;
}
.custom-list li {
  position: relative;
  margin-bottom: 15px; 
  padding-left: 30px; 
  word-break: break-word !important;
}

.custom-list li::before {
  content: '\2192'; 
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 50%;
  color: black;
  transform: translateY(-50%);
  font-family: Arial, sans-serif; }
.custom-list p {
  margin-bottom: 1.5rem;
}






.custom-list2 {
  list-style: none;  
   padding-left: 20px; }

.custom-list2 li {
  position: relative;   
  margin-bottom: 15px;   
  padding-left: 30px; }

.custom-list2 li::before {
  content: '\2192';   
  font-size: 20px;   
  position: absolute;
  left: 0;
  top: 50%;
  color: white;
  transform: translateY(-50%);
  font-family: Arial, sans-serif; }
.custom-list2 p {
  margin-bottom: 1.5rem; }


.w-layout-grid3.footer_menu2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.margin-bottom2.margin-xxlarge2 {
  margin-bottom: 50px;
}
.w-layout-grid3.footer_menu2 a {
  text-decoration: none;
  transition: color 0.3s ease, 
  text-decoration 0.3s ease;
}

.w-layout-grid3.footer_menu2 a:hover {
  color: #f8f8f8;
}

.footer_link2 {
  color: #eec17c;
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;   
  transition: color 0.3s ease;
  text-decoration: none;
}
.footer_link2:hover {
  color: white;
}


.footer_links-title2 {
  color: #eec17c !important;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.text-size-small2 {
  font-size: 0.875rem;
  font-family: 'Merriweather', serif;
}



.margin-xsmall2 {
  margin-bottom: 0.5rem;
}

.footer_bottom2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 30px;
}

.footer_bottom-links2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer_bottom-social2 {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer_bottom-social2:hover {
  transform: scale(1.1);
}

.icon-embed-xsmall2 {
  width: 50px;
  height: 50px;
}

@media screen and (max-width: 768px) {
  .footer_menu2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer_bottom2 {
    flex-direction: column;
    align-items: center;
    overflow: visible;
  }

  .footer_bottom-links2 {
    justify-content: center;
  }

  .footer_bottom-socials2 {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    background-color: white;   }

  .navbar a {
    padding: 10px 0;
    width: 100%;
    text-align: left;
  }
}


.navbar {
  background-color: transparent;
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100%;   
  min-width: unset;   
  z-index: 1000;
  flex-wrap: wrap;   
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}


.navbar a {
  color: black;
  font-family: 'Merriweather', serif;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  display: block;
}

.navbar a:hover {
  background-color: transparent;
}

.navbar-menu {
  display: flex;
  justify-content: space-between;   align-items: center;
  flex: 1;   padding: 0 2rem; }

.navbar-menu a {
  text-align: center;
}

.navbar_logo2 {
  display: flex;
  align-items: center;
  height: 70px; }

.navbar_logo-image2 {
  width: auto;
  height: 50px;   max-height: 100%;
}

.navbar .nav-links {
  display: flex;
  gap: 15px; }

.navbar .nav-links a {
  margin: 0;
}

.navbar .nav-links .dropdown {
  margin: 0;
  position: relative; }

.burger {
  display: none;   background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 1100;
}



@media (max-width: 991px) {
  .burger {
    display: block;
    color: black;
  }
  
    .navbar {
    flex-direction: column;
    align-items: flex-start;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
  }

  .navbar.open {
    max-height: 100%;     
    opacity: 1;
    overflow: visible;
    z-index: 1000;
    height:100%;
    overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  }

    .navbar a, .navbar .dropdown {
    padding: 10px 0;
    width: 100%;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .navbar-menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    overflow: visible !important;      
    position: relative;                
    z-index: 1000;
  }
}



html {
  scroll-padding-top: 110px;
}

@media (max-width: 991px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    padding-top: 10px;
    justify-content: flex-start;
  }

  .navbar.open .navbar-menu {
    display: flex;
  }

  .navbar-menu > a,
.navbar-menu > .dropdown {
  margin-bottom: 10px;
}
}




.dropdown-content a {
  text-decoration: none;
  display: block;
  color: black; }

.dropdown-content a:hover {
  background-color: #f0f0f0; }

@media (min-width: 992px) {
  .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .dropdown-top-right-button {
  padding-bottom: 200px;
  position: absolute;
  top: 10px;
  right: 35px;
  z-index: 10;
  
}


.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: white;
  width: 90vw;   
  max-width: 1300px;   
  min-height: 300px;
  padding: 2rem;
  border-radius: 30px;   
  border: 1px solid #ddd;
  text-align: center;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

}

.dropdown.active::after {
  content: '';
  position: absolute;
  top: -10px;   
  left: 50%;   
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid white; }

.navbar a,
.dropdown {
  margin-right: 10px;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1); }

.text-align-center2 {
    text-align: center;
}
.text-align-left2 {
    text-align: left;
}


.floating-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 auto;
}

.floating-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.floating-boxes {
  position: absolute;
  top: 15%; 
  left: -8%;
  transform: none; 
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start; 
}

.floating-box {
  background: white;
  border: 2px solid #D4AF37;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: left;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
  min-width: 120px;
  height: 70px; 
  max-width: 250px;
}

@media (max-width: 1000px) {
  .basic_grid2,
  .solutions_grid2,
  .w-layout-grid2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .basic_content2{
    width: 100% !important;
    text-align: center;
  }

  .floating-box {
    font-size: 1.1rem !important;
    width: 85% !important;
    height: auto !important;
  }

  .line{
    font-size: 2rem!important;
  }

  .floating-boxes {
  position: absolute;
  margin-top: -8%;
  left: -35%; 
  transform: none; 
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start; 
}

  .floating-image-container {
    width: 60% !important;
    height: auto !important;
    margin: auto;
  }

  .carte-section, .tab-content-container{
    flex-direction:column;
    align-items: center !important;
  }
}



@media (max-width: 768px) {
  .w-layout-grid2.basic_grid2 .basic_imagery2 {
    order: 1 !important;
  }

  .w-layout-grid2.basic_grid2 .basic_content2 {
    order: 2 !important;
  }
}

.frais-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.frais-container > div {
  flex: 1;
  max-width: calc(50% - 40px);
  box-sizing: border-box;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.frais-container-col {
  display: flex;
  height: flex;
  justify-content: space-between;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.frais-container-col > div {
  flex: 1;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

@media (max-width: 768px) {
  .frais-container > div {
    flex: 1 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
  }

  .frais-container-col {
    flex-wrap: wrap;
  }

  .frais-container-col > div {
    margin-top: 5%;
    flex: initial;
  }

  .basic_heading2.heading-style-h2-2{
    font-size: 30px !important;
  }

  .basic_heading1.heading-style-h1-2{
    font-size: 36px !important;
  }

  h3{
    font-weight: normal !important;
  }

  .carrou-section{
    display: none;
  }

  .h1-petit{
    font-size: 3.2rem !important;
  }

  .custom-list-vehicule li{
    padding-right: 0% !important;
    left:-15%
  }

  .table {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px; 
  }

  .table table {
    border-collapse: collapse;
    width: fit-content;
    max-width: 100%; 
    text-align: left;
  }

}

@media (max-width: 768px) {
  .container1{
    flex-direction: column;;
  }
  .row{
    flex-direction: column;
  }
  .formulaire{
    background-size: cover;
    background-position: center;
  }

  .dropdown-grid ,.dropdown-grid.two-columns{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
  }

  .dropdown-column {
    width: 100%;
    padding: 1% !important;

  }

  .dropdown-top-right-button {
    padding: 0;
    margin-bottom: 2rem;
    right: 0%;
    justify-content: center;
    text-align: center;
  }

  .dropdown-content {
    position: absolute;
    top: 100%;
    z-index: 9999;
    width: 100vw;
    overflow-y: auto;
    background-color: white;
    padding: 2rem 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 0;
    transform: none;
    border-radius: 20px;
    max-height: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }

  .cartes-profil-wrapper {
    display: none;
  }

  .simulateur-box{
    flex-direction: column;
  }

  .simulateur-box > div:first-child > div:nth-child(1) {
    margin-bottom:30px;
  }

  .simulateur-box > div:last-child > div:first-child{
    font-size: 1px;
  }

  #differenceDisplay{
    font-size: 3rem;
  }
  
  .fs-consent_banner_buttons{
      display: flex;
      flex-direction: inline;
  }
  
  .fs-consent_component{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 50px); /* pour ajouter du padding sur les côtés */
    max-width: 95%;
  }

  .fs-consent_prefs{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 50px); /* pour ajouter du padding sur les côtés */
    max-width: 95%;
  }


}


.simulateur-box{
  display: flex;
  height: 100%;
}

.simulateur-box > div:last-child > div:first-child{
    margin: 0 0 10px 0;
    font-size: 50px;
  }

body > .main {
  flex: 1;
}


@media (max-width: 991px) {
  /* .dropdown-content {
  position: relative;
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, max-height 0.3s ease-out;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 0;
  margin-top: 0;
  border-radius: 12px;
  width: 100% !important;
  background-color: white;
  z-index: 1001;
  pointer-events: none !important;

}

.dropdown-content.open {
  opacity: 1;
  transform: translateY(0);
  max-height: 1000px;
  padding: 20px;
  margin-top: 10px;
  pointer-events: auto;
} */
  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100vw;
    background: white;
    padding: 2rem 1rem;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease-out, max-height 0.3s ease-out;
  }

  .dropdown-content.open {
    opacity: 1;
    pointer-events: auto;
    max-height: 1000px;
  }

div.dropdown{
    position: relative !important;
    z-index: 1000 !important;
    height: 8% !important;
  }

div.dropdown.open{
  height: 100% !important;
}



  .dropdown-grid, .dropdown-grid.two-columns {
    display: flex !important;
    flex-direction: column;
    padding: 0;
    gap: 1.5rem;
  }

  .dropdown-column {
    width: 100%;
    padding: 0;
  }

  .dropdown-top-right-button {
    display: none;
  }
}


.contact-navbar{
  display: none !important;
}

@media (max-width: 991px) {
  .contact-navbar {
    display: flex !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 50px;
    z-index: 1000;
  }

  
}

.dropdown-toggle {
  font-size: 16px;
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  display: block;
}
