/* ==========================================================================
   FJL Contabilidade e Tecnologia — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Cores institucionais da FJL */
  --fjl-azul-escuro: #2b3466;
  --fjl-azul: #3e498c;
  --fjl-azul-medio: #4d668b;
  --fjl-azul-claro: #92a5c2;
  --fjl-azul-bg: #eef1f8;

  /* Cor de destaque (CTA) — alinhada ao dourado já usado nas calculadoras */
  --fjl-dourado: #e8a020;
  --fjl-dourado-escuro: #b87d10;

  /* Neutros */
  --cinza-900: #1c2333;
  --cinza-700: #445069;
  --cinza-500: #6b7690;
  --cinza-300: #cdd4e0;
  --cinza-100: #f4f6fb;
  --branco: #ffffff;

  /* Semânticas */
  --sucesso: #1a7a4a;
  --sucesso-bg: #eaf7f0;
  --erro: #b91c1c;
  --erro-bg: #fef2f2;

  --fonte-titulo: 'Poppins', 'Segoe UI', sans-serif;
  --fonte-corpo: 'Inter', 'Segoe UI', sans-serif;

  --raio: 14px;
  --raio-sm: 8px;
  --sombra: 0 8px 30px rgba(43, 52, 102, 0.10);
  --sombra-hover: 0 16px 40px rgba(43, 52, 102, 0.16);
  --container-max: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--fonte-corpo);
  color: var(--cinza-900);
  background: var(--branco);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  color: var(--fjl-azul-escuro);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); font-weight: 800; overflow-wrap: break-word; }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); font-weight: 700; overflow-wrap: break-word; }
h3 { font-size: 1.25rem; font-weight: 700; overflow-wrap: break-word; }
p { color: var(--cinza-700); overflow-wrap: break-word; }

/* ---------- Layout ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.secao { padding: 5rem 0; }
.secao-alt { background: var(--cinza-100); }
.secao-escura { background: linear-gradient(135deg, var(--fjl-azul-escuro), var(--fjl-azul)); color: #fff; }
.secao-escura h2, .secao-escura h3 { color: #fff; }
.secao-escura p { color: rgba(255,255,255,.82); }
@media (max-width: 768px) { .secao { padding: 3.25rem 0; } }

.grid { display: grid; gap: 2rem; }
.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: 992px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; align-items: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: .75rem; } .gap-2 { gap: 1.5rem; }
.text-center { text-align: center; }

.secao-titulo { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.secao-titulo .eyebrow {
  display: inline-block; color: var(--fjl-dourado-escuro); background: #fdf3e0;
  font-weight: 700; font-size: .8rem; letter-spacing: .5px; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 20px; margin-bottom: 1rem;
}
.secao-titulo p { margin-top: .9rem; font-size: 1.05rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.75rem; border-radius: 50px; font-weight: 700; font-size: .98rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primario { background: var(--fjl-azul); color: #fff; box-shadow: var(--sombra); }
.btn-primario:hover { background: var(--fjl-azul-escuro); transform: translateY(-2px); box-shadow: var(--sombra-hover); }
.btn-dourado { background: var(--fjl-dourado); color: #2b1c02; box-shadow: var(--sombra); }
.btn-dourado:hover { background: var(--fjl-dourado-escuro); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--fjl-azul); color: var(--fjl-azul); }
.btn-outline:hover { background: var(--fjl-azul); color: #fff; }
.btn-outline.claro { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline.claro:hover { background: #fff; color: var(--fjl-azul); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: var(--sombra); }
.btn-whatsapp:hover { background: #1eab52; transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.2rem; font-size: .85rem; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn-bloco { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 500; background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px); box-shadow: 0 2px 18px rgba(43,52,102,.08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.header .logo img { height: 52px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 2rem; }
.nav-desktop > ul { display: flex; align-items: center; gap: 1.85rem; }
.nav-desktop > ul > li > a {
  font-weight: 600; font-size: .95rem; color: var(--cinza-900); position: relative; padding: .5rem 0;
}
.nav-desktop > ul > li > a:hover { color: var(--fjl-azul); }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: flex; align-items: center; gap: .3rem; }
.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: var(--raio); box-shadow: var(--sombra-hover);
  min-width: 260px; padding: .75rem; opacity: 0; visibility: hidden; transition: all .2s ease;
  border: 1px solid var(--cinza-300); max-height: 80vh; overflow-y: auto;
}
.nav-item-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-panel a { display: block; padding: .65rem .85rem; border-radius: var(--raio-sm); font-weight: 600; font-size: .92rem; color: var(--cinza-900); }
.dropdown-panel a:hover { background: var(--fjl-azul-bg); color: var(--fjl-azul); }
.dropdown-panel .dropdown-desc { display: block; font-weight: 400; font-size: .78rem; color: var(--cinza-500); margin-top: 2px; }
.dropdown-panel.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .75rem; min-width: 580px; align-items: start; }
.dropdown-crossell { grid-column: 1 / -1; border-top: 1px solid var(--cinza-300); margin-top: .4rem; padding-top: .5rem; }
.dropdown-crossell a { background: var(--fjl-azul-bg); }
.dropdown-crossell a:hover { background: var(--fjl-azul); color: #fff; }
.dropdown-crossell a:hover .dropdown-desc { color: rgba(255,255,255,.8); }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--fjl-azul); cursor: pointer; line-height: 1; padding: .25rem; }

.nav-mobile {
  display: none; position: fixed; inset: 0; background: #fff; z-index: 999;
  overflow-y: auto; padding: 0 1.5rem 2rem;
}
.nav-mobile.aberto { display: block; }
.nav-mobile-topo { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--cinza-100); margin-bottom: .5rem; }
.nav-mobile-topo img { height: 42px; }
.nav-mobile ul { display: flex; flex-direction: column; gap: .25rem; }
.nav-mobile a { display: block; padding: .9rem .5rem; font-weight: 600; border-bottom: 1px solid var(--cinza-100); }
.nav-mobile .submenu { padding-left: 1rem; }
.nav-mobile .submenu a { font-weight: 500; color: var(--cinza-700); border-bottom: none; padding: .6rem .5rem; }

@media (max-width: 992px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: block; }
  .header-cta .btn span.full { display: none; }
  .portal-btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 8rem; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero .container > * { min-width: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.hero-badges span {
  background: var(--fjl-azul-bg); color: var(--fjl-azul); font-weight: 700; font-size: .78rem;
  padding: .4rem .9rem; border-radius: 20px;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero p.lead { font-size: 1.15rem; margin-bottom: 1.8rem; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: .75rem; }
.cta-microcopy { font-size: .85rem; color: var(--cinza-500); font-weight: 600; margin-bottom: 1.5rem; display: flex; align-items: center; gap: .4rem; }
.secao-escura .cta-microcopy { color: rgba(255,255,255,.7); justify-content: center; }
.hero-figure { position: relative; }
.hero-figure img { display: block; width: 100%; border-radius: var(--raio) var(--raio) 0 0; box-shadow: var(--sombra-hover); }
.hero-figure-stats {
  display: flex; background: #fff; border-radius: 0 0 var(--raio) var(--raio); box-shadow: var(--sombra-hover);
  overflow: hidden; position: relative;
}
.hero-figure-stats .hero-stat { flex: 1; min-width: 0; text-align: center; padding: 1rem .4rem; border-right: 1px solid var(--cinza-100); }
.hero-figure-stats .hero-stat:last-child { border-right: none; }
.hero-figure-stats .hero-stat strong {
  display: block; font-family: var(--fonte-titulo); font-size: 1.2rem; color: var(--fjl-azul);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-figure-stats .hero-stat span {
  display: block; font-size: .7rem; color: var(--cinza-500); font-weight: 600; margin-top: .2rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .hero-figure-stats .hero-stat { padding: .8rem .3rem; }
  .hero-figure-stats .hero-stat strong { font-size: 1rem; }
  .hero-figure-stats .hero-stat span { font-size: .62rem; }
}
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas, .hero-badges { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .hero-ctas .btn, .hero-ctas a { width: 100%; }
}

/* ---------- Cards genéricos ---------- */
.card {
  background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); padding: 2rem;
  transition: transform .2s ease, box-shadow .2s ease; border: 1px solid var(--cinza-100);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }
.card-icone {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--fjl-azul-bg); color: var(--fjl-azul); font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card-icone svg { width: 1.6rem; height: 1.6rem; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .95rem; }
.card a.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 700; color: var(--fjl-azul); font-size: .9rem; }

/* ---------- Comparativo tradicional x online ---------- */
.comparativo { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .comparativo { grid-template-columns: 1fr; } }
.comparativo-col { border-radius: var(--raio); padding: 2.25rem; }
.comparativo-col.online { background: var(--cinza-100); border: 1px dashed var(--cinza-300); }
.comparativo-col.tradicional { background: #fff; border: 2px solid var(--fjl-azul); box-shadow: var(--sombra); }
.comparativo-col h3 { margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.comparativo-col ul { display: flex; flex-direction: column; gap: .85rem; }
.comparativo-col li { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; color: var(--cinza-700); }
.comparativo-col.online li::before { content: '✕'; color: var(--erro); font-weight: 800; flex-shrink: 0; }
.comparativo-col.tradicional li::before { content: '✓'; color: var(--sucesso); font-weight: 800; flex-shrink: 0; }

/* ---------- Tabs de serviços (estilo Agilize) ---------- */
.tabs-wrap { display: flex; flex-direction: column; gap: 2rem; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.tabs-nav button {
  padding: .75rem 1.4rem; border-radius: 50px; font-weight: 700; font-size: .92rem;
  background: var(--cinza-100); color: var(--cinza-700); transition: all .2s ease;
}
.tabs-nav button.ativo { background: var(--fjl-azul); color: #fff; }
.tab-painel { display: none; }
.tab-painel.ativo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tab-painel ul { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.tab-painel li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.tab-painel li strong { color: var(--fjl-azul-escuro); }
.tab-painel li::before { content: '✓'; color: var(--sucesso); font-weight: 800; }
.tab-painel img { border-radius: var(--raio); box-shadow: var(--sombra); }
@media (max-width: 768px) { .tab-painel.ativo { grid-template-columns: 1fr; } }

/* ---------- Contador numérico ---------- */
.contadores { background: #fff; border-radius: var(--raio); box-shadow: var(--sombra-hover); padding: 2.5rem; margin-top: -5rem; position: relative; z-index: 5; }
.contadores .grid-3 { gap: 1.5rem; text-align: center; }
.contador-item strong { font-family: var(--fonte-titulo); font-size: 2.6rem; color: var(--fjl-azul); display: block; }
.contador-item span { color: var(--cinza-500); font-weight: 600; font-size: .95rem; }
@media (max-width: 992px) { .contadores { margin-top: 2rem; } }

/* ---------- Ferramentas / calculadoras ---------- */
.ferramenta-card { position: relative; overflow: hidden; }
.ferramenta-card .tag { position: absolute; top: 1.25rem; right: 1.25rem; background: var(--fjl-dourado); color: #2b1c02; font-size: .72rem; font-weight: 800; text-transform: uppercase; padding: .3rem .7rem; border-radius: 20px; }

/* ---------- FAQ ---------- */
.faq-lista { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--cinza-300); border-radius: var(--raio-sm); overflow: hidden; background: #fff; }
.faq-pergunta { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 1.4rem; font-weight: 700; text-align: left; font-size: 1rem; color: var(--fjl-azul-escuro); }
.faq-pergunta .icone { transition: transform .2s ease; font-size: 1.3rem; color: var(--fjl-azul); flex-shrink: 0; margin-left: 1rem; }
.faq-item.aberto .faq-pergunta .icone { transform: rotate(45deg); }
.faq-resposta { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-resposta-inner { padding: 0 1.4rem 1.3rem; font-size: .95rem; color: var(--cinza-700); }

/* ---------- Depoimentos ---------- */
.google-badge { display: inline-flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--cinza-300); border-radius: 50px; padding: .6rem 1.4rem; box-shadow: var(--sombra); margin: 0 auto 2.5rem; }
.google-badge strong { font-size: 1.2rem; color: var(--cinza-900); }
.google-badge .estrelas { color: var(--fjl-dourado); letter-spacing: 2px; }
.google-badge .avaliacoes { font-size: .85rem; color: var(--cinza-500); }
.depoimento-card { display: flex; flex-direction: column; gap: 1rem; }
.depoimento-card .estrelas { color: var(--fjl-dourado); letter-spacing: 2px; }
.depoimento-card .autor { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.depoimento-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--fjl-azul-bg); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--fjl-azul); }
.depoimento-card .autor strong { display: block; font-size: .92rem; }
.depoimento-card .autor span { font-size: .8rem; color: var(--cinza-500); }
.aviso-placeholder { background: #fdf3e0; border: 1px dashed var(--fjl-dourado-escuro); border-radius: var(--raio-sm); padding: 1rem 1.25rem; font-size: .85rem; color: #5c430a; margin-bottom: 2rem; }
.aviso-ia-box { background: var(--fjl-azul-bg); border-left: 4px solid var(--fjl-azul); border-radius: 0 var(--raio-sm) var(--raio-sm) 0; padding: 1.1rem 1.4rem; font-size: .88rem; color: var(--cinza-700); line-height: 1.7; max-width: 820px; margin: 0 auto 2.5rem; }
.aviso-ia-box strong { color: var(--fjl-azul-escuro); }
.categoria-faq { max-width: 820px; margin: 0 auto 3rem; }
.categoria-faq h2 { font-size: 1.3rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6rem; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card img { height: 200px; object-fit: cover; width: 100%; }
.post-card .post-corpo { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta { font-size: .78rem; color: var(--cinza-500); font-weight: 700; text-transform: uppercase; margin-bottom: .6rem; }
.post-card h3 { margin-bottom: .6rem; }
.post-card p { font-size: .9rem; flex: 1; }

/* ---------- Carrossel do blog ---------- */
.blog-carrossel { position: relative; overflow: hidden; padding: 0 .25rem; }
.blog-carrossel-trilho { display: flex; gap: 1.5rem; transition: transform .5s ease; will-change: transform; }
.blog-carrossel-item { flex: 0 0 calc((100% - 3rem) / 3); min-width: 0; }
@media (max-width: 992px) { .blog-carrossel-item { flex: 0 0 calc((100% - 1.5rem) / 2); } }
@media (max-width: 640px) { .blog-carrossel-item { flex: 0 0 100%; } }
.carrossel-seta {
  position: absolute; top: 40%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: var(--sombra-hover); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1; color: var(--fjl-azul); cursor: pointer; border: none; z-index: 5;
  transition: background .2s ease, color .2s ease;
}
.carrossel-seta:hover { background: var(--fjl-azul); color: #fff; }
.carrossel-seta.esquerda { left: -.5rem; }
.carrossel-seta.direita { right: -.5rem; }
@media (max-width: 640px) {
  .carrossel-seta { width: 36px; height: 36px; font-size: 1.3rem; }
}
article.post-conteudo { max-width: 780px; margin: 0 auto; }
article.post-conteudo h2 { margin-top: 2rem; margin-bottom: .8rem; }
article.post-conteudo p { margin-bottom: 1.1rem; font-size: 1.05rem; }
article.post-conteudo ul, article.post-conteudo ol { margin: 0 0 1.1rem 1.4rem; color: var(--cinza-700); }
article.post-conteudo li { margin-bottom: .5rem; }

/* ---------- Documentos legais (Termos, Privacidade, Cookies) ---------- */
.documento-legal { max-width: 800px; margin: 0 auto; }
.documento-legal h1 { font-size: 1.85rem; margin-bottom: .4rem; }
.documento-legal h2 { font-size: 1.1rem; margin-top: 1.9rem; margin-bottom: .6rem; color: var(--fjl-azul-escuro); }
.documento-legal h3 { font-size: 1rem; margin-top: 1.2rem; margin-bottom: .4rem; }
.documento-legal p, .documento-legal li { font-size: .92rem; color: var(--cinza-700); line-height: 1.75; }
.documento-legal ul, .documento-legal ol { margin: 0 0 1.1rem 1.3rem; }
.documento-legal li { margin-bottom: .45rem; }
.documento-legal .post-meta { display: block; margin-bottom: 1.6rem; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding: 4rem 2rem; border-radius: var(--raio); }
.cta-final h2 { margin-bottom: 1rem; }
.cta-final p { max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--fjl-azul-escuro); color: #fff; padding-top: 4rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
.footer p, .footer a { color: rgba(255,255,255,.75); font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer .grid-4 { gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer ul { display: flex; flex-direction: column; gap: .65rem; }
.footer .redes { display: flex; gap: .75rem; margin-top: 1rem; }
.footer .redes a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.footer .redes a:hover { background: var(--fjl-dourado); color: #2b1c02; }
.footer .selos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding: 2rem 0; }
.footer .selo { display: flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.06); padding: .6rem 1.1rem; border-radius: 50px; font-size: .85rem; font-weight: 700; }
.footer .selo img { height: 26px; width: auto; }
.footer .copyright { text-align: center; padding: 1.5rem 0; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
.footer .copyright a { color: rgba(255,255,255,.75); }

/* ---------- Ícone do WhatsApp dentro dos botões ---------- */
.btn-whatsapp svg, .jotta-cta-equipe svg { width: 19px; height: 19px; flex-shrink: 0; }

/* ---------- Widgets flutuantes (voltar ao topo + Jotta) ---------- */
.widgets-canto {
  position: fixed; right: 1.75rem; bottom: 1.75rem; z-index: 600;
  display: flex; flex-direction: column; align-items: flex-end; gap: .85rem;
}
.voltar-topo {
  width: 46px; height: 46px; border-radius: 50%; background: var(--cinza-900); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  border: none; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.voltar-topo svg { width: 20px; height: 20px; }
.voltar-topo.visivel { opacity: 1; visibility: visible; transform: translateY(0); }
.voltar-topo:hover { background: #000; transform: translateY(-2px); }

/* ---------- Chat Jotta ---------- */
.jotta-launcher {
  background: var(--fjl-azul); color: #fff; border-radius: 50px; padding: .85rem 1.3rem .85rem .95rem;
  display: flex; align-items: center; gap: .6rem; font-weight: 700; box-shadow: 0 6px 20px rgba(43,52,102,.35);
  transition: transform .2s ease; border: none; cursor: pointer;
}
.jotta-launcher:hover { transform: scale(1.05); }
.jotta-icone-wrap { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.jotta-icone { width: 22px; height: 22px; }
.jotta-launcher .bolha-ponto { position: absolute; top: -2px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: #4be07a; border: 2px solid var(--fjl-azul); }

.jotta-janela {
  position: fixed; bottom: 9rem; right: 1.75rem; z-index: 601; width: 380px; max-width: calc(100vw - 2rem);
  height: 560px; max-height: calc(100vh - 8rem); background: #fff; border-radius: var(--raio);
  box-shadow: var(--sombra-hover); display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--cinza-300);
}
.jotta-janela.aberta { display: flex; }
.jotta-topo { background: var(--fjl-azul); color: #fff; padding: 1rem 1.25rem; display: flex; align-items: center; gap: .8rem; }
.jotta-topo img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 4px; }
.jotta-topo strong { display: block; font-size: .95rem; }
.jotta-topo span { font-size: .78rem; color: rgba(255,255,255,.75); }
.jotta-fechar { margin-left: auto; font-size: 1.4rem; color: #fff; opacity: .8; }
.jotta-fechar:hover { opacity: 1; }
.jotta-corpo { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .8rem; background: var(--cinza-100); }
.jotta-msg { max-width: 85%; padding: .7rem .95rem; border-radius: 14px; font-size: .88rem; line-height: 1.5; }
.jotta-msg.bot { background: #fff; border: 1px solid var(--cinza-300); align-self: flex-start; border-bottom-left-radius: 4px; }
.jotta-msg.user { background: var(--fjl-azul); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.jotta-msg .aviso-ia { display: block; margin-top: .5rem; font-size: .72rem; color: var(--cinza-500); }
.jotta-msg.bot .aviso-ia { color: var(--cinza-500); }
.jotta-cta-equipe { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; background: #25d366; color: #fff; font-weight: 700; font-size: .82rem; padding: .55rem .9rem; border-radius: 20px; margin-top: .3rem; }
.jotta-lead-form { display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 1px solid var(--cinza-300); border-radius: 12px; padding: .9rem; align-self: stretch; }
.jotta-lead-form input { padding: .65rem .8rem; border: 1.5px solid var(--cinza-300); border-radius: 8px; font-size: .85rem; }
.jotta-lead-form input:focus { outline: none; border-color: var(--fjl-azul); }
.jotta-lead-form button { background: var(--fjl-azul); color: #fff; font-weight: 700; padding: .65rem; border-radius: 8px; font-size: .85rem; }
.jotta-typing { align-self: flex-start; display: flex; gap: 4px; padding: .8rem 1rem; }
.jotta-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--cinza-500); animation: jotta-pulse 1s infinite ease-in-out; }
.jotta-typing span:nth-child(2) { animation-delay: .15s; }
.jotta-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes jotta-pulse { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.jotta-rodape { padding: .85rem 1.1rem; border-top: 1px solid var(--cinza-300); display: flex; gap: .6rem; }
.jotta-rodape input { flex: 1; padding: .7rem .9rem; border: 1.5px solid var(--cinza-300); border-radius: 20px; font-size: .88rem; }
.jotta-rodape input:focus { outline: none; border-color: var(--fjl-azul); }
.jotta-rodape button { background: var(--fjl-azul); color: #fff; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 480px) {
  .jotta-janela { right: .5rem; left: .5rem; width: auto; bottom: 7rem; }
  .widgets-canto { right: 1rem; bottom: 1rem; gap: .65rem; }
  .jotta-launcher span.texto { display: none; }
  .jotta-launcher { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .voltar-topo { width: 42px; height: 42px; }
}

/* ---------- Utilidades ---------- */
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}
.texto-azul{color:var(--fjl-azul)}
.badge-topo { display:inline-block; background: var(--fjl-azul-bg); color: var(--fjl-azul); font-weight:700; font-size:.78rem; padding:.35rem .9rem; border-radius:20px; margin-bottom:1rem; }
