/*
	Theme Name: Hello Elementor child
    template: hello-elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: A plain-vanilla & lightweight theme for Elementor page builder
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 2.4.2
	Stable tag: 2.4.2
	Requires at least: 4.7
	Tested up to: 5.9
	Requires PHP: 5.6
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* GLOBAL */
body.elementor-page,
body.page-id-10 {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

input,
select,
textarea {
  outline: none !important;
}

html {
  scroll-snap-type: y proximity;
}

.btn svg {
  width: 1.2em !important;
}

.btn.blue svg path {
  fill: #212b53;
}

.title_blue {
  color: #0e91fc;
}

.elementor-widget-icon .elementor-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.jet-mega-menu.jet-mega-menu--layout-horizontal
  .jet-mega-menu-mega-container__inner {
  background-color: unset !important;
}

/*** BOUTONS ***/

.membres-projet-list {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.membre-item {
  width: 30px;
  display: flex;
  align-items: center;
}
.membre-item img {
  width: 30px !important;
}

.btn-project {
  transition: all 0.2s ease-in-out;
}
.btn-project .elementor-icon {
  transition: all 0.2s;
}
.btn-project:hover .elementor-icon {
  transform: rotate(45deg);
  transition: all 0.2s;
}
.btn-project:hover {
  width: 345px;
  transition: all 0.2s ease-in-out;
}

.btn-project .btn-text {
  max-width: 0;
  width: 0;
  opacity: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
}

.btn-project:hover .btn-text {
  max-width: 150px;
  width: 150px;
  opacity: 1;
  margin-left: 8px;
}

.btn_rappel .elementor-icon {
  border: 1px solid rgb(14, 145, 252, 0.2) !important;
}

.btn::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  border: 5px solid rgba(14, 145, 252, 0.2);
  border-radius: 99px; /* ou 99px si tu préfères */
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
  transform: scale(1);
}
.btn.blue::after {
  border: 5px solid rgba(33, 43, 83, 0.05);
}

/*** FORM ***/

select {
  background: rgba(14, 145, 252, 0.3) !important;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgb(14, 145, 252, 1) !important;
}
textarea {
  resize: none !important;
}
.jet-form-builder-page .wp-block-heading {
  font-family: 'Gaglio';
}

.title_form {
  font-family: 'Gaglio', Sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin: unset;
  margin-bottom: 10px;
  color: rgba(14, 145, 252, 0.6);
}
.banner_form .checkradio-wrap,
.form_rappel .checkradio-wrap {
  flex-direction: row !important;
}
.banner_form .radio-wrap,
.form_rappel .radio-wrap {
  width: 30% !important;
}
.banner_form .cb-v8snflqx .checkradio-wrap,
.form_rappel .cb-v8snflqx .checkradio-wrap {
  flex-direction: column !important;
}
.banner_form .cb-v8snflqx .radio-wrap,
.form_rappel .cb-v8snflqx .radio-wrap {
  width: 100% !important;
}
.banner_form .card_listing-societe svg .cls-1,
.banner_form .card_listing-societe svg .cls-2,
.form_rappel .card_listing-societe svg .cls-1,
.form_rappel .card_listing-societe svg .cls-2 {
  fill: rgba(14, 145, 252, 0.5);
}
.banner_form .cb-v8snflqx svg .cls-1 {
  fill: none;
}
.banner_form
  .jet-form-builder__field-template--checked
  .card_listing-societe
  svg
  .cls-1,
.banner_form
  .jet-form-builder__field-template--checked
  .card_listing-societe
  svg
  .cls-2 {
  fill: white;
}
.jet-form-builder__field-template--checked {
  background: rgba(14, 145, 252, 0.4);
  border-radius: 20px;
  border-color: #0e91fc;
}

.banner_form .cb-see8v5b2,
.banner_form .cb-g9kvtqm6,
.banner_form .cb-t2se5goy,
.banner_form .cb-k7qcx9tn {
  margin-top: unset;
}

button#e-n-tab-title-1289854761 {
  border-radius: 10px 0 0 10px;
}
button#e-n-tab-title-1289854762 {
  border-radius: 0 10px 10px 0;
}

/*** PAGE SITE INTERNET ***/

.elementor-element-8633a1d .swiper-slide {
  background: rgba(33, 43, 83, 0.5);
  border-radius: 20px;
  height: 220px;
  transition: 0.4s;
}
.elementor-element-8633a1d .swiper-slide-active {
  background: #0e91fc !important;
  transition: 0.4s;
}

/* la section memory est le seul point d'ancrage */
.elementor-element-442dd41 {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* on exclut explicitement les panneaux sticky */
.stack-panel {
  scroll-snap-align: none;
}

/*** TIMELINE ***/

.ht-timeline-wrapper {
  position: relative;
  width: 100%;
  padding: 60px 20px 40px;
  overflow-x: auto;
  box-sizing: border-box;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge legacy */
}
.ht-timeline-wrapper::-webkit-scrollbar {
  display: none; /* Chrome / Safari / Edge Chromium */
}

/* Conteneur interne qui contient ligne + items, largeur = contenu réel */
.ht-track {
  position: relative;
  width: max-content;
  min-width: 100%;
}

/* Ligne de fond (grise) */
.ht-line-track {
  position: absolute;
  top: 11px;
  left: 60px;
  right: 0;
  height: 1px;
  background: #e2e2e2;
  border-radius: 3px;
  z-index: 1;
}

/* Ligne animée qui se remplit */
.ht-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0e91fc, #212b53);
  border-radius: 3px;
  transition: width 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.ht-timeline-wrapper.ht-in-view .ht-line-fill {
  width: 100%;
}

.ht-items {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 50px;
  z-index: 2;
  width: max-content;
  padding: 0 60px;
}

.ht-item {
  flex: 0 0 auto;
  width: 650px;
  display: flex;
  flex-direction: column;
  text-align: left;
  opacity: 0;
  transform: translateX(250px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ht-timeline-wrapper.ht-in-view .ht-item {
  opacity: 1;
  transform: translateX(0);
}
.ht-item:nth-child(1) {
  transition-delay: 0.1s;
}
.ht-item:nth-child(2) {
  transition-delay: 0.3s;
}
.ht-item:nth-child(3) {
  transition-delay: 0.5s;
}
.ht-item:nth-child(4) {
  transition-delay: 0.7s;
}
.ht-item:nth-child(5) {
  transition-delay: 0.9s;
}
.ht-item:nth-child(6) {
  transition-delay: 1.1s;
}
.ht-item:nth-child(7) {
  transition-delay: 1.3s;
}
.ht-item:nth-child(8) {
  transition-delay: 1.5s;
}

/* Le rond : bordure "creuse" séparée du point central par un espace */
.ht-dot-wrapper {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #0e91fc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.ht-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0e91fc;
  display: block;
}

.ht-content {
  max-width: 220px;
}
.ht-date {
  display: inline-block;
  font-size: 36px;
  font-weight: 900;
  color: #0e91fc;
  margin-bottom: 4px;
}
.ht-title {
  font-size: 16px;
  margin: 4px 0 6px;
  color: #212b53;
}
.ht-desc {
  font-size: 14px;
  color: #212b53;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ht-items {
    min-width: 800px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }
}
