/* ================================================================
   HIGYLANG — higylang-pages.css
   ================================================================ */

   25. ACCESSIBILITÉ & RESPONSIVE
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .hl-hero__scroll, #preloader::after { animation: none; }
  .hl-btn--primary:hover, .hl-card-svc:hover,
  .hl-card-blog:hover, .hl-scroll-top--visible:hover { transform: none; }
}

@media (max-width: 767.98px) {
  :root { --hl-sec-py: 3rem; --hl-hdr-h: 62px; }
  .hl-about__badge { right: 0; bottom: -0.85rem; }
  .hl-hero__actions { flex-direction: column; align-items: center; }
  .hl-hero__actions .hl-btn { width: 100%; max-width: 280px; }
  .hl-footer__bottom { flex-direction: column; text-align: center; gap: 0.2rem; }
}

/* ================================================================
   CORRECTIF AOS — Sécurité OnePage longue page
   Empêche les éléments de rester bloqués à opacity:0 si
   l'IntersectionObserver rate sa détection (Swiper, images
   qui modifient la hauteur de page après l'init AOS).
   ================================================================ */
[data-aos] {
  /* AOS override : on laisse AOS gérer, mais on s'assure
     que la transition reste visible même sans JS */
  transition-duration: 480ms;
}

/* Fallback si AOS ne s'initialise pas du tout */
html:not(.aos-initialized) [data-aos] {
  opacity: 1;
  transform: none;
}

/* ================================================================
   CTA CONTACT — Bas d'article (remplace les commentaires)
   ================================================================ */
.hl-article-cta {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: var(--hl-r-lg);
  background-color: var(--hl-accent-lt);
  border: 1.5px solid var(--hl-border);
}

.hl-article-cta__ico {
  font-size: 2rem;
  color: var(--hl-accent);
  opacity: 0.7;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
}

.hl-article-cta__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--hl-heading);
  margin-bottom: 0.35rem;
}

.hl-article-cta__text {
  font-size: 0.9rem;
  color: var(--hl-text-muted);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

@media (max-width: 575.98px) {
  .hl-article-cta { flex-direction: column; gap: 0.85rem; }
}

