/* ============================================================
   BH Service — tema escuro
   Azul #0085FF · Amarelo #f1fe00 · Fundo #0F172A · Cards #1E293B
   ============================================================ */
:root {
  --bg: #0F172A;
  --bg-alt: #1E293B;
  --bg-card: #1E293B;
  --bg-card-hover: #24344d;
  --border: #334155;
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --blue: #0085FF;
  --blue-dark: #0066cc;
  --yellow: #f1fe00;
  --green: #10B981;
  --red: #EF4444;
  --font-title: "Montserrat", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: 999px;
  font-family: var(--font-title); font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn-ghost:hover { color: var(--text); }

/* ---------------- Ícone WhatsApp ---------------- */
.ico-wa {
  width: 20px; height: 20px; flex: 0 0 auto;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23fff'%3E%3Cpath d='M16.05 2C8.3 2 2 8.3 2 16.05c0 2.48.65 4.9 1.9 7.03L2 30l7.2-1.87a13.96 13.96 0 0 0 6.85 1.78C23.8 29.9 30.1 23.6 30.1 15.85S23.8 2 16.05 2zm0 25.4c-2.1 0-4.18-.56-6-1.62l-.43-.26-4.28 1.1 1.14-4.17-.28-.44a11.44 11.44 0 0 1-1.78-6.08c0-6.32 5.15-11.47 11.47-11.47 6.32 0 11.47 5.15 11.47 11.47S22.37 27.4 16.05 27.4zm6.3-8.6c-.34-.17-2.03-1-2.35-1.12-.31-.12-.54-.17-.77.17-.22.34-.87 1.12-1.07 1.35-.2.23-.4.26-.74.09-.34-.17-1.44-.53-2.74-1.69a10.25 10.25 0 0 1-1.9-2.36c-.2-.34-.02-.53.15-.7.15-.15.34-.4.51-.6.17-.2.22-.34.34-.57.11-.23.06-.43-.03-.6-.09-.17-.77-1.85-1.05-2.53-.28-.68-.56-.59-.77-.6h-.65c-.23 0-.6.09-.91.43-.31.34-1.2 1.17-1.2 2.86s1.23 3.32 1.4 3.55c.17.23 2.42 3.7 5.87 5.19.82.35 1.46.57 1.96.73.82.26 1.57.22 2.16.13.66-.1 2.03-.83 2.32-1.63.28-.8.28-1.49.2-1.63-.09-.14-.32-.23-.66-.4z'/%3E%3C/svg%3E");
}

/* ---------------- Topbar ---------------- */
.topbar {
  background: #212A37;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; flex-wrap: wrap;
}
.topbar-slogan { color: #fff; font-family: var(--font-title); font-weight: 600; }
.topbar-slogan strong { color: var(--yellow); }
.topbar-contacts { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.topbar-contacts a { color: var(--text); font-weight: 600; }
.topbar-contacts a:hover { color: var(--yellow); }
.topbar-hours { color: var(--text-muted); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.8rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 50px;
  object-fit: cover; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  background: #fff; flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-title); color: #fff; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-text small { color: var(--yellow); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav > a:not(.btn) { color: var(--text); font-weight: 600; position: relative; padding: 0.3rem 0; }
.main-nav > a:not(.btn):hover, .main-nav > a:not(.btn).active { color: var(--yellow); }
.main-nav > a:not(.btn).active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--yellow); border-radius: 2px;
}
.main-nav .btn { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 0.4rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(0, 133, 255, 0.25), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(241, 254, 0, 0.08), transparent 60%),
    var(--bg);
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: 0.3rem 0.9rem;
  border: 1px solid var(--yellow); border-radius: 999px;
  color: var(--yellow); font-family: var(--font-title); font-weight: 600; font-size: 0.8rem;
}
.hero h1 {
  font-family: var(--font-title); font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.12; color: #fff; margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--blue); }
.hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-media img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 133, 255, 0.4);
  box-shadow: var(--shadow);
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 3rem;
}
.stat {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: var(--shadow);
}
.stat strong {
  font-family: var(--font-title); font-size: 2rem; font-weight: 800; color: var(--yellow);
}
.stat span { color: var(--text-muted); font-weight: 600; }

/* ---------------- Seções ---------------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.section-head h2 { font-family: var(--font-title); font-size: 1.8rem; font-weight: 800; color: #fff; }
.section-head p { color: var(--text-muted); margin-top: 0.3rem; }

/* ---------------- Categorias ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }
.cat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; text-align: center; transition: 0.2s ease;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.cat-card svg { width: 100%; border-radius: 8px; }
.cat-card .cat-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.cat-card h3 { font-family: var(--font-title); color: #fff; margin: 0.8rem 0 0.2rem; }
.cat-card span { color: var(--blue); font-weight: 700; font-size: 0.85rem; }

/* Grupos de categoria */
.cat-group { margin-bottom: 2.5rem; }
.cat-group:last-child { margin-bottom: 0; }
.cat-group > h3 {
  font-family: var(--font-title); font-size: 1.25rem; font-weight: 800; color: var(--yellow);
  margin-bottom: 1.1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--border);
}

/* Abas Produtos / Serviços */
.cat-tabs { display: inline-flex; gap: 0.5rem; margin: 0 0 1.5rem; flex-wrap: wrap; }
.tab-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.3rem; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-muted); font-family: var(--font-title); font-weight: 700; font-size: 0.9rem;
  transition: all 0.2s ease;
}
.tab-link:hover { color: var(--text); border-color: var(--yellow); }
.tab-link.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Descrição do card de serviço */
.card-desc { color: var(--text-muted); font-size: 0.9rem; margin: 0.3rem 0 0.5rem; }

/* ---------------- Cards de produto ---------------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.card-produto {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-produto:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0, 133, 255, 0.6); }
.card-img { position: relative; display: block; }
.card-img svg { width: 100%; display: block; }
.card-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.badge {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--font-title); font-weight: 700; font-size: 0.7rem;
  padding: 0.25rem 0.7rem; border-radius: 999px; color: #fff;
}
.badge-out { background: var(--red); }
.badge-low { background: var(--yellow); color: #111; }
.card-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-cat {
  font-family: var(--font-title); font-size: 0.72rem; font-weight: 700;
  color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em;
}
.card-body h3 { font-family: var(--font-title); font-size: 1.05rem; color: #fff; }
.card-body h3 a { color: inherit; }
.card-body h3 a:hover { color: var(--blue); }
.card-foot { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0.6rem; padding-top: 0.6rem; }
.card-sob-consulta { font-family: var(--font-title); font-size: 0.82rem; font-weight: 700; color: var(--yellow); letter-spacing: 0.03em; }
.card-foot .btn { padding: 0.55rem 1rem; font-size: 0.85rem; }
.card-foot .btn .ico-wa { width: 16px; height: 16px; }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--blue), #0055cc);
  border-radius: var(--radius); padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-banner h2 { font-family: var(--font-title); color: #fff; font-size: 1.7rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); max-width: 480px; }
.cta-banner .btn-primary { background: #fff; color: var(--blue); }
.cta-banner .btn-primary:hover { background: var(--yellow); color: #111; }

/* ---------------- Cabeçalho de página ---------------- */
.page-head { padding: 4rem 0 2.5rem; background: radial-gradient(700px 300px at 80% 0%, rgba(0, 133, 255, 0.18), transparent 60%), var(--bg); border-bottom: 1px solid var(--border); }
.page-head h1 { font-family: var(--font-title); font-size: 2.2rem; font-weight: 800; color: #fff; }
.page-head p { color: var(--text-muted); margin-top: 0.5rem; max-width: 640px; }

/* ---------------- Toolbar (filtros) ---------------- */
.toolbar { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; min-width: 200px; }
.field label { font-family: var(--font-title); font-weight: 600; font-size: 0.85rem; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 0.7rem 1rem; font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.result-count { color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 600; }

.empty { text-align: center; padding: 3rem 1rem; }
.empty h3 { font-family: var(--font-title); color: #fff; margin-bottom: 0.5rem; }
.empty p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ---------------- Detalhe do produto ---------------- */
.produto-detalhe { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.produto-detalhe-img {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.produto-detalhe-img svg { width: 100%; display: block; }
.produto-detalhe-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.produto-detalhe-info h1 { font-family: var(--font-title); font-size: 2rem; color: #fff; margin: 0.5rem 0 0.8rem; }
.produto-orcamento-call {
  font-family: var(--font-title); font-size: 1.15rem; color: var(--yellow);
  font-weight: 700; margin-bottom: 1.5rem; max-width: 460px;
}
.produto-detalhe-info h3 { font-family: var(--font-title); color: #fff; margin: 1.2rem 0 0.5rem; }
.traco {
  background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--blue);
  border-radius: 8px; padding: 1rem; color: var(--text); font-size: 0.95rem; white-space: pre-wrap;
}
.produto-detalhes { list-style: none; margin: 1.5rem 0; }
.produto-detalhes li { padding: 0.5rem 0; border-bottom: 1px dashed var(--border); color: var(--text-muted); }
.produto-detalhes li strong { color: var(--text); }
.produto-detalhe-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* ---------------- Institucional (home) ---------------- */
.sobre-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.sobre-hero-texto h2 { font-family: var(--font-title); color: #fff; font-size: 1.8rem; font-weight: 800; margin: 0.6rem 0 1rem; }
.sobre-hero-texto p { color: var(--text-muted); margin-bottom: 1rem; }
.sobre-hero-midia img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }

/* ---------------- Sobre ---------------- */
.sobre-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.sobre-texto h2 { font-family: var(--font-title); color: #fff; margin-bottom: 1rem; }
.sobre-texto p { color: var(--text-muted); margin-bottom: 1rem; }
.sobre-foto { margin-top: 1.5rem; }
.sobre-foto img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.sobre-dados { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.sobre-dados h3 { font-family: var(--font-title); color: var(--yellow); margin-bottom: 1rem; }
.sobre-dados ul { list-style: none; }
.sobre-dados li { padding: 0.5rem 0; border-bottom: 1px dashed var(--border); color: var(--text-muted); }
.sobre-dados li:last-child { border-bottom: 0; }
.sobre-dados li strong { color: var(--text); }

.diferenciais { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.diferencial { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.diferencial:hover { border-color: var(--blue); }
.dif-icon {
  font-family: var(--font-title); font-weight: 800; color: var(--yellow); font-size: 1.6rem;
}
.diferencial h3 { font-family: var(--font-title); color: #fff; margin: 0.6rem 0 0.4rem; }
.diferencial p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------------- Contato ---------------- */
.contato-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contato-info h2, .contato-form h2 { font-family: var(--font-title); color: #fff; margin-bottom: 1rem; }
.contato-info ul { list-style: none; margin-bottom: 1.5rem; }
.contato-info li { padding: 0.55rem 0; border-bottom: 1px dashed var(--border); color: var(--text-muted); }
.contato-info li strong { color: var(--text); }
.contato-form p { color: var(--text-muted); margin-bottom: 1.2rem; }
.contato-form form { display: grid; gap: 1rem; }
.alert { border-radius: 10px; padding: 1rem; margin-bottom: 1rem; }
.alert-err { background: rgba(239, 68, 68, 0.12); border: 1px solid var(--red); color: #fca5a5; }

/* ---------------- Footer ---------------- */
.site-footer { background: #0b1220; border-top: 1px solid var(--border); margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2.5rem; padding: 3rem 0; }
.site-footer h4 { font-family: var(--font-title); color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; color: var(--text-muted); }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--yellow); }
.footer-slogan { color: var(--text-muted); margin-top: 1rem; max-width: 380px; }
.social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-link {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-link:hover { color: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.footer-contact li a { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.2rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-muted); font-size: 0.85rem; }
.brand-light .brand-text strong { color: #fff; }

/* ---------------- Botão flutuante WhatsApp ---------------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
  transition: transform 0.2s ease;
}
.wa-float .ico-wa { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.1); }

/* ---------------- Responsivo ---------------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 99;
    width: min(320px, 85vw); background: var(--bg-card);
    flex-direction: column; align-items: flex-start; gap: 1rem;
    padding: 5rem 2rem 2rem; transform: translateX(100%);
    transition: transform 0.3s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    border-left: 1px solid var(--border);
  }
  .main-nav.open { transform: translateX(0); }
  .hero-inner, .produto-detalhe, .sobre-grid, .contato-grid, .sobre-hero { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stat strong { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ============================================================
   Modelo de orçamento — sem carrinho, tudo via WhatsApp
   ============================================================ */
.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.field textarea { resize: vertical; }

/* ============================================================
   Chatbot BH Service
   ============================================================ */
.chatbot { font-family: var(--font-body); }

/* Botão flutuante */
.chatbot-fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 210;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--blue); border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 133, 255, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}
.chatbot-fab:hover { transform: scale(1.1); background: var(--blue-dark); }
.chatbot-fab .chatbot-ico-close { display: none; }
.chatbot-fab.open { background: var(--red); }
.chatbot-fab.open .chatbot-ico-open { display: none; }
.chatbot-fab.open .chatbot-ico-close { display: block; }

/* Quando o chat abre, esconde o botão flutuante do WhatsApp */
.chatbot-aberto .wa-float { display: none; }

/* Painel */
.chatbot-panel {
  position: fixed; right: 1.4rem; bottom: 5.4rem; z-index: 209;
  width: min(380px, calc(100vw - 2.8rem));
  height: min(560px, calc(100vh - 7rem));
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.chatbot-panel.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Cabeçalho */
.chatbot-header {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(120deg, var(--blue), #0055cc);
  color: #fff;
}
.chatbot-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--yellow); color: #111;
  font-family: var(--font-title); font-weight: 800; font-size: 0.95rem;
  display: grid; place-items: center;
}
.chatbot-header-info { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.chatbot-header-info strong { font-family: var(--font-title); font-size: 0.95rem; }
.chatbot-status { font-size: 0.78rem; color: rgba(255, 255, 255, 0.92); display: flex; align-items: center; gap: 0.35rem; }
.chatbot-status i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; display: inline-block;
  animation: chatbot-pulse 1.6s infinite;
}
@keyframes chatbot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.chatbot-close {
  background: rgba(255, 255, 255, 0.15); border: 0; color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.chatbot-close:hover { background: rgba(255, 255, 255, 0.3); }

/* Corpo da conversa */
.chatbot-body {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--bg);
}
.chatbot-body::-webkit-scrollbar { width: 6px; }
.chatbot-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Mensagens */
.chatbot-msg {
  max-width: 86%; padding: 0.55rem 0.85rem;
  border-radius: 14px; font-size: 0.92rem; line-height: 1.45;
  word-wrap: break-word;
}
.chatbot-msg p + p { margin-top: 0.4rem; }
.chatbot-msg strong { color: var(--yellow); }
.chatbot-msg em { color: var(--text-muted); }
.chatbot-msg.bot {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chatbot-msg.user {
  background: var(--blue); color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chatbot-msg.user strong { color: #fff; }
.chatbot-msg.com-opcoes { margin-bottom: 0.2rem; }

/* Indicador de digitação */
.chatbot-typing p { display: flex; gap: 4px; align-items: center; }
.chatbot-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-muted); display: inline-block;
  animation: chatbot-blink 1.2s infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbot-blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Opções (botões) */
.chatbot-opcoes {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  align-self: flex-start; max-width: 92%;
  margin-top: -0.2rem; margin-bottom: 0.2rem;
}
.chatbot-op {
  background: var(--bg-card); color: var(--blue);
  border: 1px solid var(--blue); border-radius: 999px;
  padding: 0.45rem 0.9rem; cursor: pointer;
  font-family: var(--font-title); font-weight: 600; font-size: 0.82rem;
  transition: all 0.2s ease;
}
.chatbot-op:hover { background: var(--blue); color: #fff; }

/* Input */
.chatbot-input {
  display: flex; gap: 0.5rem; padding: 0.7rem;
  border-top: 1px solid var(--border); background: var(--bg-card);
}
.chatbot-input input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); border-radius: 10px; padding: 0.6rem 0.9rem;
  font-family: var(--font-body); font-size: 0.92rem;
}
.chatbot-input input:focus { outline: none; border-color: var(--blue); }
.chatbot-input button {
  background: var(--blue); border: 0; color: #fff;
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s ease;
}
.chatbot-input button:hover { background: var(--blue-dark); }

/* Ações rápidas fixas (barra inferior acima do input) */
.chatbot-actions {
  display: flex; gap: 0.4rem; padding: 0.5rem 0.7rem 0;
  background: var(--bg-card); flex-wrap: wrap;
}

/* Responsivo */
@media (max-width: 480px) {
  .chatbot-panel { right: 0.8rem; bottom: 4.8rem; width: calc(100vw - 1.6rem); height: calc(100vh - 6.4rem); }
  .chatbot-fab { right: 0.8rem; bottom: 0.8rem; }
}

