.lm-review {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
  min-height: 100vh;
  min-height: 100dvh;
}

.lm-review__container {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.lm-review__container--done {
  animation: reviewFadeIn .5s ease;
}

.lm-review__check {
  margin-bottom: 1.5rem;
}

.lm-review__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: .5rem;
}

.lm-review__subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.lm-review__error {
  background: rgba(220, 53, 69, .1);
  border: 1px solid rgba(220, 53, 69, .3);
  color: #dc3545;
  padding: .75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: .9rem;
}

.lm-review__stars {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.lm-review__star {
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  transition: transform .2s ease;
}

.lm-review__star svg {
  fill: var(--border);
  stroke: var(--border);
  transition: fill .2s ease, stroke .2s ease;
}

.lm-review__star--active svg,
.lm-review__star--hover svg {
  fill: var(--gold);
  stroke: var(--gold);
}

.lm-review__star:hover {
  transform: scale(1.2);
}

.lm-review__textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--input-bg, var(--bg2));
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: .95rem;
  resize: vertical;
  min-height: 100px;
  transition: border-color .2s ease;
}

.lm-review__textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.lm-review__textarea::placeholder {
  color: var(--muted);
}

.lm-review__submit {
  margin-top: 1.5rem;
}

.lm-review__back {
  margin-top: 2rem;
  display: inline-flex;
}

@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ─────────────────────────────────────────────────────────────────────────────
   Témoignages — Homepage (premium carousel)
   ───────────────────────────────────────────────────────────────────────────── */

.lm-testi {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.lm-testi__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.lm-testi__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
  margin: .5rem 0;
}

.lm-testi__title em {
  font-style: italic;
  color: var(--gold);
}

.lm-testi__subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

.lm-testi__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.lm-testi__card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.lm-testi__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

html[data-theme="dark"] .lm-testi__card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.lm-testi__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.lm-testi__quote {
  opacity: .6;
}

.lm-testi__stars {
  display: flex;
  gap: 2px;
}

.lm-testi__stars svg {
  fill: var(--border);
  stroke: none;
  transition: fill .2s ease;
}

.lm-testi__star--on {
  fill: var(--gold) !important;
}

.lm-testi__text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
  margin: 0;
}

.lm-testi__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.lm-testi__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.lm-testi__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-l, #d4b87a));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
}

.lm-testi__meta {
  display: flex;
  flex-direction: column;
}

.lm-testi__name {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: .9rem;
  font-style: normal;
  color: var(--text);
}

.lm-testi__massage {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 1px;
}

.lm-testi__badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(66, 133, 244, .08);
  border: 1px solid rgba(66, 133, 244, .2);
  font-size: .7rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: #4285F4;
}

html[data-theme="dark"] .lm-testi__badge {
  background: rgba(66, 133, 244, .12);
  border-color: rgba(66, 133, 244, .3);
}

/* ── Navigation carousel ── */

.lm-testi__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.lm-testi__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  color: var(--text);
}

.lm-testi__arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg);
}

.lm-testi__dots {
  display: flex;
  gap: 8px;
}

.lm-testi__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all .3s ease;
  cursor: pointer;
}

.lm-testi__dot--active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .lm-testi__track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .lm-testi {
    padding: 4rem 1rem;
  }
  .lm-testi__track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .lm-testi__card {
    padding: 1.5rem;
  }
}
