/* =====================
   1. Global & Typography
   ===================== */
body {
  background: linear-gradient(to bottom right, #f5f3ff, #ebf8ff, #f0fdfa);
  font-family: "GeistSans", sans-serif;
}

/* =====================
   2. Hero Section
   ===================== */
.hero {
  padding: 15px 20px 0;
  text-align: center;
}

.hero-title {
  background: linear-gradient(to right, #9333ea, #3b82f6, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================
   3. Card Container
   ===================== */
.psico-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.psico-card:hover {
  transform: translateY(-3px);
}

/* =====================
   4. Card Header
   ===================== */
.psico-header {
  height: 240px;
  width: 100%;
  overflow: hidden;
}

.psico-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile / Desktop toggles */
.desktop-only { display: block; }
.mobile-only  { display: none; }

/* =====================
   5. Mobile Header Variant
   ===================== */
@media screen and (max-width: 576px) {
  .desktop-only { display: none; }
  .mobile-only {
    display: flex;
    align-items: center;
    padding: 16px 16px 0 16px;
  }

  .psico-header-mobile img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 12px;
  }

  .psico-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .psico-name {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .psico-crp {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
  }
}

/* =====================
   6. Card Body
   ===================== */
.psico-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1; /* ocupa todo o espaço disponível */
}

/* =====================
   7. Name & CRP
   ===================== */
.psico-name {
  font-weight: 600;
  font-size: 18px;
}

.psico-crp {
  font-weight: 500;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Mobile adjustments */
@media screen and (max-width: 500px) {
  .psico-name {
    font-size: 22px;
  }
  .psico-crp {
    font-size: 1rem;
  }
  .psico-header {
    height: 280px;
  }
  .psico-info {
    font-size: 1rem;
  }
}

/* =====================
   8. Info Section (Abordagem, Público, Idiomas)
   ===================== */
.psico-info {
  font-size: 0.9rem;
  margin-top: 10px;
  color: #444;
}

.psico-info > div {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
}

.psico-info > div iconify-icon {
  margin-right: 8px;
}

.psico-info .iconify {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex-shrink: 0;
  margin-right: 8px;
}

/* Icon colors & sizes */
.psico-info .icon-book.iconify {
  color: #7c3aed !important;
  font-size: 20px !important;
}
.psico-info .icon-users.iconify {
  color: #10b981 !important;
  font-size: 20px !important;
}
.psico-info .icon-lang.iconify {
  color: #2563eb !important;
  font-size: 20px !important;
}

/* =====================
   9. Abordagem Items
   ===================== */
.abordagem-item {
  display: inline-block;
  margin-right: 2px;
  white-space: nowrap;
}

/* =====================
   10. Tags (Especialidades)
   ===================== */
.tags {
  margin-top: 10px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(to right, #f3e8ff, #dbeafe);
  color: #6b21a8;
  padding: 4px 12px;
  border-radius: 14px;
  margin: 3px 4px 3px 0;
  display: inline-block;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.tag:hover {
  background: linear-gradient(to right, #e9d5ff, #bfdbfe);
  color: #6b21a8;
}

/* =====================
   11. Card Footer
   ===================== */
.psico-footer {
  margin-top: auto; /* empurra para o fundo do card */
  padding-top: 20px;
  text-align: center;
}

/* =====================
   12. Buttons (Consultar & Eye)
   ===================== */
.btn-consultar {
  background-color: #22c55e;
  color: white;
  font-weight: 500;
  border-radius: 9px;
  width: 80%;
  height: 50px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-consultar:hover,
.btn-consultar:active {
  background-color: #09b147 !important;
  color: white !important;
}

.btn-consultar iconify-icon {
  margin-right: 6px;
}

.btn-eye {
  background: linear-gradient(to right, #f3e8ff, #dbeafe);
  color: #6b21a8;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-eye:hover,
.btn-eye:active {
  background: linear-gradient(to right, #e9d5ff, #bfdbfe);
  color: #6b21a8;
}

.btn-eye iconify-icon {
  margin: 0;
}

/* =====================
   13. Price & Duration
   ===================== */
.price-time {
  font-size: 1rem;
  color: #444;
}

.price-time iconify-icon {
  margin-right: 4px;
  vertical-align: middle;
}


/* Estilo customizado para o tooltip */
.custom-tooltip .tooltip-inner {
  background-color: #4c53de;       /* cor de fundo */
  color: #fff;                     /* texto branco */
  font-size: 0.9rem;               /* tamanho de fonte */
  padding: 0.5rem 0.75rem;         /* espaçamento interno */
  border-radius: 0.5rem;           /* bordas arredondadas */
  max-width: 200px;                /* largura máxima */
  text-align: center;
}

/* Seta do tooltip */
.custom-tooltip .tooltip-arrow::before {
  border-top-color: #4c53de;      /* mesma cor do fundo */
}

/* Ajustes para telas pequenas */
@media (max-width: 768px) {
  .custom-tooltip .tooltip-inner {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    max-width: 160px;
  }
}