/* ===============================
   CE TESTIMONIALS – MOBILE (PREMIUM)
================================ */

.ce-testimonials-mobile {
  position: relative;
  isolation: isolate;
  padding: 90px 0 110px;
}

.ce-testimonials-mobile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at top,
      rgba(0,191,98,0.06),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      var(--bg-main),
      var(--bg-section)
    );
}

/* ESCONDE MOBILE NO DESKTOP */
@media (min-width: 769px) {
  .ce-testimonials-mobile {
    display: none !important;
  }
}

.ce-tm-container {
  padding: 0 20px;
}

/* =========================
   HEADER
========================= */

.ce-tm-header {
  text-align: center;
  margin-bottom: 52px;
}

.ce-tm-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.ce-tm-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(135deg, #00BF62, #7CFFB6);
  border-radius: 2px;
}

.ce-tm-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================
   CAROUSEL
========================= */

.ce-tm-carousel {
  position: relative;
  overflow: hidden;
}

.ce-tm-carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

/* =========================
   CARD
========================= */

.ce-tm-card {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.ce-tm-card-content {
  max-width: 330px;
  width: 100%;
  background: rgba(17, 24, 39, 0.88);
  border-radius: 18px;
  padding: 28px 24px 30px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 20px 45px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

/* Overlay premium igual desktop */
.ce-tm-card-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,191,98,0.12),
    transparent 45%
  );
  opacity: 0.9;
  pointer-events: none;
}

/* =========================
   CARD HEADER
========================= */

.ce-tm-card-header {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ce-tm-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #00BF62;
  object-fit: cover;
}

.ce-tm-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.ce-tm-card-header span {
  font-size: 0.85rem;
  color: #00BF62;
  font-weight: 500;
  transition: color 0.25s ease;
}

/* =========================
   TEXT
========================= */

.ce-tm-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  padding-left: 14px;
  border-left: 2px solid rgba(0,191,98,0.35);
  position: relative;
  z-index: 1;
}

/* =========================
   NAV
========================= */

.ce-tm-nav {
  position: absolute;
  top: 50%;
  inset: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.ce-tm-nav button {
  pointer-events: all;
  background: rgba(17, 24, 39, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-main);
}

/* =========================
   DOTS
========================= */

.ce-tm-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.ce-tm-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.3s ease;
}

.ce-tm-dots span.active {
  width: 24px;
  background: linear-gradient(135deg, #00BF62, #7CFFB6);
}
/* =========================
   NAV (BOTTOM – PREMIUM)
========================= */

.ce-tm-nav {
  position: relative;
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0 42px;
}

.ce-tm-nav button {
  pointer-events: all;
  background: rgba(17, 24, 39, 0.9);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-main);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* feedback visual (mobile friendly) */
.ce-tm-nav button:active {
  transform: scale(0.94);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
