/* Manual review carousel: homepage only, using existing Logada tokens. */
body.home-page .home-testimonials {
  padding: 80px clamp(20px, 5vw, 80px);
}
body.home-page .home-testimonials[hidden] {
  display: none;
}
body.home-page .ht-head {
  max-width: 1000px;
}
body.home-page .ht-carousel {
  margin-top: 32px;
  max-width: 900px;
  touch-action: pan-y;
}
body.home-page .ht-card {
  margin: 0;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
body.home-page .ht-quote {
  margin: 0;
}
body.home-page .ht-quote p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--white);
}
body.home-page .ht-attribution {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
body.home-page .ht-source {
  color: var(--muted);
  font-size: 0.85rem;
}
body.home-page .ht-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
body.home-page .ht-controls > .btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
  flex-shrink: 0;
}
body.home-page .ht-controls > .btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  box-shadow: none;
}
body.home-page .ht-position {
  display: flex;
  align-items: center;
  flex-direction: column;
}
body.home-page .ht-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
body.home-page .ht-dot {
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}
body.home-page .ht-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}
body.home-page .ht-dot[aria-current="true"]::before {
  width: 12px;
  height: 12px;
  background: var(--logada2);
}
body.home-page .ht-count {
  color: var(--muted);
  font-size: 0.85rem;
}
body.home-page .ht-carousel:focus-visible,
body.home-page .ht-carousel button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  body.home-page .home-testimonials {
    padding: 56px 20px;
  }
  body.home-page .ht-head .section-title {
    font-size: 2rem;
    line-height: 1.08;
  }
  body.home-page .ht-card {
    padding: 22px 20px;
    gap: 18px;
  }
  body.home-page .ht-quote p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
}
@media (min-width: 1025px) {
  body.home-page .ht-carousel {
    max-width: none !important;
  }
  body.home-page .ht-review {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  body.home-page .ht-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 36px;
  }
  body.home-page .ht-quote p {
    font-size: 1.05rem;
    line-height: 1.65;
  }
  body.home-page .ht-attribution {
    border-top: 1px solid var(--border);
    border-left: none;
    padding: 18px 0 0;
  }
  body.home-page .ht-controls {
    justify-content: center;
    gap: 24px;
  }
}
/* No slide transitions or autoplay, including under reduced motion. */
@media (max-width: 760px) {
  body.home-page .ht-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 16px;
  }

  /* Masque le bouton pause sur mobile */
  body.home-page .ht-controls > :nth-child(3) {
    display: none !important;
  }

  body.home-page .ht-position {
    flex: 0 1 auto;
    min-width: 0;
  }

  body.home-page .ht-dots {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
  }

  body.home-page .ht-dot {
    flex: 0 0 22px;
    width: 22px;
    height: 32px;
  }

  body.home-page .ht-dot::before {
    width: 6px;
    height: 6px;
  }

  body.home-page .ht-dot[aria-current="true"]::before {
    width: 9px;
    height: 9px;
  }

  body.home-page .ht-count {
    text-align: center;
  }
}
body.home-page .ht-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.home-page .ht-client-logo {
  box-sizing: content-box;
  flex: 0 0 auto;
  width: auto;
  height: 36px;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

body.home-page .ht-author-with-photo {
  gap: 14px;
}

body.home-page .ht-author-photo {
  box-sizing: border-box;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 50%;
}

body.home-page .ht-author-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

body.home-page .ht-author-name {
  overflow-wrap: anywhere;
}

body.home-page .ht-author-copy .ht-source {
  margin: 0;
}

