/* ============================================================
   Radar Imobiliário — estilos gerais
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --background: #f8fafc;
  --foreground: #101a2c;
  --primary: #059669;      /* emerald-600 */
  --primary-dark: #047857; /* emerald-700 */
  --primary-light: #34d399;/* emerald-400 */
  --primary-lighter: #10b981; /* emerald-500 */
  --emerald-100: #d1fae5;
  --navy: #16233e;         /* navy-surface */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(22,35,62,.07);
  --shadow-md: 0 12px 28px rgba(22,35,62,.10);
  --shadow-lg: 0 24px 60px rgba(22,35,62,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  margin: 0;
}
p { margin: 0; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; padding: 12px 12px 0;
}
.site-header .bar {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.95); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.brand .logo.dark { background: #fff; color: var(--primary-dark); }
.brand .name { font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--slate-900); }
.brand .name span { color: var(--primary); }
.brand.dark .name { color: #fff; }
.brand.dark .name span { color: var(--primary-light); }
.main-nav { display: none; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; color: var(--slate-600); }
.main-nav a:hover { color: var(--primary-dark); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; font-weight: 700; transition: .2s; }
.btn-primary { background: var(--primary); color: #fff; padding: 10px 18px; font-size: 14px; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-lighter); }
.btn-dark { background: var(--slate-900); color: #fff; }
.btn-dark:hover { background: var(--slate-700); }

@media (min-width: 768px) {
  .main-nav { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 760px; padding-top: 112px; color: #fff;
  background-image: linear-gradient(90deg, rgba(15,26,45,.96) 0%, rgba(21,34,58,.86) 48%, rgba(11,110,79,.35) 100%),
    url('https://images.unsplash.com/photo-1770124046372-65cabd522d55?fm=jpg&q=80&w=2400&h=1350&fit=crop&crop=edges&auto=format');
  background-size: cover; background-position: center;
}
.hero .grid { max-width: 1200px; margin: 0 auto; padding: 48px 20px 80px; display: grid; gap: 40px; }
.hero-badge { display: inline-flex; width: fit-content; align-items: center; gap: 8px; border-radius: 999px; background: rgba(255,255,255,.1); padding: 8px 16px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-md); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); }
.hero-badge svg { color: var(--primary-light); }
.hero h1 { max-width: 640px; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-top: 18px; }
.hero p.lead { max-width: 560px; margin-top: 22px; font-size: 17px; line-height: 1.6; color: #cbd5e1; }
.hero .badges { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 600; }
.hero .badges span { display: flex; align-items: center; gap: 8px; }
.hero .badges svg { color: var(--primary-light); }

.hero-form-card { border-radius: var(--radius); background: #fff; color: var(--slate-900); padding: 24px; box-shadow: var(--shadow-lg); }
.hero-form-card .eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-dark); }
.hero-form-card h2 { margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.hero-form-card .desc { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--slate-600); }

@media (min-width: 768px) {
  .hero { min-height: 720px; padding-top: 144px; }
  .hero .grid { grid-template-columns: 1.15fr .85fr; padding-top: 80px; }
  .hero h1 { font-size: 48px; }
  .hero-form-card { padding: 32px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 56px; }
}

/* ---------- Lead form ---------- */
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-form.compact .fields { display: grid; gap: 12px; }
.field { position: relative; display: block; }
.field svg.icon { position: absolute; left: 16px; top: 14px; width: 20px; height: 20px; color: var(--slate-400); pointer-events: none; }
.field input {
  height: 48px; width: 100%; border-radius: 8px; background: var(--slate-50); padding: 0 16px 0 44px;
  color: var(--slate-900); box-shadow: var(--shadow-sm); border: 1px solid var(--slate-200); outline: none; font-size: 15px;
  transition: .2s;
}
.field input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5,150,105,.18); }
.lead-form .submit-btn {
  margin-top: 4px; display: inline-flex; height: 52px; width: 100%; align-items: center; justify-content: center; gap: 8px;
  border-radius: 8px; background: var(--primary); padding: 0 24px; font-weight: 700; color: #fff; box-shadow: var(--shadow-lg);
  font-size: 15px; transition: .2s;
}
.lead-form .submit-btn:hover { background: var(--primary-lighter); transform: translateY(-1px); }
.lead-form .submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.lead-form .privacy { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 12px; color: var(--slate-500); }
.lead-success { display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lead-success .icon-circle { margin-bottom: 18px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--emerald-100); color: var(--primary-dark); box-shadow: var(--shadow-md); }
.lead-success h3 { font-size: 22px; font-weight: 700; color: var(--slate-900); }
.lead-success p { margin-top: 10px; max-width: 340px; color: var(--slate-600); }
.lead-success button { margin-top: 22px; border-radius: 8px; background: var(--slate-900); padding: 12px 20px; font-weight: 600; color: #fff; box-shadow: var(--shadow-md); }
.lead-success button:hover { background: var(--slate-700); }
.form-error { margin-top: 10px; font-size: 13px; color: #dc2626; text-align: center; }

/* ---------- Stat strip ---------- */
.stat-strip { position: relative; z-index: 10; margin-top: -32px; padding: 0 20px; }
.stat-strip .box { max-width: 1080px; margin: 0 auto; display: grid; gap: 12px; border-radius: var(--radius); background: #fff; padding: 20px; box-shadow: var(--shadow-lg); }
.stat-strip .item { text-align: center; padding-bottom: 10px; }
.stat-strip .item strong { display: block; font-size: 22px; font-weight: 700; color: var(--slate-900); }
.stat-strip .item span { font-size: 13px; color: var(--slate-500); }
@media (min-width: 640px) {
  .stat-strip .box { grid-template-columns: repeat(3, 1fr); padding: 28px; }
  .stat-strip .item { border-right: 1px solid var(--slate-200); padding-bottom: 0; }
  .stat-strip .item:last-child { border-right: none; }
}

/* ---------- Generic section ---------- */
.section { padding: 96px 20px; }
.section .head { max-width: 640px; margin: 0 auto; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-dark); }
.section h2 { margin-top: 12px; font-size: 28px; font-weight: 800; letter-spacing: -0.01em; color: var(--slate-900); }
.section .head p { margin-top: 16px; color: var(--slate-600); }
@media (min-width: 768px) { .section h2 { font-size: 34px; } }

/* Benefits */
.benefits-grid { margin-top: 48px; display: grid; gap: 20px; }
.benefit-card { border-radius: var(--radius); background: #fff; padding: 28px; box-shadow: var(--shadow-md); transition: .2s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-card .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--emerald-100); color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.benefit-card h3 { margin-top: 20px; font-size: 19px; font-weight: 700; color: var(--slate-900); }
.benefit-card p { margin-top: 12px; line-height: 1.6; color: var(--slate-600); }
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

/* Navy / requisitos */
.navy-surface { background: var(--navy); }
.requisitos { color: #fff; }
.requisitos .grid { max-width: 1200px; margin: 0 auto; display: grid; align-items: center; gap: 48px; }
.requisitos .eyebrow { color: var(--primary-light); }
.requisitos h2 { margin-top: 12px; font-size: 28px; font-weight: 800; }
.requisitos p.lead { margin-top: 20px; max-width: 480px; line-height: 1.6; color: #cbd5e1; }
.requisitos .cta { margin-top: 32px; }
.req-cards { display: grid; gap: 16px; }
.req-card { border-radius: var(--radius); background: rgba(255,255,255,.1); padding: 24px; box-shadow: var(--shadow-md); backdrop-filter: blur(4px); }
.req-card .row { display: flex; gap: 16px; }
.req-card .icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; background: rgba(52,211,153,.2); color: var(--primary-light); }
.req-card h3 { font-size: 19px; font-weight: 700; }
.req-card p { margin-top: 8px; color: #cbd5e1; }
@media (min-width: 768px) { .requisitos .grid { grid-template-columns: 1fr 1fr; } .requisitos h2 { font-size: 34px; } }

/* Como funciona */
.dot-grid { background-image: radial-gradient(rgba(5,150,105,.15) 1px, transparent 1px); background-size: 22px 22px; }
.steps-grid { margin-top: 48px; display: grid; gap: 20px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.step-card { position: relative; border-radius: var(--radius); background: #fff; padding: 28px; box-shadow: var(--shadow-md); }
.step-card .num { position: absolute; right: 20px; top: 16px; font-family: monospace; font-size: 36px; font-weight: 700; color: var(--primary-dark); opacity: .5; }
.step-card svg.step-icon { width: 28px; height: 28px; color: var(--primary-dark); }
.step-card h3 { margin-top: 24px; font-size: 19px; font-weight: 700; color: var(--slate-900); }
.step-card p { margin-top: 12px; color: var(--slate-600); }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

/* Video section */
.video-section { background: #fff; }
.video-section .grid { max-width: 1100px; margin: 0 auto; display: grid; align-items: center; gap: 40px; }
.video-box { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); background: var(--slate-900); box-shadow: var(--shadow-lg); }
.video-box video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; color: #fff; }
.video-placeholder .icon-circle { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--primary-lighter); box-shadow: var(--shadow-lg); }
.video-placeholder h3 { margin-top: 20px; font-size: 19px; font-weight: 700; }
.video-placeholder p { margin-top: 8px; max-width: 320px; font-size: 14px; color: #cbd5e1; }
.video-info .eyebrow { }
.video-info h2 { margin-top: 12px; font-size: 26px; font-weight: 800; color: var(--slate-900); }
.video-info p.lead { margin-top: 20px; line-height: 1.6; color: var(--slate-600); }
.video-info ul { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; }
.video-info li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--slate-700); }
.video-info li svg { color: var(--primary); width: 20px; height: 20px; flex-shrink: 0; }
@media (min-width: 768px) { .video-section .grid { grid-template-columns: 1fr 1fr; } }

/* CTA final */
.cta-final { padding: 80px 20px; text-align: center; color: #fff; }
.cta-final h2 { font-size: 28px; font-weight: 800; }
.cta-final p { margin: 16px auto 0; max-width: 560px; color: #cbd5e1; }
.cta-final .form-wrap { margin: 36px auto 0; max-width: 900px; border-radius: var(--radius); background: #fff; padding: 20px; text-align: left; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .cta-final h2 { font-size: 34px; } .cta-final .form-wrap { padding: 28px; } }

/* Footer */
.site-footer { background: var(--slate-950); padding: 40px 20px; color: var(--slate-400); }
.site-footer .row { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; text-align: center; }
.site-footer .admin-link { border-radius: 8px; background: rgba(255,255,255,.1); padding: 8px 16px; font-size: 14px; font-weight: 600; color: #fff; transition: .2s; }
.site-footer .admin-link:hover { background: rgba(255,255,255,.2); }
@media (min-width: 640px) { .site-footer .row { flex-direction: row; } }

/* WhatsApp floating buttons */
.whatsapp-fab { position: fixed; bottom: 20px; right: 16px; z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.whatsapp-fab a { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.whatsapp-fab .label { display: none; border-radius: 8px; background: #fff; padding: 8px 12px; font-size: 12px; font-weight: 700; color: var(--slate-900); box-shadow: var(--shadow-lg); }
.whatsapp-fab a:hover .label { display: block; }
.whatsapp-fab .bubble { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: var(--primary-lighter); color: #fff; box-shadow: var(--shadow-lg); transition: .2s; }
.whatsapp-fab .bubble:hover { transform: scale(1.05); background: var(--primary-light); }
@media (min-width: 640px) { .whatsapp-fab .label { display: block; } .whatsapp-fab { right: 24px; } }

/* Utility icon sizing */
svg { width: 20px; height: 20px; }

/* ============================================================
   Admin (login + dashboard)
   ============================================================ */
.admin-login-page { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--slate-950); padding: 48px 20px; overflow: hidden; }
.admin-login-page .bg-dots { position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(rgba(5,150,105,.4) 1px, transparent 1px); background-size: 22px 22px; }
.admin-login-card { position: relative; width: 100%; max-width: 420px; border-radius: var(--radius); background: #fff; padding: 32px; box-shadow: var(--shadow-lg); }
.admin-login-card .head { margin-bottom: 28px; text-align: center; }
.admin-login-card .logo { margin: 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.admin-login-card h1 { margin-top: 18px; font-size: 22px; font-weight: 700; color: var(--slate-900); }
.admin-login-card .head p { margin-top: 8px; font-size: 14px; color: var(--slate-500); }
.admin-login-card form { display: flex; flex-direction: column; gap: 16px; }
.admin-login-card label { display: block; }
.admin-login-card label > span:first-child { margin-bottom: 8px; display: block; font-size: 14px; font-weight: 600; color: var(--slate-700); }
.admin-login-card .submit-btn { margin-top: 6px; display: flex; height: 48px; width: 100%; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; background: var(--primary); font-weight: 700; color: #fff; box-shadow: var(--shadow-md); }
.admin-login-card .submit-btn:hover { background: var(--primary-lighter); }
.admin-login-card .back-link { margin-top: 22px; display: block; text-align: center; font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.admin-login-card .error-msg { background: #fef2f2; color: #b91c1c; border-radius: 8px; padding: 10px 14px; font-size: 13px; text-align: center; }

/* Admin dashboard layout */
.admin-body { min-height: 100vh; background: var(--slate-100); color: var(--slate-900); }
.admin-sidebar { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); padding: 20px; display: flex; align-items: center; justify-content: space-between; }
.admin-sidebar .brand-row { display: flex; align-items: center; gap: 12px; }
.admin-sidebar .brand-row .logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary-lighter); }
.admin-sidebar .brand-row strong { font-family: 'Plus Jakarta Sans', sans-serif; }
.admin-sidebar .brand-row .sub { display: block; font-size: 12px; color: var(--slate-400); }
.admin-nav { display: none; }
.admin-nav a, .admin-nav button { display: flex; align-items: center; gap: 10px; width: 100%; border-radius: 8px; padding: 12px 16px; text-align: left; font-size: 14px; font-weight: 600; color: #cbd5e1; background: transparent; }
.admin-nav a.active, .admin-nav button.active { background: var(--primary-lighter); color: #fff; box-shadow: var(--shadow-md); }
.admin-nav a:hover, .admin-nav button:hover { background: rgba(255,255,255,.1); color: #fff; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; }
.sidebar-footer button { display: flex; align-items: center; gap: 8px; border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 600; color: #cbd5e1; background: transparent; }
.sidebar-footer button:hover { background: rgba(255,255,255,.1); color: #fff; }
.session-box { display: none; }
.admin-mobile-toggle { display: flex; gap: 8px; }
.admin-mobile-toggle button { border-radius: 8px; background: var(--slate-100); padding: 8px; box-shadow: var(--shadow-sm); }

@media (min-width: 1024px) {
  .admin-body { display: grid; grid-template-columns: 250px 1fr; }
  .admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; flex-direction: column; align-items: stretch; padding: 20px; }
  .admin-sidebar > div:first-child { }
  .admin-nav { display: block; margin-top: 40px; }
  .admin-nav > * + * { margin-top: 8px; }
  .session-box { display: block; border-radius: 8px; background: rgba(255,255,255,.1); padding: 16px; margin-top: auto; }
  .session-box p:first-child { font-size: 12px; color: var(--slate-400); }
  .session-box p:last-child { margin-top: 4px; font-size: 14px; font-weight: 600; }
  .sidebar-footer { display: block; margin-top: 12px; }
  .sidebar-footer button { width: 100%; }
  .admin-content { grid-column: 2; }
  .admin-mobile-toggle { display: none; }
}

.admin-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.9); padding: 16px 20px; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.admin-topbar .eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-dark); }
.admin-topbar h1 { font-size: 20px; font-weight: 700; }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 20px; }
.admin-main > p.intro { margin-bottom: 28px; max-width: 640px; color: var(--slate-600); }

.stat-cards { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.stat-card { border-radius: var(--radius); background: #fff; padding: 20px; box-shadow: var(--shadow-md); }
.stat-card .top { display: flex; align-items: center; justify-content: space-between; }
.stat-card .icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; }
.stat-card .icon.blue { background: #dbeafe; color: #1d4ed8; }
.stat-card .icon.amber { background: #fef3c7; color: #b45309; }
.stat-card .icon.violet { background: #ede9fe; color: #6d28d9; }
.stat-card .icon.emerald { background: var(--emerald-100); color: var(--primary-dark); }
.stat-card .value { font-family: monospace; font-size: 28px; font-weight: 700; }
.stat-card .label { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--slate-500); }
@media (min-width: 640px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }

.leads-panel { margin-top: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); }
.leads-toolbar { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.leads-toolbar .search-box { position: relative; flex: 1; }
.leads-toolbar .search-box svg { position: absolute; left: 16px; top: 12px; color: var(--slate-400); }
.leads-toolbar .search-box input { height: 44px; width: 100%; border-radius: 8px; background: var(--slate-100); padding: 0 16px 0 44px; font-size: 14px; outline: none; border: 1px solid var(--slate-200); }
.leads-toolbar .actions { display: flex; gap: 8px; }
.leads-toolbar select { height: 44px; border-radius: 8px; background: var(--slate-100); padding: 0 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-200); }
.leads-toolbar .export-btn { display: inline-flex; height: 44px; align-items: center; gap: 8px; border-radius: 8px; background: var(--slate-900); padding: 0 16px; font-size: 14px; font-weight: 700; color: #fff; }
.leads-toolbar .export-btn:hover { background: var(--slate-700); }
@media (min-width: 768px) { .leads-toolbar { flex-direction: row; align-items: center; justify-content: space-between; } }

.leads-table-wrap { overflow-x: auto; }
table.leads-table { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; }
table.leads-table thead { background: var(--slate-50); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--slate-500); }
table.leads-table th, table.leads-table td { padding: 14px 20px; }
table.leads-table tbody tr { border-top: 1px solid var(--slate-100); transition: .15s; }
table.leads-table tbody tr:hover { background: var(--slate-50); }
table.leads-table .lead-name { display: block; font-size: 14px; font-weight: 700; }
table.leads-table .lead-email { margin-top: 4px; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--slate-500); }
.status-select { border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; border: none; outline: none; }
.status-NOVO { background: #dbeafe; color: #1e40af; }
.status-EM_CONTATO { background: #fef3c7; color: #92400e; }
.status-QUALIFICADO { background: #ede9fe; color: #5b21b6; }
.status-CONVERTIDO { background: var(--emerald-100); color: #065f46; }
.status-ARQUIVADO { background: var(--slate-100); color: var(--slate-700); }
.wa-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; background: var(--primary); padding: 8px 12px; font-size: 12px; font-weight: 700; color: #fff; }
.wa-btn:hover { background: var(--primary-lighter); }
.delete-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; background: #fef2f2; color: #b91c1c; padding: 8px 12px; font-size: 12px; font-weight: 700; } .delete-btn:hover { background: #fee2e2; }
.empty-state { padding: 48px; text-align: center; color: var(--slate-500); }

/* Settings tab */
.settings-grid { display: grid; gap: 24px; }
.settings-card { border-radius: var(--radius); background: #fff; padding: 24px; box-shadow: var(--shadow-md); }
.settings-card h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; }
.settings-card .form-group { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.settings-card label > span { margin-bottom: 8px; display: block; font-size: 14px; font-weight: 600; color: var(--slate-700); }
.settings-card input[type=text], .settings-card textarea {
  width: 100%; border-radius: 8px; background: var(--slate-50); padding: 12px; font-size: 14px; outline: none; border: 1px solid var(--slate-200);
}
.settings-card input[type=text]:focus, .settings-card textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5,150,105,.15); }
.settings-card .save-btn { margin-top: 24px; display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; background: var(--primary); padding: 12px; font-weight: 700; color: #fff; box-shadow: var(--shadow-md); }
.settings-card .save-btn:hover { background: var(--primary-lighter); }
.video-upload-box { margin-top: 24px; border-radius: var(--radius); background: var(--slate-100); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.video-upload-box .icon-circle { margin: 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-md); }
.video-upload-box .status { margin-top: 16px; font-weight: 600; }
.video-upload-box .hint { margin-top: 8px; font-size: 14px; color: var(--slate-500); }
.video-upload-box .upload-label { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; background: var(--slate-900); padding: 12px 20px; font-size: 14px; font-weight: 700; color: #fff; cursor: pointer; }
.video-upload-box .upload-label:hover { background: var(--slate-700); }
.video-tip { margin-top: 20px; border-radius: 8px; background: var(--emerald-100); padding: 16px; font-size: 14px; color: #065f46; text-align: left; }
@media (min-width: 1024px) { .settings-grid { grid-template-columns: 1fr .8fr; } }

.toast { position: fixed; top: 16px; right: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast .msg { border-radius: 8px; padding: 12px 18px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); color: #fff; animation: fadein .2s; }
.toast .msg.success { background: var(--primary); }
.toast .msg.error { background: #dc2626; }
@keyframes fadein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
