/*
 * ============================================================
 *  AddixGroup — Feuille de styles personnalisée
 * ============================================================
 *
 *  Sommaire
 *  ──────────────────────────────────────────────────────────
 *   1. Icon Engagement
 *      1a. Bleue (défaut)
 *      1b. Verte
 *   2. FAQ Accordion Icon
 *   3. Boutons
 *      3a. Primary
 *      3b. Secondary (fond sombre)
 *      3c. Secondary Dark (fond clair)
 *   4. Cards autres services
 *   5. Liste à puces bleues
 *   6. Stat chiffre clé
 *   7. Liste d'icônes
 *      7a. Claire
 *      7b. Sombre
 *   8. Channels (liens de contact)
 *   9. Navigation
 *      9a. Trait animé sous les items du menu
 *      9b. Page active
 *      9c. Menu ouvert
 *  10. Icon Slide
 *  11. Timeline
 *  12. Process Steps
 *  13. Filtres offres d'emploi
 *  14. Responsive mobile (≤ 767px)
 *
 * ============================================================ */


/* ============================================================
   1. Icon Engagement
   ============================================================ */

/* — 1a. Bleue (défaut) — */

body .icon-engagement .elementor-icon {
  width: 32px;
  height: 32px;
  background: #2f5be866;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .icon-engagement .elementor-icon i,
body .icon-engagement .elementor-icon svg {
  width: 13px;
  height: 13px;
  font-size: 13px;
  color: #ffffff;
}

/* — 1b. Verte — */

body .icon-engagement-green .elementor-icon {
  width: 32px;
  height: 32px;
  background: #16a34a66;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .icon-engagement-green .elementor-icon i,
body .icon-engagement-green .elementor-icon svg {
  width: 13px;
  height: 13px;
  font-size: 13px;
  color: #ffffff;
}


/* ============================================================
   2. FAQ Accordion Icon
   ============================================================ */

body .faq-icon .elementor-accordion-icon {
  width: 28px !important;
  height: 28px !important;
  background: #ffffff !important;
  border: 1px solid #e2e4ef !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .25s, border-color .25s, transform .35s !important;
}

body .faq-icon .elementor-active .elementor-accordion-icon {
  background: #2f5be8 !important;
  border-color: #2f5be8 !important;
  transform: rotate(45deg) !important;
}

body .faq-icon .elementor-active .elementor-accordion-icon svg,
body .faq-icon .elementor-active .elementor-accordion-icon i {
  color: #ffffff !important;
  stroke: #ffffff !important;
}


/* ============================================================
   3. Boutons
   ============================================================ */

/* — 3a. Primary — */

body .btn-primary {
  padding: 12px 26px;
  background: #2f5be8;
  border: none;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}

body .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, .22) 50%,
    transparent 80%
  );
  transform: skewX(-18deg);
  transition: left .52s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

body .btn-primary:hover::before {
  left: 140%;
}

body .btn-primary:hover {
  background: #1e48d4 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(47, 91, 232, .45);
}

body .btn-primary:active {
  transform: translateY(0);
  transition-duration: .08s;
}

/* — 3b. Secondary (fond sombre) — */

body .btn-secondary {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color .25s;
}

body .btn-secondary::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: rgba(255, 255, 255, .55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), background .25s;
}

body .btn-secondary:hover::after {
  transform: scaleX(1);
  background: rgba(255, 255, 255, .9);
}

/* — 3c. Secondary Dark (fond clair) — */

body .btn-secondary-dark {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color .25s;
}

body .btn-secondary-dark::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: rgba(0, 0, 0, .35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), background .25s;
}

body .btn-secondary-dark:hover::after {
  transform: scaleX(1);
  background: rgba(0, 0, 0, .8);
}


/* ============================================================
   4. Cards autres services
   ============================================================ */

body .other-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
}

body .other-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72);
  transition: transform .55s cubic-bezier(.4, 0, .2, 1), filter .35s;
}

body .other-card:hover img {
  transform: scale(1.07);
  filter: brightness(.5);
}

body .other-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(14, 15, 32, .85) 0%,
    rgba(14, 15, 32, .3) 55%,
    transparent 100%
  );
}

body .other-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(24, 25, 50, .75);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

body .other-card:hover::after {
  opacity: 0.5;
}

body .other-card .elementor-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s, transform .3s;
  position: relative;
  z-index: 2;
}

body .other-card:hover .elementor-icon {
  background: #2f5be8;
  border-color: #2f5be8;
  transform: rotate(-45deg);
}

body .other-card .elementor-icon svg,
body .other-card .elementor-icon i {
  width: 14px;
  height: 14px;
  font-size: 14px;
  color: #ffffff;
}


/* ============================================================
   5. Liste à puces bleues  [classe : bullet-blue]
   ============================================================ */

body .bullet-blue ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body .bullet-blue ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

body .bullet-blue ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #2f5be8;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
}


/* ============================================================
   6. Stat chiffre clé  [classe : stat-label]
   ============================================================ */

body .stat-label .stat-num {
  font-size: 32px;
  line-height: 32px;
  font-weight: 900;
  color: #2f5be8;
  display: block;
}


/* ============================================================
   7. Liste d'icônes
   ============================================================ */

/* — 7a. Claire  [classe : icon-list-light] — */

body .icon-list-light .elementor-icon-list-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

body .icon-list-light .elementor-icon-list-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px !important;
  background: #ffffff !important;
  border: 1px solid #e2e4ef !important;
  border-radius: 30px !important;
  transition: border-color .22s, background .22s;
}

body .icon-list-light .elementor-icon-list-item:hover {
  border-color: #2f5be8 !important;
  background: #f4f5fb !important;
}

body .icon-list-light .elementor-icon-list-icon {
  color: #7a7e9a;
  font-size: 10px;
}

body .icon-list-light .elementor-icon-list-text {
  color: #7a7e9a;
  font-weight: 600;
}

/* — 7b. Sombre  [classe : icon-list-dark] — */

body .icon-list-dark .elementor-icon-list-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

body .icon-list-dark .elementor-icon-list-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 30px !important;
  transition: background .22s, border-color .22s;
}

body .icon-list-dark .elementor-icon-list-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

body .icon-list-dark .elementor-icon-list-icon {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

body .icon-list-dark .elementor-icon-list-text {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}


/* ============================================================
   8. Channels (liens de contact)
   ============================================================ */

.channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: #f4f5fb;
  border: 1px solid #e2e4ef;
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}

.channel:hover {
  border-color: #2f5be8;
  box-shadow: 0 8px 24px rgba(47, 91, 232, .09);
  transform: translateX(4px);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid #e2e4ef;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}

.channel:hover .channel-icon {
  background: #dde8ff;
  border-color: #2f5be8;
}

.channel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a7e9a;
  margin-bottom: 3px;
}

.channel-value {
  font-size: 15px;
  font-weight: 700;
  color: #181932;
}

.channel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #e2e4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .3s;
}

.channel:hover .channel-arrow {
  background: #181932;
  border-color: #181932;
  transform: rotate(-45deg);
}

.channel:hover .channel-arrow svg {
  stroke: #ffffff;
}


/* ============================================================
   9. Navigation
   ============================================================ */

/* — 9a. Trait animé sous les items du menu — */

.e-n-menu-title-text {
  position: relative;
  display: inline-block;
}

.e-n-menu-title-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #2f5be8;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.e-n-menu-title-container:hover .e-n-menu-title-text::after {
  transform: scaleX(1);
}

/* — 9b. Page active — */

.e-n-menu-item.e-current .e-n-menu-title-text::after {
  transform: scaleX(1);
}

/* — 9c. Menu ouvert — */

.e-n-menu-item .e-n-menu-title:has([aria-expanded="true"]) .e-n-menu-title-text::after {
  transform: scaleX(1);
}


/* ============================================================
   10. Icon Slide  [classe : icon-slide]
   ============================================================ */

.icon-slide .elementor-icon-list-item a {
  transition: all 0.3s ease;
}

.icon-slide .elementor-icon-list-item a:hover {
  transform: translateX(4px);
}


/* ============================================================
   11. Timeline
   ============================================================ */

.tl-items {
  position: relative;
  font-family: 'Barlow', sans-serif;
}

.tl-items::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 28px;
  bottom: 28px;
  width: 1.5px;
  background: linear-gradient(to bottom, #2f5be8 0%, #e2e4ef 100%);
}

/* — Item — */

.tl-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  padding-bottom: 32px;
  position: relative;
}

.tl-item:last-child {
  padding-bottom: 0;
}

/* — Date — */

.tl-date {
  padding-right: 40px;
  text-align: right;
  font-size: 18px;
  font-weight: 900;
  color: #2f5be8;
  letter-spacing: -0.5px;
  padding-top: 20px;
}

/* — Dot — */

.tl-dot-wrap {
  position: absolute;
  left: 130px;
  top: 20px;
  z-index: 1;
}

.tl-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #e2e4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s, background .25s;
}

.tl-item:hover .tl-dot {
  border-color: #2f5be8;
  background: #2f5be8;
}

.tl-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e4ef;
  transition: background .25s;
}

.tl-item:hover .tl-dot-inner {
  background: #ffffff;
}

/* — Contenu — */

.tl-content {
  padding: 22px 28px;
  background: #ffffff;
  border: 1px solid #e2e4ef;
  border-radius: 14px;
  margin-left: 40px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.tl-item:hover .tl-content {
  border-color: #2f5be8;
  box-shadow: 0 8px 28px rgba(47, 91, 232, .08);
  transform: translateX(4px);
}

.tl-event {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #2f5be8;
  margin-bottom: 5px;
}

.tl-title {
  font-size: 16px;
  font-weight: 800;
  color: #181932;
  margin-bottom: 8px;
  line-height: 1.3;
}

.tl-text {
  font-size: 14px;
  color: #3a3d5c;
  line-height: 1.72;
}

/* — Variante highlight (ex : 2022) — */

.tl-item.highlight .tl-dot {
  background: #181932;
  border-color: #181932;
}

.tl-item.highlight .tl-dot-inner {
  background: #ffffff;
}

.tl-item.highlight .tl-content {
  background: #181932;
  border-color: #181932;
}

.tl-item.highlight .tl-event {
  color: #4f8eff;
}

.tl-item.highlight .tl-title {
  color: #ffffff;
}

.tl-item.highlight .tl-text {
  color: rgba(255, 255, 255, .55);
}


/* ============================================================
   12. Process Steps
   ============================================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  font-family: 'Barlow', sans-serif;
}

/* — Trait horizontal connecteur — */

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1.5px;
  background: linear-gradient(to right, #2f5be8, #e2e4ef);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e2e4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: border-color .25s, background .25s;
}

.process-step:hover .step-dot {
  border-color: #2f5be8;
  background: #eef2fd;
}

.step-num {
  font-size: 11px;
  font-weight: 900;
  color: #2f5be8;
  letter-spacing: 1.5px;
}

.step-title {
  font-size: 14px;
  font-weight: 800;
  color: #181932;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: #7a7e9a;
  line-height: 1.6;
}


/* ============================================================
   13. Filtres offres d'emploi
   ============================================================ */

/* — Boutons filtres — */

.jobs-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Barlow', sans-serif;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 30px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #e2e4ef;
  background: #fff;
  color: #3a3d5c;
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #181932;
  border-color: #181932;
  color: #fff;
}

/* — Animation des items — */

.addix-job-item {
  transition: opacity .3s ease, transform .3s ease;
}

.addix-job-item.hidden {
  opacity: 0;
  transform: scale(0.95);
  position: absolute !important;
  pointer-events: none;
  height: 0 !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* — Message aucun résultat — */

.addix-no-results {
  display: none;
  width: 100%;
  text-align: center;
  padding: 48px 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #7a7e9a;
}

.addix-no-results.visible {
  display: block;
}


/* ============================================================
   14. Responsive mobile (≤ 767px)
   ============================================================ */

@media (max-width: 767px) {

  /* — 4. Cards autres services — */

  body .other-card {
    height: 220px;
    border-radius: 12px;
  }

  /* — 6. Stat chiffre clé — */

  body .stat-label .stat-num {
    font-size: 26px;
    line-height: 26px;
  }

  /* — 8. Channels — */

  .channel {
    padding: 16px;
    border-radius: 12px;
  }

  .channel-left {
    gap: 12px;
  }

  .channel-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .channel-value {
    font-size: 14px;
  }

  .channel-arrow {
    width: 28px;
    height: 28px;
  }

  /* — 11. Timeline — */

  .tl-items::before {
    left: 9px;
    top: 24px;
    bottom: 24px;
  }

  .tl-item {
    display: flex;
    flex-direction: column;
    padding-left: 32px;
    padding-bottom: 24px;
  }

  .tl-dot-wrap {
    left: 0;
    top: 3px;
  }

  .tl-dot {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }

  .tl-dot-inner {
    width: 7px;
    height: 7px;
  }

  .tl-date {
    text-align: left;
    padding: 0;
    font-size: 14px;
    margin-bottom: 6px;
  }

  .tl-content {
    margin-left: 0;
    padding: 14px 16px;
    border-radius: 10px;
  }

  .tl-item:hover .tl-content {
    transform: none;
  }

  .tl-event {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 3px;
  }

  .tl-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .tl-text {
    font-size: 13px;
    line-height: 1.65;
  }

  /* — 12. Process Steps — */

  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 32px;
  }

  .process-steps::before {
    top: 28px;
    bottom: 28px;
    left: 9px;
    right: auto;
    width: 1.5px;
    height: auto;
    background: linear-gradient(to bottom, #2f5be8, #e2e4ef);
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
  }

  .step-dot {
    width: 42px;
    height: 42px;
    min-width: 42px;
    margin-bottom: 0;
    position: relative;
    left: -50px;
    margin-right: -34px;
  }

  .step-title {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .step-desc {
    font-size: 13px;
  }

  /* — 13. Filtres offres d'emploi — */

  .jobs-filters {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .jobs-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    font-size: 12px;
    padding: 7px 14px;
  }
}