/*
 Theme Name:     Divi Child
 Theme URI:      https://dev.thinkz.ai
 Description:    Thème enfant de Divi
 Author:         Votre Nom
 Template:       Divi
 Text Domain: Divi
 Version:        1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* HERO */

/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  /* opacity: 0; */
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

header .et_builder_inner_content {
  display: flex;
  flex-direction: column-reverse;
}

.et-menu{
  display: flex;
  gap: 1rem !important;
}



/* Fixer la hauteur du header Theme Builder à 160px */
/* .et_pb_section_0_tb_header {
  height: 114px !important;
  min-height: 114px !important;
  overflow: hidden;
  transition: none !important;
}

.et_pb_section_1_tb_header {
  min-height: 61px !important;
  height: 61px !important;
  overflow: hidden;
} */

/* 
.et_pb_section_0_tb_header img {
  display: none !important;
} */


/* Forcer le mask à utiliser une version hébergée en priorité */
.et_pb_section_0 > .et_pb_background_mask {
  background-image: url('/wp-content/uploads/2025/06/mask-hero.svg') !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  @media screen and (max-width: 768px) {
    background-image: none !important;
  }
}

.et_pb_section_0 {
  min-height: 716px;
}

/* Footer */
.footer-title {
  color: white;
  font-weight: bold;
}

.footer-menu {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-menu .menu-item {
  color: white;
  font-size: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Accessibilité des liens */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

/* Barre de recherche */

a.et_pb_menu__icon, button.et_pb_menu__icon {
  margin: 0 20px;
  font-size: 16px;
  padding-top: 2px;
}

#thinkz-search-bar {
    background: linear-gradient(135deg, #ffffff, #f7f9fc);
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    padding-left: 50px;
    @media screen and (max-width: 980px) {
      padding-right: 10px;
      padding-left: 10px;
      display: flex;
      justify-content: center;
    }
    @media screen and (max-width: 400px) {
      display: none;
    }
  }

  #lang-buttons > div > div > a > span {
    padding: 7px 21px !important;
  }

  #megamenu-fix-responsive {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .menu-item > a {
    white-space: nowrap;
  }

  
  #thinkz-search-bar .searchform {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    justify-content: center;
  }
  
  .search-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 0px 13px;
    width: 100%;
    position: relative;
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow 0.3s ease;
  }
  
  .search-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.4);
  }
  
  .search-icon {
    font-size: 13px;
    color: #a0aec0;
    margin-right: 10px;
  }
  
  .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    outline: none;
    color: #333;
  }

  .search-input::placeholder {
    font-size: 15px;
  }
  
  .clear-button {
    background: none;
    border: none;
    color: #aaa;
    font-size: 15px;
    cursor: pointer;
    margin-left: 10px;
    display: none;
    padding: 0;
    line-height: 1;
  }
  
  .clear-button:hover {
    color: #555;
  }
  
  .search-button {
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 0.7rem 2rem;
    width: auto;
    height: auto;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    background-color: black;
  }
  
  
  .search-button:hover {
    background: #4338ca;
  }

  /* Supprimer le bouton 'clear' natif dans les navigateurs WebKit (Chrome, Safari, Edge) */
.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }

  #lang-buttons > div {
    display: flex;
    justify-content: flex-end !important;
  }

.et_pb_section_0_tb_header {
    box-shadow: none !important;
}

@media only screen and (max-width: 980px) {
  .et_pb_image_1_tb_header {
      margin-left: 10px !important;
  }
}

html {
  margin-top: 0px !important;
}

#main-content {
    margin-top: 88px;
  }

#post-27823 > div > div > div > div.et_pb_section.et_pb_section_0.et_pb_with_background.et_section_regular > div {
  margin-top: 0px !important;
}

/* Page A propos */

#post-1958 > div > div > div > div.et_pb_section.et_pb_section_0.et_pb_with_background.et_section_regular{
  margin-top: 280px !important;
}

.skip-link:focus {
  position: fixed !important;
  left: 10px !important;
  top: 10px !important;
  width: auto !important;
  height: auto !important;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  font-size: 16px;
  border-radius: 4px;
}

.menu-item a.active {
  border-bottom: 1px solid #ce1e19 !important;
}

.menu-item a:before {
  /* Remove element */
  content: none !important;
}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
  padding-bottom: 4px !important;
}

body {
  font-family: 'Montserrat-Thinkz', Helvetica, Arial, Lucida, sans-serif;
}

.wdc_content_carousel_0 .wdc-carousel-nav .wdc-carousel-nav-item .title {
  font-size: 20px;
  color: #E02B20;
  margin-bottom: 10px;
}

.wdc-post-content .title {
  margin-bottom: 10px;

}

.wdc-post-content .title a {
  color: black;
  font-size: 16px;
}

.footer-title {
  font-family: 'Montserrat-Thinkz', Helvetica, Arial, Lucida, sans-serif;
  font-weight: bold;
  font-size: 18px;
}

.faq-title {
  font-family: 'Montserrat-Thinkz', Helvetica, Arial, Lucida, sans-serif;
  font-weight: bold;
  font-size: 18px;
}


/* URL : smart-city-use-cases */


.mockup-2-col-container {
  display: flex;
  justify-content: center;
}

.mockup-2-col-container .et_pb_column {
  display: flex;
  justify-content: center;
  gap: 5.5%;
  width: 100%;
  margin: auto;
  @media screen and (max-width: 980px) {
    flex-direction: column;
  }
  /* max-width: 30vw; */
}

.mockup-2-col-container .et_pb_column .et_pb_module {
  margin-right: 0;
  width: 15.6%;
  @media screen and (max-width: 980px) {
    width: 50%;
    margin: auto;
  }
  @media screen and (max-width: 500px) {
    width: 100%;
  }
}

/* Bouton d'accessibilité */

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
  font-size: 25px !important;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle {
  position: fixed !important;
  left: 0 !important;
  top: calc(50% - 230px) !important;
  transform: translateY(-50%) !important;
  z-index: 9999 !important;
}

.pojo-a11y-toolbar-overlay {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 9999 !important;

}