/**
 * Homepage SEO (Lighthouse) — tap targets + legible font sizes.
 * Scoped to .page-home. Does NOT change robots.txt / crawl policy.
 * Target: ≥48×48px finger targets, ≥12px body text on mobile.
 */

/* --- Font size floor (SEO font-size audit) --- */
.page-home .footer-bottom-bar__copy,
.page-home .footer-bottom-bar__links a,
.page-home .footer-bottom-bar .language-dropdown .language-trigger,
.page-home .footer-bottom-bar .language-dropdown .language-code,
.page-home .footer-bottom-bar .language-dropdown .language-menu li a,
.page-home .menu-footer-line--2024 ul.grey li a,
.page-home .menu-footer-line--2024 .footer-brand-desc,
.page-home .tools-line li a,
.page-home .language-dropdown .language-code {
  font-size: 15px;
}

/* Testimonial dots are <button> — reset UA styles to match prior span dots */
.page-home .testimonials-section .pagination-dots .js-home-testimonial-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: #363f5a;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.3s ease;
}

.page-home .testimonials-section .pagination-dots .js-home-testimonial-dot.active {
  background-color: #26a5aa;
  transform: scale(1.2);
}

.page-home .testimonials-section .pagination-dots .js-home-testimonial-dot:hover {
  background-color: #20b2aa;
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  /* --- Header / mobile chrome --- */
  .page-home .mobile-hamburger-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 15px 12px !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
  }

  .page-home .mobile-menu-close-btn {
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
  }

  .page-home .language-dropdown .language-trigger {
    min-height: 48px;
    min-width: 48px;
    padding: 12px 8px;
    box-sizing: border-box;
  }

  .page-home #btn-inscription-header-new,
  .page-home .mobile-menu-signin-btn {
    min-height: 48px;
  }

  /* --- Hero carousel dots: keep 12px visual, 48px hit area --- */
  .page-home .home-hero-carousel-slot .hero-carousel-dots {
    gap: 8px;
    pointer-events: none;
  }

  .page-home .home-hero-carousel-slot .hero-carousel-dot {
    position: relative;
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #e1e2e6;
    pointer-events: auto;
  }

  .page-home .home-hero-carousel-slot .hero-carousel-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
  }

  .page-home .home-hero-carousel-slot .hero-carousel-dot.active {
    background-color: #26a5aa;
  }

  /* --- Testimonial pagination --- */
  .page-home .pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .page-home .pagination-dots .js-home-testimonial-dot {
    position: relative;
    transform: none;
  }

  .page-home .pagination-dots .js-home-testimonial-dot.active,
  .page-home .pagination-dots .js-home-testimonial-dot:hover {
    transform: none;
  }

  .page-home .pagination-dots .js-home-testimonial-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
  }

  /* --- Industry finder / product / footer links --- */
  .page-home .home-industry-finder__list a,
  .page-home .home-industry-finder__see-all,
  .page-home .home-product-card__link,
  .page-home .home-product-card__media-link,
  .page-home .menu-footer-line--2024 ul.grey li a,
  .page-home .footer-bottom-bar__links a,
  .page-home .footer-bottom-bar .language-dropdown .language-trigger,
  .page-home .footer-bottom-bar .language-dropdown .language-menu li a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
  }

  .page-home .home-industry-finder__list li + li {
    margin-top: 8px;
  }

  .page-home .menu-footer-line--2024 ul.grey li {
    height: auto;
    min-height: 48px;
  }

  .page-home .menu-footer-line--2024 ul.grey li a {
    padding: 12px 0;
  }

  .page-home .footer-social-link {
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
  }

  .page-home .footer-bottom-bar__links {
    gap: 16px;
  }

  .page-home .footer-bottom-bar__links a {
    padding: 12px 4px;
  }

  .page-home .home-product-card__link {
    padding: 12px 0;
  }
}
