/* ===== STYLES POUR LA POPUP DE RECHERCHE ===== */

.search-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.search-close:hover {
    background: #f5f5f5;
    color: var(--bs-body-color);
    transform: rotate(90deg);
}

.search-form {
    padding: 24px 32px;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--bs-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
}

#search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--bs-body-color);
    outline: none;
    font-weight: 400;
}

#search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-submit {
    background: var(--bs-primary);
    border: none;
    color: white;
    padding: 16px 24px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 65px;
}

.search-submit:hover {
    background: var(--bs-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.search-suggestions {
    padding: 0 32px 24px;
}

.search-suggestions-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-item {
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.suggestion-item:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

/* Animation d'entrée pour les suggestions */
.search-suggestions-list .suggestion-item {
    opacity: 0;
    transform: translateY(10px);
    animation: slideInUp 0.4s ease forwards;
}

.search-suggestions-list .suggestion-item:nth-child(1) { animation-delay: 0.1s; }
.search-suggestions-list .suggestion-item:nth-child(2) { animation-delay: 0.15s; }
.search-suggestions-list .suggestion-item:nth-child(3) { animation-delay: 0.2s; }
.search-suggestions-list .suggestion-item:nth-child(4) { animation-delay: 0.25s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Galerie de réalisations */
:root {
  --primary-color: #5D56F1;
  --primary-color-dark: #4f48da;
  --secondary-color: #50BBA8;
  --secondary-color-dark: #338074;
}
.realisations-gallery {
  margin: 2rem 0;
  position: relative;
}

.realisations-gallery__title {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
}

/* Filtres modernisés */
.realisations-gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  position: relative;
  justify-content: center;
  align-items: center;
}

.realisations-gallery__filters::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 2px;
}

.realisations-filter-btn {
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #333;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.realisations-filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.realisations-filter-btn:hover::before {
  left: 100%;
}

.realisations-filter-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(93, 86, 241, 0.2);
  color: var(--primary-color);
}

.realisations-filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(93, 86, 241, 0.4);
  transform: translateY(-2px);
}

.realisations-filter-btn.active::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Grille de réalisations */
.realisations-gallery__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

/* Item de réalisation modernisé */
.realisations-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  opacity: 1;
  transform: scale(1) translateY(0);
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.realisations-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.realisations-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(93, 86, 241, 0.15);
  border-color: transparent;
}

.realisations-item:hover::before {
  opacity: 1;
}

.realisations-item:hover .realisations-item__title {
  color: var(--primary-color);
}

.realisations-item--linked {
  cursor: pointer;
}

.realisations-item--linked:hover {
  text-decoration: none;
  color: inherit;
}

.realisations-item.hidden {
  display: none;
}

.realisations-item.fade-out {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.realisations-item__image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  position: relative;
}

.realisations-item__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.realisations-item:hover .realisations-item__image::after {
  opacity: 1;
}

.realisations-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.realisations-item:hover .realisations-item__image img {
  transform: scale(1.1);
}

.realisations-item__content {
  padding: 2rem;
  position: relative;
  background: #fff;
}

.realisations-item__title {
  margin: 0 0 1rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  transition: color 0.4s ease;
  line-height: 1.3;
}

.realisations-item__description {
  margin-bottom: 1.25rem;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.realisations-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.realisations-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, rgba(93, 86, 241, 0.1), rgba(80, 187, 168, 0.1));
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(93, 86, 241, 0.2);
  transition: all 0.3s ease;
}

.realisations-item:hover .realisations-tag {
  background: linear-gradient(135deg, rgba(93, 86, 241, 0.15), rgba(80, 187, 168, 0.15));
  border-color: rgba(93, 86, 241, 0.3);
  transform: translateY(-2px);
}

.realisations-item__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.realisations-item__link .svg-primary {
  width: 20px;
  height: 20px;
}

.realisations-item--linked:hover .realisations-item__link {
  color: var(--primary-color-dark);
}

.realisations-item--linked:hover .realisations-item__link .svg-primary {
  transform: translateX(6px);
}

.realisations-gallery__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #999;
  font-style: italic;
}

/* Pagination modernisée */
.realisations-gallery__pagination {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.realisations-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.realisations-pagination__item {
  margin: 0;
}

.realisations-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 0.9rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #333;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.realisations-pagination__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.realisations-pagination__link span {
  position: relative;
  z-index: 1;
}

.realisations-pagination__link:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(93, 86, 241, 0.25);
}

.realisations-pagination__link:hover::before {
  opacity: 1;
}

.realisations-pagination__link:hover span {
  color: #fff;
}

.realisations-pagination__item--active .realisations-pagination__link {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: #fff;
  border-color: var(--primary-color);
  cursor: default;
  box-shadow: 0 4px 12px rgba(93, 86, 241, 0.3);
}

.realisations-pagination__item--active .realisations-pagination__link::before {
  opacity: 0;
}

.realisations-pagination__item--active .realisations-pagination__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(93, 86, 241, 0.35);
}

.realisations-pagination__item--disabled .realisations-pagination__link {
  background: rgba(245, 245, 245, 0.8);
  color: #ccc;
  border-color: rgba(0, 0, 0, 0.05);
  cursor: not-allowed;
  opacity: 0.5;
}

.realisations-pagination__item--disabled .realisations-pagination__link::before {
  display: none;
}

.realisations-pagination__item--disabled .realisations-pagination__link:hover {
  background: rgba(245, 245, 245, 0.8);
  color: #ccc;
  border-color: rgba(0, 0, 0, 0.05);
  transform: none;
  box-shadow: none;
}

.realisations-pagination__info {
  text-align: center;
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .realisations-gallery__items {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .realisations-gallery__filters {
    gap: 0.75rem;
    padding-bottom: 1.5rem;
  }

  .realisations-filter-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .realisations-item {
    border-radius: 20px;
  }

  .realisations-item__image {
    height: 220px;
  }

  .realisations-item__content {
    padding: 1.5rem;
  }

  .realisations-pagination {
    gap: 0.5rem;
  }

  .realisations-pagination__link {
    min-width: 40px;
    height: 40px;
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  .realisations-pagination__info {
    font-size: 0.85rem;
  }
}


/* Galerie de réalisations */
:root {
  --primary-color: #5D56F1;
  --primary-color-dark: #4f48da;
  --secondary-color: #50BBA8;
  --secondary-color-dark: #338074;
}
.features-gallery {
  margin: 2rem 0;
  position: relative;
}

.features-gallery__title {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
}

/* Filtres modernisés */
.features-gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  position: relative;
  justify-content: center;
  align-items: center;
}

.features-gallery__filters::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 2px;
}

.features-filter-btn {
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #333;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.features-filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.features-filter-btn:hover::before {
  left: 100%;
}

.features-filter-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(93, 86, 241, 0.2);
  color: var(--primary-color);
}

.features-filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(93, 86, 241, 0.4);
  transform: translateY(-2px);
}

.features-filter-btn.active::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Grille de réalisations */
.features-gallery__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

/* Item de réalisation modernisé */
.features-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  opacity: 1;
  transform: scale(1) translateY(0);
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.features-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.features-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(93, 86, 241, 0.15);
  border-color: transparent;
}

.features-item:hover::before {
  opacity: 1;
}

.features-item:hover .features-item__title {
  color: var(--primary-color);
}

.features-item--linked {
  cursor: pointer;
}

.features-item--linked:hover {
  text-decoration: none;
  color: inherit;
}

.features-item.hidden {
  display: none;
}

.features-item.fade-out {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.features-item__image {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  position: relative;
}

.features-item__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.features-item:hover .features-item__image::after {
  opacity: 1;
}

.features-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-item:hover .features-item__image img {
  transform: scale(1.1);
}

.features-item__content {
  padding: 2rem;
  position: relative;
  background: #fff;
}

.features-item__title {
  margin: 0 0 1rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  transition: color 0.4s ease;
  line-height: 1.3;
}

.features-item__description {
  margin-bottom: 1.25rem;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.features-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.features-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, rgba(93, 86, 241, 0.1), rgba(80, 187, 168, 0.1));
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(93, 86, 241, 0.2);
  transition: all 0.3s ease;
}

.features-item:hover .features-tag {
  background: linear-gradient(135deg, rgba(93, 86, 241, 0.15), rgba(80, 187, 168, 0.15));
  border-color: rgba(93, 86, 241, 0.3);
  transform: translateY(-2px);
}

.features-item__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.features-item__link .svg-primary {
  width: 20px;
  height: 20px;
}

.features-item--linked:hover .features-item__link {
  color: var(--primary-color-dark);
}

.features-item--linked:hover .features-item__link .svg-primary {
  transform: translateX(6px);
}

.features-gallery__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #999;
  font-style: italic;
}

/* Pagination modernisée */
.features-gallery__pagination {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.features-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-pagination__item {
  margin: 0;
}

.features-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 0.9rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #333;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.features-pagination__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.features-pagination__link span {
  position: relative;
  z-index: 1;
}

.features-pagination__link:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(93, 86, 241, 0.25);
}

.features-pagination__link:hover::before {
  opacity: 1;
}

.features-pagination__link:hover span {
  color: #fff;
}

.features-pagination__item--active .features-pagination__link {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: #fff;
  border-color: var(--primary-color);
  cursor: default;
  box-shadow: 0 4px 12px rgba(93, 86, 241, 0.3);
}

.features-pagination__item--active .features-pagination__link::before {
  opacity: 0;
}

.features-pagination__item--active .features-pagination__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(93, 86, 241, 0.35);
}

.features-pagination__item--disabled .features-pagination__link {
  background: rgba(245, 245, 245, 0.8);
  color: #ccc;
  border-color: rgba(0, 0, 0, 0.05);
  cursor: not-allowed;
  opacity: 0.5;
}

.features-pagination__item--disabled .features-pagination__link::before {
  display: none;
}

.features-pagination__item--disabled .features-pagination__link:hover {
  background: rgba(245, 245, 245, 0.8);
  color: #ccc;
  border-color: rgba(0, 0, 0, 0.05);
  transform: none;
  box-shadow: none;
}

.features-pagination__info {
  text-align: center;
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .features-gallery__items {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-gallery__filters {
    gap: 0.75rem;
    padding-bottom: 1.5rem;
  }

  .features-filter-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .features-item {
    border-radius: 20px;
  }

  .features-item__image {
    height: 220px;
  }

  .features-item__content {
    padding: 1.5rem;
  }

  .features-pagination {
    gap: 0.5rem;
  }

  .features-pagination__link {
    min-width: 40px;
    height: 40px;
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  .features-pagination__info {
    font-size: 0.85rem;
  }
}






:root {
  --main-header-height: 74px;
  --police: "Dm Sans", Arial, sans-serif;
  --bs-font-sans-serif: "Dm Sans", Arial, sans-serif;
  --police-title: "Space Grotesk Bold", Arial, sans-serif;
  --bs-primary: #5D56F1;
  --bs-primary-rgb: 93, 86, 241;
  --bs-primary-dark: #4f48da;
  --bs-secondary: #13E9C3;
  --bs-secondary-rgb: 19, 233, 195;
  --bs-secondary-dark: #13be9f;
  --bs-link-color: var(--bs-primary);
  --bs-link-color-rgb: 93, 86, 241;;
  --bs-border-radius-lg: 5rem;
  --bs-border-radius: 2rem;
  --bs-body-font-size: 1.2rem;
  --bs-body-color: #1A1A2E;
  --bs-dark-rgb:26, 26, 46;
  --bs-border-width: 2px;

}

body {
  font-family: var(--police);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
  padding-top: var(--main-header-height); /* Space for fixed header */
  color: var(--bs-body-color);
}

.cms-toolbar-expanded{
  .main-header{
    top: 46px;
  }
}

.btn{
  --bs-btn-padding-x: 2rem;
  --bs-btn-padding-y: 1rem;
  --bs-btn-font-size: 1.2rem;
  --bs-btn-font-size: 16px;
  --bs-btn-font-weight: 700;
}

.btn-group-lg>.btn, .btn-lg {
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-padding-x: 24px;
}

.btn-primary{
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary-dark);
  --bs-btn-hover-border-color: var(--bs-primary-dark);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary-dark);
  --bs-btn-active-border-color: var(--bs-primary-dark);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
  box-shadow: 0 8px 24px rgba(93, 86, 241, 0.4);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}
.btn-secondary{
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-secondary-dark);
  --bs-btn-hover-border-color: var(--bs-secondary-dark);
  box-shadow: 0 8px 24px rgba(19, 233, 195, 0.4);
}


.btn-cta__outline--primary, .btn.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #5D56F1;
  border: 2px solid #5D56F1;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-cta__outline--primary:hover, .btn.btn-outline-primary:hover {
  background-color: #5D56F1;
  color: #fff;
  text-decoration: none;
}

.btn-cta__outline--secondary, .btn.btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bs-secondary);
  border: 2px solid var(--bs-secondary);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-cta__outline--secondary:hover, .btn.btn-outline-secondary:hover {
  background-color: var(--bs-secondary);
  text-decoration: none;
  color: var(--bs-body-color);
}



p, ul{
  line-height: 1.5;
  + .btn{
    margin-top: 20px;
  }
}

/* Sticky Footer */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

footer#footer{
  flex-shrink: 0;
}


.page__content {
  h2{
    font-weight: 700;
    font-family: var(--police);
    font-size: 3.125rem;
    em, sub, small{
      font-weight: 100;
      font-style: normal;
      font-size: 80%;
    }
  }
  h3{
    font-size: 22px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    h2 {
      font-size: 2.25rem;
    }
    h3 {
      font-size: 1.25rem;
    }
  }
  @media (max-width: 576px) {
    h2 {
      font-size: 1.75rem;
    }
    h3 {
      font-size: 1.125rem;
    }
  }
  .teaser__project{
    position: relative;
    background-color: var(--bs-white);
    box-shadow: 0px 5px 33px 0px rgba(64, 92.00000000000006, 146, 0.25);
    overflow: hidden;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;

    &:hover{
      text-decoration: none;
    }
    .teaser-image{
      height: 300px;
      overflow: hidden;
      background-color: #111;
      border-bottom-right-radius: 60px;
      img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-bottom-right-radius: 60px;
        transition: all 0.3s ease;
      }
    }
    .teaser-content{
      padding: 20px;
      h3{
        font-size: 24px;
        line-height: 1.5;
        font-weight: 700;
      }

    }
    .link-icon{
      position: relative;
      margin: 20px;
      margin-left: auto;
      z-index: 1;
      pointer-events: none;
      &:hover{
        background-color: var(--bs-primary-dark);
        &::before{
          transform: translate(0%, 0%) scale(1.1);
        }
      }
    }
    &:hover{
      .teaser-image{
        img{
          transform: scale(1.1);
          opacity: .7;
        }
      }
      .link-icon{
        &::before{
          transform: translate(0%, 0%) scale(1.1);
        }
      }
    }
  }

}

.page__header{
  padding: 10px 30px;
  position: relative;
  @media (max-width: 768px) {
    overflow: hidden;
  }
  &::before{
    content: "";
    position: absolute;
    display: block;
    width: 95vw;
    height: 50%;
    top: 120px;
    right: 0;
    background-color: rgba(250, 250, 250, 1);
    z-index: -1;
  }
  .container{

    .row{
      gap: 100px;
      @media (max-width: 992px) {
        flex-direction: column;
        gap: 20px;
      }
    }
  }
  img{
    min-width: 100%;
    height: auto;
    object-fit: cover;
  }
  span.subtitle {
       /* gros titre */
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #111;
    color: transparent;
    font-size: 9.125rem;
    font-size: clamp(4.125rem, 8vw, 9.125rem);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 0.13688rem;
    text-transform: uppercase;
    font-family: var(--police-title);
    opacity: .1;
    white-space: nowrap;

  }
  h1 {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: clamp(30px, 5vw, 50px);
  }
  q{
    color: #585858;
    font-family: "DM Serif";
    font-size: 1.625rem;
    font-style: italic;
    font-weight: 700;
    line-height: 2.5rem;
    padding-left: 70px;
    display: block;
    position: relative;
    margin-top: 2rem;
    margin-bottom: 2rem;
    &::before{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 47px;
      height: 45px;
      display: block;
      background-image: url("../img/quote.b98971997529.svg");
    }
  }

}

/* Responsive video (HTML5, iframes via fitVids, cookie optin) */
main .video,
.video {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
main .video .video-player,
.video .video-player {
  width: 100%;
  max-width: 100%;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}
main .video .video-player video,
.video .video-player video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
main .video .fluid-width-video-wrapper,
.video .fluid-width-video-wrapper {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
main .video .cookieoptin-notice:not(.cookieoptin-hide),
.video .cookieoptin-notice:not(.cookieoptin-hide) {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  border-radius: 20px;
}
main .row > [class*="col-"]:has(.video),
.row > [class*="col-"]:has(.video) {
  min-width: 0;
}

.page__header--intro{
  img{
    border-radius: 20px;
  }
  h2{
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .breadcrumb{
    a{
      text-decoration: none;
      color: var(--bs-primary);
      &:hover{
        text-decoration: none;
      }
    }
  }
}
.call__to__action__block{
  border-radius: 5.625rem 0rem 0rem 0rem;
  background: var(--bs-primary);
  color: #fff;
  padding: 100px clamp(1.25rem, 5vw, 200px);
  text-align: center;
  h2{
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  @media (max-width: 991px) {
    padding-block: 4rem;
    border-radius: 3rem 0 0 0;
  }
  @media (max-width: 768px) {
    padding-block: 3rem;
    padding-inline: 1.25rem;
    border-radius: 2rem 0 0 0;
    h2 {
      font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
  }
  @media (max-width: 576px) {
    padding-block: 2.5rem;
    h2 {
      font-size: 1.5rem;
      margin-bottom: 0.75rem;
    }
  }
}

.card{
  border: 0;

  border-radius:0;
  h3{
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-primary);
  }
}





.page__content{
  padding-top: 20px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  &:before{
    content: "";
    display: block;
    height: 100%;
    background-color: #E0E0E0;
    width: 2px;
    position: absolute;
    top: 0px;
    left: 20px;
  }
  p{
    display: flex;
    align-items: center;
    counter-increment: step;
    margin-bottom: 0;
    gap: 20px;
    position: relative;
    &::before{
      content: counter(step);
      display: block;
      width: 40px;
      height: 40px;
      background-color: var(--bs-secondary);
      border-radius: 50%;
      color: #fff;
      font-size: 1.5rem;
      font-weight: 700;
      text-align: center;
      line-height: 40px;
    }
  }
}
.projects{
  margin-bottom: 2rem !important;
  @media (max-width: 768px) {
    margin-bottom: 1rem !important;
    .teaser__project{
      border: 1px solid #e9ecef;
    }
    h3{
      padding-left: 20px;
      padding-top: 10px;
      text-transform: uppercase;
    }
  }
}

.footer__site {
  background-color: var(--bs-body-color)  ;
  color: var(--bs-white);
  padding: 4rem 0;
  position: relative;
  .container{
    position: relative;
    z-index: 1;
  }
  .bg-shape{
    display: grid;
    grid-template-columns: 100px 1fr 1fr 1fr ;
    position: absolute;
    top: 130px;
    left: 0;
    bottom: 0;
    width: 100%;
    .bg-1{
      background: linear-gradient(180deg, var(--bs-primary) 0%, var(--bs-body-color) 67.15%);
    }
    .bg-2{
      background: linear-gradient(180deg, var(--bs-body-color) 32.85%, var(--bs-primary) 100%);
    }
    .bg-3{
      background: linear-gradient(180deg, var(--bs-primary) 0%, var(--bs-body-color) 67.15%);
    }
  }
  .footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    @media (max-width: 768px) {
      margin-bottom: 1rem;
    }
  }
  h2{
    font-size: 18px;
  }
  a {
    color: var(--bs-white);
    text-decoration: none;
  }
  .footer__link {
    a {
      color: var(--bs-white);
      text-decoration: none;
    }
  }
  .footer__social {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  @media (max-width: 768px) {
    .container{
      max-width: 90vw;
      text-align: center;
    }
  }
}

.footer__logo{
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 2rem;
  @media (max-width: 768px) {
    margin: 0 auto 2rem auto;
  }
}

.footer__copyright{
  border-top: 1px solid #3a3a62;
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer__newsletter-block {
  max-width: 340px;
}
.footer__newsletter-block {
  .footer__newsletter-alert {
    position: relative;
    margin: 1rem 0 0;
    padding: 0.8rem 2.35rem 0.8rem 0.9rem;
    border: 0;
    border-radius: .3rem;
    background: linear-gradient(135deg, #25255a 0%, #1b1b45 55%, #141437 100%);
    color: var(--bs-secondary);
    font-size: 0.95rem;
    line-height: 1.45;

    p {
      margin: 0;
    }

    .btn-close {
      position: absolute;
      top: 0.42rem;
      right: 0.42rem;
      margin: 0;
      padding: 0.34rem;
      transform: scale(0.68);
      filter: invert(1) grayscale(1) brightness(125%);
      opacity: 0.62;
      box-shadow: none;
      transition: opacity 0.2s ease;
    }

    .btn-close:hover,
    .btn-close:focus {
      opacity: 0.9;
    }
  }
}
.footer__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  opacity: 0.95;
}

.footer__newsletter-desc {
  font-size: 0.9rem;
  opacity: 0.75;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.footer__newsletter {
  .footer__newsletter-field {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .footer__newsletter-field:focus-within {
    border-color: rgba(93, 86, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(93, 86, 241, 0.15);
  }

  input {
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1.25rem;
    border: 0;
    background: transparent;
    color: var(--bs-white);
    font-size: 0.95rem;
    outline: none;
  }

  input::placeholder {
    color: rgba(255, 255, 255, 0.45);
  }

  button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    padding: 0;
    background: var(--bs-primary);
    border: 0;
    color: var(--bs-white);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
  }

  button:hover {
    background: var(--bs-primary-dark);
  }

  button:active {
    transform: scale(0.96);
  }

  @media (max-width: 768px) {
    .footer__newsletter-block {
      max-width: 340px;
      margin: 1.5rem auto 0;
    }
  }
}

ul {
  li{
    p{
      margin: 0;
    }
  }
}


.breadcrumb-item{
  font-size: 16px;
  a{
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
    &:hover{
      color: var(--bs-primary);
    }
  }
  &:last-child{
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

hr{
  border-color: #dedcdc;
  border-width: 1px;
}


.story-latest-entries{
  margin-top: 3rem;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  @media (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 2rem;
  }
  .story__item{
    .story__visual{

      overflow: hidden;
      border-radius: 20px;
      margin-bottom: 1rem;
    }
    img{
      border-radius: 6px;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.3s ease;
    }
    h3{
      font-size: 20px;
      transition: all 0.3s ease;
      a{
        color: inherit;
        text-decoration: none;
      }
    }
    .story__content{
      padding: 10px;
    }
    .story__footer{
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      a{
        position: relative;
        background-color: var(--bs-primary);
        color: #fff;
        padding: 10px;
        border-radius: 50%;
        text-decoration: none;
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 700;
        span{
          transform: translateX(-14px);
          transition: all 0.3s ease;
        }
        &::before{
          content: "";
          position: absolute;
          width: 50px;
          height: 50px;
          border: 1px solid var(--bs-body-color);
          border-radius: 50%;
          transform: translate(10%, -10%);
          z-index: -1;
          transition: all 0.3s ease;
        }
      }
    }
    &:hover{
      .story__visual{
        img{
          transform: scale(1.1);
        }
      }
      h3{
        color: var(--bs-primary);
      }
      .story__footer{
        a{
          &::before{
            transform: translate(0%, 0%) scale(1.1);
          }
          span{
            transform: translateX(0);
          }
        }
      }
    }
  }
}

.stories__home{
  .story__item{
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0px 40px 40px 0px rgba(209, 209, 209, 0.28);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    h3{
      color: var(--bs-primary);
    }
  }
}


.link-icon{
  position: relative;
  background-color: var(--bs-primary);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
  &::before{
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid var(--bs-body-color);
    border-radius: 50%;
    transform: translate(10%, -10%);
    z-index: -1;
    transition: all 0.3s ease;
  }
}

.box{
  border-radius: 10px;
  box-shadow: 0px 40px 40px 0px rgba(209, 209, 209, 0.28);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  h2, h3{
    font-weight: 700;
    line-height: 1.2;
  }
  h2{
    font-size: 1.6rem;
  }
  h3{
    font-size: 1.2rem;
  }
  p{
    font-size: 1.2rem;
  }
}

.list__styled{
  ul{
    list-style: none;
    padding: 0;
    margin: 0;
    li{
      position: relative;
      padding: 10px;
      padding-left: 50px;
      line-height: 1.5;
      font-weight: 500;

      font-size: 1.1rem;
      font-weight: 500;
      &::before{
        left: 10px;
        top: 12px;
        content: " ✔ ";
        position: absolute;
        width: 20px;
        height: 20px;
        background-color: var(--bs-primary);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        text-align: center;
        line-height: 20px;
        border-radius: 50%;
      }
      > ul{
        li{
          line-height: 1;
          &::before{
            content: " • ";
            width: 10px;
            height: 10px;
            background-color: rgba(0, 0, 0, 0.1);
            color: var(--bs-primary);
            font-size: 14px;
            top: 15px;
            left: 20px;
            font-weight: 700;
            text-align: center;
            line-height: 10px;
            border-radius: 50%;
          }
        }
      }
    }
  }
  @media (max-width: 768px) {
    ul li {
      padding: 8px 8px 8px 44px;
      font-size: 1rem;
      &::before {
        left: 8px;
        top: 10px;
        width: 18px;
        height: 18px;
        font-size: 9px;
        line-height: 18px;
      }
      > ul li::before {
        left: 16px;
        top: 12px;
        width: 8px;
        height: 8px;
        font-size: 12px;
        line-height: 8px;
      }
    }
  }
  @media (max-width: 576px) {
    ul li {
      padding: 6px 6px 6px 38px;
      font-size: 0.9375rem;
      &::before {
        left: 6px;
        top: 8px;
        width: 16px;
        height: 16px;
        font-size: 8px;
        line-height: 16px;
      }
      > ul li::before {
        left: 14px;
        top: 10px;
        width: 6px;
        height: 6px;
        font-size: 10px;
        line-height: 6px;
      }
    }
  }
}

.social_links{
  display: flex;
  gap: 10px;
  a{
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    background-color: #3a3a62;
    color: var(--bs-white);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
  }
  i{
    font-size: 1.2rem;
    font-weight: 700;
  }
  a:hover{
    background-color: var(--bs-white);
    color: var(--bs-primary);
    box-shadow: 0px 10px 20px 0px rgba(209, 209, 209, 0.28);
  }
  @media (max-width: 768px) {
    justify-content: center;
    margin-bottom: 2rem;
  }
}


.projects{
  display: grid;
  gap: 20px;
  @media (min-width: 769px){
    grid-template-columns: repeat(3, 1fr);
  }
  @media (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
  }
}


.page-error-404{
  color: #F5F5F5;
  display: block;
  font-size: 400px;
  font-weight: 800;
  line-height: 0.7;
}

#id_error_page{
  h1{
    font-weight: 700;
    font-size: 4rem;
  }
  main{
    padding: 200px 0;
  }
  .lead{
    font-weight: 500;
    font-size: 1rem;
  }
}

.input-group-append{
  .btn{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}



/* Menu CMS : grille et cartes alignées sur la galerie réalisations (realisations-gallery.css) */
.cmsplugin_menu__wrapper.realisations-gallery {
  margin-bottom: 2rem;
}

.cmsplugin_menu__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  color: #ccc;
}

.cmsplugin_menu__image-placeholder i {
  font-size: 2.5rem;
}

.cmsplugin_menu__wrapper .realisations-item.selected {
  box-shadow: 0 8px 28px rgba(93, 86, 241, 0.22);
}

.cmsplugin_menu__wrapper .realisations-item.selected::before {
  opacity: 1;
}

.col{
  @media (max-width: 768px) {
    flex: 1 0 100% !important;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#id_legalnotice{
  h1{
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
  }
  h2{
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
  }
  .breadcrumb{
    li{
      font-size: 16px;
      a{
        text-decoration: none;
        color: #000;
        font-weight: 500;
        &:hover{
          color: var(--bs-primary);
        }
      }
      & + li{
        padding-left: 10px;
      }
      &.text-only{
        &::before{
          float: left;
          padding-right: 10px;
          color: #000;
          content: "/";
        }
      }
    }
  }
  /* Liste principale des sections */
  .legalnotice-list{
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: section-counter;
    /* Chaque section (li > h2 + p + ul) */
    > li{
      counter-increment: section-counter;
      margin-bottom: 3rem;
      padding-bottom: 2rem;
      border-bottom: 1px solid #eee;
      &:last-child{
        border-bottom: none;
      }
      /* Titre de section avec numéro */
      h2{
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 0 1.5rem 0;
        color: #111;
        &::before{
          content: counter(section-counter);
          flex-shrink: 0;
          width: 40px;
          height: 40px;
          background-color: var(--bs-primary);
          color: #fff;
          font-size: 1rem;
          font-weight: 700;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
      /* Paragraphes */
      p{
        line-height: 1.8;
        margin-bottom: 1rem;
        color: #333;
      }
      /* Liens dans le contenu (sauf boutons) */
      a:not(.btn){
        color: var(--bs-primary);
        text-decoration: none;
        &:hover{
          text-decoration: underline;
        }
      }
      /* Boutons */
      .btn{
        margin-top: 0.5rem;
      }
      /* Sous-liste de définitions */
      > ul{
        list-style: none;
        padding: 0;
        margin: 1.5rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        > li{
          position: relative;
          padding: 1rem 1.25rem;
          padding-left: 1.25rem;
          background-color: #f8f9fa;
          border-radius: 8px;
          border-left: 3px solid var(--bs-primary);
          line-height: 1.7;
          color: #444;
          strong{
            color: var(--bs-primary);
            font-weight: 600;
          }
          em{
            color: #666;
          }
        }
      }
    }
  }
}

.page-id_cgp{
  .page__content{
    h2{
      font-size: 2rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 2rem;
      color: var(--bs-primary);
    }
    h3{
      font-size: 1.5rem;
      font-weight: 700;
      line-height: 1.2;
    }
    h3{
      font-size: 1.2rem;
      font-weight: 700;
      line-height: 1.2;
    }
    h4{
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.2;
    }
    p, ul, ol{
      font-size: 1rem;
      line-height: 1.2;
    }
  }
}



.teaser--project-internal{
  .teaser-internal__card{
    height: 100%;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 20px;
    color: #45556C;
    display: grid;
    background-color: #F1F5F9;
  }
  .teaser-internal__logo{
    padding: 20px 0;
    img, svg {
      height: 40px;
      width: auto;
      object-fit: contain;
    }
  }
  p, ul{
    font-size: 16px;
    line-height: 1.5;
  }
  .teaser-internal__cta{
    margin-top: auto;
  }

  .teaser-internal__cta .teaser-internal__btn{
    background-color: white;
    color: var(--bs-primary);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    border-radius: 10px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: block;
  }
}

/* ==========================================================================
   Search page (plugin__search)
   ========================================================================== */

.plugin__search {
  padding: 2.5rem 0 3rem;
  margin-left: auto;
  margin-right: auto;
}

.plugin__search .frm__search {
  margin-bottom: 2rem;
}

.plugin__search .frm__search .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1.25rem;
}

.plugin__search .frm__search p {
  margin: 0;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.plugin__search .frm__search label {
  font-weight: 600;
  color: var(--bs-body-color);
}

.plugin__search .frm__search input[type="search"] {
  width: 100%;
  padding: 0.6rem 0.9rem;
  font-size: 1rem;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plugin__search .frm__search input[type="search"]:focus {
  border-color: rgba(93, 86, 241, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(93, 86, 241, 0.2);
  outline: 0;
}

.plugin__search .frm__search .btn-primary {
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  background: var(--bs-primary);
  border: none;
  border-radius: 0.375rem;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.plugin__search .frm__search .btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.plugin__search .results-count {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--bs-secondary-color);
}

.plugin__search .search-results .result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plugin__search .search-results .result-list > li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.plugin__search .search-results .result-list > li:last-child {
  border-bottom: none;
}

.plugin__search .search-results .result-list h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.plugin__search .search-results .result-list h3 a {
  color: rgb(93, 86, 241);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.plugin__search .search-results .result-list h3 a:hover {
  color: rgb(80, 187, 168);
  text-decoration: underline;
}

.plugin__search .search-results .result-list p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--bs-body-color);
}

.plugin__search .search-results .result-list .highlighted,
.plugin__search .search-results .result-list p em {
  font-style: normal;
  background-color: rgba(93, 86, 241, 0.12);
  padding: 0 0.15em;
  border-radius: 2px;
}

.plugin__search .search-results .result-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
}

.plugin__search .search-results .result-list ul li::before {
  content: "→ ";
  color: rgb(80, 187, 168);
}

.plugin__search .search-results .result-list > li:only-child {
  padding: 1.5rem;
  text-align: center;
  color: var(--bs-secondary-color);
  font-style: italic;
}

.plugin__search .pagenav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.plugin__search .pagination {
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.plugin__search .page-link {
  padding: 0.5rem 0.85rem;
  color: rgb(93, 86, 241);
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.plugin__search .page-link:hover:not(.disabled) {
  background-color: rgba(93, 86, 241, 0.1);
  color: rgb(70, 65, 220);
}

.plugin__search .page-item.disabled .page-link {
  color: var(--bs-secondary-color);
  pointer-events: none;
}

.plugin__search .page-counter span {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
}




.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
}


.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
}

.main-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.main-header__logo img {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
}

.main-header__nav {
  display: flex;
  align-items: center;
}

.main-header__menu-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-header__menu-item {
  margin: 0;
  position: relative;
}

.main-header__menu-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a2a2a;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-header__menu-link:hover {
  color: #6c4fe6;
  text-decoration: none;
}

/* Submenu — jelly appearance (same spirit as GSAP jelly on buttons) */
@keyframes submenu-jelly {
  0% {
    transform: translateY(-10px) scale(0.92, 1.1);
    opacity: 0;
  }
  30% {
    transform: translateY(4px) scale(1.06, 0.94);
    opacity: 1;
  }
  55% {
    transform: translateY(-2px) scale(0.98, 1.02);
  }
  100% {
    transform: translateY(0) scale(1, 1);
    opacity: 1;
  }
}

.main-header__sub-menu {
  list-style: none;
  padding: 10px 4px;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  min-width: 200px;
  width: max-content;
  max-width: min(360px, 95vw);
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.96);
  transform-origin: top left;
  transition:
  opacity 0.25s ease,
  visibility 0.25s ease,
  transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-header__menu-item:hover .main-header__sub-menu {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: none;
  animation: submenu-jelly 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Submenu items — template menu/sub_menu.html (.main-header__sub-menu-item / .main-header__sub-menu-link) */
.main-header__sub-menu-item {
  list-style: none;
  margin: 0;
}

.main-header__sub-menu-item + .main-header__sub-menu-item {
  margin-top: 2px;
}

.main-header__sub-menu-link {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #2a2a2a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
  overflow: visible;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-header__sub-menu-link:hover {
  background-color: rgba(93, 86, 241, 0.08);
  color: #5D56F1;
}

.main-header__sub-menu-item.selected .main-header__sub-menu-link {
  color: #5D56F1;
  background-color: rgba(93, 86, 241, 0.1);
}

/* CTA button */
.main-header__menu-link--cta {
  display: inline-flex;
  align-items: center;
  background-color: #1a1a2e;
  color: #fff;
  padding: 10px 24px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid #1a1a2e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: none;
  transition: background-color 0.25s ease;
}

.main-header__menu-link--cta:hover {
  background-color: var(--bs-body-color);
  border-color: var(--bs-body-color);
  color: #fff;
  text-decoration: none;
}

/* ===== Gooey Search ===== */

.gooey-filter {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.main-header__menu-item--search {
  position: relative;
}

.gooey-search {
  position: relative;
  display: flex;
  align-items: center;
}

.gooey-search__inner {
  position: relative;
  display: flex;
  align-items: center;
  filter: url(#goo-effect);
  @media (max-width: 768px){
    filter: none;
  }
}

/* ---- Search bar ---- */
.gooey-search__bar {
  display: flex;
  align-items: center;
  background-color: #5D56F1;
  border-radius: 9999px;
  height: 52px;
  width: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  margin-right: -18px;
  transition:
  width 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
  padding 0.45s ease,
  margin 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gooey-search__input {
  flex: 1;
  height: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  caret-color: #fff;
  letter-spacing: -0.3px;
  opacity: 0;
  transition: opacity 0.2s ease 0.25s;
}

.gooey-search__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

/* ---- Circle trigger ---- */
.gooey-search__circle {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background-color: #5D56F1;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}



.gooey-search__circle svg {
  width: 18px;
  height: 18px;
  color: #fff;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.gooey-search__search-icon {
  position: absolute;
}

.gooey-search__close-icon {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* ===== Open state ===== */

.gooey-search.is-open .gooey-search__bar {
  width: 200px;
  padding: 0 8px 0 18px;
  pointer-events: auto;
  margin-right: 2px;
}

.gooey-search.is-open .gooey-search__input {
  opacity: 1;
}

.gooey-search.is-open .gooey-search__search-icon {
  opacity: 0;
  transform: scale(0.5);
}

.gooey-search.is-open .gooey-search__close-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ===== Main header — Burger (caché sur desktop) ===== */

.main-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #1a1a2e;
  border-radius: 12px;
  transition: color 0.25s ease, background 0.25s ease;
}

.main-header__burger:hover {
  color: #5D56F1;
  background: rgba(93, 86, 241, 0.06);
}

.main-header__burger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.25s ease;
}

.main-header__burger.is-active .main-header__burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.main-header__burger.is-active .main-header__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.main-header__burger.is-active .main-header__burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Overlay — glassmorphism */
.main-header__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1), visibility 0.4s;
}

.main-header__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Drawer — panneau moderne */
.main-header__drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1002;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: -8px 0 48px rgba(26, 26, 46, 0.08);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.45s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.main-header__drawer.is-open {
  transform: translateX(0);
  box-shadow: -16px 0 64px rgba(26, 26, 46, 0.12);
}

.main-header__drawer-inner {
  padding: 28px 24px 48px;
  min-height: 100%;
}

.main-header__drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.main-header__drawer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.main-header__drawer-logo img {
  display: block;
  width: 110px;
  height: auto;
  object-fit: contain;
}

.main-header__drawer-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(26, 26, 46, 0.05);
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.main-header__drawer-close:hover {
  background: rgba(93, 86, 241, 0.1);
  color: #5D56F1;
  transform: rotate(90deg);
}

.main-header__drawer-close:active {
  transform: rotate(90deg) scale(0.96);
}

.main-header__drawer-close svg {
  width: 20px;
  height: 20px;
}

.main-header__drawer-nav {
  margin-top: 28px;
}

.main-header__drawer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.main-header__drawer-menu-item {
  margin: 0;
  opacity: 0;
  transform: translateX(12px);
}

.main-header__drawer:not(.is-open) .main-header__drawer-menu-item {
  animation: none;
}

.main-header__drawer.is-open .main-header__drawer-menu-item {
  animation: drawer-item-in 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(1) { animation-delay: 0.05s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(2) { animation-delay: 0.08s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(3) { animation-delay: 0.11s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(4) { animation-delay: 0.14s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(5) { animation-delay: 0.17s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(6) { animation-delay: 0.2s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(7) { animation-delay: 0.23s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(8) { animation-delay: 0.26s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(9) { animation-delay: 0.29s; }
.main-header__drawer.is-open .main-header__drawer-menu-item:nth-child(10) { animation-delay: 0.32s; }

@keyframes drawer-item-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.main-header__drawer-menu-item--has-sub {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px;
}

.main-header__drawer-menu-item--has-sub .main-header__drawer-link {
  grid-column: 1;
}

.main-header__drawer-link {
  display: block;
  padding: 16px 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  text-decoration: none;
  border-radius: 12px;
  transition: color 0.25s ease, background 0.25s ease;
}

.main-header__drawer-link:hover {
  color: #5D56F1;
  background: rgba(93, 86, 241, 0.06);
}

.main-header__drawer-menu-item.selected .main-header__drawer-link {
  color: #5D56F1;
  background: rgba(93, 86, 241, 0.08);
}

.main-header__drawer-link--cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  color: #fff;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.2);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.main-header__drawer-link--cta:hover {
  background: #2d2d44;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(26, 26, 46, 0.25);
}

.main-header__drawer-link--cta:active {
  transform: translateY(0);
}

.main-header__drawer-sub-toggle {
  grid-column: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: background 0.25s ease, color 0.25s ease;
  opacity: 0.7;
}

.main-header__drawer-sub-toggle:hover {
  background: rgba(93, 86, 241, 0.08);
  color: #5D56F1;
  opacity: 1;
}

.main-header__drawer-sub-toggle-icon {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.main-header__drawer-menu-item--has-sub.is-open .main-header__drawer-sub-toggle {
  opacity: 1;
  color: #5D56F1;
}

.main-header__drawer-menu-item--has-sub.is-open .main-header__drawer-sub-toggle-icon {
  transform: rotate(-135deg);
}

.main-header__drawer-sub-menu {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0 0 4px 0;
  padding: 0 0 0 20px;
  border-left: 2px solid rgba(93, 86, 241, 0.2);
  margin-left: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.main-header__drawer-menu-item--has-sub.is-open .main-header__drawer-sub-menu {
  max-height: 400px;
}

.main-header__drawer-sub-item {
  margin: 0;
}

.main-header__drawer-sub-link {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #5c5c6e;
  text-decoration: none;
  border-radius: 8px;
  padding-left: 12px;
  margin-left: -12px;
  transition: color 0.25s ease, background 0.25s ease;
}

.main-header__drawer-sub-link:hover {
  color: #5D56F1;
  background: rgba(93, 86, 241, 0.06);
}

.main-header__drawer-sub-item.selected .main-header__drawer-sub-link {
  color: #5D56F1;
  font-weight: 600;
}

.main-header__drawer-menu-item--search {
  padding: 16px 14px 0;
  margin-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Gooey search dans le drawer — formulaire toujours visible */
.main-header__drawer .gooey-search--drawer .gooey-search__inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.main-header__drawer .gooey-search--drawer .gooey-search__circle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.main-header__drawer .gooey-search--drawer .gooey-search__bar {
  height: 48px;
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 0 12px 0 18px;
  margin-right: 2px;
  pointer-events: auto;
  overflow: hidden;
  transition: none;
}

.main-header__drawer .gooey-search--drawer .gooey-search__input {
  opacity: 1;
}

.main-header__drawer .gooey-search--drawer .gooey-search__search-icon {
  opacity: 1;
  transform: none;
}

.main-header__drawer .gooey-search--drawer .gooey-search__close-icon {
  display: none;
}

body.main-header-drawer-open {
  overflow: hidden;
}

/* ===== Main header — Responsive (menu desktop caché, burger + drawer affichés) ===== */

@media (max-width: 900px) {
  .main-header__nav {
    display: none;
  }

  .main-header__burger {
    display: flex;
  }

  .main-header__overlay,
  .main-header__drawer {
    display: block;
  }
}

@media (max-width: 768px) {
  .main-header__inner {
    padding: 14px 20px;
  }

  .main-header__menu-list {
    gap: 20px;
  }

  .main-header__menu-link {
    font-size: 12px;
  }

  .main-header__menu-link--cta {
    padding: 8px 18px;
    font-size: 12px;
  }

  .gooey-search__circle {
    width: 38px;
    height: 38px;
  }

  .gooey-search__bar {
    height: 38px;
  }

  .gooey-search.is-open .gooey-search__bar {
    width: 200px;
  }

  .main-header__drawer {
    max-width: 100%;
    width: 100%;
  }
}

/* ===== Hero — page_index_2 ===== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  padding: 80px 24px;
  background-color: #fff;
  text-align: center;
  overflow: hidden;
}




.logiciels__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.logiciels__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px 40px;
  border: 1.5px solid #e4e4e4;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.logiciels__card:hover {
  border-color: #5D56F1;
  box-shadow: 0 8px 32px rgba(93, 86, 241, 0.08);
  text-decoration: none;
  color: inherit;
}

.logiciels__icon {
  font-size: 28px;
  color: #5D56F1;
  line-height: 1;
}

.logiciels__name {
  font-family: var(--police-title);
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0;
  p{
    margin: 0;
  }
}

.logiciels__desc {
  font-size: 15px;
  line-height: 1.65;
  color: #777;
  margin: 0;
}

.logiciels__link {
  font-size: 14px;
  font-weight: 600;
  color: #5D56F1;
  margin-top: auto;
}


@media (max-width: 768px) {
  .logiciels__list {
    grid-template-columns: 1fr;
  }

  .logiciels__card {
    padding: 32px 24px;
  }
}


/* ==========================================================================
   Bootstrap Tabs (nav-tabs)
   ========================================================================== */

.nav-tabs {
  --nav-tabs-border-color: rgba(var(--bs-primary-rgb), 0.2);
  --nav-tabs-link-color: var(--bs-body-color);
  --nav-tabs-link-hover-color: var(--bs-primary);
  --nav-tabs-link-active-color: var(--bs-primary);
  --nav-tabs-link-active-bg: transparent;
  --nav-tabs-link-active-border-color: var(--bs-primary);

  border-bottom: 2px solid var(--nav-tabs-border-color);
  gap: 0;
}

.nav-tabs .nav-item {
  margin-bottom: -2px;
}

.nav-tabs .nav-link {
  font-family: var(--police);
  font-weight: 600;
  font-size: 1rem;
  color: var(--nav-tabs-link-color);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
  padding: 0.75rem 1.25rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nav-tabs .nav-link:hover {
  color: var(--nav-tabs-link-hover-color);
  border-bottom-color: rgba(var(--bs-primary-rgb), 0.4);
  background: rgba(var(--bs-primary-rgb), 0.06);
}

.nav-tabs .nav-link.active {
  color: var(--nav-tabs-link-active-color);
  background: var(--nav-tabs-link-active-bg);
  border-bottom-color: var(--nav-tabs-link-active-border-color);
}

.nav-tabs .nav-link:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

.tab-content {
  padding-top: 1.5rem;
}

.tab-content .tab-pane {
  padding: 0;
}

.tab-content .tab-pane.bg-body {
  background: transparent !important;
}

.marker{
  position: relative;
  color: var(--bs-primary);
  padding: 0 0.12em;
  box-decoration-break: clone;
  background: linear-gradient(120deg, rgba(93, 86, 241, 0.15) 0%, rgba(19, 233, 195, 0.12) 100%);
  border-radius: 4px;
}

/* ==========================================================================
   Sticky
   ========================================================================== */
.sticky__div {
  position: sticky;
  top: calc(var(--main-header-height) + 40px);
  z-index: 1000;
}

/* Icons */

.svg-primary{
  display: inline-block;
  max-width: 18px;
  max-height: 26px;
  position: relative;
}

.svg-primary svg path, .svg-primary-color svg path{
  fill: var(--bs-primary);
}

.svg-small svg{
  width: 1rem;
  height: 1rem;
}

.svg-middle svg{
  width: 1.5rem;
  height: 1.5rem;
}

.svg-white-hover:hover svg path{
  fill: #fff;
}

.svg-white svg path{
  fill: #fff;
}

.svg-white:hover svg path{
  fill: var(--bs-primary);
}

.svg-all-white svg path, .svg-all-white:hover svg path{
  fill: #fff;
}






.features-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.06);
  color: #4338ca;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


.feature-card {
  position: relative;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #e6ebf4;
  border-radius: inherit;
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.04), rgba(79, 70, 229, 0));
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #4338ca;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: #ffffff;
}

.feature-icon i {
  font-size: 1.6rem;
}

.feature-card h3{
  margin-bottom: 0.625rem;
  color: #0f172a;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 700;
}

.feature-card p{
  margin-bottom: 1rem;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.65;
}

.feature-card ul{
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.feature-card ul li {
  position: relative;
  padding-left: 1.125rem;
  margin-bottom: 0.625rem;
  color: #1e293b;
  font-size: 0.95rem;
  line-height: 1.55;
}

.feature-card ul li:last-child {
  margin-bottom: 0;
}

.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}



@media (max-width: 991.98px) {
  .features-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .features-title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-card::after,
  .feature-icon {
    transition: none;
  }

  .feature-card:hover,
  .feature-card:hover .feature-icon {
    transform: none;
  }
}





/* Responsive video (HTML5, iframes via fitVids, cookie optin) */
main .video,
.video {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
main .video .video-player,
.video .video-player {
  width: 100%;
  max-width: 100%;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}
main .video .video-player video,
.video .video-player video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
main .video .fluid-width-video-wrapper,
.video .fluid-width-video-wrapper {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
main .video .cookieoptin-notice:not(.cookieoptin-hide),
.video .cookieoptin-notice:not(.cookieoptin-hide) {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  border-radius: 20px;
}
main .row > [class*="col-"]:has(.video),
.row > [class*="col-"]:has(.video) {
  min-width: 0;
}
