/* ═══════════════════════════════════════════════════════════════
   DentalFind - Estilos
   Versão Corrigida V20-Fixado
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Cores da marca — MAIS VIBRANTES E SATURADAS */
  --brand: #0095e6;
  --brand-dark: #0077cc;
  --brand-deeper: #0060a0;
  --brand-light: #d4f0ff;
  --brand-mid: #66c4f5;
  --brand-glow: rgba(0,149,230,0.35);

  /* Cores de destaque — mais vivas */
  --accent: #ff9f0a;
  --accent-dark: #e68900;
  --green: #00c853;
  --green-bg: #c8f5dc;
  --red: #ff3b30;
  --red-bg: #ffc9c7;
  --purple: #af52ed;
  --purple-bg: #e8d5ff;
  --pink: #ff2d78;
  --pink-bg: #ffd6e8;

  /* Superfícies */
  --surface: #ffffff;
  --surface-glass: rgba(255,255,255,0.94);

  /* Fundos — MAIS SATURADOS E VIVOS */
  --bg: #b8e0f8;
  --bg2: #9dd3f5;
  --bg3: #d6effd;
  --bg4: #e8f7ff;

  /* Bordas — mais definidas */
  --border: rgba(0,149,230,0.18);
  --border-mid: rgba(0,149,230,0.32);
  --border-strong: rgba(0,149,230,0.55);

  /* Texto — mais contraste */
  --text: #001a33;
  --text2: #003366;
  --text3: #005999;

  /* Bordas arredondadas */
  --radius-xs: 0.4rem;
  --radius-sm: 0.7rem;
  --radius: 1rem;
  --radius-lg: 1.4rem;
  --radius-xl: 2rem;

  /* Sombras — MAIS DRAMÁTICAS E COLORIDAS */
  --shadow-sm: 0 2px 8px rgba(0,149,230,0.15), 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 6px 24px rgba(0,149,230,0.22), 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,149,230,0.28), 0 6px 16px rgba(0,0,0,0.10);
  --shadow-xl: 0 28px 72px rgba(0,149,230,0.35), 0 10px 24px rgba(0,0,0,0.14);
  --shadow-float: 0 20px 60px rgba(0,149,230,0.40), 0 8px 20px rgba(0,0,0,0.16);

  /* Fontes */
  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transições */
  --transition: 0.22s cubic-bezier(0.34,1.56,0.64,1);
  --transition-fast: 0.15s cubic-bezier(0.4,0,0.2,1);

  /* Gradientes — MAIS VIBRANTES */
  --gradient-brand: linear-gradient(135deg, #00b4f5 0%, #0095e6 40%, #0077cc 100%);
  --gradient-brand-vivid: linear-gradient(135deg, #0095e6 0%, #0066ff 100%);
  --gradient-hero: linear-gradient(140deg, #80ccf5 0%, #b3e0f8 40%, #d6effd 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(0,149,230,0.06) 100%);
  --gradient-accent: linear-gradient(135deg, #ff9f0a, #e68900);
  --gradient-green: linear-gradient(135deg, #00c853, #00a844);
  --gradient-red: linear-gradient(135deg, #ff3b30, #d6332a);
  --gradient-purple: linear-gradient(135deg, #af52ed, #9333ea);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 10px; }

/* ── Animações ───────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px) saturate(2);
  -webkit-backdrop-filter: blur(24px) saturate(2);
  border-bottom: 1.5px solid var(--border-mid);
  padding: 0 2rem;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 0 var(--border), 0 6px 24px rgba(14,165,233,0.08);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

.logo-icon {
  background: var(--gradient-brand);
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(14,165,233,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.logo-area:hover .logo-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(14,165,233,0.65);
}

.logo-icon i {
  color: white;
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
}

.logo-text span {
  color: var(--brand);
}

.nav-badge {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
  border: 1px solid var(--border-mid);
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* ── Botões ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.825rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.15s;
}

.btn:hover::after {
  background: rgba(255,255,255,0.12);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97) translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 18px rgba(14,165,233,0.45), 0 1px 0 rgba(255,255,255,0.2) inset;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(14,165,233,0.60), 0 1px 0 rgba(255,255,255,0.25) inset;
  filter: brightness(1.06);
}

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 1.5px solid var(--border-mid);
  box-shadow: 0 2px 8px rgba(14,165,233,0.06);
}

.btn-outline:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-deeper);
  box-shadow: 0 4px 16px rgba(14,165,233,0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--border-mid);
}

.btn-ghost:hover {
  background: var(--bg2);
  color: var(--text);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.btn-cancelar {
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-cancelar:hover { background: #b91c1c; }
.btn-cancelar:active { background: #991b1b; }

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 4px 14px rgba(245,158,11,0.35);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.btn-white {
  background: white;
  color: var(--brand-deeper);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.925rem;
}

.btn-sm {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
}

.btn-xs {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
}

.btn-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn-disabled::after {
  display: none;
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.55rem;
  border-radius: 2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge-brand {
  background: var(--brand-light);
  color: var(--brand-deeper);
  border: 1px solid var(--border-mid);
}

.badge-green {
  background: #dcfce7;
  color: #166534;
  border: 1px solid rgba(22,163,74,0.2);
}

.badge-amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(217,119,6,0.2);
}

.badge-red {
  background: var(--red-bg);
  color: #991b1b;
  border: 1px solid rgba(239,68,68,0.2);
}

.badge-purple {
  background: var(--purple-bg);
  color: #5b21b6;
}

.badge-gray {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid rgba(107,114,128,0.2);
}

.badge-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.badge-glass {
  background: rgba(255,255,255,0.9);
  color: var(--brand-dark);
  border: 1px solid var(--border-mid);
}

.badge-online {
  background: #dcfce7;
  color: #166534;
  border: 1px solid rgba(22,163,74,0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-online::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
}

/* ── Selo Verificado Dourado (medalha) ───────────────────────── */
.selo-verif {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.28rem 0.7rem 0.28rem 0.38rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #5a3a06;
  background: linear-gradient(135deg, #fff4c2 0%, #ffd76b 45%, #f0b429 100%);
  border: 1.5px solid #d99411;
  box-shadow:
    0 2px 6px rgba(217,148,17,0.35),
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(120,70,0,0.18);
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
  white-space: nowrap;
  position: relative;
}
.selo-verif::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #fff7d6 0%, #ffd76b 38%, #c98a0d 100%);
  border: 1.5px solid #a76a05;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.65),
    inset 0 -1px 1px rgba(80,40,0,0.35),
    0 1px 2px rgba(0,0,0,0.18);
  display: inline-block;
  flex-shrink: 0;
  background-image:
    radial-gradient(circle at 32% 30%, #fff7d6 0%, #ffd76b 38%, #c98a0d 100%);
}
.selo-verif::after {
  content: '\f00c'; /* fa-check */
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
  font-weight: 900;
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.62rem;
  color: #5a3a06;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
  pointer-events: none;
}
.selo-verif.selo-sm {
  font-size: 0.62rem;
  padding: 0.22rem 0.55rem 0.22rem 0.32rem;
}
.selo-verif.selo-sm::before { width: 15px; height: 15px; }
.selo-verif.selo-sm::after  { left: 6px; font-size: 0.55rem; }

/* Variante compacta: SO a bolinha dourada (sem o texto "Verificado"). */
/* Usada nos lugares onde o selo de email+telefone verificados estava       */
/* sobrepondo o nome/turno do profissional no card.                         */
.selo-verif.selo-icon {
  font-size: 0;            /* oculta o texto, mantem o ::before (bolinha) */
  gap: 0;
  padding: 0;
  background: transparent; /* sem pílula de fundo */
  border: none;
  box-shadow: none;
  width: 22px;
  height: 22px;
  justify-content: center;
  vertical-align: middle;
}
.selo-verif.selo-icon::before {
  width: 22px;
  height: 22px;
}
.selo-verif.selo-icon::after {
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.72rem;
}

/* Selo de destaque maior (cabeçalho do perfil) */
.selo-verif.selo-lg {
  font-size: 0.78rem;
  padding: 0.34rem 0.85rem 0.34rem 0.42rem;
}
.selo-verif.selo-lg::before { width: 22px; height: 22px; }
.selo-verif.selo-lg::after  { left: 8px; font-size: 0.72rem; }

/* Variante específica para CRO (texto interno trocado por modificador) */
.selo-verif[data-tipo="cro"]::before {
  background:
    radial-gradient(circle at 32% 30%, #fff7d6 0%, #ffd76b 38%, #b07300 100%);
}

/* ── Variantes de cor por tipo de usuário ────────────────────────────
   - .selo-bronze: usado em PROFISSIONAIS (cobre/bronze)
   - .selo-prata:  usado em CLÍNICAS / CONSULTÓRIOS (prata)
   - dourado padrão (sem modificador): reservado para CLÍNICA PREMIUM
*/
.selo-verif.selo-bronze {
  color: #4a2d10;
  background: linear-gradient(135deg, #fbe1c4 0%, #d99459 45%, #a86a2b 100%);
  border-color: #8a531c;
  box-shadow:
    0 2px 6px rgba(138,83,28,0.35),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(60,30,0,0.22);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}
.selo-verif.selo-bronze::before {
  background:
    radial-gradient(circle at 32% 30%, #ffe0c4 0%, #d99459 38%, #8a531c 100%);
  border-color: #6a3e10;
}
.selo-verif.selo-bronze::after { color: #4a2d10; }

.selo-verif.selo-prata {
  color: #2a3340;
  background: linear-gradient(135deg, #f4f6f9 0%, #cfd6df 45%, #97a3b3 100%);
  border-color: #7a8696;
  box-shadow:
    0 2px 6px rgba(122,134,150,0.35),
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(40,52,72,0.22);
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}
.selo-verif.selo-prata::before {
  background:
    radial-gradient(circle at 32% 30%, #ffffff 0%, #d6dde6 38%, #7a8696 100%);
  border-color: #5d6878;
}
.selo-verif.selo-prata::after { color: #2a3340; }

/* ── Filtro Premium destacado ───────────────────────────────── */
.filtro-premium-box {
  position: relative;
  padding: 0.85rem 0.85rem 0.75rem;
  margin-bottom: 0.9rem;
  border-radius: var(--radius-md, 14px);
  background: linear-gradient(135deg, #fffaf0 0%, #fff4d6 100%);
  border: 1.5px solid #f0c674;
  box-shadow:
    0 2px 10px rgba(217,148,17,0.10),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.filtro-premium-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,215,107,0.0) 60%, rgba(255,215,107,0.18) 100%);
}
.filtro-premium-box > label {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #7a4a05;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.filtro-premium-box > label i.fa-shield-check,
.filtro-premium-box > label i.fa-shield-halved {
  color: #d99411;
}
.filtro-premium-box select {
  background: #fff !important;
  border: 1.5px solid #e8c479 !important;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.filtro-premium-box select:focus {
  border-color: #d99411 !important;
  box-shadow: 0 0 0 4px rgba(217,148,17,0.18) !important;
}
.filtro-premium-box .filtro-premium-hint {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #7a4a05;
  background: rgba(255,255,255,0.65);
  border: 1px dashed #e8c479;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}
.filtro-premium-box .filtro-premium-hint a {
  color: #b06f00;
  font-weight: 800;
  text-decoration: underline;
}
.filtro-premium-box .filtro-premium-crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd76b, #d99411);
  color: #fff;
  font-size: 0.6rem;
  box-shadow: 0 1px 3px rgba(217,148,17,0.4);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  padding: 1.4rem 1.6rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-mid);
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 340px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: 2rem;
  padding: 0.25rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1.08;
  margin-bottom: 0.45rem;
}

.hero h1 span {
  color: var(--brand);
}

.hero p {
  color: var(--text2);
  font-size: 0.88rem;
  max-width: 620px;
  margin: 0 auto 0.7rem;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  display: block;
}

.hero-stat-label {
  font-size: 0.67rem;
  color: var(--text3);
  font-weight: 500;
}

/* ── Banners ─────────────────────────────────────────────────── */
.home-banners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.55rem auto 0.75rem;
  max-width: 1020px;
}

.home-banner {
  position: relative;
  min-height: 102px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background-size: cover;
  background-position: center;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.home-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.home-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(12,24,32,0.78), rgba(12,24,32,0.35));
}

.home-banner-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  justify-content: flex-end;
}

.home-banner-content h4 {
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 700;
}

.home-banner-content p {
  font-size: 0.68rem;
  opacity: 0.9;
  line-height: 1.3;
}

.home-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 2rem;
  width: max-content;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
}

/* ── Container Principal ─────────────────────────────────────── */
.main-container {
  max-width: 1440px;
  margin: 0.9rem auto;
  padding: 0 2rem;
}

/* ── Tabs ────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0.35rem;
  background: var(--surface);
  padding: 0.35rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.tab-btn {
  padding: 0.55rem 1.3rem;
  border-radius: 2rem;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  background: transparent;
  color: var(--text2);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.01em;
}

.tab-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.tab-btn.active {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 16px rgba(14,165,233,0.45);
}

/* ── Dashboard Grid ──────────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border-mid);
  position: sticky;
  top: 80px;
}

.sidebar-section {
  margin-bottom: 1.5rem;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-deeper);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 1.2rem 0;
}

/* ── Formulários ─────────────────────────────────────────────── */
.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #dde8ee;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg3);
  transition: all var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.14);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--red);
  background: #fff5f5;
}

.form-group .field-error {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.25rem;
  display: none;
}

.form-group .field-error.show {
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.filter-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.filter-row input {
  flex: 1;
}

.filter-row span {
  color: var(--text3);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── Cidade Dropdown ─────────────────────────────────────────── */
.cidade-wrapper {
  position: relative;
}

.cidade-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  max-height: 220px;
  overflow-y: auto;
  z-index: 500;
  box-shadow: var(--shadow-lg);
  display: none;
}

.cidade-dropdown.open {
  display: block;
  animation: fadeIn 0.12s ease;
}

.cidade-option {
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-size: 0.82rem;
  transition: background 0.1s;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cidade-option:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.cidade-option:last-child {
  border-bottom: none;
}

.cidade-option .cidade-uf {
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  background: var(--gradient-brand);
  padding: 0.1rem 0.45rem;
  border-radius: 2rem;
}

/* ── Slider de Salário ───────────────────────────────────────── */
.turno-salary-item {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.turno-salary-item:hover {
  border-color: var(--border-mid);
}

.turno-salary-item .turno-slider-container {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-mid);
  display: none;
}

.turno-salary-item .turno-slider-container.visible {
  display: block;
}

.salary-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.salary-value {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
}

.salary-label {
  font-size: 0.68rem;
  color: var(--text3);
  text-align: right;
  line-height: 1.5;
}

.salary-label span {
  display: block;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--text2);
}

.salary-range-outer {
  position: relative;
  margin: 0.5rem 0 0.25rem;
  padding-bottom: 1.5rem;
}

.salary-range-track {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: #e2eaf0;
}

.salary-range-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 6px;
  transition: width 0.08s, background-color 0.3s;
}

.salary-range-track input[type="range"] {
  position: absolute;
  top: -7px;
  left: 0;
  width: 100%;
  height: 20px;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  margin: 0;
}

.salary-thumb {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2.5px solid var(--brand);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transform: translate(-50%, -50%);
  transition: border-color 0.25s, left 0.08s;
  pointer-events: none;
  z-index: 5;
}

.salary-markers {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  color: var(--text3);
  margin-top: 0.15rem;
}

.salary-hint {
  font-size: 0.68rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.salary-hint.ok {
  background: #dcfce7;
  color: #166534;
}

.salary-hint.low {
  background: var(--red-bg);
  color: #991b1b;
}

.salary-hint.high {
  background: #fef3c7;
  color: #92400e;
}

/* ── Upload de Arquivos ──────────────────────────────────────── */
.file-upload-area {
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg3);
}

.file-upload-area:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}

.file-upload-area.has-file {
  border-color: var(--green);
  background: var(--green-bg);
  border-style: solid;
}

.file-upload-area i {
  font-size: 1.4rem;
  color: var(--brand);
  margin-bottom: 0.35rem;
  display: block;
}

.file-upload-area .file-name {
  font-size: 0.75rem;
  color: #166534;
  font-weight: 600;
  margin-top: 0.25rem;
  word-break: break-all;
}

.file-upload-area input[type="file"] {
  display: none;
}

.file-upload-text {
  font-size: 0.78rem;
  color: var(--text2);
}

/* ── Botões de Horário ───────────────────────────────────────── */
.horario-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.horario-btn {
  background: var(--bg3);
  border: 1.5px solid var(--border-mid);
  padding: 0.35rem 0.7rem;
  border-radius: 2rem;
  font-size: 0.72rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text2);
}

.horario-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.horario-btn.selected {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 2px 8px rgba(2,132,199,0.3);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
  margin: 0;
  cursor: pointer;
}

.checkbox-row label {
  font-size: 0.84rem;
  color: var(--text2);
  cursor: pointer;
  font-weight: 500;
}

/* ── Cards de Profissionais ──────────────────────────────────── */
.pro-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.25rem;
}

.pro-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease, border-color 0.2s ease;
  animation: fadeUp 0.3s ease both;
  will-change: transform;
}

.pro-card:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow: var(--shadow-float);
  border-color: var(--brand);
  z-index: 10;
}

.pro-photo {
  padding: 1.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 140px;
}

.pro-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: var(--shadow);
  object-fit: cover;
  background: white;
}

.pro-avatar-default {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: white;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  font-size: 2.2rem;
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.95);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.fav-btn:hover {
  transform: scale(1.15);
  color: #e74c3c;
}

.fav-btn.active {
  color: #e74c3c;
}

.pro-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.pro-verif-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

/* ── CRO Verification Field ────────────────────────────────────────── */
.cro-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.4rem;
  align-items: stretch;
}
.cro-row .cro-uf-select {
  min-width: 0;
  padding: 0.55rem 0.45rem;
  font-size: 0.85rem;
}
.cro-row input[type="text"] {
  min-width: 0;
}
.cro-verificar-btn {
  white-space: nowrap;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
}
.cro-verificar-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cro-status {
  margin-top: 0.45rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.3;
}
.cro-status.cro-ok    { background:#dcfce7; color:#166534; border:1px solid #86efac; }
.cro-status.cro-warn  { background:#fef3c7; color:#92400e; border:1px solid #fcd34d; }
.cro-status.cro-error { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }
.cro-status.cro-loading { background:var(--bg3); color:var(--text2); border:1px solid var(--border); }
@media (max-width: 480px) {
  .cro-row { grid-template-columns: 78px 1fr; }
  .cro-verificar-btn { grid-column: 1 / -1; }
}

/* ── Diploma Verification Buttons ──────────────────────────────────── */
.diploma-verif-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.diploma-verif-row .btn { font-size: 0.78rem; padding: 0.5rem 0.75rem; }
.diploma-verif-row .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.diploma-status {
  margin-top: 0.45rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.3;
}
.diploma-status.dpl-ok      { background:#dcfce7; color:#166534; border:1px solid #86efac; }
.diploma-status.dpl-warn    { background:#fef3c7; color:#92400e; border:1px solid #fcd34d; }
.diploma-status.dpl-error   { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }
.diploma-status.dpl-loading { background:var(--bg3); color:var(--text2); border:1px solid var(--border); }
.diploma-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.pro-info {
  padding: 1rem 1.1rem 1.1rem;
}

.pro-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.4rem;
  gap: 0.5rem;
}

.pro-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.price-tag {
  background: var(--gradient-brand);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(2,132,199,0.25);
  letter-spacing: -0.02em;
}

.pro-stars {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.stars-row {
  color: #f59e0b;
  font-size: 0.75rem;
}

.pro-stars-text {
  font-size: 0.72rem;
  color: var(--text3);
  font-weight: 500;
}

.pro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.73rem;
  color: var(--text2);
  margin-bottom: 0.5rem;
  align-items: center;
}

.pro-meta i {
  color: var(--brand);
}

.pro-horarios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.avail-tag {
  background: #dcfce7;
  color: #166534;
  border: 1px solid rgba(22,163,74,0.18);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.avail-tag:hover {
  background: #bbf7d0;
}

.avail-tag-time {
  background: var(--brand-light);
  color: var(--brand-deeper);
  border: 1px solid var(--border-mid);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
  font-weight: 700;
}

.pro-exp {
  font-size: 0.75rem;
  color: var(--text2);
  margin-bottom: 0.75rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

/* ── Skeleton Loader ─────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #e2eaf0 25%, #eef4fa 50%, #e2eaf0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.4rem;
}

.skeleton-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.skeleton-photo {
  height: 140px;
}

.skeleton-body {
  padding: 1rem;
}

.skeleton-line {
  height: 12px;
  margin-bottom: 8px;
}

.skeleton-line-sm {
  height: 10px;
  width: 60%;
}

/* ── Favoritos ───────────────────────────────────────────────── */
.fav-item {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: var(--text2);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.fav-item:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
  border-color: var(--border-mid);
}

.fav-item i {
  color: #e74c3c;
  font-size: 0.75rem;
}

/* ── Modais ──────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12,24,32,0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.18s ease;
}

.modal-box {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(14,165,233,0.28), 0 12px 30px rgba(0,0,0,0.13);
  animation: scaleIn 0.22s cubic-bezier(0.34,1.56,0.64,1);
  border: 1.5px solid var(--border-mid);
  z-index: 1010;
  position: relative;
}

.modal-box.modal-wide {
  max-width: 680px;
}

.modal-box.modal-large {
  max-width: 860px;
}

.modal-box.modal-xl {
  max-width: 1180px;
  width: 95vw;
}

/* ═══════════════════════════════════════════════════════════════
   Área do Desenvolvedor (admin dashboard) — layout V2
   ═══════════════════════════════════════════════════════════════ */
.admin-section {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.1rem;
}
.admin-section-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--brand-light);
  letter-spacing: -0.01em;
}
.admin-section-header.danger { color: #dc2626; border-bottom-color: #fecaca; }
.admin-section-header.success { color: #059669; border-bottom-color: #bbf7d0; }
.admin-section-header.warning { color: #d97706; border-bottom-color: #fde68a; }
.admin-section-header i { font-size: 0.95em; }
.admin-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.5rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 0.25rem;
}
.admin-section-header.danger .admin-section-count { background: #dc2626; }

/* KPI grid horizontal (4 colunas em desktop, 2 em tablet, 1 em mobile) */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.admin-kpi {
  background: linear-gradient(135deg, var(--bg) 0%, var(--brand-light) 100%);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  text-align: left;
  min-width: 0;
}
.admin-kpi .label {
  font-size: 0.7rem;
  color: var(--text2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.admin-kpi .value {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.admin-kpi--accent .value { color: var(--brand); }
.admin-kpi--money .value { color: #059669; }
.admin-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.admin-kpi-row .admin-kpi { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }

/* Tabelas admin: cabeçalho sticky, linhas espaçadas, scroll horizontal */
.admin-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.83rem;
}
.admin-table thead {
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--bg3) 100%);
  position: sticky;
  top: 0;
  z-index: 1;
}
.admin-table th {
  padding: 0.7rem 0.85rem;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border-mid);
  white-space: nowrap;
}
.admin-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
  white-space: nowrap;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover { background: var(--brand-light); }
.admin-actions {
  display: flex;
  gap: 0.3rem;
  flex-wrap: nowrap;
}
.admin-actions .btn {
  padding: 0.32rem 0.5rem;
  font-size: 0.72rem;
}
.admin-actions .btn-icon {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Card de avaliação em mediação */
.admin-mediacao-card {
  background: #fff5f5;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}
.admin-mediacao-card:last-child { margin-bottom: 0; }
.admin-mediacao-titulo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.admin-mediacao-titulo i { color: #ef4444; margin-right: 0.3rem; }
.admin-mediacao-meta {
  font-size: 0.74rem;
  color: var(--text2);
  margin-bottom: 0.4rem;
}
.admin-mediacao-comentario {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
}
.admin-empty {
  font-size: 0.83rem;
  color: var(--text3);
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.admin-empty i { color: #10b981; font-size: 1rem; }

/* Toolbar do dashboard (botões Atualizar + Sair) */
.admin-toolbar {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--border);
}

/* Responsivo */
@media (max-width: 1024px) {
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .admin-kpi-grid { grid-template-columns: 1fr; }
  .admin-kpi-row { grid-template-columns: 1fr; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--brand-light);
  background: linear-gradient(90deg, var(--brand-light) 0%, transparent 100%);
  margin: -2rem -2rem 1.5rem;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.modal-close {
  background: var(--bg3);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: var(--transition);
  font-size: 0.8rem;
}

.modal-close:hover {
  background: var(--bg2);
  color: var(--text);
}

.modal-close:focus-visible {
  outline: 2px solid var(--brand);
}

/* ── Onboarding ──────────────────────────────────────────────── */
.onboard-step {
  display: none;
}

.onboard-step.active {
  display: block;
  animation: fadeUp 0.25s ease;
}

.onboard-hero {
  text-align: center;
  padding: 1rem 0 0.75rem;
}

.onboard-logo {
  width: 52px;
  height: 52px;
  background: var(--gradient-brand);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  box-shadow: 0 8px 24px rgba(2,132,199,0.35);
}

.onboard-logo i {
  color: white;
  font-size: 1.5rem;
}

.onboard-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}

.onboard-sub {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.5;
}

.onboard-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.onboard-choice {
  border: 2px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg3);
}

.onboard-choice:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.onboard-choice:focus-visible {
  outline: 2px solid var(--brand);
}

.onboard-choice i {
  font-size: 2rem;
  color: var(--brand);
  display: block;
  margin-bottom: 0.55rem;
}

.onboard-choice h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.onboard-choice p {
  font-size: 0.76rem;
  color: var(--text2);
  line-height: 1.4;
}

.onboard-divider {
  text-align: center;
  color: var(--text3);
  font-size: 0.78rem;
  margin: 1rem 0;
  position: relative;
}

.onboard-divider::before,
.onboard-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border-mid);
}

.onboard-divider::before {
  left: 0;
}

.onboard-divider::after {
  right: 0;
}

.onboard-back {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
  padding: 0;
  font-family: var(--font-body);
  transition: color var(--transition);
  font-weight: 500;
}

.onboard-back:hover {
  color: var(--brand);
}

/* ── Termos ──────────────────────────────────────────────────── */
.terms-checkbox {
  margin: 0.75rem 0 0.4rem;
}

.terms-checkbox label {
  font-size: 0.78rem;
  color: var(--text2);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.terms-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}

.terms-link {
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
  text-underline-offset: 2px;
}

/* ── Calendário ──────────────────────────────────────────────── */
.calendar {
  background: var(--bg3);
  border-radius: var(--radius);
  padding: 0.9rem;
  border: 1px solid var(--border);
  margin-top: 0.75rem;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cal-header span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text);
  text-transform: capitalize;
}

.cal-nav {
  background: white;
  border: 1px solid var(--border-mid);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text2);
  transition: var(--transition);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.cal-nav:hover {
  background: var(--brand-light);
  color: var(--brand);
  border-color: var(--brand);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.cal-dow {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text3);
  padding: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cal-day {
  padding: 0.32rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 0.76rem;
  color: var(--text2);
  transition: var(--transition);
  font-weight: 500;
}

.cal-day:hover:not(.cal-empty):not(.cal-booked):not(.cal-past) {
  background: var(--brand-light);
  color: var(--brand);
}

.cal-day.selected {
  background: var(--gradient-brand);
  color: white;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(2,132,199,0.3);
}

.cal-day.today {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  font-weight: 700;
}

.cal-day.cal-booked {
  background: var(--red-bg);
  color: #991b1b;
  cursor: not-allowed;
}

.cal-day.cal-empty {
  background: transparent;
  cursor: default;
}

.cal-day.cal-past {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Chat ────────────────────────────────────────────────────── */
.chat-messages {
  height: 260px;
  overflow-y: auto;
  border: 1.5px solid #dde8ee;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--bg3);
}

.chat-msg {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  max-width: 80%;
  line-height: 1.55;
  background: white;
  border: 1px solid var(--border);
}

.chat-msg small {
  display: block;
  font-size: 0.65rem;
  color: var(--text3);
  margin-top: 0.2rem;
}

.chat-msg.self {
  align-self: flex-end;
  background: var(--brand-light);
  border-color: var(--border-mid);
}

/* ── Estrelas de Avaliação ───────────────────────────────────── */
.rating-stars {
  display: flex;
  gap: 0.4rem;
  font-size: 1.7rem;
  cursor: pointer;
  justify-content: center;
  margin: 0.5rem 0;
}

.rating-stars i {
  color: #e2e8f0;
  transition: var(--transition);
}

.rating-stars i.active {
  color: var(--accent);
  filter: drop-shadow(0 2px 4px rgba(245,158,11,0.4));
}

/* ── Cards de Histórico ──────────────────────────────────────── */
.hist-card {
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid;
  font-size: 0.83rem;
  background: var(--bg3);
}

.hist-pendente {
  border-left-color: var(--accent);
}

.hist-aprovado {
  border-left-color: var(--green);
}

.hist-recusado {
  border-left-color: var(--red);
}

.hist-cancelado {
  border-left-color: #9ca3af;
  opacity: 0.85;
}

.hist-avaliado {
  border-left-color: var(--purple);
}

.hist-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* ── Menu do Usuário ─────────────────────────────────────────── */
.user-menu {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--brand-light);
  padding: 0.3rem 0.7rem 0.3rem 0.45rem;
  border-radius: 2rem;
  border: 1px solid var(--border-mid);
  cursor: pointer;
  transition: var(--transition);
}

.user-menu-trigger:hover {
  background: var(--brand-mid);
}

.user-menu-trigger .caret {
  font-size: 0.68rem;
  color: var(--brand-deeper);
}

.user-menu-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  border: 2px solid white;
}

.user-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-menu-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-deeper);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.35rem;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: all 0.15s ease;
  z-index: 999;
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.user-dropdown button {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.8rem;
  color: var(--text2);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-dropdown button:hover {
  background: var(--brand-light);
  color: var(--brand-deeper);
}

.user-dropdown .danger:hover {
  background: var(--red-bg);
  color: #991b1b;
}

.user-dropdown hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.25rem 0;
}

/* ── Planos ──────────────────────────────────────────────────── */
.plan-card {
  border: 2px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  margin-bottom: 0;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease, border-color 0.18s;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.plan-card.selected {
  border-color: var(--brand);
}

.plan-card.featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #fffbeb, #fef9ec);
}

.plan-card::before { display: none; }

.plan-price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.plan-price sup {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: super;
  color: var(--text3);
}

.plan-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text3);
}

/* Toggle mensal/anual */
.plan-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text2);
}

.plan-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  background: var(--border-mid);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  flex-shrink: 0;
}

.plan-toggle.on { background: var(--brand); }

.plan-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.plan-toggle.on::after { transform: translateX(18px); }

/* Remove dark overrides from previous version */
#planosModal .modal-box { background: var(--surface); color: var(--text); border: none; }
#planosModal .modal-title { color: var(--text); }
#planosModal .modal-close { color: var(--text3); }
#planosModal .modal-close:hover { background: var(--bg3); color: var(--text); }
#planosModal p { color: var(--text2); }

/* ── Solicitações ────────────────────────────────────────────── */
.solicit-card,
.qualif-item {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}

/* ── Ver Profissional ────────────────────────────────────────── */
.ver-pro-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.ver-pro-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--brand);
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: var(--shadow);
}

.ver-pro-info h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.ver-pro-info p {
  font-size: 0.8rem;
  color: var(--text2);
  margin-bottom: 0.1rem;
}

.ver-pro-section {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.ver-pro-section:last-of-type {
  border-bottom: none;
}

.ver-pro-section h3 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--brand);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ver-pro-section p {
  font-size: 0.83rem;
  color: var(--text2);
  line-height: 1.6;
}

.avaliacao-item,
.diploma-item {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 0.55rem;
  border: 1px solid var(--border);
}

/* ── Cabeçalho de Seção ──────────────────────────────────────── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.results-count {
  font-size: 0.78rem;
  color: var(--text3);
  font-weight: 500;
  background: var(--bg3);
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
}

/* ── Info Inline ─────────────────────────────────────────────── */
.pro-inline-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.pro-inline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand);
  flex-shrink: 0;
}

/* ── Cadastro / Login ────────────────────────────────────────── */
.cadastro-container {
  max-width: 680px;
  margin: 0 auto;
}

.cadastro-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Deixa os campos mais visíveis */
.form-group input,
.form-group select,
.form-group textarea {
  background: white;  /* Muda de var(--bg3) para branco puro */
  border: 1.5px solid #e2e8f0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.14);
  background: white;
}

/* Melhora a visibilidade do texto nos selects */
select option {
  color: #1e293b;
  background: white;
}

/* Labels mais contrastantes */
.form-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-deeper);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1.25rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--brand-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.login-container {
  max-width: 480px;
  margin: 0 auto;
}

.login-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo {
  width: 56px;
  height: 56px;
  background: var(--gradient-brand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(2,132,199,0.3);
}

.login-logo i {
  color: white;
  font-size: 1.6rem;
}

.login-header h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.login-header p {
  font-size: 0.83rem;
  color: var(--text2);
}

/* ── Grid de Tipos ───────────────────────────────────────────── */
.tipo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.tipo-option {
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg3);
}

.tipo-option:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-dark);
}

.tipo-option:focus-visible {
  outline: 2px solid var(--brand);
}

/* ── Grid de Tipos ───────────────────────────────────────────── */
.tipo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.tipo-option {
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg3);
}

.tipo-option:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-dark);
}

.tipo-option:focus-visible {
  outline: 2px solid var(--brand);
}

/* Selecionado: fundo sólido brand-dark, texto branco — contraste AAA */
.tipo-option.selected {
  border-color: var(--brand-deeper);
  background: var(--brand-dark);
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(2,132,199,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.tipo-option i {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
/* Ícone empilhado para Implantodontista */
.tipo-icon-stack {
  display: block;
  position: relative;
  width: 1rem;
  height: 1rem;
  margin: 0 auto 0.2rem;
  font-size: 1rem;
}
.tipo-icon-stack .fa-tooth {
  font-size: 1rem;
}
.tipo-icon-stack .tipo-icon-overlay {
  position: absolute;
  bottom: -2px;
  right: -4px;
  font-size: 0.5rem;
  background: var(--bg1);
  border-radius: 50%;
  padding: 1px;
  line-height: 1;
}
/* ── Passos do Tutorial ──────────────────────────────────────── */
.tut-step {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.tut-step:last-child {
  border-bottom: none;
}

.tut-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2,132,199,0.3);
}

.tut-content h4 {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.tut-content p {
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.5;
}

/* ── Banner CTA ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border-radius: var(--radius);
  padding: 1.1rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner i {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  display: block;
  position: relative;
}

.cta-banner h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  position: relative;
}

.cta-banner p {
  font-size: 0.72rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
  line-height: 1.45;
  position: relative;
}

/* ── Admin ───────────────────────────────────────────────────── */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.admin-kpi {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
}

.admin-kpi .label {
  font-size: 0.67rem;
  color: var(--text3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-kpi .value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--brand-deeper);
  font-weight: 800;
  margin-top: 0.2rem;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: white;
}

.admin-table th,
.admin-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: var(--bg3);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text3);
}

.admin-actions {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Endereços ───────────────────────────────────────────────── */
.address-suggestions {
  margin-top: 0.35rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  background: white;
  max-height: 180px;
  overflow-y: auto;
  display: none;
  position: relative;
  z-index: 100;
}

.address-suggestion {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.77rem;
  color: var(--text2);
  cursor: pointer;
}

.address-suggestion:last-child {
  border-bottom: none;
}

.address-suggestion:hover {
  background: var(--brand-light);
  color: var(--brand-deeper);
}

.address-helper {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--text3);
}

/* ── Diplomas ────────────────────────────────────────────────── */
.diplomas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ── Item de Dados ───────────────────────────────────────────── */
.data-item {
  background: var(--bg3);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.4rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.82rem;
  font-weight: 500;
}

.data-item:hover {
  background: var(--brand-light);
  border-color: var(--brand);
}

.data-item.selected {
  background: var(--gradient-brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 2px 8px rgba(2,132,199,0.25);
}

/* ── Estado Vazio ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--text3);
}

.empty-state i {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0.4;
}

.empty-state p {
  font-size: 0.83rem;
  font-weight: 500;
}

/* ── Toast ───────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--text);
  color: white;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInRight 0.25s ease;
  transition: opacity 0.3s ease;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.toast.success {
  background: #064e3b;
}

.toast.error {
  background: #7f1d1d;
}

.toast.warning {
  background: #78350f;
}

/* ── Força da Senha ──────────────────────────────────────────── */
.password-strength {
  margin-top: 0.4rem;
}

.password-strength-bar {
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.password-strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
  width: 0%;
}

.password-strength-text {
  font-size: 0.68rem;
  color: var(--text3);
  font-weight: 600;
}

/* ── Rodapé ──────────────────────────────────────────────────── */
.site-footer {
  margin-top: 1.25rem;
  background: #0f1f2d;
  color: #b8c7d6;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
}

.footer-links a {
  color: #c9d7e5;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-dot {
  opacity: 0.35;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  font-size: 0.8rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.22);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.66rem;
  opacity: 0.72;
  margin-top: 0.5rem;
}

/* ── Responsivo ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .pro-list,
  .onboard-choice-grid,
  .form-row,
  .diplomas-grid,
  .home-banners,
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
  .tipo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 1.65rem;
  }
  .tab-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.45rem 0.5rem;
  }
  .hero-stats {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .main-container,
  .navbar {
    padding: 0 1rem;
  }
  .footer-inner {
    padding: 0.9rem 1rem;
  }
  .modal-box {
    padding: 1.25rem;
  }
  .tipo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Impressão ───────────────────────────────────────────────── */
@media print {
  .navbar,
  .tabs,
  .sidebar,
  .modal-overlay,
  .toast-container,
  .site-footer {
    display: none;
  }
}
/* ═══════════════════════════════════════════════════════════════
   DentalFind — Melhorias Visuais V21
   Cores vivas, cards flutuantes, telas secundárias
   ═══════════════════════════════════════════════════════════════ */

/* ── Float suave em todos os cards interativos ─────────────────── */
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.pro-card,
.home-banner,
.sidebar,
.modal-box,
.plan-card,
.tut-step,
.avaliacao-item,
.contratacao-item,
.alert-item {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s ease,
              border-color 0.2s ease;
  will-change: transform;
}

/* ── Price tag — mais chamativo ─────────────────────────────────── */
.price-tag {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: white !important;
  font-weight: 800;
  border-radius: 2rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.82rem;
  box-shadow: 0 3px 10px rgba(14,165,233,0.4);
  letter-spacing: -0.01em;
}

/* ── Contratação / histórico cards ──────────────────────────────── */
.contratacao-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contratacao-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

/* ── Alertas / notificações ─────────────────────────────────────── */
.alert-item:hover {
  transform: translateX(4px);
  border-left-color: var(--brand);
}

/* ── Telas secundárias: perfil do profissional ─────────────────── */
.ver-pro-header {
  background: linear-gradient(140deg, var(--brand-light) 0%, #f0faff 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1.5px solid var(--border-mid);
  box-shadow: var(--shadow-sm);
}

.ver-pro-section {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
  background: var(--bg4);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ver-pro-section:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-sm);
}

.ver-pro-section h3 {
  color: var(--brand-deeper);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Planos ─────────────────────────────────────────────────────── */
.plan-card {
  border: 2px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.plan-card.destaque {
  background: linear-gradient(140deg, #e0f7ff 0%, #f0faff 100%);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.plan-card.destaque:hover {
  box-shadow: var(--shadow-float);
}

/* ── Sidebar title pill ─────────────────────────────────────────── */
.sidebar-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-deeper);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--brand-light);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  width: fit-content;
}

/* ── Tipo option (seleção de tipo profissional) ─────────────────── */
.tipo-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.22s cubic-bezier(0.34,1.56,0.64,1);
}

.tipo-option:hover {
  border-color: var(--brand-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.tipo-option.selected {
  border-color: var(--brand-deeper);
  background: var(--brand-dark);
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.20), var(--shadow-sm);
  transform: translateY(-2px);
}

/* ── Onboard hero ícone ─────────────────────────────────────────── */
.onboard-icon {
  background: var(--gradient-brand) !important;
  box-shadow: 0 8px 28px rgba(14,165,233,0.4) !important;
}

/* ── Salary slider ─────────────────────────────────────────────── */
.salary-range-fill {
  transition: width 0.15s ease, background 0.2s ease;
}

.salary-display {
  background: linear-gradient(135deg, var(--brand-light) 0%, #f0faff 100%);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-mid);
  margin-bottom: 0.5rem;
}

/* ── Badge-brand refinado ───────────────────────────────────────── */
.badge-brand {
  background: linear-gradient(135deg, var(--brand-light), #f0faff);
  color: var(--brand-deeper);
  border: 1px solid var(--border-mid);
  font-weight: 700;
}

/* ── Avaliação stars ────────────────────────────────────────────── */
.avaliacao-item {
  background: var(--bg4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
}

.avaliacao-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-mid);
}

/* ── Turno salary item ──────────────────────────────────────────── */
.turno-salary-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--bg4);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.turno-salary-item:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.08);
}

/* ── Modal overlay backdrop — mais escuro e vívido ──────────────── */
.modal-overlay {
  background: rgba(9,34,51,0.55) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

/* ── Pro photo background — gradiente na foto ──────────────────── */
.pro-photo {
  padding: 1.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 140px;
  background: linear-gradient(145deg, var(--brand-light) 0%, var(--bg3) 100%);
}

/* ─────────────────────────────────────────────────────────────── */
/*  CADASTRO CLÍNICA — visual refinado (v27.1)                     */
/* ─────────────────────────────────────────────────────────────── */

/* Header da etapa de cadastro com gradiente sutil */
.reg-hero {
  margin: -0.25rem -0.25rem 1.1rem;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(0,149,230,0.10) 0%, transparent 60%),
    linear-gradient(135deg, #eaf6ff 0%, #f7fbff 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.reg-hero-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,149,230,0.30);
}
.reg-hero h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.15;
}
.reg-hero p {
  font-size: 0.74rem;
  color: var(--text2);
  margin: 0.15rem 0 0;
  line-height: 1.35;
}

/* Cartão de seção — agrupa campos relacionados */
.reg-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem 0.5rem;
  margin-bottom: 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.reg-section:hover {
  border-color: var(--border-mid);
  box-shadow: 0 4px 14px rgba(0,149,230,0.08);
}
.reg-section-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
}
.reg-section-head i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-light);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.reg-section-head h3 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-deeper);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* Linha de label + ícone de ajuda */
.label-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}
.label-row label,
.label-row > span.label-like {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
  margin: 0;
  letter-spacing: 0.01em;
}
.label-row small {
  color: var(--text3);
  font-weight: 500;
  font-size: 0.7rem;
  margin-left: 0.15rem;
}

/* Ícone de ajuda com tooltip */
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.65rem;
  cursor: help;
  border: none;
  padding: 0;
  position: relative;
  transition: all var(--transition);
  flex-shrink: 0;
}
.help-icon:hover,
.help-icon:focus-visible {
  background: var(--brand);
  color: white;
  outline: none;
  transform: scale(1.08);
}
.help-icon i {
  font-size: 0.7rem;
  line-height: 1;
}

/* Tooltip — aparece no hover/focus do ícone.
   Por padrão se estende para a DIREITA do ícone (evita corte na borda esquerda
   da tela/modal). Use .right-align quando o ícone estiver perto da borda direita. */
.help-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: -6px;
  right: auto;
  transform: translateX(0) translateY(4px);
  background: #002a52;
  color: #f0f9ff;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-body);
  line-height: 1.45;
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  width: max-content;
  max-width: 260px;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0,42,82,0.30), 0 4px 10px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 50;
  white-space: normal;
  letter-spacing: 0.005em;
}
.help-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 12px;
  right: auto;
  transform: none;
  border: 6px solid transparent;
  border-top-color: #002a52;
}
.help-icon:hover .help-tooltip,
.help-icon:focus-visible .help-tooltip,
.help-icon:focus .help-tooltip {
  opacity: 1;
  transform: translateX(0) translateY(0);
}
/* Versão alinhada à direita quando o ícone está perto da borda direita */
.help-tooltip.right-align {
  left: auto;
  right: -6px;
  transform: translateX(0) translateY(4px);
}
.help-tooltip.right-align::after {
  left: auto;
  right: 12px;
  transform: none;
}
.help-icon:hover .help-tooltip.right-align,
.help-icon:focus-visible .help-tooltip.right-align,
.help-icon:focus .help-tooltip.right-align {
  transform: translateX(0) translateY(0);
}

/* Toggle CPF/CNPJ — segmented control mais bonito */
.doc-toggle {
  display: inline-flex;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.doc-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
  height: 36px;
  border-radius: calc(var(--radius-sm) - 4px);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text2);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
  margin: 0;
}
.doc-toggle label i {
  font-size: 0.75rem;
  opacity: 0.75;
}
.doc-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.doc-toggle label:has(input[type="radio"]:checked) {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 3px 10px rgba(0,149,230,0.30);
}
.doc-toggle label:has(input[type="radio"]:checked) i {
  opacity: 1;
}
.doc-toggle label:hover:not(:has(input[type="radio"]:checked)) {
  background: white;
  color: var(--brand-dark);
}

/* Container de input com ícone à direita (verificar etc) */
.input-with-action {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.input-with-action input { flex: 1; min-width: 0; }

/* Upload de foto — visual mais limpo */
.reg-photo-upload {
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f5fbff 0%, #eaf6ff 100%);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.reg-photo-upload:hover {
  border-color: var(--brand);
  background: linear-gradient(135deg, #eaf6ff 0%, #d6effd 100%);
  transform: translateY(-1px);
}
.reg-photo-upload .reg-photo-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: white;
  color: var(--brand);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,149,230,0.15);
}
.reg-photo-upload .reg-photo-text {
  flex: 1;
  min-width: 0;
}
.reg-photo-upload .reg-photo-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.1rem;
}
.reg-photo-upload .reg-photo-text small {
  font-size: 0.7rem;
  color: var(--text3);
}
.reg-photo-upload input[type="file"] { display: none; }
.reg-photo-upload.has-file {
  border-style: solid;
  border-color: var(--brand);
  background: white;
}
.reg-photo-upload.has-file .reg-photo-ico {
  background: var(--gradient-green);
  color: white;
}

/* Variante perigosa (zona de exclusão de conta etc) */
.reg-section--danger {
  background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
  border-color: rgba(220, 38, 38, 0.25);
}
.reg-section--danger:hover {
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
}
.reg-section--danger .reg-section-head {
  border-bottom-color: rgba(220, 38, 38, 0.18);
}
.reg-section--danger .reg-section-head i {
  background: #fee2e2;
  color: #b91c1c;
}
.reg-section--danger .reg-section-head h3 {
  color: #991b1b;
}
.reg-section--danger .reg-section-msg {
  font-size: 0.78rem;
  color: #7f1d1d;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

/* Header compacto da etapa de perfil (Meu Perfil) — variante mais leve do reg-hero */
.profile-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: -0.25rem -0.25rem 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(0,149,230,0.10) 0%, transparent 60%),
    linear-gradient(135deg, #eaf6ff 0%, #f7fbff 100%);
  border: 1px solid var(--border);
}
.profile-toolbar h2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.3px;
}
.profile-toolbar h2 .profile-toolbar-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,149,230,0.25);
  flex-shrink: 0;
}
.profile-toolbar-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .profile-toolbar { padding: 0.7rem 0.85rem; }
  .profile-toolbar h2 { font-size: 0.95rem; }
  .profile-toolbar h2 .profile-toolbar-ico { width: 28px; height: 28px; font-size: 0.78rem; }
}

/* Termos com cartão sutil */
.reg-terms-card {
  background: linear-gradient(135deg, #f7fbff 0%, #eaf6ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.reg-terms-card .terms-checkbox { margin-bottom: 0.55rem; }
.reg-terms-card .terms-checkbox:last-child { margin-bottom: 0; }

/* Botão final de criar conta com mais destaque */
.btn-criar-conta {
  margin-top: 0.25rem;
  box-shadow: 0 10px 28px rgba(0,149,230,0.30);
}

/* Responsivo */
@media (max-width: 540px) {
  .doc-toggle label { padding: 0 0.55rem; font-size: 0.74rem; height: 34px; }
  .doc-toggle label i { display: none; }
  .reg-hero { padding: 0.85rem 0.95rem; }
  .reg-hero h2 { font-size: 1.02rem; }
  .reg-section { padding: 0.7rem 0.75rem 0.4rem; }
  .help-tooltip { max-width: 200px; font-size: 0.7rem; }
}
