/**
 * Seção Por que SMS ainda funciona – métricas estilo enterprise
 * Layout limpo: números em destaque, títulos e descrições objetivas.
 * sms(novo)/css/sms-section-why.css
 */

.sms-why-section {
  padding: 80px 0 100px;
  background: #ffffff;
}

[data-theme="dark"] .sms-why-section {
  background: #000000;
}

.sms-why-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.sms-why-lead {
  font-size: 0.8125rem;
  font-weight: 600;
  background: linear-gradient(135deg, #0052d4 0%, #0077ff 35%, #00b3ff 70%, #66e0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 14px 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sms-why-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
}

.sms-why-title-gradient {
  background: linear-gradient(135deg, #0052d4 0%, #0077ff 35%, #00b3ff 70%, #66e0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .sms-why-title {
  color: #f5f5f7;
}

/* Grid de métricas – estilo enterprise */
.sms-why-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 82, 212, 0.12);
  box-shadow: 0 4px 24px rgba(0, 82, 212, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

[data-theme="dark"] .sms-why-metrics {
  background: #161b22;
  border-color: rgba(96, 165, 250, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.sms-metric-item {
  padding: 40px 30px 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-right: 1px solid rgba(0, 82, 212, 0.08);
  transition: background 0.2s ease;
}

.sms-metric-item:last-child {
  border-right: none;
}

.sms-metric-item:hover {
  background: rgba(0, 119, 255, 0.03);
}

[data-theme="dark"] .sms-metric-item {
  border-right-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .sms-metric-item:hover {
  background: rgba(96, 165, 250, 0.06);
}

.sms-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: #0077ff;
}

.sms-metric-icon svg {
  width: 24px;
  height: 24px;
}

[data-theme="dark"] .sms-metric-icon {
  color: #60a5fa;
}

.sms-metric-value {
  font-size: 2.875rem;
  font-weight: 800;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0052d4 0%, #0077ff 35%, #00b3ff 70%, #66e0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sms-metric-value--word {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #0052d4 0%, #0077ff 35%, #00b3ff 70%, #66e0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .sms-metric-value,
[data-theme="dark"] .sms-metric-value--word {
  background: linear-gradient(135deg, #0052d4 0%, #0077ff 35%, #00b3ff 70%, #66e0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sms-metric-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  line-height: 1.3;
}

[data-theme="dark"] .sms-metric-title {
  color: #f5f5f7;
}

.sms-metric-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}

[data-theme="dark"] .sms-metric-desc {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 992px) {
  .sms-why-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .sms-metric-item {
    padding: 28px 24px 30px;
  }

  .sms-metric-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 82, 212, 0.06);
  }

  .sms-metric-item:nth-child(1),
  .sms-metric-item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 82, 212, 0.06);
  }

  [data-theme="dark"] .sms-metric-item:nth-child(odd) {
    border-right-color: rgba(255, 255, 255, 0.06);
  }

  [data-theme="dark"] .sms-metric-item:nth-child(1),
  [data-theme="dark"] .sms-metric-item:nth-child(2) {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .sms-why-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 576px) {
  .sms-why-section {
    padding: 60px 0 80px;
  }

  .sms-why-header {
    margin-bottom: 40px;
  }

  .sms-why-lead {
    font-size: 0.8125rem;
  }

  .sms-why-title {
    font-size: 1.75rem;
  }

  .sms-why-metrics {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .sms-metric-item {
    padding: 28px 22px 26px;
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 82, 212, 0.06) !important;
  }

  .sms-metric-item:last-child {
    border-bottom: none !important;
  }

  [data-theme="dark"] .sms-metric-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  [data-theme="dark"] .sms-metric-item:last-child {
    border-bottom: none !important;
  }

  .sms-metric-value {
    font-size: 2.5rem;
  }

  .sms-metric-value--word {
    font-size: 1.25rem;
  }

  .sms-metric-title {
    font-size: 1.0625rem;
  }

  .sms-metric-desc {
    font-size: 0.875rem;
  }
}