/* ============================================================
   Competi – enhancements.css
   Adicionar ao final de site.css (ou importar separado)
   ============================================================ */

/* ──────────────────────────────────────────
   CARROSSEL DE DEPOIMENTOS
────────────────────────────────────────── */
.testimonials-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F6FF 100%);
  overflow: hidden;
}

.tcarousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.tcarousel-track {
  display: flex;
  transition: transform 0.52s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.tcard {
  min-width: 100%;
  padding: 48px 52px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tcard-quote {
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.45;
  letter-spacing: -0.02em;
  quotes: none;
  position: relative;
  padding-left: 28px;
}

.tcard-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--brand-orange-500);
  font-family: Georgia, serif;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tcard-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-600), var(--brand-blue-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(10, 89, 205, 0.22);
}

.tcard-name {
  display: block;
  color: var(--graphite);
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.tcard-role {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.tcarousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 52px 32px;
}

.tcarousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand-blue-600);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: var(--shadow-card);
}

.tcarousel-btn:hover {
  background: var(--brand-blue-600);
  color: var(--white);
  transform: scale(1.08);
}

.tcarousel-dots {
  display: flex;
  gap: 8px;
}

.tdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.22s, transform 0.22s, width 0.22s;
}

.tdot.active {
  background: var(--brand-orange-500);
  width: 28px;
  border-radius: 999px;
}

@media (max-width: 780px) {
  .tcard {
    padding: 32px 22px 24px;
  }

  .tcard-quote {
    padding-left: 0;
  }

  .tcard-quote::before {
    display: none;
  }

  .tcarousel-controls {
    padding-bottom: 22px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ──────────────────────────────────────────
   SIMULADOR DE PLANOS
────────────────────────────────────────── */
.simulator {
  margin-top: 40px;
  padding: 36px 40px;
  background: linear-gradient(145deg, #F2F7FF, #FBFCFF);
  border: 1px solid rgba(10, 89, 205, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.simulator-head {
  margin-bottom: 28px;
}

.simulator-title {
  font-size: 1.5rem;
  color: var(--graphite);
  margin-bottom: 6px;
}

.simulator-sub {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}

.sim-controls {
  margin-bottom: 22px;
}

.sim-label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--graphite);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sim-range-wrap {
  position: relative;
}

.sim-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--brand-blue-600) 0%, var(--brand-blue-600) var(--pct, 7%), var(--border) var(--pct, 7%));
  outline: none;
  cursor: pointer;
  transition: background 0.1s;
}

.sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand-blue-600);
  box-shadow: 0 4px 12px rgba(10, 89, 205, 0.28);
  cursor: grab;
  transition: transform 0.18s;
}

.sim-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.18);
}

.sim-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand-blue-600);
  box-shadow: 0 4px 12px rgba(10, 89, 205, 0.28);
  cursor: grab;
}

.sim-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.sim-value-display {
  margin-top: 12px;
  font-size: 1.08rem;
  color: var(--brand-blue-600);
  font-weight: 800;
}

.sim-valor-wrap {
  margin-bottom: 28px;
}

.sim-input-valor {
  max-width: 180px;
  font-weight: 700;
  font-size: 1.05rem;
}

.sim-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.sim-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
}

.sim-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.sim-card--rec {
  border-color: var(--brand-orange-500);
  box-shadow: 0 16px 40px rgba(249, 112, 5, 0.14);
}

.sim-card--over {
  opacity: 0.52;
  filter: grayscale(0.3);
}

.sim-badge-rec {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(249, 112, 5, 0.12);
  color: var(--brand-orange-500);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.sim-badge-over {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.08);
  color: #DC2626;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.sim-card-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--graphite);
  margin-bottom: 8px;
}

.sim-card-price {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--brand-blue-600);
  line-height: 1;
  margin-bottom: 16px;
}

.sim-card-price span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.sim-card-detail {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.sim-card-detail li {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
}

.sim-card-detail li strong {
  color: var(--text);
  font-weight: 700;
}

.sim-total-row {
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  margin-top: 4px;
}

.sim-total-row span,
.sim-total-row strong {
  color: var(--graphite) !important;
  font-weight: 900 !important;
  font-size: 0.9rem !important;
}

.sim-disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

@media (max-width: 780px) {
  .simulator {
    padding: 24px 18px;
  }

  .sim-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) and (min-width: 781px) {
  .sim-results {
    grid-template-columns: 1fr 1fr;
  }

  .sim-results .sim-card:last-child {
    grid-column: span 2;
    max-width: 60%;
    margin: 0 auto;
    width: 100%;
  }
}

/* ──────────────────────────────────────────
   EFEITO HOVER DINÂMICO NOS CARDS DE FEATURE
────────────────────────────────────────── */
.feature-card {
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), box-shadow 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 24px 52px rgba(10, 89, 205, 0.13);
}

.pricing-card {
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), box-shadow 0.28s ease;
}

.pricing-card:not(.featured):hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(10, 89, 205, 0.11);
}

.persona-card {
  transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), box-shadow 0.28s ease;
}

.persona-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(10, 89, 205, 0.11);
}

/* ──────────────────────────────────────────
   HERO – PULSE NA BOLINHA DO EYEBROW
────────────────────────────────────────── */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(249, 112, 5, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(249, 112, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 112, 5, 0); }
}

.eyebrow::before {
  animation: pulse-ring 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* ──────────────────────────────────────────
   BTN – micro-interação de clique
────────────────────────────────────────── */
.btn:active {
  transform: scale(0.97);
}

/* ──────────────────────────────────────────
   RANGE SLIDER – atualiza gradiente via JS
────────────────────────────────────────── */
/* (usado inline no JS via --pct) */
