.hero-slide {
  position: relative;
  height: clamp(200px, 26vw, 300px);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 60px);
}

.hero-left h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.hero-description {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

@media (max-width: 768px) {
  .hero-slide {
    height: 260px;
  }

  .hero-background img {
    object-position: center top;
  }

  .hero-overlay {
    background: rgba(5, 18, 44, 0.55);
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-badge {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-slide {
    height: 220px;
  }

  .hero-left h1 {
    font-size: 1.6rem;
  }

  .hero-description {
    display: none;
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;

  color: #fff;
  text-decoration: none;
  text-align: center;

  animation: heroBounce 2s infinite;
}

.hero-scroll-text {
  display: block;

  font-size: 1rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 2px;

  margin-bottom: 8px;
}

.hero-scroll-arrow {
  display: block;

  font-size: 3.5rem;
  line-height: 1;

  text-shadow: 0 4px 12px rgba(0,0,0,.35);
}

@keyframes heroBounce {

  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}


/* APB : slider mobile sans recadrage */
@media (max-width: 768px) {
  .homepage-politique .homepage-hero,
  .homepage-politique .apb-swiper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .homepage-politique .apb-swiper {
    padding-bottom: 64px;
    background: #fff;
  }

  .homepage-politique .apb-swiper .hero-slide {
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #fff;
  }

  .homepage-politique .apb-swiper .hero-background {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .homepage-politique .apb-swiper .hero-background img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .homepage-politique .apb-swiper .hero-overlay {
    position: relative;
    inset: auto;
    height: auto;
    background: #f3f6fa;
    color: #162943;
  }

  .homepage-politique .apb-swiper .hero-content {
    height: auto;
    padding: 18px 20px;
  }

  .homepage-politique .apb-swiper .hero-left {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .homepage-politique .apb-swiper .hero-badge {
    display: inline-block;
    color: #8b0d30;
    font-size: .75rem;
  }

  .homepage-politique .apb-swiper .hero-left h1 {
    margin: 8px 0;
    font-size: 1.4rem;
    line-height: 1.3;
    color: #162943;
  }

  .homepage-politique .apb-swiper .hero-description {
    display: block;
    font-size: .95rem;
    line-height: 1.5;
    color: #42536b;
  }

  .homepage-politique .apb-swiper .hero-scroll-indicator {
    display: none;
  }

  .homepage-politique .apb-swiper .swiper-button-prev,
  .homepage-politique .apb-swiper .swiper-button-next {
    top: auto;
    bottom: 10px;
    margin-top: 0;
    width: 44px;
    height: 44px;
    border: 1px solid #dce4ee;
    border-radius: 50%;
    background: #fff;
    color: #162943;
  }

  .homepage-politique .apb-swiper .swiper-button-prev {
    left: 16px;
  }

  .homepage-politique .apb-swiper .swiper-button-next {
    right: 16px;
  }

  .homepage-politique .apb-swiper .swiper-button-prev::after,
  .homepage-politique .apb-swiper .swiper-button-next::after {
    font-size: 18px;
  }

  .homepage-politique .apb-swiper .swiper-pagination {
    bottom: 22px;
    left: 72px;
    width: calc(100% - 144px);
  }
}
