/* =====================================================
   PROFISSIONAIS — Premium stylesheet
   Tasks 9: profissionais.css
   Usada por: servicos.html, profissional.html, portal-profissional
   ===================================================== */

/* ── PAGE OFFSET ────────────────────────────────────── */
.page-servicos {
  padding-top: 120px; /* header fixo 2 rows */
}

/* =====================================================
   HERO
   ===================================================== */
.prof-hero {
  background: linear-gradient(
    135deg,
    var(--blue-700) 0%,
    var(--blue-500) 60%,
    var(--blue-300) 100%
  );
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
  text-align: center;
}

/* Architectural grid overlay — gives industrial depth */
.prof-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Warm glow from bottom-center — hint of brand orange */
.prof-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(209, 124, 43, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.prof-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.prof-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.prof-hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-300);
  animation: prof-blink 2s ease-in-out infinite;
}

@keyframes prof-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.prof-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.prof-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--orange-300), var(--orange-100));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prof-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* =====================================================
   SEARCH BAR — floating card
   ===================================================== */
.prof-searchbar {
  position: relative;
  z-index: 10;
  margin: -36px auto 0;
  max-width: 840px;
  padding: 0 24px;
}

.prof-searchbar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), 0 20px 60px rgba(25, 39, 82, 0.18);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gray-100);
}

.prof-searchbar-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prof-searchbar-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0 2px;
}

.prof-searchbar select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  outline: none;
}

.prof-searchbar select:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(209, 124, 43, 0.12);
  background-color: var(--white);
}

.prof-searchbar select:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

.prof-searchbar-divider {
  width: 1px;
  height: 44px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.prof-searchbar-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(209, 124, 43, 0.35);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.prof-searchbar-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.prof-searchbar-btn:hover {
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-900) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(209, 124, 43, 0.45);
}

.prof-searchbar-btn:hover::after {
  opacity: 1;
}

.prof-searchbar-btn:active {
  transform: translateY(0);
}

.prof-searchbar-btn:focus-visible {
  outline: 2px solid var(--orange-300);
  outline-offset: 3px;
}

/* Mobile: stack fields */
@media (max-width: 639px) {
  .prof-searchbar {
    margin-top: -24px;
  }
  .prof-searchbar-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
  }
  .prof-searchbar-divider {
    display: none;
  }
  .prof-searchbar-btn {
    min-height: 52px;
    font-size: 1rem;
  }
}

/* =====================================================
   RESULTS SECTION
   ===================================================== */
.prof-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 24px clamp(48px, 8vw, 96px);
}

.prof-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.prof-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--gray-900);
}

.prof-result-count {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* =====================================================
   GRID
   ===================================================== */
.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* =====================================================
   CARD
   ===================================================== */
.prof-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
}

.prof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-50);
}

.prof-card:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}

/* Top accent bar on hover */
.prof-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  border-radius: 0 0 2px 2px;
}

.prof-card:hover::before {
  transform: scaleX(1);
}

.prof-card-header {
  padding: 20px 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* Avatar / Initial bubble */
.prof-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  box-shadow: 0 4px 12px rgba(33, 53, 119, 0.25);
  position: relative;
  overflow: hidden;
}

.prof-avatar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255,255,255,0.12);
  border-radius: inherit;
}

.prof-card-identity {
  flex: 1;
  min-width: 0;
}

.prof-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prof-card-headline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prof-card-body {
  padding: 14px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prof-card-bio {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prof-card-districts {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gray-500);
}

.prof-card-districts svg {
  flex-shrink: 0;
  color: var(--gray-400);
}

.prof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prof-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--blue-50);
  color: var(--blue-500);
  border: 1px solid rgba(33, 53, 119, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.prof-card:hover .prof-chip {
  background: var(--blue-100);
  color: var(--blue-700);
}

.prof-card-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.prof-card-cta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.prof-card:hover .prof-card-cta {
  gap: 8px;
  color: var(--orange-700);
}

.prof-card-cta svg {
  transition: transform var(--transition-fast);
}

.prof-card:hover .prof-card-cta svg {
  transform: translateX(3px);
}

/* =====================================================
   VERIFIED BADGE
   ===================================================== */
.prof-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 7px;
  background: var(--success-light);
  color: var(--success-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(5, 150, 105, 0.2);
  white-space: nowrap;
}

.prof-badge-verified svg {
  flex-shrink: 0;
}

/* =====================================================
   ERROR STATE
   ===================================================== */
.prof-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.prof-error-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-500);
}

.prof-error-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
}

.prof-error-msg {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-500);
  max-width: 400px;
  line-height: 1.6;
}

.prof-error-retry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--orange-500);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.prof-error-retry:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
}

.prof-error-retry:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}

/* =====================================================
   EMPTY STATE
   ===================================================== */
.prof-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(48px, 8vw, 96px) 24px;
  text-align: center;
}

.prof-empty-illustration {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 8px;
}

.prof-empty-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--orange-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-300);
}

.prof-empty-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--gray-800);
}

.prof-empty-sub {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-500);
  max-width: 360px;
  line-height: 1.65;
}

.prof-empty-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: var(--orange-600);
  border: 2px solid var(--orange-500);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.prof-empty-action:hover {
  background: var(--orange-50);
}

.prof-empty-action:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}

/* =====================================================
   SKELETON LOADING
   ===================================================== */
@keyframes prof-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.prof-skeleton {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.prof-skeleton-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.prof-skel {
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 800px 100%;
  animation: prof-shimmer 1.6s ease-in-out infinite;
}

.prof-skel-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.prof-skel-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prof-skel-h1 {
  height: 14px;
  width: 60%;
}

.prof-skel-h2 {
  height: 11px;
  width: 40%;
}

.prof-skel-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.prof-skel-line {
  height: 11px;
  width: 100%;
}

.prof-skel-line-short {
  height: 11px;
  width: 70%;
}

.prof-skel-chips {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.prof-skel-chip {
  height: 22px;
  width: 72px;
  border-radius: var(--radius-full);
}

.prof-skel-footer {
  height: 1px;
  background: var(--gray-100);
  margin: 4px -20px -20px;
  width: calc(100% + 40px);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .prof-skel,
  .prof-hero-label-dot {
    animation: none !important;
  }

  .prof-card,
  .prof-card::before,
  .prof-card-cta,
  .prof-card-cta svg,
  .prof-chip,
  .prof-searchbar-btn,
  .prof-searchbar select {
    transition: none !important;
  }
}

/* =====================================================
   PROFILE PAGE — public professional profile
   Used by: profissional.html
   ===================================================== */

/* Page body offset */
.page-profissional {
  padding-top: 120px;
}

/* Hero — profile variant (centred, no search bar) */
.prof-profile-hero {
  padding: clamp(48px, 8vw, 80px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
}

.prof-profile-avatar-wrap {
  margin: 0 auto 20px;
  width: 88px;
  height: 88px;
}

.prof-profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  box-shadow: 0 6px 24px rgba(33, 53, 119, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.prof-profile-avatar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: inherit;
}

.prof-profile-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.prof-profile-name-text {
  display: inline;
}

.prof-profile-districts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.prof-profile-districts svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Profile main layout ─────────────────────────── */
.prof-profile-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.prof-profile-loading {
  padding: clamp(32px, 5vw, 60px) 0;
}

.prof-profile-skeleton {
  max-width: 720px;
  margin: 0 auto;
}

.prof-profile-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* ── Profile sections ────────────────────────────── */
.prof-profile-section {
  padding: clamp(24px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--gray-100);
}

.prof-profile-section:last-child {
  border-bottom: none;
}

.prof-profile-section-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* ── Bio ─────────────────────────────────────────── */
.prof-profile-bio-text {
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: var(--gray-700);
  line-height: 1.75;
  white-space: pre-line;
}

/* ── Meta (years, CV) ────────────────────────────── */
.prof-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.prof-profile-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
  text-decoration: none;
}

.prof-profile-cv-link {
  color: var(--blue-500);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.prof-profile-cv-link:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

.prof-profile-cv-link:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Services list ───────────────────────────────── */
.prof-profile-services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prof-profile-service-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.prof-profile-service-item:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-sm);
}

.prof-profile-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.prof-profile-service-price {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-600);
  white-space: nowrap;
}

.prof-profile-service-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* ── Contact — Fase 2 placeholder ────────────────── */
.prof-profile-contact-section {
  border-bottom: none;
}

.prof-profile-contact-card {
  background: linear-gradient(135deg, var(--blue-50) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.prof-profile-contact-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
}

.prof-profile-contact-body {
  flex: 1;
  min-width: 160px;
}

.prof-profile-contact-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.prof-profile-contact-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

.prof-profile-contact-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  background: var(--orange-500);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 8px rgba(209, 124, 43, 0.3);
}

.prof-profile-contact-btn:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(209, 124, 43, 0.4);
}

.prof-profile-contact-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(209, 124, 43, 0.25);
}

.prof-profile-contact-btn:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}

/* Mobile adjustments */
@media (max-width: 639px) {
  .prof-profile-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .prof-profile-contact-btn {
    width: 100%;
    justify-content: center;
  }

  .prof-profile-name {
    flex-direction: column;
    gap: 8px;
  }
}

/* Reduced motion — profile additions */
@media (prefers-reduced-motion: reduce) {
  .prof-profile-service-item,
  .prof-profile-cv-link,
  .prof-profile-contact-btn {
    transition: none !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   MODAL — Pedir Orçamento
═══════════════════════════════════════════════════ */
.prof-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 16px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: prof-modal-fade-in 0.18s ease;
}

@keyframes prof-modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.prof-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: prof-modal-slide-up 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes prof-modal-slide-up {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.prof-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 16px;
}

.prof-modal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.prof-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.prof-modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.prof-modal-close:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

.prof-modal-body {
  padding: 20px 24px 24px;
}

.prof-modal-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0 0 20px;
  line-height: 1.6;
}

.prof-modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .prof-modal-form-row { grid-template-columns: 1fr; }
}

.prof-modal-field {
  margin-bottom: 14px;
}

.prof-modal-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 5px;
}

.prof-modal-required {
  color: var(--orange-500);
  margin-left: 2px;
}

.prof-modal-optional {
  color: var(--gray-400);
  font-weight: 400;
  margin-left: 2px;
}

.prof-modal-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 13px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.prof-modal-input:focus {
  border-color: var(--orange-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(209, 124, 43, 0.1);
}

textarea.prof-modal-input {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

select.prof-modal-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.prof-modal-hint {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--gray-400);
  margin: 4px 0 0;
  text-align: right;
}

.prof-modal-error {
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  color: #991b1b;
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 10px 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.prof-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.prof-modal-cancel {
  padding: 10px 20px;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.prof-modal-cancel:hover {
  border-color: var(--gray-400);
  color: var(--gray-900);
}

.prof-modal-cancel:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

.prof-modal-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
}

/* Success state */
.prof-modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 0 4px;
}

.prof-modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  border: 2px solid rgba(5, 150, 105, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
}

.prof-modal-success-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.prof-modal-success-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
  max-width: 320px;
}

/* ═══════════════════════════════════════════════════
   LEADS — Portal do Profissional
═══════════════════════════════════════════════════ */
.leads-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--gray-400);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.leads-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.lead-item:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-sm);
}

.lead-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.lead-item-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
}

.lead-item-date {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}

.lead-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.lead-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
}

.lead-item-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lead-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.lead-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lead-contact-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.lead-contact-value {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-800);
  font-weight: 500;
  word-break: break-all;
}

.lead-contact-value a {
  color: var(--orange-600);
  text-decoration: none;
  font-weight: 600;
}

.lead-contact-value a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .prof-modal-overlay { animation: none; }
  .prof-modal { animation: none; }
  .lead-item,
  .prof-modal-close,
  .prof-modal-input,
  .prof-modal-cancel { transition: none !important; }
}
