/* ════════════════════════════════════════════════
   SIM Central de Atendimento – [sim_central]
   ════════════════════════════════════════════════ */

:root {
  --sc-bg:     #22587a;
  --sc-txt:    #ffffff;
  --sc-circle: #2e6d96;
  --sc-w:      100%;
  --sc-radius: 999px;
  --sc-trans:  .25s ease;
}

/* ── Wrapper ─────────────────────────────────── */
.sim-central-wrap {
  width: var(--sc-w);
  font-family: inherit;
}

/* ── Botão ───────────────────────────────────── */
.sim-central-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: var(--sc-w);
  border-radius: var(--sc-radius);
  background: var(--sc-bg);
  text-decoration: none;
  cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,.20);
  transition: transform var(--sc-trans), box-shadow var(--sc-trans);
  overflow: visible;
  position: relative;
}

a.sim-central-btn {
  cursor: pointer;
}

a.sim-central-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

/* ── Avatar ──────────────────────────────────── */
.sim-central-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sc-circle);
  border: 3px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Sobrepõe levemente o corpo */
  margin-right: -6px;
  z-index: 2;
  box-shadow: 2px 0 12px rgba(0,0,0,.15);
  overflow: hidden;
}

.sim-central-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.sim-central-default-icon {
  width: 52px;
  height: 52px;
}

/* Bolinha indicador online */
.sim-central-online {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 11px;
  height: 11px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid var(--sc-bg);
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
  animation: simCentralPulse 2s ease infinite;
}

@keyframes simCentralPulse {
  0%   { box-shadow: 0 0 0 0   rgba(74,222,128,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0);  }
  100% { box-shadow: 0 0 0 0   rgba(74,222,128,0);  }
}

/* ── Texto ───────────────────────────────────── */
.sim-central-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 10px 12px 16px;
  min-width: 0;
}

.sim-central-titulo {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sc-txt);
  opacity: .82;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-central-telefone {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--sc-txt);
  line-height: 1.15;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.sim-central-subtitulo {
  font-size: .68rem;
  color: var(--sc-txt);
  opacity: .65;
  line-height: 1.3;
}

/* ── Ícone telefone ──────────────────────────── */
.sim-central-phone-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
  color: var(--sc-txt);
  transition: background var(--sc-trans);
}

.sim-central-phone-icon svg {
  width: 18px;
  height: 18px;
}

a.sim-central-btn:hover .sim-central-phone-icon {
  background: rgba(255,255,255,.28);
}

/* ── Responsivo ──────────────────────────────── */
@media (max-width: 400px) {
  .sim-central-avatar    { width: 58px; height: 58px; }
  .sim-central-telefone  { font-size: 1.1rem; }
  .sim-central-phone-icon{ display: none; }
}
