/* ============================================
   HERO SPLIT SECTION
   ============================================ */

.hero-content h1 {
  text-align: left;
  margin-bottom: 50px;
}

.hero-content h2 {
  font-weight: normal;
  font-size: 2rem;
  text-align: left;
  margin-bottom: 40px;
}

.hero-cta {
  margin-bottom: 80px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero-dashboard-frame {
  width: min(1080px, 100%);
  aspect-ratio: 620/459;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--white-10);
  background: var(--white-04);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.hero-dashboard-frame video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.hero-social-proof:hover {
  opacity: 1;
}

.social-proof-text {
  color: var(--text-muted);
  text-transform: uppercase;
}

.social-proof-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}

.social-proof-logos img {
  height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 200ms ease;
}

.social-proof-logos img:hover {
  opacity: 0.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 980px) {
  .hero-dashboard-frame {
    width: min(640px, 100%);
  }
}

@media (max-width: 1024px) {
  .expertise-page .hero-split {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: auto;
    padding: 116px 20px 40px;
  }

  .expertise-page .hero-split .hero-content {
    display: contents;
  }

  .expertise-page .hero-split .hero-content .main-title {
    order: 1;
    margin-bottom: 10px;
    text-align: center;
  }

  .expertise-page .hero-split .hero-content .subtitle {
    order: 2;
    margin-bottom: 0;
    text-align: center;
    font-size: 1.35rem;
    line-height: 1.35;
  }

  .expertise-page .hero-split .hero-image {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .expertise-page .hero-split .hero-content .hero-cta {
    order: 4;
    margin: 18px 0 20px;
  }

  .expertise-page .hero-split .hero-content .hero-social-proof {
    order: 5;
  }

  .expertise-page .hero-split .hero-discover {
    order: 6;
    padding-top: 12px;
  }

  .expertise-page .hero-split .hero-content .hero-social-proof .social-proof-text {
    margin: 0 0 8px;
  }
}

.expertise-page .hero-social-proof .social-proof-logos img.mobile-marquee-duplicate {
  display: none;
}

@media (max-width: 640px) {
  .expertise-page .hero-split .hero-discover {
    display: none;
  }

  .expertise-page .hero-split {
    padding: 104px 16px 30px;
    gap: 14px;
  }

  .expertise-page .hero-split .hero-content .main-title {
    margin-bottom: 8px;
  }

  .expertise-page .hero-split .hero-content .subtitle {
    font-size: 1.08rem;
    line-height: 1.4;
  }

  .expertise-page .hero-split .hero-content .hero-cta {
    margin: 20px 0 22px;
  }

  .expertise-page .hero-split .hero-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .expertise-page .hero-split .hero-image .hero-dashboard-frame,
  .expertise-page .hero-split .hero-image .hero-pdf-frame,
  .expertise-page .hero-split .hero-image .tracking-notifications {
    width: 100%;
    max-width: 100%;
  }

  .expertise-page .hero-split .hero-image .hero-dashboard-frame {
    aspect-ratio: 1.15 / 1;
    max-height: 250px;
  }

  .expertise-page .hero-split .hero-image .hero-pdf-frame img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
  }

  .expertise-page .hero-split .hero-image .tracking-notifications {
    max-height: 250px;
    padding: 14px;
  }

  .expertise-page .hero-split .hero-image .tracking-notifs-feed {
    height: 180px;
  }

  .expertise-page .hero-split .hero-content .hero-social-proof {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .expertise-page .hero-split .hero-content .hero-social-proof .social-proof-text {
    text-align: center;
    margin: 0 0 10px;
  }

  .expertise-page .hero-social-proof .social-proof-logos {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    width: max-content;
    max-width: none;
    align-items: center;
    justify-content: flex-start;
    animation: scrollCarouselHeroExpertise 30s linear infinite;
    will-change: transform;
  }

  .expertise-page .hero-social-proof .social-proof-logos img {
    flex-shrink: 0;
  }

  .expertise-page .hero-social-proof .social-proof-logos img.mobile-marquee-duplicate {
    display: block;
  }
}

@keyframes scrollCarouselHeroExpertise {
  0% {
    transform: translateX(0);
  }
  99.9% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}


@media (max-width: 520px) {
  .cta-bleu-small,
  .cta-ghost-small {
    width: 100%;
    justify-content: center;
  }

  .discover-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
