/* =============================================
   LUCRAST — Design System
   ============================================= */

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

:root {
  --brand:        #007BFF;
  --brand-dark:   #0062CC;
  --brand-light:  #E8F3FF;
  --whatsapp:     #25D366;
  --whatsapp-dk:  #1DA851;
  --dark:         #1F2937;
  --dark-2:       #374151;
  --muted:        #6B7280;
  --surface:      #F8FAFC;
  --white:        #FFFFFF;
  --border:       #E5E7EB;

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  999px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.12);
  --shadow-green: 0 6px 24px rgba(37,211,102,.35);

  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --transition:   0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.375rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
  box-shadow: var(--shadow-green);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dk);
  border-color: var(--whatsapp-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
}

.btn-white-on-dark {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white-on-dark:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.btn-lg   { padding: .9rem 2rem; font-size: 1.0625rem; }
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.125rem 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: .7rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* No footer (fundo escuro), inverte o logo para branco */
.logo-img-footer {
  filter: brightness(0) invert(1);
  opacity: .9;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--dark-2);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--brand); }

.nav-cta-btn { margin-left: .5rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  padding: 1.25rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu li   { border-bottom: 1px solid var(--border); }
.mobile-link {
  display: block;
  padding: .875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--brand); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding: 8.5rem 0 0;
  overflow: hidden;
  background: var(--white);
}

.hero-glow {
  position: absolute;
  top: -180px; right: -180px;
  width: 650px; height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,123,255,.09) 0%, transparent 70%);
  pointer-events: none;
}

#heroBgCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,123,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,123,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, black 40%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand-light);
  color: var(--brand);
  font-size: .875rem;
  font-weight: 600;
  padding: .375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: pulse-dot 2s infinite;
}

.hero-seo-title {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: .75rem;
  letter-spacing: .01em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 4vw, 3.125rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 1.25rem;
  letter-spacing: -.025em;
}
.highlight { color: var(--brand); }

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}
.trust-item span { font-size: .8125rem; color: var(--muted); }
.trust-sep { width: 1px; height: 36px; background: var(--border); }

/* Logo mobile (exibido apenas em mobile, dentro de hero-content) */
.hero-logo-mobile {
  display: none;
  text-align: center;
  margin-bottom: 1.75rem;
}

/* Hero visual: logo + chat mockup */
.hero-visual { position: relative; }

.hero-logo-display {
  text-align: center;
  margin-bottom: 1.75rem;
}
.hero-logo-img {
  width: 220px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.08));
}

.consultant-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.25rem;
  position: relative;
  z-index: 2;
}

.consultant-header {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.consultant-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.consultant-info { flex: 1; }
.consultant-info strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--dark); }
.consultant-info span {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--muted);
}
.online-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: pulse-dot 2s infinite;
}
.wa-chip {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--whatsapp);
  background: #E7FBF0;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

.chat-bubble {
  max-width: 80%;
  padding: .75rem 1rem;
  border-radius: 18px;
  font-size: .9rem;
  line-height: 1.5;
  margin-bottom: .625rem;
}
.chat-bubble.received {
  background: var(--surface);
  color: var(--dark);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-bubble.sent {
  background: #DCF8C6;
  color: var(--dark);
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.chat-input-mock {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--surface);
  border-radius: var(--radius-full);
  padding: .625rem 1rem;
  margin-top: .75rem;
  border: 1px solid var(--border);
}
.chat-input-mock span { flex: 1; font-size: .875rem; color: var(--muted); }
.send-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
  font-size: .875rem;
}
.float-badge > span { font-size: 1.25rem; }
.float-badge strong { display: block; font-weight: 700; color: var(--dark); font-size: .875rem; }
.float-badge small  { display: block; font-size: .75rem; color: var(--muted); }

.badge-resp { bottom: -1rem; left: -2rem; animation: float 4s ease-in-out infinite; }
.badge-star { top: 1.5rem; right: -1.5rem; animation: float 4s ease-in-out 1.5s infinite; }

.hero-wave { line-height: 0; margin-top: 4rem; }
.hero-wave svg { width: 100%; height: 72px; }

/* =============================================
   SECTION SHARED STYLES
   ============================================= */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.section-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: .8125rem;
  font-weight: 700;
  padding: .375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--dark);
  margin-bottom: .875rem;
  letter-spacing: -.02em;
}
.section-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
}

/* =============================================
   VANTAGENS
   ============================================= */
.vantagens {
  padding: 6.5rem 0;
  background: var(--surface);
}

.vantagens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.vantagem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(28px);
}
.vantagem-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition), border-color var(--transition);
}
.vantagem-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 32px rgba(0,123,255,.12);
  transform: translateY(-4px);
}

.van-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-blue   { background: #DBEAFE; color: #1D4ED8; }
.icon-green  { background: #D1FAE5; color: #059669; }
.icon-purple { background: #EDE9FE; color: #7C3AED; }
.icon-orange { background: #FEF3C7; color: #D97706; }

.vantagem-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .625rem;
}
.vantagem-card p {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--muted);
}

/* =============================================
   SERVIÇOS
   ============================================= */
.servicos {
  padding: 6.5rem 0;
  background: var(--white);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.servico-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  opacity: 0;
  transform: translateY(28px);
}
.servico-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition);
}
.servico-card:hover { box-shadow: var(--shadow-md); }

.servico-card.servico-destaque {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.servico-card.servico-destaque h3 { color: var(--white); }
.servico-card.servico-destaque p  { color: rgba(255,255,255,.7); }

.servico-destaque-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  padding: .35rem 1.25rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,123,255,.4);
}

.servico-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.servico-destaque .servico-icon {
  background: rgba(0,123,255,.25);
}

.servico-card h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--dark);
}
.servico-card p {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.servico-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.servico-list li {
  font-size: .9rem;
  color: var(--dark-2);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.servico-destaque .servico-list li { color: rgba(255,255,255,.75); }

/* =============================================
   DEPOIMENTOS
   ============================================= */
.depoimentos {
  padding: 6.5rem 0;
  background: var(--surface);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.depoimento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(28px);
}
.depoimento-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition);
}
.depoimento-card:hover { box-shadow: var(--shadow-md); }

.stars { font-size: 1rem; color: #F59E0B; letter-spacing: 2px; }

.depoimento-card p {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--dark-2);
  flex: 1;
}

.dep-author { display: flex; align-items: center; gap: .875rem; }
.dep-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .875rem;
  flex-shrink: 0;
}
.dep-author strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--dark); }
.dep-author span   { font-size: .8125rem; color: var(--muted); }

/* =============================================
   FAQ
   ============================================= */
.faq {
  padding: 6.5rem 0;
  background: var(--white);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: flex-start;
}

.faq-header { position: sticky; top: 100px; }
.faq-header .section-header { text-align: left; margin: 0; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.open  { border-color: var(--brand); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  gap: 1rem;
}
.faq-arrow {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--brand); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--muted);
}
.faq-item.open .faq-answer { max-height: 300px; }

/* =============================================
   CTA FINAL
   ============================================= */
.cta-final {
  padding: 5rem 0;
  background: var(--surface);
}

.cta-box {
  background: linear-gradient(135deg, var(--dark) 0%, #0D1A2B 100%);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,211,102,.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.cta-box p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 2.25rem;
}
.cta-note {
  margin-top: 1rem !important;
  font-size: .875rem !important;
  color: rgba(255,255,255,.4) !important;
  margin-bottom: 0 !important;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: .9375rem;
  line-height: 1.7;
  margin: 1rem 0 .5rem;
}
.footer-cnpj {
  font-size: .8125rem !important;
  color: rgba(255,255,255,.35) !important;
  margin-bottom: 1.5rem !important;
}

.social-links { display: flex; gap: .625rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--whatsapp); color: var(--whatsapp); background: rgba(37,211,102,.1); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: .6rem; }
.footer-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-col li:not(:has(a)) {
  font-size: .9rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .875rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--whatsapp);
  color: var(--white);
  padding: .875rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9375rem;
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  background: var(--whatsapp-dk);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}

.wf-pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  animation: pulse-ring 2.5s ease-out infinite;
  z-index: -1;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   MODAL DE CAPTURA DE LEAD
   ============================================= */
.lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lead-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lead-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  transform: scale(.94) translateY(12px);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.lead-overlay.open .lead-modal {
  transform: scale(1) translateY(0);
}

.lead-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--surface);
  border: none;
  border-radius: var(--radius-sm);
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: all var(--transition);
}
.lead-close:hover { background: var(--border); color: var(--dark); }

.lead-header { text-align: center; margin-bottom: 1.75rem; }

.lead-icon {
  width: 56px; height: 56px;
  background: #E7FBF0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.lead-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .375rem;
}
.lead-header p {
  font-size: .9375rem;
  color: var(--muted);
}

.lead-form { display: flex; flex-direction: column; gap: 1rem; }

.lead-field { display: flex; flex-direction: column; gap: .375rem; }
.lead-field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark-2);
}
.lead-field input,
.lead-field select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.lead-field input:focus,
.lead-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,123,255,.12);
}
.lead-field input.error,
.lead-field select.error { border-color: #EF4444; }

.lead-trust {
  text-align: center;
  font-size: .8125rem;
  color: var(--muted);
  margin-top: .25rem;
}

@media (max-width: 1024px) {
  .vantagens-grid { grid-template-columns: repeat(2, 1fr); }
  .servicos-grid  { grid-template-columns: repeat(2, 1fr); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust  { justify-content: center; }
  .hero-badge  { display: inline-flex; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .badge-resp  { left: 0; }
  .badge-star  { right: 0; }

  .faq-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-header { position: static; text-align: center; }
  .faq-header .section-badge,
  .faq-header .section-title,
  .faq-header .section-sub { text-align: center; }
  .faq-header .btn { display: inline-flex; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-btn { display: none; }
  .menu-toggle { display: flex; }

  .vantagens-grid     { grid-template-columns: 1fr; }
  .servicos-grid      { grid-template-columns: 1fr; }
  .depoimentos-grid   { grid-template-columns: 1fr; }

  .hero { padding-top: 5.5rem; min-height: 90vh; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-visual { display: none; }
  .hero-logo-mobile { display: block; }
  .hero-logo-mobile .hero-logo-img { width: clamp(140px, 55vw, 200px); }
  .faq-header .btn { width: 100%; justify-content: center; }
  /* Canvas permanece visível no mobile independente de qualquer regra */
  #heroBgCanvas { display: block !important; }

  .cta-box { padding: 3rem 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .whatsapp-float .wf-label { display: none; }
  .whatsapp-float { padding: .875rem; border-radius: 50%; }
}
