/* ============================================
   FISIOART • Design System Premium
   ============================================ */
:root {
  --primary: #5B5BF7;
  --primary-dark: #4848d6;
  --primary-light: #EEEEFE;
  --secondary: #22D3A1;
  --secondary-dark: #1aa37b;
  --accent: #F59E0B;
  --pink: #EC4899;
  --purple: #8B5CF6;
  --cyan: #06B6D4;

  --bg: #F7F8FB;
  --surface: #FFFFFF;
  --surface-2: #FAFBFC;
  --border: #EAECEF;
  --border-strong: #D7DBE3;

  --text: #0F172A;
  --text-2: #475569;
  --text-3: #94A3B8;

  --success: #10B981;
  --danger:  #EF4444;
  --warn:    #F59E0B;
  --info:    #3B82F6;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 4px 16px rgba(15,23,42,.06);
  --shadow-md: 0 10px 30px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.12);

  --grad-primary: linear-gradient(135deg,#5B5BF7 0%, #8B5CF6 100%);
  --grad-secondary: linear-gradient(135deg,#22D3A1 0%, #06B6D4 100%);
  --grad-warm: linear-gradient(135deg,#F59E0B 0%, #EC4899 100%);
  --grad-hero: radial-gradient(at 20% 0%, #EEEEFE 0%, transparent 50%),
               radial-gradient(at 80% 0%, #DCFCE7 0%, transparent 45%),
               linear-gradient(180deg,#fff 0%,#F7F8FB 100%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ===== Tipografia ===== */
h1,h2,h3,h4,h5 { color: var(--text); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 15px; }
.lead { font-size: 18px; color: var(--text-2); line-height: 1.6; }
.muted { color: var(--text-3); }
.text-2 { color: var(--text-2); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warn { color: var(--warn); }

/* ===== Layout helpers ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.col { flex: 1; min-width: 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-1{margin-top:4px;}.mt-2{margin-top:8px;}.mt-3{margin-top:12px;}.mt-4{margin-top:16px;}.mt-6{margin-top:24px;}.mt-8{margin-top:32px;}
.mb-1{margin-bottom:4px;}.mb-2{margin-bottom:8px;}.mb-3{margin-bottom:12px;}.mb-4{margin-bottom:16px;}.mb-6{margin-bottom:24px;}.mb-8{margin-bottom:32px;}
.text-center { text-align: center; }
.text-right  { text-align: right; }
.w-full { width: 100%; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 10px; font-weight: 600; font-size: 14px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  transition: all .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:not(.btn-primary):not(.btn-secondary):hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-primary { background: var(--grad-primary); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(91,91,247,.25); }
.btn-primary:hover { background: var(--grad-primary); color: #fff; border: 0; box-shadow: 0 12px 28px rgba(91,91,247,.35); }
.btn-secondary { background: var(--grad-secondary); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(34,211,161,.22); }
.btn-secondary:hover { background: var(--grad-secondary); color: #fff; border: 0; }
.btn-ghost { background: transparent; border: 1px solid var(--border); }
.btn-danger { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }

/* ===== Forms ===== */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px; color: var(--text);
  transition: all .18s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91,91,247,.1);
}
.form-textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.form-hint { font-size: 12px; color: var(--text-3); }
.form-error { font-size: 12px; color: var(--danger); }

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-title { font-size: 16px; font-weight: 700; }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--surface-2); }

/* ===== Badges ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
}
.badge-success { background: #ECFDF5; color: #047857; }
.badge-danger  { background: #FEF2F2; color: #B91C1C; }
.badge-warn    { background: #FFFBEB; color: #B45309; }
.badge-info    { background: #EFF6FF; color: #1D4ED8; }
.badge-muted   { background: #F1F5F9; color: #475569; }
.badge-primary { background: #EEEEFE; color: #4338CA; }

/* ===== Tabela ===== */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th {
  text-align: left; padding: 12px 16px; font-size: 12px;
  font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--surface-2); }

/* ===== Avatares ===== */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.avatar-lg { width: 64px; height: 64px; font-size: 22px; }
.avatar-xl { width: 96px; height: 96px; font-size: 30px; }

/* ===== Stats card ===== */
.stat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  overflow: hidden;
  transition: all .25s;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary);
  opacity: .8;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card .stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary);
  margin-bottom: 14px;
}
.stat-card .stat-label { font-size: 13px; color: var(--text-2); margin-bottom: 4px; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.stat-card .stat-trend { font-size: 12px; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.stat-card.green::before { background: var(--grad-secondary); }
.stat-card.green .stat-icon { background: #DCFCE7; color: var(--secondary-dark); }
.stat-card.warm::before { background: var(--grad-warm); }
.stat-card.warm .stat-icon { background: #FEF3C7; color: var(--accent); }
.stat-card.pink::before { background: linear-gradient(135deg,#EC4899,#8B5CF6); }
.stat-card.pink .stat-icon { background: #FCE7F3; color: var(--pink); }

/* ===== Top App Layout ===== */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand .logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px;
}
.sidebar-brand .name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.sidebar-brand .tenant { font-size: 11px; color: var(--text-3); }
.sidebar-brand--stack { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 18px; }
.brand-logo-img {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-logo-img--sidebar-app,
.brand-logo-img--sidebar-admin {
  max-width: 100%;
  width: auto;
  height: 36px;
}
.brand-logo-img--nav {
  height: 36px;
  width: auto;
  max-width: 180px;
}
.brand-logo-img--footer {
  height: 36px;
  width: auto;
  max-width: 200px;
}
.brand-logo-img--portal {
  height: 32px;
  width: auto;
  max-width: 200px;
}
.brand-logo-img--auth {
  height: 40px;
  width: auto;
  max-width: 220px;
}
.brand-logo--footer .mark { flex-shrink: 0; }
.brand-logo .brand-logo-img { margin: 0; }

.brand-logo-preview { max-height: 48px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.brand-logo-preview--on-dark { filter: none; }
.nav-section { padding: 14px 8px 6px; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-2); font-size: 14px; font-weight: 500;
  transition: all .15s;
  margin-bottom: 2px;
}
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-link .nav-badge { margin-left: auto; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--danger); color: #fff; }
.sidebar-footer {
  margin-top: auto;
  padding: 14px 8px 0;
  border-top: 1px solid var(--border);
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 8px;
  border-radius: 10px;
  transition: background .15s;
}
.user-chip:hover { background: var(--surface-2); }
.user-chip .info { line-height: 1.2; min-width: 0; }
.user-chip .info .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip .info .rl { font-size: 11px; color: var(--text-3); }

.main-area { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 64px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.topbar .search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 10px;
  width: 360px; max-width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.topbar .search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,91,247,.1);
}
.topbar .search input { background: transparent; border: 0; outline: 0; flex: 1; font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--text-2);
  position: relative;
  transition: all .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); border: 2px solid #fff; }
.notif-badge {
  position: absolute; top: 5px; right: 5px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px;
  text-align: center; border: 2px solid #fff;
  pointer-events: none;
}

.page { padding: 28px; }
.page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.page-subtitle { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.breadcrumb { font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.breadcrumb a { color: var(--text-3); }

/* Backdrop do menu lateral (mobile) */
.sidebar-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.45);
  z-index: 49;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.sidebar-backdrop.show { opacity: 1; visibility: visible; }
body.sidebar-locked { overflow: hidden; }

/* Alvos de toque confortáveis e sem flash azul no mobile */
.icon-btn, .nav-link, .btn, .fab-btn, .tabs a, .tabs button {
  -webkit-tap-highlight-color: transparent;
}
.icon-btn svg, .btn svg, .nav-link svg, .fab-btn svg { pointer-events: none; }

@media (max-width: 900px) {
  .sidebar {
    position: fixed; left: -300px; top: 0;
    width: 280px; max-width: 86vw;
    height: 100dvh; z-index: 50;
    transition: left .28s ease;
    box-shadow: var(--shadow-lg);
    -webkit-overflow-scrolling: touch;
  }
  .sidebar.open { left: 0; }
  .topbar .search { display: none; }
  .topbar { padding: 0 14px; gap: 8px; }
  .page { padding: 18px 16px; }
}

/* Colapsa grids/colunas inline (style="grid-template-columns:...") no mobile.
   Preserva galerias responsivas (auto-fill / auto-fit). */
@media (max-width: 780px) {
  .page [style*="grid-template-columns"]:not([style*="auto-fill"]):not([style*="auto-fit"]),
  .portal-main [style*="grid-template-columns"]:not([style*="auto-fill"]):not([style*="auto-fit"]) {
    grid-template-columns: 1fr !important;
  }
  /* Containers flex de duas colunas → empilham */
  .page [style*="display:flex"][style*="gap:20px"] { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  /* Topbar mais enxuta */
  .topbar { height: 56px; padding: 0 10px; }
  .topbar-actions { gap: 2px; }
  .icon-btn { width: 42px; height: 42px; }
  /* Mantém só o essencial na barra superior em telas pequenas */
  .topbar-actions .icon-btn[title="Agenda"],
  .topbar-actions .icon-btn[title="Configurações"] { display: none; }

  /* Cabeçalho de página */
  .page { padding: 16px 12px; overflow-x: hidden; }
  .main-area { min-width: 0; overflow-x: hidden; }
  .page-header { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 16px; }
  .page-header .btn, .page-header .toolbar { width: 100%; }
  /* Grupos de ações no cabeçalho usam <div style="display:flex"> cru:
     empilha e ocupa largura total em vez de estourar horizontalmente */
  .page-header > div[style*="flex"] { flex-direction: column; align-items: stretch; width: 100%; }
  .page-header > div[style*="flex"] .btn { width: 100%; }
  .page-title { font-size: 21px; }
  .page-subtitle { font-size: 13px; }

  /* Cards e grids */
  .card { padding: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .row { flex-direction: column; gap: 12px; }
  .row > .col { width: 100%; flex: 1 1 100%; }

  /* Botões: largura total e altura tocável */
  .btn { width: 100%; justify-content: center; min-height: 44px; }
  .btn-sm, .btn-icon, .toolbar .btn, .modal-footer .btn,
  .btn-inline, td .btn, .table .btn { width: auto; }
  .modal-footer { flex-direction: column-reverse; }
  .modal-footer .btn { width: 100%; }

  /* Tabelas: rolagem horizontal segura */
  .table-wrap, .card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table { min-width: 540px; }
  .table th, .table td { padding: 11px 12px; font-size: 13px; }

  /* Toolbar/filtros empilham */
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar .search-input { max-width: none; width: 100%; }
  .toolbar > * { width: 100%; }

  /* Abas roláveis horizontalmente */
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a, .tabs button { white-space: nowrap; }

  /* Modal quase tela cheia */
  .modal-bg { padding: 0; align-items: flex-end; }
  .modal { max-width: 100%; max-height: 94dvh; border-radius: 16px 16px 0 0; }

  /* Formulários: campos confortáveis */
  .form-input, .form-select, .form-textarea { font-size: 16px; min-height: 44px; }

  /* Calendário/agenda rola horizontalmente em vez de espremer */
  .calendar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cal-grid { min-width: 680px; }

  /* FAB um pouco menor e fora do caminho */
  .fab-wrap { left: 14px; bottom: 16px; }
}

/* ===== Site público ===== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-nav .menu { display: flex; gap: 6px; }
.site-nav .menu a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--text-2); font-weight: 500; font-size: 14px;
}
.site-nav .menu a:hover { background: var(--surface-2); color: var(--text); }
.brand-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); }
.brand-logo .mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}

.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  pointer-events: none;
}
.hero::before { background: var(--primary); top: -200px; right: -100px; }
.hero::after { background: var(--secondary); bottom: -200px; left: -100px; }
.hero .inner { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; color: var(--text-2);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero .pill .dot-anim { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .5; } }

.hero h1 {
  font-size: 60px; line-height: 1.05; letter-spacing: -.04em;
  margin-bottom: 18px;
}
.hero h1 .grad { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 19px; color: var(--text-2); max-width: 620px; margin: 0 auto 32px; }
.hero .cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .mockup {
  margin-top: 60px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15,23,42,.18);
  border: 1px solid var(--border);
  transform: perspective(1500px) rotateX(4deg);
  transition: transform .8s;
}
.hero .mockup:hover { transform: perspective(1500px) rotateX(0); }

@media (max-width: 700px) {
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
}

.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-eyebrow {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 14px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card .ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--primary-light); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card.green .ico { background: #DCFCE7; color: var(--secondary-dark); }
.feature-card.warm .ico { background: #FEF3C7; color: var(--accent); }
.feature-card.pink .ico { background: #FCE7F3; color: var(--pink); }
.feature-card.purple .ico { background: #F3E8FF; color: var(--purple); }
.feature-card.cyan .ico { background: #CFFAFE; color: var(--cyan); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

.pricing-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: all .25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.highlight {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(91,91,247,.3);
}
.pricing-card.highlight h3, .pricing-card.highlight .price { color: #fff; }
.pricing-card.highlight .features li { color: rgba(255,255,255,.9); }
.pricing-card.highlight .features li svg { color: #fff; }
.pricing-card .tier { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 8px; }
.pricing-card.highlight .tier { color: rgba(255,255,255,.85); }
.pricing-card h3 { font-size: 22px; margin-bottom: 14px; }
.pricing-card .price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.pricing-card .price small { font-size: 14px; font-weight: 500; color: var(--text-3); }
.pricing-card.highlight .price small { color: rgba(255,255,255,.85); }
.pricing-card .features { list-style: none; margin: 22px 0 26px; }
.pricing-card .features li { display: flex; gap: 8px; align-items: center; padding: 7px 0; font-size: 14px; color: var(--text-2); }
.pricing-card .features svg { width: 18px; height: 18px; color: var(--secondary); flex-shrink: 0; }

.testimonial {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial blockquote { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.testimonial .person { display: flex; align-items: center; gap: 12px; }
.testimonial .stars { color: #fbbf24; margin-bottom: 12px; letter-spacing: 2px; }

.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--text-3); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 18px; color: var(--text-2); }

.cta-band {
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: 36px; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 18px; margin-bottom: 28px; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; }
.cta-band::before { background: #fff; width: 300px; height: 300px; top: -100px; right: -50px; }
.cta-band::after { background: var(--secondary); width: 250px; height: 250px; bottom: -80px; left: -50px; }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: rgba(255,255,255,.92); color: var(--primary); }

footer {
  padding: 60px 0 30px;
  background: #0F172A;
  color: rgba(255,255,255,.7);
}
footer a { color: rgba(255,255,255,.7); }
footer a:hover { color: #fff; }
footer h5 { color: #fff; margin-bottom: 16px; font-size: 14px; }
footer ul { list-style: none; }
footer ul li { padding: 5px 0; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin-top: 40px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ===== Auth pages ===== */
.auth-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } }
.auth-side {
  background: linear-gradient(160deg, var(--fa-dark) 0%, var(--fa-dark-2) 55%, var(--fa-dark-3) 100%);
  color: #fff;
  padding: 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-side::before, .auth-side::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .25; }
.auth-side::before { background: var(--fa-teal); width: 400px; height: 400px; top: -150px; right: -150px; }
.auth-side::after { background: var(--fa-teal-dark); width: 300px; height: 300px; bottom: -100px; left: -50px; }
.auth-side .quote { position: relative; z-index: 1; font-size: 22px; line-height: 1.5; max-width: 480px; }
.auth-side .quote-author { position: relative; z-index: 1; margin-top: 24px; opacity: .85; color: var(--fa-teal-light); }
.auth-side .brand-logo { color: #fff; position: relative; z-index: 1; }
.auth-side .brand-logo .mark { background: var(--fa-grad-teal); }
.auth-form { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-form .inner { max-width: 420px; width: 100%; margin: 0 auto; }
.auth-form h1 { font-size: 30px; margin-bottom: 6px; }
.auth-form .sub { color: var(--text-2); margin-bottom: 32px; }
.auth-form a { color: var(--fa-teal-dark); }
.auth-form a:hover { color: var(--fa-teal-darker); }
.auth-form .btn-primary { background: var(--fa-grad-teal); box-shadow: 0 8px 20px rgba(20,184,166,.28); }
.auth-form .btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(20,184,166,.40); }
.auth-form .form-input:focus, .auth-form .form-select:focus, .auth-form .form-textarea:focus {
  border-color: var(--fa-teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,.12);
}

/* ===== Empty state ===== */
.empty-state { text-align: center; padding: 60px 30px; }
.empty-state .ill {
  width: 120px; height: 120px;
  margin: 0 auto 18px;
  background: var(--primary-light);
  border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.empty-state h3 { font-size: 18px; margin-bottom: 6px; }
.empty-state p { color: var(--text-2); margin-bottom: 20px; }

/* ===== Alerts / toasts ===== */
.alert {
  padding: 12px 16px; border-radius: 10px; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; border: 1px solid transparent;
}
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert-danger  { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert-warn    { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert-info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }

/* ===== Modal ===== */
.modal-bg { position: fixed; inset: 0; height: 100dvh; overflow-y: auto; background: rgba(15,23,42,.5); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-bg.open { display: flex; }
body:has(.modal-bg.open) { overflow: hidden; }
.modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90dvh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); overflow: hidden; }
/* O conteúdo costuma vir embrulhado num <form>; sem isto o form cresce além
   do .modal e o rodapé com os botões fica cortado e sem rolagem. */
.modal > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.modal-body { padding: 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; }
.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.modal-body::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
.modal-footer { padding: 16px 24px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; flex-shrink: 0; }
/* O FAB (z-index 900) flutua acima do modal e atrapalha — esconde enquanto aberto. */
body:has(.modal-bg.open) .fab-wrap { display: none; }

/* ===== Calendar ===== */
.calendar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.cal-grid { display: grid; grid-template-columns: 80px repeat(7,1fr); border-top: 1px solid var(--border); }
.cal-grid .cell { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 8px; min-height: 60px; font-size: 12px; position: relative; }
.cal-grid .day-head { background: var(--surface-2); font-weight: 700; padding: 12px 8px; text-align: center; color: var(--text-2); }
.cal-grid .hour-label { background: var(--surface-2); text-align: right; padding: 4px 10px; font-size: 11px; color: var(--text-3); }
.cal-event {
  position: absolute; left: 4px; right: 4px;
  background: var(--grad-primary); color: #fff;
  border-radius: 6px; padding: 4px 6px;
  font-size: 11px; font-weight: 600;
  box-shadow: 0 2px 6px rgba(91,91,247,.25);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-event.green { background: var(--grad-secondary); box-shadow: 0 2px 6px rgba(34,211,161,.25); }
.cal-event.warm { background: var(--grad-warm); }
.cal-event.purple { background: linear-gradient(135deg,#8B5CF6,#EC4899); }

/* ===== Filters / search bar in tables ===== */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .search-input {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 14px;
  flex: 1; max-width: 360px;
}
.toolbar .search-input input { background: transparent; border: 0; outline: 0; flex: 1; font-size: 14px; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.tabs a, .tabs button {
  padding: 10px 16px; font-size: 14px; font-weight: 600;
  color: var(--text-2); border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs a:hover { color: var(--text); }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item::before {
  content: ''; position: absolute; left: -24px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--primary);
}
.timeline-item .when { font-size: 12px; color: var(--text-3); }
.timeline-item .what { font-weight: 600; }

/* ===== Chart (CSS only) ===== */
.bars { display: flex; align-items: flex-end; gap: 12px; height: 200px; padding: 20px 0; }
.bars .bar { flex: 1; background: var(--grad-primary); border-radius: 8px 8px 0 0; position: relative; min-height: 4px; transition: all .3s; }
.bars .bar:hover { opacity: .85; transform: translateY(-4px); }
.bars .bar .lbl { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--text-3); }
.bars .bar .val { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 600; color: var(--text); }

/* ===== Responsive utilities ===== */
@media (max-width: 700px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .section { padding: 50px 0; }
}

/* ===== Print ===== */
@media print {
  .sidebar, .topbar, .btn, .toolbar { display: none !important; }
  .page { padding: 0; }
}

/* ============================================================
   FISIOART • HOME v2 (design teal/dark)
   ============================================================ */
:root {
  --fa-teal:        #14b8a6;
  --fa-teal-dark:   #0d9488;
  --fa-teal-darker: #0f766e;
  --fa-teal-light:  #5eead4;
  --fa-teal-50:     #e6fffa;
  --fa-dark:        #0a2a2d;
  --fa-dark-2:      #0f3a3e;
  --fa-dark-3:      #143e42;
  --fa-grad-teal:   linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

/* Logo do site: por padrão (fundo claro do menu) mostra a versão para fundo claro */
.site-nav .brand-logo-img--for-dark-bg { display: none; }
.site-nav .brand-logo-img--for-light-bg { display: inline-block; }

/* Override site-nav quando estiver na home ou em qualquer página com fa-hero (dark hero) */
body:has(.fa-home) .site-nav,
body:has(.fa-hero) .site-nav {
  background: var(--fa-dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: none;
}
body:has(.fa-home) .site-nav .brand-logo,
body:has(.fa-home) .site-nav .brand-logo span:not(.mark),
body:has(.fa-hero) .site-nav .brand-logo,
body:has(.fa-hero) .site-nav .brand-logo span:not(.mark) { color: #fff; }
body:has(.fa-home) .site-nav .brand-logo .mark,
body:has(.fa-hero) .site-nav .brand-logo .mark {
  background: var(--fa-grad-teal);
}
/* Menu com fundo escuro → usar a versão da logo para fundo escuro (clara) */
body:has(.fa-home) .site-nav .brand-logo-img--for-light-bg,
body:has(.fa-hero) .site-nav .brand-logo-img--for-light-bg { display: none; }
body:has(.fa-home) .site-nav .brand-logo-img--for-dark-bg,
body:has(.fa-hero) .site-nav .brand-logo-img--for-dark-bg { display: inline-block; }
body:has(.fa-home) .site-nav .menu a,
body:has(.fa-hero) .site-nav .menu a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
body:has(.fa-home) .site-nav .menu a:hover,
body:has(.fa-hero) .site-nav .menu a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
body:has(.fa-home) .site-nav .btn-ghost,
body:has(.fa-hero) .site-nav .btn-ghost {
  background: transparent;
  border-color: transparent;
  color: #fff;
}
body:has(.fa-home) .site-nav .btn-ghost:hover,
body:has(.fa-hero) .site-nav .btn-ghost:hover { background: rgba(255,255,255,.08); }
body:has(.fa-home) .site-nav .btn-primary,
body:has(.fa-hero) .site-nav .btn-primary {
  background: var(--fa-grad-teal);
  box-shadow: 0 6px 18px rgba(20,184,166,.35);
}

/* ============ HERO ============ */
.fa-home { background: #fff; overflow-x: hidden; }
.fa-home, .fa-home * { min-width: 0; }
body:has(.fa-home) { overflow-x: hidden; }

/* ── Site nav: hamburger ─────────────────────────── */
.site-nav__burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.site-nav__burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.site-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop nav */
.site-nav__desktop-menu { display: flex; align-items: center; gap: 6px; }
.site-nav__desktop-actions { display: flex; gap: 8px; align-items: center; }

/* Mobile panel (hidden by default) */
.site-nav__panel {
  display: none;
}

@media (max-width: 900px) {
  /* Esconde itens desktop */
  .site-nav__desktop-menu,
  .site-nav__desktop-actions { display: none !important; }

  /* Mostra burger */
  .site-nav__burger { display: flex; }

  /* Painel dropdown único */
  .site-nav__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(15,23,42,.12);
    flex-direction: column;
  }
  .site-nav.is-open .site-nav__panel { display: flex; }

  .site-nav__panel-menu {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
  }
  .site-nav__panel-menu a {
    display: block;
    padding: 13px 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
  }
  .site-nav__panel-menu a:last-child { border-bottom: none; }
  .site-nav__panel-menu a:hover { color: var(--primary); }

  .site-nav__panel-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border);
  }
  .site-nav__panel-actions .btn {
    width: 100%;
    height: 46px;
    font-size: 15px;
    border-radius: 10px;
  }

  .site-nav .container { position: relative; }

  /* Home e páginas com fa-hero: painel escuro */
  body:has(.fa-home) .site-nav__panel,
  body:has(.fa-hero) .site-nav__panel {
    background: #0d3234;
    border-color: rgba(255,255,255,.08);
  }
  body:has(.fa-home) .site-nav__panel-menu a,
  body:has(.fa-hero) .site-nav__panel-menu a {
    color: rgba(255,255,255,.8);
    border-color: rgba(255,255,255,.07);
  }
  body:has(.fa-home) .site-nav__panel-menu a:hover,
  body:has(.fa-hero) .site-nav__panel-menu a:hover { color: var(--fa-teal-light); }
  body:has(.fa-home) .site-nav__panel-actions,
  body:has(.fa-hero) .site-nav__panel-actions { border-color: rgba(255,255,255,.08); }
  body:has(.fa-home) .site-nav__burger,
  body:has(.fa-hero) .site-nav__burger { border-color: rgba(255,255,255,.2); }
  body:has(.fa-home) .site-nav__burger span,
  body:has(.fa-hero) .site-nav__burger span { background: #fff; }
}

.fa-hero {
  position: relative;
  background: var(--fa-dark);
  color: #fff;
  padding: 60px 0 120px;
  overflow: hidden;
}
.fa-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(at 80% 10%, rgba(20,184,166,.18) 0%, transparent 50%),
    radial-gradient(at 10% 90%, rgba(20,184,166,.12) 0%, transparent 50%);
  pointer-events: none;
}
.fa-hero__container { position: relative; z-index: 1; }

.fa-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 980px) {
  .fa-hero__grid { grid-template-columns: 1fr; gap: 30px; }
}

.fa-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  margin-bottom: 22px;
}
.fa-pill--dark {
  background: rgba(20,184,166,.12);
  border: 1px solid rgba(20,184,166,.25);
  color: var(--fa-teal-light);
}
.fa-pill--light {
  background: var(--fa-teal-50);
  color: var(--fa-teal-darker);
  border: 1px solid rgba(20,184,166,.2);
}

.fa-hero__title {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
}
@media (max-width: 1180px) { .fa-hero__title { font-size: 40px; } }
@media (max-width: 980px)  { .fa-hero__title { font-size: 38px; } }
.fa-grad {
  background: linear-gradient(135deg, #14b8a6 0%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fa-hero__lead {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 32px;
}
.fa-hero__lead strong { color: #fff; font-weight: 600; }

.fa-hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
}

.fa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 10px;
  font-weight: 600; font-size: 14px;
  transition: all .18s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.fa-btn--lg { height: 54px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.fa-btn--primary {
  background: var(--fa-grad-teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20,184,166,.3);
}
.fa-btn--primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(20,184,166,.4); }
.fa-btn--outline-dark {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.fa-btn--outline-dark:hover { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.4); }
.fa-btn--white {
  background: #fff;
  color: var(--fa-teal-darker);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.fa-btn--white:hover { color: var(--fa-teal-darker); background: #fff; transform: translateY(-1px); }
.fa-btn--block { width: 100%; }

.fa-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 600px) { .fa-hero__trust { grid-template-columns: 1fr; } }
.fa-trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.fa-trust-item strong { display: block; color: #fff; font-weight: 600; font-size: 13px; }
.fa-trust-item small { display: block; color: rgba(255,255,255,.6); font-size: 12px; }
.fa-trust-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20,184,166,.15);
  color: var(--fa-teal-light);
  flex-shrink: 0;
}

/* Hero visual (dashboard + phone + photo) */
.fa-hero__visual {
  position: relative;
  padding-right: 90px;
  padding-bottom: 30px;
}
.fa-dash {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 1;
}
.fa-dash svg { display: block; width: 100%; height: auto; max-width: 100%; }
.fa-dash .fa-mockup-img { display: block; width: 100%; height: auto; border-radius: 10px; }
.fa-phone {
  position: absolute;
  bottom: -20px;
  left: 12px;
  width: 115px;
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
}
.fa-phone svg { display: block; width: 100%; height: auto; }
.fa-hero__photo {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 360px;
  max-width: 45%;
  z-index: 4;
  pointer-events: none;
}
.fa-hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.35));
}

@media (max-width: 1180px) {
  .fa-hero__visual { padding-right: 0; }
  .fa-hero__photo { display: none; }
}
@media (max-width: 980px) {
  .fa-hero__visual { margin-top: 30px; padding-bottom: 40px; padding-right: 0; }
  .fa-phone { left: auto; right: 8px; transform: none; bottom: -18px; width: 90px; }
}

/* Stats inferior do hero */
.fa-hero__stats {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 24px 28px;
  position: relative;
  z-index: 2;
}
@media (max-width: 1180px) {
  .fa-hero__stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .fa-hero__stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fa-hero__stats { grid-template-columns: 1fr; }
}
.fa-stat-group { display: flex; align-items: center; gap: 16px; }
.fa-stat-group strong { color: #fff; display: block; font-weight: 700; font-size: 14px; }
.fa-stat-group small { color: rgba(255,255,255,.6); display: block; font-size: 12px; }
.fa-avatars { display: flex; align-items: center; }
.fa-avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--fa-dark);
  object-fit: cover;
  margin-left: -10px;
}
.fa-avatars img:first-child { margin-left: 0; }
.fa-avatars__plus {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 38px; padding: 0 8px;
  border-radius: 999px;
  background: var(--fa-teal);
  color: #fff;
  font-weight: 700; font-size: 12px;
  border: 2px solid var(--fa-dark);
  margin-left: -10px;
}
.fa-stars { color: #fbbf24; letter-spacing: 1px; font-size: 12px; margin-top: 4px; }
.fa-stars span { color: rgba(255,255,255,.7); margin-left: 4px; }

.fa-stat-item { display: flex; align-items: center; gap: 12px; }
.fa-stat-item .fa-stat-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20,184,166,.15);
  color: var(--fa-teal-light);
  flex-shrink: 0;
}
.fa-stat-item strong {
  display: block; color: #fff; font-weight: 800;
  font-size: 22px; line-height: 1.1;
}
.fa-stat-item small {
  display: block; color: rgba(255,255,255,.65);
  font-size: 12px; margin-top: 2px;
}

.fa-hero__wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 50px;
  background: #fff;
  clip-path: ellipse(80% 100% at 50% 100%);
}

/* ============ FEATURES ============ */
.fa-features {
  padding: 100px 0;
  background: #fff;
  position: relative;
}
.fa-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.fa-section-head h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #0f172a;
  margin: 16px 0 16px;
}
.fa-section-head p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}
.fa-features__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 980px) { .fa-features__grid { grid-template-columns: 1fr; } }
.fa-feat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .fa-feat-cards { grid-template-columns: 1fr; } }
.fa-feat-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  padding: 22px;
  transition: all .25s;
}
.fa-feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--fa-teal);
  box-shadow: 0 16px 32px rgba(20,184,166,.12);
}
.fa-feat-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--fa-teal-50);
  color: var(--fa-teal-darker);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.fa-feat-card h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.fa-feat-card p { font-size: 13px; color: #64748b; line-height: 1.6; margin-bottom: 14px; }
.fa-feat-arrow {
  display: inline-flex; color: var(--fa-teal-darker);
}
.fa-feat-visual {
  position: relative;
  padding-bottom: 30px;
  padding-left: 30px;
}
.fa-feat-visual .fa-dash--light {
  box-shadow: 0 24px 60px rgba(15,23,42,.10);
  border: 1px solid #e6e8ee;
}

.fa-trust-row {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #f8faf9;
  border: 1px solid #e6e8ee;
  border-radius: 22px;
  padding: 32px 28px;
}
@media (max-width: 980px) { .fa-trust-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fa-trust-row { grid-template-columns: 1fr; } }
.fa-trust-row__item { display: flex; align-items: flex-start; gap: 14px; }
.fa-trust-row__ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--fa-teal-50);
  color: var(--fa-teal-darker);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fa-trust-row__item strong {
  display: block; font-weight: 700; color: #0f172a; font-size: 14px; margin-bottom: 4px;
}
.fa-trust-row__item small {
  display: block; color: #64748b; font-size: 12px; line-height: 1.55;
}

/* ============ BENEFITS ============ */
.fa-benefits {
  padding: 100px 0;
  background: #fff;
  position: relative;
}
.fa-benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 980px) { .fa-benefits__grid { grid-template-columns: 1fr; } }
.fa-benefits__photo {
  position: relative;
}
.fa-benefits__photo img {
  width: 100%;
  max-width: 520px;
  height: 480px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  margin: 0 auto;
}
.fa-quote-card {
  position: absolute;
  left: 0; bottom: -10px;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 20px 50px rgba(15,23,42,.12);
  max-width: 280px;
}
.fa-quote-card__mark {
  position: absolute; top: -12px; left: 20px;
  font-size: 60px; line-height: 1;
  color: var(--fa-teal);
  font-family: Georgia, serif;
}
.fa-quote-card p {
  font-size: 13px; color: #0f172a; line-height: 1.6;
  margin: 14px 0 12px;
}
.fa-stars--inline { margin: 6px 0 14px; }
.fa-quote-card__author { display: flex; align-items: center; gap: 10px; }
.fa-quote-card__author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.fa-quote-card__author strong { display: block; font-size: 13px; color: #0f172a; }
.fa-quote-card__author small { display: block; font-size: 11px; color: #64748b; }

.fa-benefits__list-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 760px) { .fa-benefits__list-wrap { grid-template-columns: 1fr; } }
.fa-benefits__list {
  list-style: none;
  position: relative;
  padding-left: 20px;
}
.fa-benefits__list::before {
  content: '';
  position: absolute;
  left: 4px; top: 28px; bottom: 28px;
  width: 0;
  border-left: 2px dashed rgba(20,184,166,.35);
}
.fa-benefits__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  position: relative;
}
.fa-benefits__list li::before {
  content: '';
  position: absolute;
  left: -20px; top: 32px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--fa-teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,.18);
}
.fa-bullet-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--fa-teal-50);
  color: var(--fa-teal-darker);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fa-benefits__list strong {
  display: block; font-weight: 700; color: #0f172a; font-size: 16px; margin-bottom: 4px;
}
.fa-benefits__list p {
  font-size: 13px; color: #64748b; line-height: 1.55; margin: 0;
}
.fa-phone--side {
  position: relative;
  bottom: auto;
  left: auto;
  width: 220px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(15,23,42,.2));
}
.fa-phone--feat {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 170px;
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(15,23,42,.25));
}
.fa-phone--feat svg { display: block; width: 100%; height: auto; }
@media (max-width: 980px) {
  .fa-phone--feat { position: relative; left: auto; bottom: auto; margin: -30px auto 0; }
}

.fa-benefits__stats {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #f8faf9;
  border: 1px solid #e6e8ee;
  border-radius: 22px;
  padding: 28px;
}
@media (max-width: 980px) { .fa-benefits__stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fa-benefits__stats { grid-template-columns: 1fr; } }
.fa-benefits__stats .fa-stat-item strong { color: #0f172a; }
.fa-benefits__stats .fa-stat-item small { color: #64748b; }
.fa-benefits__stats .fa-stat-ico { background: var(--fa-teal-50); color: var(--fa-teal-darker); }

/* ============ PRICING ============ */
.fa-pricing-section {
  padding: 100px 0;
  background: #f8faf9;
}
.fa-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .fa-pricing-grid { grid-template-columns: 1fr; } }
.fa-price-card {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 32px;
  display: flex; flex-direction: column;
  transition: all .25s;
}
.fa-price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,.08); }
.fa-price-card--highlight {
  background: linear-gradient(160deg, #0f3a3e 0%, #0a2a2d 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(15,58,62,.3);
}
.fa-price-tier {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--fa-teal-darker);
  margin-bottom: 10px;
}
.fa-price-card--highlight .fa-price-tier { color: var(--fa-teal-light); }
.fa-price-card h3 { font-size: 22px; color: #0f172a; margin-bottom: 14px; }
.fa-price-card--highlight h3 { color: #fff; }
.fa-price-value {
  font-size: 44px; font-weight: 800; letter-spacing: -.02em;
  color: #0f172a;
}
.fa-price-card--highlight .fa-price-value { color: #fff; }
.fa-price-value small { font-size: 14px; font-weight: 500; color: #94a3b8; }
.fa-price-card--highlight .fa-price-value small { color: rgba(255,255,255,.7); }
.fa-price-features { list-style: none; margin: 22px 0 26px; }
.fa-price-features li {
  display: flex; gap: 8px; align-items: center;
  padding: 7px 0; font-size: 14px;
  color: #475569;
}
.fa-price-card--highlight .fa-price-features li { color: rgba(255,255,255,.9); }
.fa-price-features li svg { color: var(--fa-teal); flex-shrink: 0; }
.fa-price-card--highlight .fa-price-features li svg { color: var(--fa-teal-light); }
.fa-price-card--highlight .fa-btn--primary {
  background: #fff;
  color: var(--fa-teal-darker);
  box-shadow: 0 8px 20px rgba(255,255,255,.15);
}

/* ============ CTA BAND ============ */
.fa-cta-band-wrap {
  padding: 0 0 100px;
  background: #f8faf9;
}
.fa-cta-band {
  position: relative;
  background: linear-gradient(135deg, #0f3a3e 0%, #0a2a2d 60%, #0f766e 100%);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.fa-cta-band::before, .fa-cta-band::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
}
.fa-cta-band::before { background: var(--fa-teal); width: 300px; height: 300px; top: -100px; right: -50px; }
.fa-cta-band::after { background: var(--fa-teal-light); width: 250px; height: 250px; bottom: -80px; left: -50px; }
.fa-cta-band h2 {
  color: #fff; font-size: 38px; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.fa-cta-band p {
  color: rgba(255,255,255,.85); font-size: 17px;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.fa-cta-band .fa-btn { position: relative; z-index: 1; }

@media (max-width: 700px) {
  .fa-hero { padding: 40px 0 80px; }
  .fa-hero__title { font-size: 34px; }
  .fa-hero__lead { font-size: 14px; }
  .fa-section-head h2 { font-size: 28px; }
  .fa-section-head p { font-size: 14px; }
  .fa-cta-band { padding: 40px 22px; }
  .fa-cta-band h2 { font-size: 24px; }
  .fa-cta-band p { font-size: 14px; }
  .fa-features, .fa-benefits, .fa-pricing-section { padding: 60px 0; }
  .fa-cta-band-wrap { padding: 0 0 60px; }
  .fa-hero__cta { flex-direction: column; align-items: stretch; }
  .fa-hero__cta .fa-btn { width: 100%; }
  .fa-btn--lg { height: 50px; font-size: 14px; padding: 0 18px; }
  .fa-trust-row, .fa-benefits__stats, .fa-hero__stats { padding: 20px 18px; gap: 18px; }
  .fa-stat-item strong { font-size: 18px; }
  .fa-quote-card { position: relative; left: auto; bottom: auto; margin: -40px auto 0; max-width: 100%; }
  .fa-benefits__photo img { height: 320px; }
  .fa-price-card { padding: 24px; }
  .fa-price-value { font-size: 36px; }
  .container { padding: 0 18px; }
}

/* Hero mockup responsivo - evitar overflow */
@media (max-width: 540px) {
  .fa-hero__visual { padding-bottom: 40px; }
  .fa-phone { right: 6px; left: auto; transform: none; width: 78px; bottom: -14px; }
  .fa-hero__title { font-size: 30px; }
  .fa-hero__trust { gap: 14px; }
  .fa-features__grid, .fa-benefits__grid { gap: 30px; }
  .fa-feat-visual { padding-left: 0; padding-bottom: 60px; }
}

/* ====================================================================
   HERO — novos elementos de conversão
   ==================================================================== */

/* WhatsApp CTA button no hero */
.fa-btn--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,211,102,.3);
  border: none;
}
.fa-btn--wa:hover {
  color: #fff;
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37,211,102,.4);
}

/* Micro trust pills abaixo dos CTAs */
.fa-hero__micro-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.fa-hero__micro-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.fa-hero__micro-trust span svg {
  color: var(--fa-teal-light);
  flex-shrink: 0;
}

/* ====================================================================
   DOR DO CLIENTE
   ==================================================================== */
.fa-pain {
  padding: 120px 0 100px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
  margin-top: -50px;
}
.fa-pain::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(20,184,166,.06);
  pointer-events: none;
}
.fa-pain .fa-section-head h2 { color: #fff; }
.fa-pain .fa-section-head p { color: rgba(255,255,255,.65); }
.fa-grad-dark {
  background: linear-gradient(135deg, #14b8a6 0%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fa-pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .fa-pain__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .fa-pain__grid { grid-template-columns: 1fr; } }

.fa-pain-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px;
  transition: all .25s;
}
.fa-pain-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-2px);
}
.fa-pain-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.fa-pain-ico--red { background: rgba(239,68,68,.15); color: #f87171; }
.fa-pain-ico--orange { background: rgba(245,158,11,.15); color: #fbbf24; }
.fa-pain-card strong {
  display: block;
  font-size: 16px; font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.fa-pain-card p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin: 0;
}
.fa-pain__cta {
  text-align: center;
  padding-top: 8px;
}
.fa-pain__cta-text {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  margin-bottom: 20px;
}

/* ====================================================================
   FUNCIONALIDADES — extra features row
   ==================================================================== */
.fa-extra-features {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 28px 32px;
  background: #f8faf9;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}
.fa-extra-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 13px;
  color: #0f172a;
  font-weight: 500;
}
.fa-extra-ico {
  display: inline-flex;
  color: var(--fa-teal-darker);
}

/* ====================================================================
   COMO FUNCIONA — 3 passos
   ==================================================================== */
.fa-how {
  padding: 100px 0;
  background: #f8faf9;
  position: relative;
  z-index: 1;
}
.fa-how__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
@media (max-width: 760px) {
  .fa-how__steps { flex-direction: column; align-items: center; gap: 0; }
}
.fa-how__step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  position: relative;
}
.fa-how__num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  background: var(--fa-teal);
  color: #fff;
  border-radius: 50%;
  font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(20,184,166,.35);
}
.fa-how__ico {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--fa-teal-50);
  color: var(--fa-teal-darker);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.fa-how__step h3 {
  font-size: 18px; font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.fa-how__step p {
  font-size: 13px; color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}
.fa-how__badge {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--fa-teal-50);
  color: var(--fa-teal-darker);
  font-size: 12px; font-weight: 700;
}
.fa-how__connector {
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-top: 60px;
  color: var(--fa-teal);
}
@media (max-width: 760px) {
  .fa-how__connector {
    transform: rotate(90deg);
    margin: 8px auto;
    padding: 8px 0;
  }
  .fa-how__step { max-width: 100%; width: 100%; }
}

/* ====================================================================
   DEPOIMENTOS
   ==================================================================== */
.fa-testimonials {
  padding: 100px 0;
  background: #fff;
}
.fa-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .fa-testimonials__grid { grid-template-columns: 1fr; } }
.fa-testi-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.fa-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,23,42,.08);
  border-color: var(--fa-teal);
}
.fa-testi-card--featured {
  background: linear-gradient(160deg, #0f3a3e 0%, #0a2a2d 100%);
  border-color: transparent;
  box-shadow: 0 24px 48px rgba(15,58,62,.25);
}
.fa-testi-stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.fa-testi-card blockquote {
  font-size: 15px;
  color: #0f172a;
  line-height: 1.7;
  flex: 1;
  margin: 0 0 20px;
}
.fa-testi-card blockquote strong { color: inherit; font-weight: 700; }
.fa-testi-card--featured blockquote { color: rgba(255,255,255,.9); }
.fa-testi-card--featured blockquote strong { color: #5eead4; }
.fa-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fa-testi-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.fa-testi-author strong {
  display: block;
  font-size: 14px; font-weight: 700;
  color: #0f172a;
}
.fa-testi-card--featured .fa-testi-author strong { color: #fff; }
.fa-testi-author small {
  display: block;
  font-size: 12px; color: #64748b;
  margin-top: 2px;
}
.fa-testi-card--featured .fa-testi-author small { color: rgba(255,255,255,.6); }
.fa-testi-result {
  display: block;
  font-size: 11px; font-weight: 700;
  color: var(--fa-teal-darker);
  margin-top: 4px;
}
.fa-testi-card--featured .fa-testi-result { color: var(--fa-teal-light); }
.fa-testimonials__cta {
  text-align: center;
}
.fa-testimonials__cta-note {
  margin-top: 10px;
  font-size: 13px;
  color: #94a3b8;
}

/* ====================================================================
   ANTES / DEPOIS
   ==================================================================== */
.fa-comparison {
  padding: 100px 0;
  background: #f8faf9;
}
.fa-comparison__table {
  display: flex;
  gap: 0;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(15,23,42,.06);
}
@media (max-width: 760px) {
  .fa-comparison__table { flex-direction: column; }
  .fa-comparison__divider { display: none; }
}
.fa-comparison__col {
  flex: 1;
  padding: 36px;
}
.fa-comparison__col--before {
  background: #fff8f8;
}
.fa-comparison__col--after {
  background: #fff;
}
.fa-comparison__header {
  margin-bottom: 24px;
}
.fa-comparison__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
}
.fa-comparison__label--bad {
  background: #fef2f2;
  color: #b91c1c;
}
.fa-comparison__label--good {
  background: #ecfdf5;
  color: #065f46;
}
.fa-comparison__col ul {
  list-style: none;
}
.fa-comparison__col ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  font-size: 15px;
  color: #0f172a;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.fa-comparison__col ul li:last-child { border-bottom: none; }
.fa-comp-ico {
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  margin-top: 2px;
}
.fa-comp-ico--bad { color: #ef4444; }
.fa-comp-ico--good { color: var(--fa-teal); }
.fa-comparison__divider {
  width: 80px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}
.fa-comparison__vs {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ====================================================================
   PLANOS — melhorias
   ==================================================================== */
.fa-price-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--fa-teal);
  color: #fff;
  font-size: 11px; font-weight: 700;
  margin-bottom: 12px;
}
.fa-pricing-guarantee {
  margin-top: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
}
.fa-pricing-guarantee svg {
  color: var(--fa-teal);
  flex-shrink: 0;
}

/* ====================================================================
   SELOS DE CONFIANÇA
   ==================================================================== */
.fa-trust-badges {
  padding: 64px 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.fa-trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .fa-trust-badges__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .fa-trust-badges__grid { grid-template-columns: 1fr; } }
.fa-trust-badge {
  text-align: center;
  padding: 24px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8faf9;
  transition: all .2s;
}
.fa-trust-badge:hover {
  border-color: var(--fa-teal);
  background: var(--fa-teal-50);
  transform: translateY(-2px);
}
.fa-trust-badge__ico {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--fa-teal-50);
  color: var(--fa-teal-darker);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.fa-trust-badge strong {
  display: block;
  font-size: 15px; font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.fa-trust-badge small {
  display: block;
  font-size: 12px; color: #64748b;
  line-height: 1.5;
}

/* ====================================================================
   FAQ VISÍVEL
   ==================================================================== */
.fa-faq {
  padding: 100px 0;
  background: #fff;
}
.fa-faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.fa-faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.fa-faq-item[open] {
  border-color: var(--fa-teal);
}
.fa-faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.fa-faq-item summary::-webkit-details-marker { display: none; }
.fa-faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: #94a3b8;
  transition: transform .2s, color .2s;
  flex-shrink: 0;
  line-height: 1;
}
.fa-faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--fa-teal);
}
.fa-faq-body {
  padding: 0 24px 20px;
}
.fa-faq-body p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* FAQ internal links */
.fa-faq__links {
  max-width: 760px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  background: var(--fa-teal-50);
  border: 1px solid rgba(20,184,166,.2);
  border-radius: 14px;
  font-size: 13px;
}
.fa-faq__links span {
  color: var(--fa-teal-darker);
  font-weight: 600;
  flex-shrink: 0;
}
.fa-faq__links a {
  color: var(--fa-teal-darker);
  font-weight: 500;
  text-decoration: none;
  padding: 4px 10px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(20,184,166,.2);
  transition: all .15s;
  font-size: 12px;
}
.fa-faq__links a:hover {
  background: var(--fa-teal);
  color: #fff;
  border-color: var(--fa-teal);
}

/* ====================================================================
   CTA FINAL
   ==================================================================== */
.fa-cta-final {
  padding: 0 0 100px;
  background: #f8faf9;
}
.fa-cta-final__box {
  position: relative;
  background: linear-gradient(135deg, #0f3a3e 0%, #0a2a2d 60%, #0f766e 100%);
  border-radius: 24px;
  padding: 64px 56px;
  overflow: hidden;
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}
.fa-cta-final__box::before, .fa-cta-final__box::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3;
  pointer-events: none;
}
.fa-cta-final__box::before { background: var(--fa-teal); width: 400px; height: 400px; top: -150px; right: -100px; }
.fa-cta-final__box::after { background: var(--fa-teal-light); width: 300px; height: 300px; bottom: -100px; left: -50px; }
.fa-cta-final__content {
  position: relative; z-index: 1;
  flex: 1;
}
.fa-cta-final__content h2 {
  color: #fff;
  font-size: 40px; font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.fa-cta-final__content p {
  color: rgba(255,255,255,.8);
  font-size: 17px;
  margin-bottom: 28px;
}
.fa-cta-final__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.fa-cta-final__guarantees {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.fa-cta-final__guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.fa-cta-final__guarantees span svg { color: var(--fa-teal-light); }
.fa-btn--wa-outline {
  background: transparent;
  border: 1px solid rgba(37,211,102,.5);
  color: #fff;
}
.fa-btn--wa-outline:hover {
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.8);
  color: #fff;
}
.fa-cta-final__visual {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex-shrink: 0;
  width: 280px;
}
.fa-cta-final__stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}
.fa-cta-final__stat strong {
  display: block;
  font-size: 28px; font-weight: 800;
  color: var(--fa-teal-light);
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.fa-cta-final__stat span {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}
@media (max-width: 980px) {
  .fa-cta-final__box { flex-direction: column; gap: 40px; padding: 48px 32px; }
  .fa-cta-final__visual { width: 100%; }
  .fa-cta-final__content h2 { font-size: 30px; }
}
@media (max-width: 700px) {
  .fa-cta-final { padding: 0 0 80px; }
  .fa-cta-final__box { padding: 36px 22px; }
  .fa-cta-final__btns { flex-direction: column; }
  .fa-cta-final__btns .fa-btn { width: 100%; justify-content: center; }
  .fa-cta-final__guarantees { gap: 12px; }
  .fa-cta-final__content h2 { font-size: 26px; }
}

/* ====================================================================
   STICKY MOBILE CTA
   ==================================================================== */
.fa-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 9998;
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px 16px;
  gap: 10px;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.fa-sticky-cta__demo {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  background: var(--fa-teal);
  color: #fff;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
}
.fa-sticky-cta__demo--full {
  width: 100%;
}
.fa-sticky-cta__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 20px;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .fa-sticky-cta { display: flex; }
  /* Garante que o conteúdo não fica atrás da sticky bar */
  body { padding-bottom: 68px; }
}

/* ====================================================================
   RESPONSIVIDADE ADICIONAL DAS NOVAS SEÇÕES
   ==================================================================== */
@media (max-width: 700px) {
  .fa-pain { padding: 64px 0; }
  .fa-how { padding: 64px 0; }
  .fa-testimonials { padding: 64px 0; }
  .fa-comparison { padding: 64px 0; }
  .fa-trust-badges { padding: 40px 0; }
  .fa-faq { padding: 64px 0; }
  .fa-comparison__col { padding: 24px 18px; }
  .fa-comparison__col ul li { font-size: 13px; }
  .fa-testi-card { padding: 22px; }
  .fa-testi-card blockquote { font-size: 14px; }
  .fa-how__step { padding: 32px 20px; }
  .fa-extra-features { padding: 20px 16px; gap: 8px; }
  .fa-extra-feat-item { font-size: 12px; padding: 6px 12px; }
}

/* ====================================================================
   FAIXAS SAAS — TRIAL / ASSINATURA VENCIDA
   ==================================================================== */

/*
 * Posição fixa na base da coluna de conteúdo (à direita da sidebar).
 * left: 260px = largura da sidebar em desktop.
 * backdrop-filter torna a barra levemente translúcida.
 */
.saas-strip {
  position: fixed;
  bottom: 0;
  left: 260px;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px;
  border-top: 1px solid transparent;
  font-size: 13px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* variante trial — cinza-gelo translúcido */
.saas-strip--trial {
  background: rgba(241, 243, 247, 0.88);
  border-top-color: rgba(210, 215, 225, 0.7);
  color: var(--text-2);
}

/* variante vencida — laranja suave translúcido */
.saas-strip--pastdue {
  background: rgba(255, 244, 230, 0.92);
  border-top-color: rgba(255, 200, 120, 0.7);
  color: #92400E;
}

.saas-strip__body {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.saas-strip__body svg {
  flex-shrink: 0;
  opacity: .75;
}

.saas-strip__msg {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.saas-strip--trial .saas-strip__msg strong { color: var(--text); }
.saas-strip--pastdue .saas-strip__msg strong { color: #78350F; }

.saas-strip__cta {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .15s, transform .1s;
}

.saas-strip--trial .saas-strip__cta {
  background: var(--primary);
  color: #fff;
}

.saas-strip--pastdue .saas-strip__cta {
  background: #EA8B00;
  color: #fff;
}

.saas-strip__cta:hover {
  opacity: .88;
  transform: translateY(-1px);
  color: #fff;
}

/* Compensar altura da barra fixa no conteúdo da página */
.page--has-strip {
  padding-bottom: 58px;
}

/* Mobile: sidebar vira overlay em ≤900px → strip ocupa tela toda */
@media (max-width: 900px) {
  .saas-strip {
    left: 0;
    padding: 10px 18px;
  }
}

@media (max-width: 640px) {
  .saas-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .saas-strip__msg {
    white-space: normal;
  }
  .saas-strip__cta {
    align-self: stretch;
    justify-content: center;
    padding: 9px 16px;
  }
  .page--has-strip {
    padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  }
}

/* ===== Páginas legais (privacidade / termos) ===== */
.fa-legal-wrap {
  padding: 56px 0 88px;
  background: #fff;
}
.fa-legal {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}
.fa-legal__meta {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}
.fa-legal__meta a {
  color: var(--fa-teal, #119c8e);
  font-weight: 500;
}
.fa-legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 12px;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}
.fa-legal h2:first-of-type {
  margin-top: 0;
}
.fa-legal p {
  margin: 0 0 14px;
}
.fa-legal ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}
.fa-legal li {
  margin-bottom: 8px;
}
.fa-legal a {
  color: var(--fa-teal, #119c8e);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fa-legal a:hover {
  color: #0d7f73;
}
.fa-legal__note {
  margin-top: 40px;
  padding: 16px 18px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  color: #64748b;
}

.fa-deletion-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  max-width: 420px;
}
.fa-deletion-actions__secondary {
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  background: #fff !important;
  box-shadow: none !important;
  text-decoration: none;
}
.fa-deletion-actions__secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  transform: translateY(-1px);
  color: #0f172a !important;
}


/* ============================================
   ONBOARDING • Boas-vindas + Checklist
   ============================================ */
.onb {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 26px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: onb-in .5s ease both;
}
.onb::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.10);
}
@keyframes onb-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.onb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.onb-title { color: #fff; font-size: 22px; margin: 0 0 4px; }
.onb-title span { font-size: 22px; }
.onb-sub { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; }
.onb-skip {
  flex-shrink: 0; color: #fff; background: rgba(255,255,255,.16);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: background .18s;
}
.onb-skip:hover { background: rgba(255,255,255,.28); }
.onb-progress { display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; position: relative; z-index: 1; }
.onb-progress-bar { flex: 1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.22); overflow: hidden; }
.onb-progress-bar span { display: block; height: 100%; border-radius: 999px; background: #fff; transition: width .6s cubic-bezier(.22,1,.36,1); }
.onb-progress-val { font-size: 13px; font-weight: 700; white-space: nowrap; }
.onb-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 18px; position: relative; z-index: 1;
}
@media (max-width: 900px) { .onb-steps { grid-template-columns: 1fr; } }
.onb-step {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 14px;
  color: #fff; text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
a.onb-step:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.onb-step.is-done { opacity: .65; }
.onb-step-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255,255,255,.20);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.onb-step.is-done .onb-step-ic { background: var(--secondary); }
.onb-step-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.onb-step-tx strong { font-size: 14px; font-weight: 700; }
.onb-step-tx small { font-size: 12px; color: rgba(255,255,255,.78); }
.onb-step-go { flex-shrink: 0; opacity: .8; transition: transform .18s; }
a.onb-step:hover .onb-step-go { transform: translateX(3px); opacity: 1; }

/* ============================================
   FAB • Botão flutuante de ações rápidas
   ============================================ */
.fab-wrap { position: fixed; left: calc(260px + 24px); bottom: 24px; z-index: 900; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; pointer-events: none; }
.fab-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(91,91,247,.40);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
  pointer-events: auto;
}
.fab-btn:hover { transform: scale(1.06); }
.fab-btn svg { transition: transform .25s ease; }
.fab-wrap.open .fab-btn { transform: rotate(135deg); }
.fab-menu {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  opacity: 0; transform: translateY(14px) scale(.96);
  pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.fab-wrap.open .fab-menu { opacity: 1; transform: none; pointer-events: auto; }
.fab-wrap.open .fab-item { pointer-events: auto; }
.fab-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 600;
  padding: 11px 16px; border-radius: 999px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  transition: transform .16s ease, color .16s ease;
}
.fab-item span { display: flex; color: var(--primary); }
.fab-item:hover { transform: translateX(3px); color: var(--primary); }
@media (max-width: 900px) {
  .fab-wrap { left: 16px; }
}
@media (max-width: 640px) {
  .fab-btn { width: 54px; height: 54px; }
  .fab-wrap { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
/* Elevar FAB quando a faixa SaaS estiver visível */
.app-layout:has(.saas-strip) .fab-wrap { bottom: 72px; }
@media (max-width: 640px) {
  .app-layout:has(.saas-strip) .fab-wrap { bottom: calc(130px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== Driver.js — tema premium (classe própria fa-tour) ===== */
.driver-popover.fa-tour {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font);
  padding: 20px;
  max-width: 320px;
}
.driver-popover.fa-tour .driver-popover-title {
  font-family: var(--font); font-size: 16px; font-weight: 700; color: var(--text);
}
.driver-popover.fa-tour .driver-popover-description {
  font-family: var(--font); font-size: 13px; color: var(--text-2); line-height: 1.55;
}
.driver-popover.fa-tour .driver-popover-close-btn { color: var(--text-3); font-size: 20px; }
.driver-popover.fa-tour .driver-popover-close-btn:hover { color: var(--text); }
.driver-popover.fa-tour .driver-popover-footer {
  background: transparent; margin-top: 16px; gap: 10px;
}
.driver-popover.fa-tour .driver-popover-progress-text { color: var(--text-3); font-size: 12px; }
.driver-popover.fa-tour .driver-popover-footer button {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 14px; font: 600 13px/1.2 var(--font);
  text-shadow: none; transition: all .16s ease;
}
.driver-popover.fa-tour .driver-popover-footer button:hover {
  background: var(--bg); border-color: var(--border-strong);
}
.driver-popover.fa-tour .driver-popover-footer .driver-popover-next-btn {
  background: var(--grad-primary); color: #fff; border: 0;
  box-shadow: 0 6px 16px rgba(91,91,247,.28);
}
.driver-popover.fa-tour .driver-popover-arrow { border-color: #fff; }

/* ============================================
   FOLD • Cards recolhíveis (formulários simples)
   ============================================ */
.fold { display: block; padding: 0; }
.fold > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary:hover { background: var(--surface-2); border-radius: var(--radius) var(--radius) 0 0; }
.fold-ic {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fold-tx { flex: 1; min-width: 0; }
.fold-tx strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.fold-tx small { font-size: 12px; color: var(--text-3); }
.fold-chev {
  flex-shrink: 0; color: var(--text-3);
  transition: transform .22s ease;
}
.fold[open] > summary .fold-chev { transform: rotate(180deg); }
.fold[open] > summary { border-bottom: 1px solid var(--border); }
.fold-body { padding: 20px; animation: fold-in .22s ease both; }
@keyframes fold-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Bloco essencial em destaque */
.form-essential { border: 1px solid var(--primary-light); box-shadow: 0 6px 22px rgba(91,91,247,.08); }
.form-essential .card-title { color: var(--primary); }

/* ===== Sidebar: grupo "Mais" recolhível ===== */
.nav-more { margin-top: 4px; }
.nav-more > summary { list-style: none; cursor: pointer; align-items: center; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary .nav-more-chev { margin-left: auto; transition: transform .22s ease; display: inline-flex; }
.nav-more[open] > summary .nav-more-chev { transform: rotate(180deg); }
.nav-more-body { display: flex; flex-direction: column; animation: fold-in .2s ease both; }

/* Seletor de nicho da clínica (cadastro) */
.niche-pick { display: grid; gap: 8px; }
.niche-opt { display: block; cursor: pointer; }
.niche-opt input { position: absolute; opacity: 0; pointer-events: none; }
.niche-card { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; transition: border-color .15s ease, background .15s ease; }
.niche-card strong { display: block; font-size: 14px; }
.niche-card small { color: var(--muted); font-size: 12px; }
.niche-opt input:checked + .niche-card { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, transparent); }
.niche-opt input:focus-visible + .niche-card { outline: 2px solid var(--primary); outline-offset: 2px; }
