/* Importando fontes do Google Fonts para visual premium */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --success: #10B981;
  --success-hover: #059669;
  --dark: #0F172A;
  --light: #F8FAFC;
  --gray-light: #F1F5F9;
  --gray-medium: #64748B;
  --border-color: #E2E8F0;
  --font-family: 'Inter', sans-serif;
  --font-family-title: 'Outfit', sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Design System Tokens */
  --ds-radius: 16px;
  --ds-radius-sm: 12px;
  --ds-radius-xs: 8px;
  --ds-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
  --ds-shadow-hover: 0 10px 40px rgba(15, 23, 42, 0.07), 0 2px 8px rgba(15, 23, 42, 0.04);
  --ds-shadow-elevated: 0 20px 60px rgba(15, 23, 42, 0.08);
  --ds-gradient-banner: linear-gradient(135deg, #1E3A5F 0%, #2B6CB0 50%, #4299E1 100%);
  --ds-gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #2563EB 100%);
  --ds-border-hover: rgba(37, 99, 235, 0.25);
  --ds-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --primary: #3B82F6;
  --primary-hover: #60A5FA;
  --success: #34D399;
  --success-hover: #6EE7B7;
  --dark: #F1F5F9;
  --light: #0F172A;
  --gray-light: #1E293B;
  --gray-medium: #94A3B8;
  --border-color: #334155;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --ds-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
  --ds-shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  --ds-shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);
  --ds-gradient-banner: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
  --ds-gradient-hero: linear-gradient(135deg, #020617 0%, #0F172A 50%, #1E293B 100%);
  --ds-border-hover: rgba(59, 130, 246, 0.4);
}

h1, h2, h3, h4, h5, h6, .navbar-brand-custom, .hero-title, .section-title {
  font-family: var(--font-family-title) !important;
}

body {
  font-family: var(--font-family);
  background-color: var(--light);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
}

/* Glassmorphism Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar-brand-custom {
  font-weight: 800;
  color: var(--primary) !important;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  margin-right: 0.5rem;
}

@media (min-width: 992px) {
  .navbar-custom .navbar-collapse {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.nav-link-custom {
  font-weight: 600;
  color: var(--gray-medium) !important;
  transition: var(--transition);
  padding: 0.4rem 0.65rem !important;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--primary) !important;
}

.navbar-custom .btn,
.btn-sm-custom {
  font-size: 0.78rem !important;
  padding: 0.3rem 0.65rem !important;
  border-radius: 6px;
}

/* Premium Buttons */
.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-outline-custom {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--dark);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background-color: var(--gray-light);
  color: var(--dark);
  border-color: var(--gray-medium);
}

.btn-whatsapp-custom {
  background-color: var(--success);
  border-color: var(--success);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp-custom:hover {
  background-color: var(--success-hover);
  border-color: var(--success-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-loading {
  pointer-events: none;
  opacity: 0.78;
}

.btn-loading .btn-label {
  visibility: hidden;
}

.btn-loading::after {
  content: "";
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -0.5rem;
  margin-left: -0.5rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-primary-custom,
.btn-outline-custom,
.btn-whatsapp-custom {
  position: relative;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.03) 0%, rgba(255, 255, 255, 0) 90%);
  padding: 8rem 0 6rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-medium);
  font-weight: 400;
}

.conversion-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-strip div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-medium);
  font-size: 0.85rem;
  font-weight: 700;
}

.trust-strip i {
  color: var(--success);
}

.hero-image-fallback {
  min-height: 420px;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.18), transparent 32%),
    linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 58%, #ECFDF5 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-image-fallback-content {
  max-width: 360px;
  text-align: left;
}

.hero-image-fallback-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
}

/* Search Box Hero */
.search-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  padding: 0.8rem;
  transition: var(--transition);
}

.search-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.search-input-group {
  border: none;
  background: transparent;
}

.search-input {
  border: none !important;
  font-weight: 500;
  color: var(--dark);
  padding: 0.75rem 1rem;
}

.search-input::placeholder {
  color: var(--gray-medium);
}

.search-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

select.search-input {
  appearance: auto;
  background: transparent;
  border: none !important;
  padding: 0.75rem 0.25rem;
  cursor: pointer;
}

.search-estado-compact {
  width: 56px !important;
  flex-shrink: 0;
  padding: 0.75rem 0 !important;
  text-align: center;
}

.search-divider {
  width: 1px;
  background-color: var(--border-color);
  height: 35px;
  margin: auto 0;
}

/* Card Categories */
.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
  text-decoration: none;
  display: block;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.category-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-title {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Card Professionals - LinkedIn Style */
.prof-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.prof-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Banner gradiente no topo do card (LinkedIn-style) */
.prof-card-banner {
  height: 80px;
  background: linear-gradient(135deg, #1E3A5F 0%, #2B6CB0 50%, #4299E1 100%);
  flex-shrink: 0;
  position: relative;
}

.prof-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Area de conteudo abaixo do banner */
.prof-card-body {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Avatar - sobreposto ao banner (50% pra cima, 50% pra baixo) */
.prof-card-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: -44px auto 0.6rem;
  z-index: 2;
  flex-shrink: 0;
}

.prof-card-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.prof-card-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1E40AF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  user-select: none;
}

/* Badge de verificado (canto inferior direito da foto) */
.prof-card-verified {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
  font-size: 0.7rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

/* Rating estrelas */
.prof-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F59E0B;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin: 0 auto 0.25rem;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  line-height: 1.2;
}

.prof-card-rating i {
  font-size: 0.55rem;
}

/* Nome */
.prof-card-name {
  font-weight: 700;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.88);
  line-height: 1.3;
  margin-bottom: 0.1rem;
  word-break: break-word;
  text-align: center;
}

.prof-card-name:hover {
  color: var(--primary);
}

/* Profissao */
.prof-card-headline {
  font-weight: 500;
  color: var(--primary);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  text-align: center;
}

/* Localizacao */
.prof-card-location {
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.prof-card-location i {
  font-size: 0.65rem;
  opacity: 0.6;
}

/* Especialidades tags */
.prof-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.prof-card-tag {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  background: #F1F5F9;
  color: #475569;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

/* Separador */
.prof-card-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.4rem 0 0.6rem;
}

/* Botao WhatsApp */
.prof-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: none;
  width: 100%;
  margin-top: auto;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  line-height: 1.3;
  text-decoration: none;
}

.prof-card-btn:hover {
  background: #1DA851;
  color: #fff;
  transform: scale(1.02);
}

.prof-card-btn:active {
  transform: scale(0.98);
}

/* Mobile: 2 cards por linha com texto ajustado */
@media (max-width: 576px) {
  .prof-card-name { font-size: 0.85rem; }
  .prof-card-headline { font-size: 0.75rem; }
  .prof-card-location { font-size: 0.7rem; }
  .prof-card-btn { font-size: 0.75rem; padding: 0.45rem 0.5rem; }
  .prof-card-rating { font-size: 0.65rem; }
  .prof-card-body { padding: 0 0.75rem 0.75rem; }
  .prof-card-avatar-wrap { width: 88px; height: 88px; margin-top: -44px; }
}

/* =============================================
   DESIGN SYSTEM — Componentes Base Premium
   Inspirado nos cards de profissionais (SSOT)
   ============================================= */

/* Card premium genérico */
.ds-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
  transition: var(--ds-transition);
}
.ds-card:hover {
  box-shadow: var(--ds-shadow-hover);
  border-color: var(--ds-border-hover);
}

/* Card com banner no topo (LinkedIn-style) */
.ds-card-banner {
  overflow: hidden;
  border-radius: var(--ds-radius);
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--ds-shadow);
  transition: var(--ds-transition);
}
.ds-card-banner:hover {
  box-shadow: var(--ds-shadow-hover);
  border-color: var(--ds-border-hover);
}
.ds-card-banner-header {
  height: 80px;
  background: var(--ds-gradient-banner);
  flex-shrink: 0;
  position: relative;
}
.ds-card-banner-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.ds-card-banner-body {
  padding: 0 1.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* Avatar sobreposto (para cards banner) */
.ds-avatar-overlap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: -44px auto 0.75rem;
  z-index: 2;
  flex-shrink: 0;
}
.ds-avatar-overlap-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.ds-avatar-overlap-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1E40AF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  user-select: none;
}

/* Divider sutil */
.ds-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.5rem 0;
}

/* Section header padronizado */
.ds-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--gray-light);
}
.ds-section-header h2,
.ds-section-header h3 {
  margin: 0;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Badges premium */
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  line-height: 1.3;
}
.ds-badge-primary {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}
.ds-badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}
.ds-badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
}
.ds-badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}
.ds-badge-info {
  background: rgba(6, 182, 212, 0.1);
  color: #0891B2;
}
.ds-badge-dark {
  background: rgba(15, 23, 42, 0.08);
  color: var(--dark);
}

/* Tabela premium */
.ds-table-wrap {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--ds-radius-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ds-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.ds-table td {
  word-break: break-word;
  overflow-wrap: break-word;
}
.ds-table thead th {
  background: var(--gray-light);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}
.ds-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--dark);
  vertical-align: middle;
}
.ds-table tbody tr:last-child td {
  border-bottom: none;
}
.ds-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.02);
}

/* Formulário premium */
.ds-form-control {
  border-radius: var(--ds-radius-xs);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--ds-transition);
  background: #fff;
  width: 100%;
}
.ds-form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  outline: none;
}
.ds-form-label {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Input group premium */
.ds-input-group {
  display: flex;
  align-items: stretch;
}
.ds-input-group-text {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--gray-medium);
  font-size: 0.9rem;
}
.ds-input-group .ds-input-group-text:first-child {
  border-right: none;
  border-radius: var(--ds-radius-xs) 0 0 var(--ds-radius-xs);
}
.ds-input-group .ds-form-control:not(:first-child) {
  border-left: none;
  border-radius: 0 var(--ds-radius-xs) var(--ds-radius-xs) 0;
}

/* Auth card premium (login, cadastro, etc) */
.auth-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-elevated);
  padding: 2.5rem 2.5rem;
  position: relative;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--ds-gradient-banner);
  border-radius: var(--ds-radius) var(--ds-radius) 0 0;
}

/* Filter card premium */
.ds-filter-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--ds-radius-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

/* Stat card premium (dashboard, admin) */
.ds-stat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--ds-radius-sm);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--ds-transition);
  box-shadow: var(--ds-shadow);
}
.ds-stat-card:hover {
  box-shadow: var(--ds-shadow-hover);
  transform: translateY(-2px);
}
.ds-stat-card h2 {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0;
  font-size: 1.75rem;
}
.ds-stat-card .stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-medium);
  margin-bottom: 0.15rem;
}
.ds-stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Tabs premium (admin) */
.ds-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.ds-tab {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-medium);
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  transition: var(--ds-transition);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ds-tab:hover {
  background: var(--gray-light);
  color: var(--dark);
}
.ds-tab.active {
  background: var(--primary);
  color: #fff;
}
.ds-tab .ds-badge {
  margin-left: 2px;
}

/* Activity item premium (admin) */
.ds-activity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--gray-light);
  transition: var(--ds-transition);
}
.ds-activity-item:hover {
  background: #E8ECF2;
}
.ds-activity-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.ds-activity-avatar-initials {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, #2563EB, #1E40AF);
  flex-shrink: 0;
}
.ds-activity-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Pagination premium */
.ds-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 1rem;
  padding-left: 0;
}
.ds-page-item,
.ds-pagination .page-item {
  list-style: none;
}
.ds-page-link,
.ds-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-medium);
  background: #fff;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--ds-transition);
}
.ds-page-link:hover,
.ds-pagination .page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}
.ds-page-item.active .ds-page-link,
.ds-pagination .page-item.active .page-link {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.ds-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

/* Toast / Alert premium */
.ds-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--ds-radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  border: 1px solid;
}
.ds-alert-info {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--primary);
}
.ds-alert-success {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.15);
  color: #059669;
}
.ds-alert-warning {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.15);
  color: #D97706;
}
.ds-alert-danger {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.15);
  color: #DC2626;
}

/* Botões premium (extensão) */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--ds-radius-xs);
  border: none;
  cursor: pointer;
  transition: var(--ds-transition);
  text-decoration: none;
  line-height: 1.3;
}
.ds-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.ds-btn-primary {
  background: var(--primary);
  color: #fff;
}
.ds-btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.ds-btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--dark);
}
.ds-btn-outline:hover {
  background: var(--gray-light);
  border-color: var(--gray-medium);
}
.ds-btn-success {
  background: #25D366;
  color: #fff;
}
.ds-btn-success:hover {
  background: #1DA851;
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.ds-btn-danger {
  background: #DC2626;
  color: #fff;
}
.ds-btn-danger:hover {
  background: #B91C1C;
  color: #fff;
}
.ds-btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
}
.ds-btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}
.ds-btn-block {
  width: 100%;
}

/* Modal premium */
.ds-modal-content {
  border-radius: var(--ds-radius);
  border: none;
  box-shadow: var(--ds-shadow-elevated);
  overflow: hidden;
}
.ds-modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0;
}
.ds-modal-footer {
  border-top: none;
  padding: 0 1.5rem 1.5rem;
}
.ds-modal-body {
  padding: 1.25rem 1.5rem;
}

/* Service Request Cards */
.request-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--ds-radius);
  padding: 1.5rem;
  transition: var(--ds-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ds-shadow);
}
.request-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ds-shadow-hover);
  border-color: var(--ds-border-hover);
}
.request-card-foto {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: var(--gray-light);
}
.request-card-foto-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #94A3B8;
  font-size: 2rem;
}
.request-card-servico {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.request-card-info {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.55);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.request-card-valor {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.request-card-negociavel {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.request-card-footer {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}
.request-card-footer .btn {
  flex: 1;
  font-size: 0.82rem;
  padding: 0.45rem 0.5rem;
}
.request-card-cliente {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.45);
  margin-bottom: 0.5rem;
}
.badge-request-status {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 700;
}
.badge-aberto {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}
.badge-finalizado {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}
.empty-services {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-services-icon {
  font-size: 3rem;
  color: var(--gray-medium);
  margin-bottom: 1rem;
}

.advanced-filter-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

/* Stepper visual */
.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  border: 2px solid var(--border-color);
  color: var(--gray-medium);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.step-indicator.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.step-indicator.done {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step-line {
  flex: 1;
  height: 3px;
  background: var(--border-color);
  border-radius: 3px;
  margin: 0 0.5rem;
  transition: var(--transition);
}

.step-line.done {
  background: var(--success);
}

/* Login trust card */
.login-trust {
  background: var(--gray-light);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1rem;
}

.login-trust div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-medium);
}

.login-trust i {
  color: var(--success);
  width: 18px;
  text-align: center;
}

/* Completeness banner */
.completeness-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
}

.completeness-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.progress-ring-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
}

.progress-ring {
  transform: rotate(-90deg);
  width: 60px;
  height: 60px;
}

.progress-ring-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 5;
}

.progress-ring-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36;
  transition: stroke-dashoffset 0.8s ease;
}

.progress-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dark);
}

.mobile-sticky-cta {
  display: none;
}

.review-count {
  font-size: 0.8rem;
  color: var(--gray-medium);
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-medium);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Benefits Card */
.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

.benefit-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-color);
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Profile Public page */
.profile-header-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.profile-avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.1);
}

.profile-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1E40AF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 1px;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.1);
  user-select: none;
}

.profile-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.portfolio-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-img-wrapper:hover .portfolio-img {
  transform: scale(1.05);
}

/* Rating Stars Styles */
.star-rating {
  font-size: 1.25rem;
  color: #E2E8F0;
  display: inline-flex;
}

.star-rating .filled {
  color: #FBBF24;
}

.star-input-group {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.star-input-group input {
  display: none;
}

.star-input-group label {
  font-size: 2rem;
  color: #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
}

.star-input-group label:hover,
.star-input-group label:hover ~ label,
.star-input-group input:checked ~ label {
  color: #FBBF24;
}

/* Stats Cards Dashboard */
.stat-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--ds-radius-sm);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--ds-transition);
  box-shadow: var(--ds-shadow);
}
.stat-box:hover {
  box-shadow: var(--ds-shadow-hover);
  transform: translateY(-2px);
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* UX feedback states */
.empty-state {
  background: #fff;
  border: 1px dashed var(--border-color);
  border-radius: 18px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.empty-state-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.empty-state-title {
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: var(--gray-medium);
  max-width: 460px;
  margin: 0 auto;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #E5EAF1;
  border-radius: 10px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  animation: shimmer 1.15s infinite;
}

.skeleton-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.25rem 1rem 1rem;
  height: 100%;
}

.skeleton-avatar-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skeleton-line {
  height: 10px;
  margin-bottom: 0.6rem;
}

.skeleton-button-sm {
  width: 100%;
  height: 32px;
  border-radius: 8px;
}

.skeleton-table-row td {
  padding: 1rem 0.75rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .search-container {
    padding: 0.5rem;
  }
  .search-divider {
    display: none;
  }

  .hero-image-fallback {
    min-height: 300px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .search-container .row > [class*="col-"] {
    width: 100%;
  }

  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.1);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
  }

  body.has-mobile-sticky-cta {
    padding-bottom: 5.5rem;
  }
}

/* Botão de curtir comentário */
.btn-like-review {
  border: 1px solid var(--border-color);
  background: var(--gray-light);
  color: var(--gray-medium);
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  transition: var(--transition);
  font-weight: 600;
}

.btn-like-review:hover {
  background: #DBEAFE;
  color: var(--primary);
  border-color: #93C5FD;
}

.btn-like-review i {
  font-size: 0.8rem;
}

.btn-like-review .like-count {
  font-size: 0.75rem;
  margin-left: 2px;
}

/* ==========================================================================
   ESTILOS PREMIUM EXTRAS E MICRO-INTERAÇÕES
   ========================================================================== */

/* Glassmorphism Premium Card */
.glass-card {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04) !important;
  transition: var(--transition) !important;
}

.glass-card:hover {
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.08) !important;
}

/* Animação de Entrada fadeInUp Otimizada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* Efeito de Pulso Sutil de Conversão para o Botão do WhatsApp */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.btn-whatsapp-custom, .mobile-sticky-cta button {
  animation: pulse-green 2.5s infinite;
}

/* Ajuste de transição suave em cards de portfólio */
.portfolio-img-wrapper {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.portfolio-img-wrapper:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.portfolio-img-wrapper .portfolio-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-img-wrapper:hover .portfolio-img {
  transform: scale(1.05);
}


/* CTA Cadastro Card */
.cta-cadastro-card {
  position: relative;
}
.cta-cadastro-bg-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-cadastro-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #1E40AF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.cta-cadastro-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.cta-cadastro-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.cta-cadastro-text {
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 520px;
}
.cta-cadastro-benefits span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cta-cadastro-benefits i {
  font-size: 0.75rem;
}
.cta-cadastro-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary), #1D4ED8);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
  position: relative;
  overflow: hidden;
}
.cta-cadastro-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1) 100%);
  pointer-events: none;
}
.cta-cadastro-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}
.cta-cadastro-btn:active {
  transform: translateY(-1px);
}
.cta-cadastro-btn-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cta-cadastro-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.cta-cadastro-btn-text strong {
  font-size: 1.05rem;
}
.cta-cadastro-btn-text small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
}
.cta-cadastro-btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.cta-cadastro-btn:hover .cta-cadastro-btn-arrow {
  transform: translateX(4px);
}

[data-theme="dark"] .cta-cadastro-icon {
  background: linear-gradient(135deg, var(--primary), #1E40AF) !important;
}
[data-theme="dark"] .cta-cadastro-tag {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #6EE7B7 !important;
}
[data-theme="dark"] .cta-cadastro-benefits span {
  color: #94A3B8 !important;
}
[data-theme="dark"] .cta-cadastro-btn {
  background: linear-gradient(135deg, var(--primary), #2563EB) !important;
}
[data-theme="dark"] .cta-cadastro-bg-glow {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%) !important;
}

/* Services Carousel */
.services-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
  width: 100%;
}
.services-carousel::-webkit-scrollbar { display: none; }
.services-carousel .service-carousel-card {
  flex: 0 0 280px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: var(--ds-shadow);
}
.services-carousel .service-carousel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-carousel-card .carousel-foto {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: var(--gray-light);
}
.service-carousel-card .carousel-foto-placeholder {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: #94A3B8;
  font-size: 1.5rem;
  text-align: center;
  padding: 0.5rem;
}
.service-carousel-card .carousel-foto-placeholder span {
  font-size: 0.65rem;
  color: #64748B;
  margin-top: 0.25rem;
  line-height: 1.2;
}
.service-carousel-card .carousel-servico {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.service-carousel-card .carousel-local {
  font-size: 0.75rem;
  color: var(--gray-medium);
  margin-bottom: 0.4rem;
  word-break: break-word;
}
.service-carousel-card .carousel-valor {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

@media (max-width: 576px) {
  .services-carousel .service-carousel-card {
    flex: 0 0 240px;
  }
}
.service-carousel-card .carousel-urgente {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}

/* ───── Dark Mode Overrides ───── */
[data-theme="dark"] {
  --ds-card-bg: #1E293B;
  --ds-input-bg: #0F172A;
}

[data-theme="dark"],
[data-theme="dark"] body,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-white {
  background-color: var(--light) !important;
}

[data-theme="dark"] .text-dark {
  color: var(--dark) !important;
}

[data-theme="dark"] .navbar-custom {
  background: rgba(15, 23, 42, 0.92) !important;
  border-bottom-color: #334155 !important;
}

[data-theme="dark"] .navbar-toggler {
  border-color: #475569 !important;
}

[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

[data-theme="dark"] .request-card,
[data-theme="dark"] .profile-card,
[data-theme="dark"] .service-carousel-card,
[data-theme="dark"] .dashboard-card,
[data-theme="dark"] .filters-section,
[data-theme="dark"] .info-card,
[data-theme="dark"] .benefit-card,
[data-theme="dark"] .professional-card,
[data-theme="dark"] .prof-card,
[data-theme="dark"] .card,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .help-section,
[data-theme="dark"] .request-form-card,
[data-theme="dark"] .example-card,
[data-theme="dark"] .glass-card {
  background: #1E293B !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .request-card-info,
[data-theme="dark"] .request-card-cliente {
  color: #94A3B8 !important;
}

[data-theme="dark"] .prof-card-name {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .prof-card-location {
  color: #94A3B8 !important;
}

[data-theme="dark"] .prof-card-tag {
  background: #334155 !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .prof-card-avatar,
[data-theme="dark"] .prof-card-avatar-initials,
[data-theme="dark"] .prof-card-verified {
  border-color: #1E293B !important;
}

[data-theme="dark"] .prof-card-rating {
  border-color: #1E293B !important;
}

[data-theme="dark"] .help-role-tab {
  background: #1E293B !important;
  border-color: #475569 !important;
  color: var(--dark) !important;
}

[data-theme="dark"] .help-role-tab.active {
  border-color: var(--primary) !important;
  background: rgba(59, 130, 246, 0.1) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .help-step {
  background: #0F172A !important;
}

[data-theme="dark"] .help-highlight {
  background: rgba(59, 130, 246, 0.08) !important;
  border-left-color: var(--primary) !important;
}

[data-theme="dark"] .help-highlight p {
  color: #94A3B8 !important;
}

[data-theme="dark"] .dash-section-header {
  border-bottom-color: #334155 !important;
}

[data-theme="dark"] .trust-strip {
  background: #0F172A !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .step-indicator {
  background: #1E293B !important;
  border-color: #475569 !important;
  color: #94A3B8 !important;
}

[data-theme="dark"] .step-indicator.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

[data-theme="dark"] .step-line {
  background: #334155 !important;
}

[data-theme="dark"] .step-line.active {
  background: var(--primary) !important;
}

[data-theme="dark"] .category-card {
  background: #1E293B !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .category-card:hover {
  border-color: var(--primary) !important;
  background: rgba(59, 130, 246, 0.06) !important;
}

[data-theme="dark"] .benefit-icon-box {
  background: rgba(59, 130, 246, 0.12) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .input-group-text {
  background: #fff !important;
  border-color: var(--border-color) !important;
  color: #64748B !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .ds-form-control {
  background-color: #fff !important;
  border-color: var(--border-color) !important;
  color: #0F172A !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .ds-form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] .ds-form-control::placeholder {
  color: #94A3B8 !important;
}

[data-theme="dark"] .form-text,
[data-theme="dark"] .text-muted {
  color: #64748B !important;
}

[data-theme="dark"] .form-label,
[data-theme="dark"] .form-label-custom,
[data-theme="dark"] .ds-form-label {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .table {
  --bs-table-bg: #1E293B;
  --bs-table-striped-bg: #0F172A;
  --bs-table-border-color: #334155;
  --bs-table-color: #F1F5F9;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .btn-outline-custom {
  border-color: #475569 !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .btn-outline-custom:hover {
  background: #334155 !important;
  border-color: #64748B !important;
  color: #fff !important;
}

[data-theme="dark"] .btn-outline-secondary {
  border-color: #475569 !important;
  color: #94A3B8 !important;
}

[data-theme="dark"] .btn-outline-secondary:hover {
  background: #334155 !important;
  border-color: #64748B !important;
  color: #fff !important;
}

[data-theme="dark"] .text-secondary {
  color: #94A3B8 !important;
}

[data-theme="dark"] hr {
  border-color: #334155 !important;
  opacity: 0.6;
}

[data-theme="dark"] .border-custom {
  border-color: #334155 !important;
}

[data-theme="dark"] .modal-content:not(.bg-transparent),
[data-theme="dark"] .ds-modal-content,
[data-theme="dark"] .swal2-popup {
  background: #1E293B !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .ds-modal-header,
[data-theme="dark"] .modal-footer,
[data-theme="dark"] .ds-modal-footer {
  border-color: #334155 !important;
}

[data-theme="dark"] .modal-body,
[data-theme="dark"] .ds-modal-body {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .btn-close {
  filter: invert(1) brightness(2);
}

[data-theme="dark"] .swal2-title,
[data-theme="dark"] .swal2-html-container {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .swal2-input {
  background: #0F172A !important;
  border-color: #334155 !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .list-group-item {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .accordion-item,
[data-theme="dark"] .accordion-button {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
  background: #0F172A !important;
}

[data-theme="dark"] .dropdown-menu {
  background: #1E293B !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .dropdown-item {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .dropdown-item:hover {
  background: #0F172A !important;
}

[data-theme="dark"] .request-card-foto-placeholder {
  background: #0F172A !important;
}

[data-theme="dark"] .carousel-foto-placeholder {
  background: #0F172A !important;
}

[data-theme="dark"] .card-header {
  background: #0F172A !important;
  border-bottom-color: #334155 !important;
}

[data-theme="dark"] .card-footer {
  background: #0F172A !important;
  border-top-color: #334155 !important;
}

[data-theme="dark"] .photo-upload-area {
  border-color: #475569 !important;
  background: #0F172A !important;
}

[data-theme="dark"] .photo-upload-area:hover {
  border-color: var(--primary) !important;
  background: rgba(59, 130, 246, 0.04) !important;
}

[data-theme="dark"] .negotiable-toggle .btn {
  background: #0F172A !important;
  border-color: #475569 !important;
  color: #94A3B8 !important;
}

[data-theme="dark"] .negotiable-toggle .btn.active {
  border-color: var(--primary) !important;
  background: rgba(59, 130, 246, 0.1) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .form-check-input {
  background-color: #334155 !important;
  border-color: #475569 !important;
}

[data-theme="dark"] .form-check-input:checked {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

[data-theme="dark"] .ds-input-group-text {
  background: #0F172A !important;
  border-color: #334155 !important;
  color: #94A3B8 !important;
}

[data-theme="dark"] .ds-btn-outline {
  border-color: #475569 !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .ds-btn-outline:hover {
  background: #334155 !important;
  border-color: #64748B !important;
}

[data-theme="dark"] .badge-aberto {
  background: rgba(59, 130, 246, 0.15) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .badge-finalizado {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #6EE7B7 !important;
}

[data-theme="dark"] .example-card-overlay {
  background: rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .valor-prefixo {
  color: #94A3B8 !important;
}

[data-theme="dark"] .search-container.glass-card {
  background: rgba(30, 41, 59, 0.85) !important;
  backdrop-filter: blur(12px);
  border-color: #334155 !important;
}

[data-theme="dark"] .tutorial-card {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .tutorial-card h2,
[data-theme="dark"] .tutorial-card h4 {
  color: #fff !important;
}

[data-theme="dark"] .tutorial-card p {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

[data-theme="dark"] .step-number {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

[data-theme="dark"] .tutorial-info-box {
  background: rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .tutorial-info-box li {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

[data-theme="dark"] .hero-section {
  background: transparent !important;
}

[data-theme="dark"] .hero-image-fallback {
  background: #1E293B !important;
  border-color: #334155 !important;
}

[data-theme="dark"] footer.bg-white,
[data-theme="dark"] footer.border-top {
  background: #0F172A !important;
  border-top-color: #334155 !important;
}

[data-theme="dark"] footer .text-secondary {
  color: #94A3B8 !important;
}

[data-theme="dark"] a.text-decoration-none.text-primary {
  color: var(--primary) !important;
}

[data-theme="dark"] .empty-services-icon {
  color: #475569 !important;
}

[data-theme="dark"] .example-card-title {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .example-card-local {
  color: #94A3B8 !important;
}

[data-theme="dark"] .example-date {
  color: #64748B !important;
}

[data-theme="dark"] .example-badge-urgente {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #FCA5A5 !important;
}

[data-theme="dark"] .example-badge-aberto {
  background: rgba(59, 130, 246, 0.15) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .example-card-negociavel {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #FCD34D !important;
}

[data-theme="dark"] .example-card-fixo {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #6EE7B7 !important;
}

[data-theme="dark"] .advanced-filter-card {
  background: #1E293B !important;
  border-color: #334155 !important;
}

[data-theme="dark"] #search-results-section.bg-white,
[data-theme="dark"] #servicos-recentes.bg-white,
[data-theme="dark"] #como-funciona.bg-white {
  background: var(--light) !important;
}

[data-theme="dark"] .search-divider {
  background: #334155 !important;
}

[data-theme="dark"] section.section-padding.bg-white {
  background: var(--light) !important;
}

[data-theme="dark"] .hero-image-fallback-content p {
  color: #94A3B8 !important;
}

[data-theme="dark"] .spinner-border.text-primary {
  color: var(--primary) !important;
}

/* ───── Dashboard / Admin Dark Mode ───── */
[data-theme="dark"] .dash-card,
[data-theme="dark"] .stat-box,
[data-theme="dark"] .review-card {
  background: #1E293B !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .dash-section-header h3,
[data-theme="dark"] .stat-box h2,
[data-theme="dark"] .view-value {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .view-row {
  border-bottom-color: #334155 !important;
}

[data-theme="dark"] .view-row:hover {
  background: #0F172A !important;
}

[data-theme="dark"] .view-label {
  color: #94A3B8 !important;
}

[data-theme="dark"] .view-value.empty {
  color: #64748B !important;
}

[data-theme="dark"] .btn-edit-toggle {
  background: #0F172A !important;
  border-color: #475569 !important;
  color: #94A3B8 !important;
}

[data-theme="dark"] .btn-edit-toggle:hover,
[data-theme="dark"] .btn-edit-toggle.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

[data-theme="dark"] .photo-wrapper img {
  border-color: #334155 !important;
}

[data-theme="dark"] .portfolio-item {
  border-color: #334155 !important;
}

[data-theme="dark"] bg-primary-subtle.text-primary,
[data-theme="dark"] .bg-primary-subtle {
  background: rgba(59, 130, 246, 0.15) !important;
}

[data-theme="dark"] .bg-success-subtle.text-success,
[data-theme="dark"] .bg-success-subtle {
  background: rgba(16, 185, 129, 0.15) !important;
}

[data-theme="dark"] .bg-warning-subtle.text-warning,
[data-theme="dark"] .bg-warning-subtle {
  background: rgba(245, 158, 11, 0.15) !important;
}

[data-theme="dark"] .bg-danger-subtle.text-danger,
[data-theme="dark"] .bg-danger-subtle {
  background: rgba(239, 68, 68, 0.15) !important;
}

[data-theme="dark"] .quick-action-btn {
  background: #0F172A !important;
  border-color: #334155 !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .quick-action-btn:hover {
  background: #1E293B !important;
  border-color: #475569 !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .quick-action-btn i {
  color: var(--primary) !important;
}

[data-theme="dark"] .quick-action-btn.text-danger {
  border-color: rgba(239, 68, 68, 0.3) !important;
}

[data-theme="dark"] .quick-action-btn.text-danger i {
  color: #EF4444 !important;
}

[data-theme="dark"] .review-client-name {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .review-comment {
  color: #94A3B8 !important;
}

[data-theme="dark"] .review-card:hover {
  border-color: rgba(59, 130, 246, 0.2) !important;
}

[data-theme="dark"] .completeness-banner {
  background: #1E293B !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .progress-ring-bg {
  stroke: #334155 !important;
}

[data-theme="dark"] .progress-ring-text {
  fill: #F1F5F9 !important;
}

[data-theme="dark"] .badge.bg-dark.text-white {
  background: #334155 !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .admin-table thead th {
  background: #0F172A !important;
  color: #94A3B8 !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .admin-table tbody td {
  background: #1E293B !important;
  color: #F1F5F9 !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .admin-table tbody tr:hover td {
  background: #0F172A !important;
}

[data-theme="dark"] .admin-status-badge {
  background: rgba(59, 130, 246, 0.15) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .btn.btn-outline-danger {
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #FCA5A5 !important;
}

[data-theme="dark"] .ds-pagination .page-link {
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #94A3B8 !important;
}

[data-theme="dark"] .ds-pagination .page-link:hover {
  background: #0F172A !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .ds-pagination .page-item.active .page-link {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

[data-theme="dark"] .btn.btn-outline-danger:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: #EF4444 !important;
  color: #fff !important;
}

/* ───── ds-card / ds-card-banner dark ───── */
[data-theme="dark"] .ds-card,
[data-theme="dark"] .ds-card-banner {
  background: #1E293B !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .ds-card-banner-header {
  background: var(--ds-gradient-banner) !important;
}

/* profissional profile page - main card with inline bg */
[data-theme="dark"] div[style*="background:#fff"][style*="border-radius:16px"],
[data-theme="dark"] .mb-5[style*="background:#fff"] {
  background: #1E293B !important;
  border-color: #334155 !important;
}

/* profissional page avatar border */
[data-theme="dark"] .profile-avatar-wrapper {
  border-color: #334155 !important;
}

[data-theme="dark"] .profile-avatar-wrapper img,
[data-theme="dark"] .profile-avatar-initials,
[data-theme="dark"] .profile-verified-badge {
  border-color: #334155 !important;
}

/* review border in profissional page */
[data-theme="dark"] .border-bottom.last-border-none {
  border-bottom-color: #334155 !important;
}

/* Negociavel badge */
[data-theme="dark"] .request-card-negociavel {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #FCD34D !important;
}

/* Review star input */
[data-theme="dark"] .star-input-group label {
  color: #475569 !important;
}

[data-theme="dark"] .star-input-group input:checked ~ label,
[data-theme="dark"] .star-input-group label:hover,
[data-theme="dark"] .star-input-group label:hover ~ label {
  color: #FBBF24 !important;
}

/* Modal close white in dark mode */
[data-theme="dark"] .btn-close-white {
  filter: brightness(0.8) !important;
}

/* Service Detail Modal dark mode */
[data-theme="dark"] #service-detail-body .rounded-3[style*="background:var(--gray-light)"] {
  background: #0F172A !important;
}
[data-theme="dark"] #service-detail-body [style*="background:rgba(37,99,235,0.06)"] {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}
[data-theme="dark"] #service-detail-body [style*="color:var(--gray-medium)"] {
  color: #94A3B8 !important;
}

/* Mobile sticky CTA */
[data-theme="dark"] .mobile-sticky-cta {
  background: #0F172A !important;
  border-top-color: #334155 !important;
}

/* Empty state in profissional page */
[data-theme="dark"] .text-center.py-3 .fw-semibold.text-dark {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .text-center.py-3 div[style*="background:#F1F5F9"] {
  background: #1E293B !important;
}
